mach: Fix old-style function definition.
[glibc.git] / ChangeLog
blobb022ba3a651365652bf1f22889a5a2c677b97569
1 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
4         all signals when executing the clone vfork child.
5         (SIGALL_SET): Remove macro.
7         * nptl/Makefile (tests): Add tst-exec5.
8         * nptl/tst-exec5.c: New file.
9         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
10         asynchronous cancellation.
12 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14         * hurd/exc2signal.c: #include <hurd/signal.h>
15         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
16         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
17         accordingly.
18         * mach/mach_error.c (mach_error): Fix old-style function definition.
20 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22         * math/Makefile (libm-calls): Remove s_nanF.
23         (gen-libm-calls): Add s_nanF.
25         * math/s_nan.c: Refactor into ...
26         * math/s_nan_template.c: New file.
28         * math/s_nanf.c: Removed.
29         * math/s_nanl.c: Removed.
30         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
31         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
33         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
34         (LDOUBLE_nanl_libm_version): New macro.
36         * sysdeps/generic/math-type-macros-double.h:
37         (M_STRTO_NAN): New macro.
38         * sysdeps/generic/math-type-macros-float.h: Likewise.
39         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
41         * sysdeps/generic/math-type-macros.h: Document
42         M_STRTO_NAN.
44 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
46         * math/s_nanf.c: Remove __nanf undef.
47         * math/s_nan.c: Remove __nan undef.
48         * math/s_nanl.c: Remove __nanl undef.
50         * sysdeps/generic/math_private.h (__nan): Remove macro
51         override.
52         (__nanf): Likewise.
53         (__nanl): Likewise.
55 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
57         * math/Makefile (gen-all-calls): New variable.
58         (generated): Replace gen-libm-calls with gen-all-calls.
59         (gen-libm-templates.stmp): Likewise.  Also, ensure
60         the output directory exists or is created and add
61         dependency on the Makefile.
62         (calls): Move s_ldexpF into gen-calls.
63         (gen-calls): New variable.
65         * math/s_ldexpf.c: Removed.
66         * math/s_ldexpl.c: Removed.
67         * math/s_ldexp.c: Refactored into ...
68         * math/s_ldexp_template.c: New file.
70         * sysdeps/generic/math-type-macros-double.h: Remove
71         redundant fall-through definition of declare_mgen_alias.
72         (declare_mgen_alias_2): New macro.
74         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
75         New macro for function aliased to two exported symbols.
77         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
78         new template file.
79         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
81 2016-09-20  Florian Weimer  <fweimer@redhat.com>
83         * Makeconfig (all-object-suffixes): Remove .og.
84         * Makerules (elide-routines.og): Remove.
85         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
86         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
87         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
89 2016-09-20  Florian Weimer  <fweimer@redhat.com>
91         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
92         .os objects.
94 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
96         [BZ #20615]
97         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
98         fpu directory by non-fpu.
99         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
100         on non-fpu directory from a fpu directory.
102 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
104         * include/limits.h: Define
105         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
106         <bits/libc-header-start.h> instead of including <features.h>.
107         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
108         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
109         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
110         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
111         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
112         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
113         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
114         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
115         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
116         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
117         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
118         * manual/lang.texi (Width of Type): Document these macros.
119         * stdlib/tst-width.c: New file.
120         * stdlib/Makefile (tests): Add tst-width.
122 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
124         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
125         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
127 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
129         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
130         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
131         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
133 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
135         [BZ #18243]
136         * rt/Makefile (test): Add tst-shm-cancel.
137         * rt/tst-shm-cancel.c: New file.
138         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
140         [BZ #18243]
141         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
142         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
143         definition.
144         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
145         uncontended case.
146         * nptl/sem_wait.c (__new_sem_wait): Likewise.
147         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
148         (tf): Fix check for uncontended case.
149         (do_test): Likewise.
150         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
151         (tf): Fix check for uncontended case.
152         (do_test): Likewise.
153         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
154         (tf): Fix check for uncontended case.
155         (do_test): Likewise.
156         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
157         (tf): Fix check for uncontended case.
158         (do_test): Likewise.
160         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
161         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
163         [BZ #15765]
164         * nptl/Makefile (tests): Add tst-sem16.
165         * nptl/tst-sem16.c: New file.
166         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
168         * nptl/sem_open.c (sem_open): Init pad value to 0.
169         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
170         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
172 2016-09-15  Florian Weimer  <fweimer@redhat.com>
174         [BZ #20611]
175         * inet/Makefile (routines): Add inet6_scopeid_pton.
176         (tests): Add tst-inet6_scopeid_pton.
177         * inet/inet6_scopeid_pton.c: New file.
178         * inet/net-internal.h: Likewise.
179         * inet/tst-inet6_scopeid_pton.c: New test.
180         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
181         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
182         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
184 2016-09-14  Florian Weimer  <fweimer@redhat.com>
186         Remove support for compiling wrappers with PTW.
187         * sysdeps/nptl/Makeconfig: Drop ptw- support.
188         * nptl/Makefile (pthread-compat-wrappers): Define.
189         (libpthread-routines): Use pthread-compat-wrappers.
190         * sysdeps/unix/sysv/linux/alpha/Makefile
191         (libpthread-routines, libpthread-shared-only-routines): Remove
192         ptw- prefix.
193         * sysdeps/s390/nptl/Makefile
194         (libpthread-routines, libpthread-shared-only-routines): Likewise.
195         * sysdeps/ia64/nptl/Makefile
196         (libpthread-routines, libpthread-shared-only-routines): Likewise.
197         * sysdeps/nacl/Makefile (libpthread-routines): Use
198         pthread-compat-wrappers to filter the routines list instead of the
199         ptw- prefix.
201 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
203         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
204         with L() and remove explicit suffix, convert real literals
205         which can be equivalentally substituted with integers, and
206         transform -L(x) to L(-x).
208         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
209         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
210         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
211         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
212         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
213         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
214         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
215         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
216         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
217         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
218         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
219         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
220         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
221         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
222         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
223         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
224         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
225         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
226         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
227         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
228         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
229         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
230         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
231         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
232         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
233         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
234         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
235         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
236         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
237         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
238         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
239         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
240         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
241         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
242         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
243         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
244         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
245         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
246         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
247         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
248         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
249         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
250         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
251         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
252         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
253         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
254         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
255         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
256         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
257         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
259 2016-09-13  Florian Weimer  <fweimer@redhat.com>
261         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
263 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
265         * malloc/Makefile (tests): Remove individual static test names
266         and just add all of tests-static.
268         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
270 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
272         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
273         file.
275         * sysdeps/sparc/fpu/fegetmode.c: New file.
276         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
278         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
279         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
281         * sysdeps/s390/fpu/fegetmode.c: New file.
282         * sysdeps/s390/fpu/fesetmode.c: Likewise.
284         * sysdeps/powerpc/fpu/fegetmode.c: New file.
285         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
286         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
287         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
288         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
289         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
291         * sysdeps/mips/fpu/fegetmode.c: New file.
292         * sysdeps/mips/fpu/fesetmode.c: Likewise.
294         * sysdeps/m68k/fpu/fegetmode.c: New file.
295         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
297         * sysdeps/ia64/fpu/fegetmode.c: New file.
298         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
300         * sysdeps/hppa/fpu/fegetmode.c: New file.
301         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
303         * sysdeps/arm/fegetmode.c: New file.
304         * sysdeps/arm/fesetmode.c: Likewise.
306         * sysdeps/alpha/fpu/fegetmode.c: New file.
307         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
309         * sysdeps/aarch64/fpu/fegetmode.c: New file.
310         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
312         * math/fegetmode.c: New file.
313         * math/fesetmode.c: Likewise.
314         * sysdeps/i386/fpu/fegetmode.c: Likewise.
315         * sysdeps/i386/fpu/fesetmode.c: Likewise.
316         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
317         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
318         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
319         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
320         declaration.
321         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
322         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
323         typedef.
324         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
325         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
326         (femode_t): New typedef.
327         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
328         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
329         (femode_t): New typedef.
330         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
331         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
332         (femode_t): New typedef.
333         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
334         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
335         (femode_t): New typedef.
336         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
337         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
338         (femode_t): New typedef.
339         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
340         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
341         (femode_t): New typedef.
342         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
343         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
344         (femode_t): New typedef.
345         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
346         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
347         (femode_t): New typedef.
348         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
349         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
350         (femode_t): New typedef.
351         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
352         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
353         (femode_t): New typedef.
354         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
355         declaration.
356         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
357         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
358         (femode_t): New typedef.
359         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
360         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
361         (femode_t): New typedef.
362         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
363         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
364         (femode_t): New typedef.
365         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
366         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
367         (femode_t): New typedef.
368         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
369         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
370         (femode_t): New typedef.
371         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
372         * manual/arith.texi (FE_DFL_MODE): Document macro.
373         (fegetmode): Document function.
374         (fesetmode): Likewise.
375         * math/Versions (fegetmode): New libm symbol at version
376         GLIBC_2.25.
377         (fesetmode): Likewise.
378         * math/Makefile (libm-support): Add fegetmode and fesetmode.
379         (tests): Add test-femode and test-femode-traps.
380         * math/test-femode-traps.c: New file.
381         * math/test-femode.c: Likewise.
382         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
383         alias for __fe_dfl_env.
384         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
385         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
386         (__fe_dfl_mode): Likewise.
387         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
388         version GLIBC_2.25.
389         * sysdeps/nacl/libm.abilist: Update.
390         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
391         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
392         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
393         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
394         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
395         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
396         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
397         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
398         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
399         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
400         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
401         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
403         Likewise.
404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
405         Likewise.
406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
407         Likewise.
408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
409         Likewise.
410         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
411         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
412         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
413         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
414         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
416         Likewise.
417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
418         Likewise.
419         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
420         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
421         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
423 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
425         [BZ #20495]
426         [BZ #20508]
427         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
428         processors, set Use_dl_runtime_resolve_slow and set
429         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
430         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
431         New.
432         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
433         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
434         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
435         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
436         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
437         if Use_dl_runtime_resolve_opt is set.  Use
438         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
439         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
440         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
441         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
442         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
443         New.
444         (_dl_runtime_resolve_opt): Likewise.
445         (_dl_runtime_profile): Define only if _dl_runtime_profile is
446         defined.
448 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
450         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
451         __libc_memalign with "+ RELA R_390_GLOB_DAT".
453 2016-09-06  Florian Weimer  <fweimer@redhat.com>
455         Convert malloc to __libc_lock.  Automated part, using this Perl
456         s/// command:
457           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
458             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
459         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
460         conversion.
462 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
464         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
465         (linknamespace-symlists-tests): Likewise.
466         (linknamespace-header-tests): Likewise.
468 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
470         [BZ #19810]
471         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
472         * elf/tst-noload.c: New test case.
473         * elf/Makefile (tests): Add tst-noload.
475 2016-09-02  Roland McGrath  <roland@hack.frob.com>
477         * sysdeps/nacl/dup.c: Add libc_hidden_def.
479         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
480         not any more.
482         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
484 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
486         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
487         (do_cos_slow): Likewise.
488         (do_sin): Likewise.
489         (do_sin_slow): Likewise.
490         (slow): Likewise.
491         (slow1): Likewise.
492         (slow2): Likewise.
493         (sloww): Likewise.
494         (sloww1): Likewise.
495         (sloww2): Likewise.
496         (bsloww): Likewise.
497         (bsloww1): Likewise.
498         (bsloww2): Likewise.
499         (cslow2): Likewise.
501         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
503         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
504         arguments.  Consolidate input partitioning from callers here.
505         (do_cos_slow): Likewise.
506         (do_sin): Likewise.
507         (do_sin_slow): Likewise.
508         (do_sincos_1): Remove the no longer necessary input partitioning.
509         (do_sincos_2): Likewise.
510         (__sin): Likewise.
511         (__cos): Likewise.
512         (slow1): Likewise.
513         (slow2): Likewise.
514         (sloww1): Likewise.
515         (sloww2): Likewise.
516         (bsloww1): Likewise.
517         (bsloww2): Likewise.
518         (cslow2): Likewise.
520 2016-09-02  Florian Weimer  <fweimer@redhat.com>
522         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
523         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
524         outside of allocated array.
526 2016-09-02  Florian Weimer  <fweimer@redhat.com>
528         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
529         instead of MB_CUR_MAX to avoid variable-length array.
531 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
533         * math/Makefile (libm-calls): Remove k_rem_pio2F.
534         (type-double-routines): Add k_rem_pio2.
535         (type-float-routines): Add k_rem_pio2f.
537         * sysdeps/generic/math_private.h:
538         (__kernel_rem_pio2l): Removed.
540         * math/k_rem_pio2l.c: Removed.
541         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
542         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
543         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
544         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
546 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
548         * math/Makefile (gen-libm-calls): Add s_fmin
549         (libm-calls): Remove above.
551         * math/s_fmin.c: Refactor into ...
552         * math/s_fmin_template.c: New file.
554         * math/s_fminf.c: Removed.
555         * math/s_fminl.c: Removed.
556         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
557         (LDOUBLE_fmin_libm_version): New macro.
559         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
560         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
562 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
564         * math/Makefile: (gen-libm-calls): Add s_fmax.
565         (libm-calls): Remove above.
567         * math/s_fmax.c: Refactor into ...
568         * math/s_fmax_template.c: New file.
569         * math/s_fmaxf.c: Removed.
570         * math/s_fmaxl.c: Removed.
572         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
573         (LDOUBLE_fmaxl_libm_version): New macro.
575         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
576         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
578         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
579         s_fmin.c to pick the aarch64 version of the file.
580         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
581         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
583 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
585         * math/Makefile: (gen-libm-calls): Add s_nextdown.
586         (libm-calls): Remove above.
588         * math/s_nextdown.c: Refactor into ...
589         * math/s_nextdown_template.c: New file.
590         * math/s_nextdownf.c: Removed.
591         * math/s_nextdownl.c: Removed.
593         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
595 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
597         * math/Makefile (gen-libm-calls): Add s_fdim.
598         (libm-calls): Move to above.
600         * math/s_fdim.c: Renamed and refactored into to ...
601         * math/s_fdim_template.c: New file.
602         * math/s_fdiml.c: Removed.
603         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
604         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
606         * sysdeps/generic/math-type-macros-double.h:
607         (declare_mgen_alias): Don't declare if already declared.
608         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
609         Likewise.
611         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
612         (declare_mgen_alias): Don't declare if already declared.
613         (M_LIBM_NEED_COMPAT): Likewise.
614         (declare_mgen_libm_compat): Likewise.
615         (LDOUBLE_fdiml_libm_version): New macro.
617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
618         Include math/s_fdim.c now that ldbl-opt version is not needed.
619         (declare_mgen_alias): New macro to disable aliasing.
621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
622         (declare_mgen_alias): Likewise.
623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
624         (declare_mgen_alias): Likewise.
625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
626         (declare_mgen_alias): Likewise.
627         (M_LIBM_NEED_COMPAT): Likewise.
629 2016-09-01  Florian Weimer  <fweimer@redhat.com>
631         [BZ #20525]
632         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
633         Include <linux/quota.h>.
634         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
635         and btodb.
636         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
637         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
638         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
639         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
640         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
641         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
642         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
643         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
644         types.
645         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
646         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
648 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
650         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
651         (gammal_positive): Fix spacing.
652         (__ieee754_gammal_r): Likewise.
654 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
656         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
657         (_Float128): Define as long double, always.
658         (L): Apply long double type suffix, always.
660         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
661         _Float128, excepting comments.
663         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
664         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
665         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
666         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
667         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
668         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
669         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
670         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
671         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
672         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
673         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
674         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
675         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
676         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
677         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
678         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
679         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
680         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
681         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
682         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
683         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
684         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
685         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
686         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
687         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
688         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
689         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
690         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
691         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
692         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
693         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
694         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
695         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
696         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
697         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
698         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
699         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
700         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
701         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
702         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
703         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
704         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
705         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
706         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
707         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
708         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
709         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
710         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
711         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
712         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
713         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
714         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
715         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
716         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
717         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
718         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
719         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
720         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
721         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
722         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
723         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
724         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
725         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
726         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
727         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
728         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
729         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
730         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
732         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
733         _Float128, and include math_private.h.
734         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
736         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
737         long double semantics.
738         (_Float128): Likewise.
739         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
740         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
741         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
742         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
744 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
746         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
747         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
748         * sysdeps/s390/configure: Regenerated.
749         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
750         instruction for raising over-/underflow if z196 zarch is supported
751         by default.
752         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
754 2016-08-30  Svante Signell  <svante.signell@gmail.com>
756         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
757         it point to a dumb buffer for RPC to fill it.
759 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
761         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
762         instead of if/else.
763         (do_sin_slow): Likewise.
764         (do_sincos_1): Use fabs instead of if/else.
765         (do_sincos_2): Likewise.
766         (__sin): Likewise.
767         (__cos): Likewise.
768         (slow2): Likewise.
769         (sloww): Likewise.
770         (sloww1): Likewise.  Drop argument M.
771         (sloww2): Use fabs instead of if/else.
772         (bsloww): Likewise.
773         (bsloww1): Likewise.
774         (bsloww2): Likewise.
776         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
777         fall through comment.
778         (do_sincos_1): Likewise.
780         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
781         Consolidate switch cases 0 and 2.
783 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
785         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
786         (libm-calls): Remove the above.
788         * math/s_cexp_template.c: Update using type-generic macros.
789         * math/s_clog10_template.c: Likewise.
790         * math/s_cpow_template.c: Likewise.
791         * math/s_clog_template.c: Likewise.
792         * math/s_cproj_template.c: Likewise.
793         * math/s_csqrt_template.c: Likewise.
795         * math/s_cexp.c: Removed.
796         * math/s_cexpf.c: Removed.
797         * math/s_cexpl.c: Removed.
798         * math/s_clog10.c: Removed.
799         * math/s_clog10f.c: Removed.
800         * math/s_clog10l.c: Removed.
801         * math/s_cpow.c: Removed.
802         * math/s_cpowf.c: Removed.
803         * math/s_cpowl.c: Removed.
804         * math/s_clog.c: Removed.
805         * math/s_clogf.c: Removed.
806         * math/s_clogl.c: Removed.
807         * math/s_cproj.c: Removed.
808         * math/s_cprojf.c: Removed.
809         * math/s_cprojl.c: Removed.
810         * math/s_csqrt.c: Removed.
811         * math/s_csqrtf.c: Removed.
812         * math/s_csqrtl.c: Removed.
814         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
815         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
816         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
817         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
818         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
819         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
821         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
822         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
823         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
824         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
825         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
826         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
827         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
828         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
829         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
830         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
831         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
833         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
834         version.
836         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
837         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
838         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
839         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
841 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
843         * s_cexp_template.c: Copy of s_cexp.c.
844         * s_clog_template.c: Copy of s_clog.c.
845         * s_clog10_template.c: Copy of s_clog10.c.
846         * s_cpow_template.c: Copy of s_cpow.c.
847         * s_cproj_template.c: Copy of s_cproj.c.
848         * s_csqrt_template.c: Copy of s_csqrt.c.
850 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
852         [BZ #20517]
853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
854         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
855         exported.
857 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
859         * math/fetestexceptflag.c: New file.
860         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
861         Stefan Liebler.
862         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
863         (fetestexceptflag): New function declaration.
864         * manual/arith.texi (fetestexceptflag): Document function.
865         * math/Versions (fetestexceptflag): New libm symbol at version
866         GLIBC_2.25.
867         * math/Makefile (libm-support): Add fetestexceptflag.
868         (tests): Add test-fetestexceptflag.
869         * math/test-fetestexceptflag.c: New file.
870         * sysdeps/nacl/libm.abilist: Update.
871         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
872         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
873         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
874         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
875         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
876         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
877         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
878         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
879         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
880         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
881         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
882         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
884         Likewise.
885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
886         Likewise.
887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
888         Likewise.
889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
890         Likewise.
891         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
892         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
893         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
894         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
895         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
897         Likewise.
898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
899         Likewise.
900         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
901         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
902         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
904 2016-08-26  Florian Weimer  <fweimer@redhat.com>
906         [BZ #20432]
907         Avoid strong references to malloc-internal symbols when linking
908         statically, to support statically interposed mallocs.
909         * include/libc-symbols.h (call_function_static_weak): New macro.
910         * malloc/Makefile (tests): Add tst-interpose-nothread,
911         tst-interpose-thread, tst-interpose-static-nothread,
912         tst-interpose-static-thread.
913         (tests-static): Add tst-interpose-static-nothread,
914         tst-interpose-static-thread.
915         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
916         tst-interpose-aux-thread.o.
917         (test-extras): Add tst-interpose-aux-nothread,
918         tst-interpose-aux-thread.
919         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
920         tst-interpose-aux-nothread.o.
921         (tst-interpose-thread, tst-interpose-static-thread): Link with
922         tst-interpose-aux-thread.o and libthread.
923         * malloc/tst-interpose-aux-nothread.c: New file.
924         * malloc/tst-interpose-aux-thread.c: Likewise.
925         * malloc/tst-interpose-aux.c: Likewise.
926         * malloc/tst-interpose-aux.h: Likewise.
927         * malloc/tst-interpose-nothread.c: Likewise.
928         * malloc/tst-interpose-skeleton.c: Likewise.
929         * malloc/tst-interpose-static-nothread.c: Likewise.
930         * malloc/tst-interpose-static-thread.c: Likewise.
931         * malloc/tst-interpose-thread.c: Likewise.
932         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
933         * sysdeps/mach/hurd/fork.c (__fork): Only call
934         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
935         __malloc_fork_unlock_child if defined.
936         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
938 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
940         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
941         timespec C99 designated initialization.
943 2016-08-26  Florian Weimer  <fweimer@redhat.com>
945         [BZ #19946]
946         Avoid expected SIGALRM signals.
947         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
948         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
949         (xpthread_create, xpthread_detach, xpthread_join)
950         (delayed_exit_thread, delayed_exit): New functions.
951         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
952         (tf): Use xpthread_cond_wait.
953         (do_test): Likewise.  Replace alarm with delayed_exit.
954         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
955         (do_test): Call delayed_exit.  Report failure.
956         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
957         (do_test): Call delayed_exit.
958         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
959         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
960         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
961         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
962         error.
963         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
964         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
965         error.
966         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
967         (do_test): Call delayed_exit.
968         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
969         (do_test): Call delayed_exit.
970         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
971         (do_test): Call delayed_exit instead of alarm.  Use
972         xpthread_mutex_lock.
973         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
974         (do_test): Call delayed_exit instead of alarm.  Use
975         xpthread_mutex_lock.
976         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
977         (do_test): Call delayed_exit instead of alarm.
978         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
979         (do_test): Call delayed_exit instead of alarm.  Use
980         xpthread_spin_lock.
981         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
982         (do_test): Call delayed_exit instead of alarm.  Use
983         xpthread_join.
985 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
987         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
988         adjust CFA when allocating register save area on re-aligned
989         stack.
991 2016-08-26  Florian Weimer  <fweimer@redhat.com>
993         * string/tst-cmp.c: New test.
994         * string/Makefile (tests): Add it.
996 2016-08-25  Mark Wielaard  <mark@klomp.org>
998         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
999         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
1000         (check_tree_recurse): Use newly defined accessors.
1001         (check_tree): Likewise.
1002         (maybe_split_for_insert): Likewise.
1003         (__tfind): Likewise.
1004         (__tdelete): Likewise.
1005         (trecurse): Likewise.
1006         (tdestroy_recurse): Likewise.
1007         (__tsearch): Likewise. And add asserts for malloc alignment.
1008         (__twalk): Cast root to node in case CHECK_TREE is defined.
1010 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1012         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
1014 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1016         * math/Makefile (libm-gen-calls): Add
1017         catan, catanh, ctan, ctanh.
1018         (libm-calls): Remove the above.
1020         * math/s_catan_template.c: Update using type-generic macros.
1021         * math/s_catanh_template.c: Likewise.
1022         * math/s_ctan_template.c: Likewise.
1023         * math/s_ctanh_template.c: Likewise.
1025         * math/s_catanf.c: Removed.
1026         * math/s_catan.c: Removed.
1027         * math/s_catanl.c: Removed.
1028         * math/s_catanhf.c: Removed.
1029         * math/s_catanh.c: Removed.
1030         * math/s_catanhl.c: Removed.
1031         * math/s_ctanf.c: Removed.
1032         * math/s_ctan.c: Removed.
1033         * math/s_ctanl.c: Removed.
1034         * math/s_ctanhf.c: Removed.
1035         * math/s_ctanh.c: Removed.
1036         * math/s_ctanhl.c: Removed.
1038         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
1039         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
1040         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
1041         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
1042         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
1043         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
1045         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
1046         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
1047         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
1048         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
1050 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1052         * s_catan_template.c: Copy of s_catan.c.
1053         * s_catanh_template.c: Copy of s_catanh.c.
1054         * s_ctan_template.c: Copy of s_ctan.c.
1055         * s_ctanh_template.c: Copy of s_ctanh.c.
1057 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1059         * math/Makefile (gen-libm-calls): Move
1060         casin, casinh, csin, csinh here.
1061         (libm-calls): Remove the above.
1063         * math/s_casin_template.c: Update using type-generic macros.
1064         * math/s_casinh_template.c: Likewise.
1065         * math/s_csin_template.c: Likewise.
1066         * math/s_csinh_template.c: Likewise.
1067         * math/k_casinh_template.c: Likewise.
1069         * math/s_casinf.c: Removed.
1070         * math/s_casin.c: Removed.
1071         * math/s_casinl.c: Removed.
1072         * math/s_casinh.c: Removed.
1073         * math/s_casinhf.c: Removed.
1074         * math/s_casinhl.c: Removed.
1075         * math/s_csin.c: Removed.
1076         * math/s_csinf.c: Removed.
1077         * math/s_csinl.c: Removed.
1078         * math/s_csinh.c: Removed.
1079         * math/s_csinhf.c: Removed.
1080         * math/s_csinhl.c: Removed.
1081         * math/k_casinh.c: Removed.
1082         * math/k_casinhf.c: Removed.
1083         * math/k_casinhl.c: Removed.
1085         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
1086         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
1087         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
1088         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
1090         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
1091         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
1092         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
1093         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
1094         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
1095         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
1096         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
1097         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
1099         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
1100         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
1101         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
1102         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
1104         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
1105         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
1106         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
1107         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
1109 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1111         * s_casin_template.c: Copy of s_casin.c.
1112         * s_casinh_template.c: Copy of s_casinh.c.
1113         * s_csin_template.c: Copy of s_csin.c.
1114         * s_csinh_template.c: Copy of s_csinh.c.
1115         * k_casinh_template.c: Copy of k_casinh.c.
1117 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
1119         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
1121 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1123         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
1124         (mul_split) Remove, rename as mul_splitl, remove
1125         redundant float.h include, and include via mul_splitl.h
1127         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1128         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1129         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1130         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
1131         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1133         * math/mul_splitl.h: New file.
1135         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
1136         Move into mul_split.h, and remove redundant float.h include.
1138         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
1139         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
1140         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1141         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
1143         * math/mul_split.h: New file.
1145 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1147         * math/Makefile (libm-gen-calls): Move
1148         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
1149         (libm-calls): Remove above.
1151         * math/s_cacos_template.c: Update using type-generic macros.
1152         * math/s_cacosh_template.c: Likewise.
1153         * math/s_ccos_template.c: Likewise.
1154         * math/s_ccosh_template.c: Likwise.
1156         * math/s_cacosf.c: Removed.
1157         * math/s_cacos.c: Removed.
1158         * math/s_cacosl.c: Removed.
1159         * math/s_cacoshf.c: Removed.
1160         * math/s_cacosh.c: Removed.
1161         * math/s_cacoshl.c: Removed.
1162         * math/s_ccosf.c: Removed.
1163         * math/s_ccos.c: Removed.
1164         * math/s_ccosl.c: Removed.
1165         * math/s_ccoshf.c: Removed.
1166         * math/s_ccosh.c: Removed.
1167         * math/s_ccoshl.c: Removed.
1169         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
1170         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
1171         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
1172         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
1173         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
1174         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
1176         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
1177         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
1178         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
1179         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
1181         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
1182         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
1183         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
1184         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
1186 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1188         * s_cacos_template.c: Copy of s_cacos.c.
1189         * s_cacosh_template.c: Copy of s_cacosh.c.
1190         * s_ccos_template.c: Copy of s_ccos.c.
1191         * s_ccosh_template.c: Copy of s_ccosh.c.
1193 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1195         * stdlib/tst-strtod-round-skeleton.c:
1196         Refactored from tst-strtod-round.c.
1198         (L_): New macro to apply literal modifier.
1199         (FNPFX): New macro to select str or wcs prefix.
1200         (CHAR): New macro to choose wchar_t or char.
1201         (STRM): New macro to choose printf for tested character type.
1203         (STRTO): New macro to choose appropriate string -> real function.
1204         (FNPFXS): Stringitized version of FNPFX.
1205         (STR): Support for above macro.
1206         (STRX): Likewise.
1208         (TEST): Update with above macros.
1209         (test): Likewise.
1210         (GEN_ONE_TEST): Likewise.
1211         (test_in_one_mode): Likewise.
1213         * stdlib/tst-strtod-round.c: New file.
1214         * wcsmbs/tst-wcstod-round.c: New file.
1216         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
1217         (tst-wcstod-round): Add libm depencency for fesetround.
1219 2016-08-19  Zack Weinberg  <zackw@panix.com>
1221         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
1223 2016-08-18  Torvald Riegel  <triegel@redhat.com>
1225         [BZ #20477]
1226         * resolv/res_hconf.c (do_init): Use atomic access.
1227         * resolv/res_hconf.h: Add comments.
1228         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
1229         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
1230         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1232 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
1234         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
1235         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
1236         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1237         Likewise.
1239 2016-08-18  Florian Weimer  <fweimer@redhat.com>
1241         [BZ #16907]
1242         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
1243         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
1244         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
1245         (__attribute__): Remove definition.
1247 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1249         * sysdeps/ieee754/ldbl-128/e_asinl.c:
1250         Remove unused sqrtl declaration.
1252 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1254         * math/Makefile: (gen-libm-templates.stmp): New rule.
1255         (libm-calls): Move carg conj cimag and cabs into ...
1256         (gen-libm-calls): New variable.
1257         (generated): Inform Make objects from gen-libm-calls
1258         may be generated.
1260         * sysdeps/generic/math-type-macros.h: New file.
1261         * sysdeps/generic/math-type-macros-float.h: Likewise.
1262         * sysdeps/generic/math-type-macros-double.h: Likewise.
1263         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1264         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
1265         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
1267         * math/cabs.c: Refactor into
1268         * math/cabs_template.c: new file.
1269         * math/cabsf.c: Removed.
1270         * math/cabsl.c: Removed.
1271         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
1272         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
1274         * math/carg.c: Refactor into
1275         * math/carg_template.c: new file.
1276         * math/cargf.c: Removed.
1277         * math/cargl.c: Removed.
1278         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
1279         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
1281         * math/conj.c: Refactor into
1282         * math/conj_template.c: new file.
1283         * math/conjf.c: Removed.
1284         * math/conjl.c: Removed.
1285         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
1286         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
1288         * math/cimag.c: Refactor into
1289         * math/cimag_template.c: new file.
1290         * math/cimagf.c: Removed.
1291         * math/cimagl.c: Removed.
1292         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1293         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1295         * math/cimag.c: Refactor into
1296         * math/cimag_template.c: new file.
1297         * math/cimagf.c: Removed.
1298         * math/cimagl.c: Removed.
1299         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1300         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1302 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1304         Reduce time to expected nptl/tst-once5 failure.
1305         * nptl/tst-once5.cc (TIMEOUT): Define.
1307 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1309         [BZ #20452]
1310         Avoid additional copies of objects in libc.a in static libraries.
1311         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
1312         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
1313         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
1314         rt-sysdep.
1315         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
1316         Add nptl-sysdep.
1317         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
1318         Add ptw-sysdep.
1319         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
1320         rt-sysdep.
1321         * sysdeps/unix/sysv/linux/alpha/Makefile
1322         (libpthread-shared-only-routines): Add ptw-sysdep,
1323         ptw-sigprocmask, ptw-rt_sigaction.
1324         * sysdeps/unix/sysv/linux/ia64/Makefile
1325         (librt-shared-only-routines): Add rt-sysdep.
1326         * sysdeps/unix/sysv/linux/i386/Makefile
1327         (libpthread-shared-only-routines): Add libc-do-syscall.
1328         * sysdeps/unix/sysv/linux/microblaze/Makefile
1329         (libpthread-shared-only-routines): Add sysdep.
1330         * sysdeps/unix/sysv/linux/powerpc/Makefile
1331         (librt-shared-only-routines): Add rt-sysdep.
1332         (libpthread-shared-only-routines): Add sysdep.
1333         * sysdeps/unix/sysv/linux/s390/Makefile
1334         (librt-shared-only-routines): Add rt-sysdep.
1335         * sysdeps/unix/sysv/linux/sparc/Makefile
1336         (librt-shared-only-routines): Add rt-sysdep.
1337         (libpthread-shared-only-routines): Add sysdep.
1338         * sysdeps/unix/sysv/linux/tile/Makefile
1339         (libpthread-shared-only-routines): Likewise.
1341 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
1343         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
1344         Mask implicit bit out of unpacked value.
1345         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
1346         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
1347         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
1349         * sysdeps/sparc/fpu/fesetexcept.c: New file.
1351         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
1353         * sysdeps/s390/fpu/fesetexcept.c: New file.
1355         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
1356         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
1357         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
1359         * sysdeps/mips/fpu/fesetexcept.c: New file.
1361         * sysdeps/m68k/fpu/fesetexcept.c: New file.
1363         * sysdeps/ia64/fpu/fesetexcept.c: New file.
1365         * sysdeps/hppa/fpu/fesetexcept.c: New file.
1367         * sysdeps/arm/fesetexcept.c: New file.
1369         * sysdeps/alpha/fpu/fesetexcept.c: New file.
1371         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
1373         * math/fesetexcept.c: New file.
1374         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
1375         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
1376         * math/fenv.h: Define
1377         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1378         <bits/libc-header-start.h> instead of including <features.h>.
1379         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
1380         declaration.
1381         * manual/arith.texi (fesetexcept): Document function.
1382         * math/Versions (fesetexcept): New libm symbol at version
1383         GLIBC_2.25.
1384         * math/Makefile (libm-support): Add fesetexcept.
1385         (tests): Add test-fesetexcept and test-fesetexcept-traps.
1386         * math/test-fesetexcept.c: New file.
1387         * math/test-fesetexcept-traps.c: Likewise.
1388         * sysdeps/nacl/libm.abilist: Update.
1389         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1390         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1391         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1392         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1393         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1394         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1395         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1396         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1397         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1398         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1399         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1400         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1402         Likewise.
1403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1404         Likewise.
1405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1406         Likewise.
1407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1408         Likewise.
1409         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1410         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1411         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1412         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1413         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1415         Likewise.
1416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1417         Likewise.
1418         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1419         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1420         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1422 2016-08-16  Florian Weimer  <fweimer@redhat.com>
1424         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
1425         New.
1426         (do_test): Apply default_stack_size_in_mb if not set.
1427         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
1429 2016-08-15  Andreas Schwab  <schwab@suse.de>
1431         [BZ #20435]
1432         CVE-2016-6323
1433         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
1434         as .cantunwind.
1436 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
1438         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
1439         comment from fraiseexcpt.c.
1441         * math/test-fexcept.c (feraiseexcept_exact): New function.
1442         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
1443         (test_except): Likewise.
1445 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
1447         [BZ #20455]
1448         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
1449         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
1450         to be restored.
1452         * math/test-fexcept-traps.c: New file.
1453         * math/test-fexcept.c: Likewise.
1454         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
1455         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
1456         macro.
1457         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
1458         (EXCEPTION_SET_FORCES_TRAP): Likewise.
1460 2016-08-09  Torvald Riegel  <triegel@redhat.com>
1462         * include/atomic.h (atomic_fetch_and_relaxed,
1463         atomic_fetch_and_release, atomic_fetch_or_release,
1464         atomic_fetch_xor_release): New.
1466 2016-08-06  Christian Seiler  <christian@iwakd.de>
1468         [BZ #20444]
1469         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
1470         MACH_PORT_NULL.
1472 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1474         * math/s_fdim.c: Avoid alias renamed.
1475         * math/s_fdimf.c: Likewise.
1476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1477         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1478         Add s_fdimf-vis3, s_fdim-vis3.
1479         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
1480         (CFLAGS-s_fdim-vis3.c): Likewise.
1481         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
1482         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
1484 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1487         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1488         Remove s_fdimf-vis3, s_fdim-vis3.
1489         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
1490         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
1491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
1492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
1493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
1494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
1495         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
1496         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
1497         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
1498         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
1500 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1502         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
1503         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
1504         -Wa,-Av9a -mvis.
1506 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1508         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
1509         LIT() to individual constants in simple expressions
1510         after splitting on spaces.
1511         (_apply_lit): Rename replaced version, and use it to
1512         apply to what appears to be a token.
1514         * math/libm-test.inc: Fix many, many issues with
1515         spacing.
1517 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
1519         * math/math.h: Move comment about <bits/mathdef.h> definitions
1520         above inclusion of <bits/mathdef.h>.  Do not mention
1521         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
1523 2016-08-05  Torvald Riegel  <triegel@redhat.com>
1525         * include/atomic.h (atomic_exchange_relaxed): New.
1527 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
1529         * math/e_scalb.c: Do not include <fenv.h>.
1530         (invalid_fn): Do calculation resulting in NaN instead of raising
1531         FE_INVALID and returning a NaN explicitly.
1532         * math/e_scalbf.c: Do not include <fenv.h>.
1533         (invalid_fn): Do calculation resulting in NaN instead of raising
1534         FE_INVALID and returning a NaN explicitly.
1535         * math/e_scalbl.c: Do not include <fenv.h>.
1536         (invalid_fn): Do calculation resulting in NaN instead of raising
1537         FE_INVALID and returning a NaN explicitly.
1539 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
1541         * po/de.po: Updated from Translation Project.
1542         * po/fi.po: Likewise.
1543         * po/sv.po: Likewise.
1545 2016-08-04  Florian Weimer  <fweimer@redhat.com>
1547         [BZ #20452]
1548         Use sysdep.o from libc.a in static libraries.
1549         * sysdeps/unix/sysv/linux/i386/Makefile
1550         (libpthread-shared-only-routines): Add sysdep.
1551         (librt-shared-only-routines): Likewise.
1553 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1555         * math/tgmath.h (nextdown): Define if
1556         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
1557         (nextup): Likewise.
1559         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
1560         macro.
1561         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
1562         Document.
1563         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
1564         Document macro.
1565         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
1566         (exp10f): Likewise.
1567         (exp10l): Likewise.
1568         * math/bits/mathcalls.h (exp10): Declare if
1569         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
1571         * manual/arith.texi (nextup): Fix typo in last change.
1573 2016-08-03  Zack Weinberg  <zackw@panix.com>
1575         [BZ #19239]
1576         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
1577         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
1578         define major, minor, and makedev to issue deprecation warnings on use.
1579         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
1580         previously-activated deprecation warnings for these macros and prevent
1581         subsequent inclusions of this header from having any effect.
1582         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
1583         including <sys/sysmacros.h>, and undefine it again afterward.
1585 2016-08-03  Zack Weinberg  <zackw@panix.com>
1587         * sysdeps/generic/sys/sysmacros.h: Delete file.
1588         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
1589         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
1590         * bits/sysmacros.h: ... here; this encoding is now the generic
1591         encoding.  Now defines only the following macros:
1592         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
1593         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
1594         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
1596         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
1597         bits/sysmacros.h and the above new macros to generate the
1598         public implementations of major, minor, and makedev.
1599         * misc/tst-makedev.c: New test.
1600         * include/sys/sysmacros.h: New wrapper.
1602         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
1603         (routines): Add makedev.
1604         (tests): Add tst-makedev.
1605         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
1606         gnu_dev_makedev.
1607         * posix/Makefile (headers): Remove sys/sysmacros.h.
1608         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
1610         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
1611         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
1612         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
1613         * sysdeps/unix/sysv/linux/alpha/libc.abilist
1614         * sysdeps/unix/sysv/linux/arm/libc.abilist
1615         * sysdeps/unix/sysv/linux/hppa/libc.abilist
1616         * sysdeps/unix/sysv/linux/i386/libc.abilist
1617         * sysdeps/unix/sysv/linux/ia64/libc.abilist
1618         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1619         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
1620         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
1621         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1622         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1623         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1624         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1625         * sysdeps/unix/sysv/linux/nios2/libc.abilist
1626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1630         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
1631         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
1632         * sysdeps/unix/sysv/linux/sh/libc.abilist
1633         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1634         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1637         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
1638         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
1639         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
1640         Add GLIBC_2.25.
1642         * include/features.h (__glibc_clang_prereq): New macro.
1643         * misc/sys/cdefs.h (__glibc_clang_has_extension)
1644         (__attribute_deprecated_msg__): New macros.
1646 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1648         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
1649         macro.
1650         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
1651         * manual/arith.texi (issignaling): Document as ISO from TS
1652         18661-1:2014.
1653         (nextup): Likewise.
1654         (nextupf): Likewise.
1655         (nextupl): Likewise.
1656         (nextdown): Likewise.
1657         (nextdownf): Likewise.
1658         (nextdownl): Likewise.
1659         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
1660         macro.
1661         * math/math.h: Define
1662         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1663         <bits/libc-header-start.h> instead of including <features.h>.
1664         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
1665         [__USE_GNU].
1666         * math/bits/mathcalls.h (nextdown): Declare if
1667         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
1668         (nextup): Likewise.
1669         (__issignaling): Likewise.
1671 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1673         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
1674         check, and remove __glibc_likely hint
1675         from FP_INFINITE check.
1676         * s_csinhf.c (__csinhf): Likewise.
1678         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
1679         hint from FP_INFINITE check.
1680         * s_csinhl.c (__csinhl): Likewise.
1682 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1684         * math/Makefile (libm-calls): Insert F placeholder into
1685         object names.  Move w_lgamma_compat* routines into
1686         (libm-compat-calls): New variable.
1687         (libm-compat-calls-ldouble-yes): New variable.
1688         (calls): Insert F placeholder.
1689         (generated): Redefine using new type-foreach macro call.
1690         (routines): Likewise.
1692         (types): New variable to hold a list of symbolic names
1693         for each type supported by the target machine.
1694         (libm-routines): Redefine using new types variable.
1695         (type-foreach): macro to replace fooF with the
1696         appropriately suffixed foo for each types.
1698         (type-ldouble-suffix): New variable.
1699         (type-ldouble-routines): Likewise.
1700         (type-ldouble-yes): Likewise.
1701         (type-double-suffix): Likewise.
1702         (type-double-routines): Likewise.
1703         (type-float-suffix): Likewise.
1704         (type-float-routines): Likewise.
1706         (dbl-only-routines): Remove.
1707         (long-c-yes): Likewise.
1708         (long-m-routines): Likewise.
1709         (long-m-support): Likewise.
1710         (long-m-yes): Likewise.
1711         (test-longdouble-yes): Likewise.
1713         (test-float.o): Simplify by increasing the scope of the
1714         recipe which adds libm-test.stmp to the vector types.
1715         (test-ifloat.o): Likewise.
1716         (test-float-finite.o): Likewise.
1717         (test-double.o): Likewise
1718         (test-idouble.o): Likewise.
1719         (test-double-finite.o): Likewise.
1720         (test-ldouble.o): Likewise
1721         (test-ildoubl.o): Likewise.
1722         (test-ldouble-finite.o): Likewise.
1724         (libm-tests): Redefine type tests using foreach and the
1725         list of types in types.
1727         (CPPFLAGS-test-ildoubl.c): Rename to
1728         (CPPFLAGS-test-ildouble.c): New variable
1730         * math/test-ildoubl.c: Rename to
1731         * math/test-ildouble.c: New file.
1733 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1735         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
1736         Use fabsl instead of fabs.
1737         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
1738         Likewise.
1739         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
1740         Add long double suffix to constant to ensure proper
1741         promotion to long double.
1743 2016-08-03  Tom Tromey  <tom@tromey.com>
1745         [BZ #20311]
1746         * nptl_db/Makefile (headers): Add proc_service.h.
1747         * nptl_db/proc_service.h: Add include guard.  Use
1748         __BEGIN/__END_DECLS.
1749         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
1750         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
1751         arguments.
1754 2016-08-03  Florian Weimer  <fweimer@redhat.com>
1756         [BZ #17730]
1757         Avoid using memalign for TCB allocations.
1758         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
1759         (_dl_allocate_tls_storage): Use malloc and manual alignment.
1760         Avoid alignment gap in the TLS_DTV_AT_TP case.
1761         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
1762         determine the pointer to free.
1763         * nptl/tst-tls3-malloc.c: New test.
1764         * nptl/Makefile (tests): Add it.
1765         (tst-tls3-malloc): Link with libdl, libpthread.
1766         (LDFLAGS-tst-tls3-malloc): Set.
1767         (tst-tls3-malloc.out): Depend on DSO used in test.
1769 2016-08-03  Florian Weimer  <fweimer@redhat.com>
1771         [BZ #17730]
1772         Avoid using memalign for TLS allocations.
1773         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
1774         is_static member with to_free member.
1775         (union dtv): Use struct dtv_pointer.
1776         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
1777         dtv_pointer instead of is_static.
1778         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
1779         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
1780         instead of val.
1781         (allocate_dtv_entry): New function.
1782         (allocate_and_init): Return struct dtv_pointer.  Call
1783         allocate_dtv_entry instead of __libc_memalign.
1784         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
1785         instead of val.
1786         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
1787         instead of is_static.  Adjust call to allocate_and_init.
1788         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
1789         struct dtv_pointer instead of val.
1791 2016-08-03  Florian Weimer  <fweimer@redhat.com>
1793         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
1794         (MALLOC_ALIGN_MASK): Move ...
1795         * malloc/malloc-internal.h: ... to here.
1796         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
1798 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1800         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
1801         (UDP_ENCAP_GTP1U): Likewise.
1803         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
1804         (PF_MAX): Update value.
1805         (AF_QIPCRTR): New macro.
1807 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
1809         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
1810         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1811         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1812         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
1813         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1814         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
1815         s_truncf-vis3, s_trunc-vis3.
1816         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
1817         (CFLAGS-s_ceil-vis3.c): Likewise.
1818         (CFLAGS-s_floorf-vis3.c): Likewise.
1819         (CFLAGS-s_floor-vis3.c): Likewise.
1820         (CFLAGS-s_truncf-vis3.c): Likewise.
1821         (CFLAGS-s_trunc-vis3.c): Likewise.
1822         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
1823         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
1824         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
1825         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
1826         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
1827         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
1828         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
1829         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
1830         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
1831         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
1832         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
1833         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
1835 2016-08-02  David S. Miller  <davem@davemloft.net>
1837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
1838         (__nearbyint_vis3): Don't check for sNaN before float register is
1839         loaded with the incoming argument.
1840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
1841         (__nearbyintf_vis3): Likewise.
1842         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
1843         Likewise.
1844         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
1845         Likewise.
1847         * string/test-strncmp.c (do_test_limit): Make sure the test data
1848         stream is aligned as required for the type "CHAR".
1849         (do_test): Likewise.
1851 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
1853         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
1854         by beq instructions jumping to the end of the function.
1855         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
1856         clobber list. Use "i" constraint instead of "X".
1857         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
1858         of "X".
1860 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
1862         * bits/libc-header-start.h: New file.
1863         * Makefile (headers): Add bits/libc-header-start.h.
1864         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
1865         (__GLIBC_USE): New macro.
1866         * libio/stdio.h: Define
1867         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1868         <bits/libc-header-start.h> instead of including <features.h>.
1869         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
1870         (open_memstream): Likewise.
1871         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
1872         (__asprintf): Likewise.
1873         (asprintf): Likewise.
1874         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
1875         (getdelim): Likewise.
1876         (getline): Likewise.
1877         * string/string.h: Define
1878         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1879         <bits/libc-header-start.h> instead of including <features.h>.
1880         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
1881         (strndup): Likewise.
1882         * wcsmbs/wchar.h: Define
1883         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1884         <bits/libc-header-start.h> instead of including <features.h>.
1885         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
1886         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
1888 2016-08-02  Florian Weimer  <fweimer@redhat.com>
1890         Support linking against compatibility symbols, for use in tests.
1891         * include/libc-symbols.h (symbol_version_reference): New macro.
1892         (symbol_version): Use it.
1893         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
1894         (compat_symbol): Use compat_symbol_reference.
1895         (compat_symbol_1, compat_symbol_2): Remove.
1896         (compat_symbol_reference, compat_symbol_reference_1)
1897         (compat_symbol_reference_2): New macro.  Use
1898         symbol_version_reference.
1900 2016-08-02  Florian Weimer  <fweimer@redhat.com>
1902         [BZ #19469]
1903         * malloc/Makefile (CPPFLAGS): Compile tests with
1904         -DTEST_NO_MALLOPT.
1905         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
1907 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
1909         [BZ #20033]
1910         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
1911         finite version.
1912         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
1913         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
1914         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
1915         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
1916         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
1917         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
1918         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
1919         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
1920         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
1921         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
1922         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
1923         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
1924         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
1925         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
1926         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
1927         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
1928         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
1929         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
1930         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
1931         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
1932         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
1933         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
1934         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
1935         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
1936         in zero power.
1938 2016-08-02  Florian Weimer  <fweimer@redhat.com>
1940         [BZ #20370]
1941         * malloc/arena.c (get_free_list): Update comment.  Assert that
1942         arenas on the free list have no attached threads.
1943         (remove_from_free_list): New function.
1944         (reused_arena): Call it.
1946 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
1948         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
1949         when it is a NaN.
1950         [_IEEE_FP_INEXACT] Remove.
1951         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
1952         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
1953         when it is a NaN.
1954         [_IEEE_FP_INEXACT] Remove.
1955         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
1956         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
1957         when it is a NaN.
1958         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
1959         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
1960         when its absolute value is greater than 0x1.0p52.
1961         [_IEEE_FP_INEXACT] Remove.
1962         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
1963         when its absolute value is greater than 0x1.0p23.
1964         [_IEEE_FP_INEXACT] Remove.
1966 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
1968         * version.h (RELEASE): Set to "development"
1969         (VERSION): Set to 2.24.90.
1970         * NEWS: Add 2.25 section.
1972         * version.h (RELEASE): Set to "stable"
1973         (VERSION): Set to 2.24.
1974         * include/features.h (__GLIBC_MINOR__): Set to 24.
1976         * NEWS: Add 2.24 fixed bugs.
1977         * po/libc.pot: Regenerate.
1979 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
1981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1982         [$(subdir) = math] (libm-sysdep_routines): Remove.
1983         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1984         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
1985         s_truncf-vis3, s_trunc-vis3.
1986         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
1988         file.
1989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
1990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
1991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
1992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
1995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
1996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
1998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
1999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
2000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
2001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
2002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
2003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
2004         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2005         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2006         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2007         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
2008         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
2009         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
2010         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
2011         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2012         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2013         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2014         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2015         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2016         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
2017         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2018         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2019         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
2020         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2021         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2022         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
2023         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
2024         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
2025         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
2026         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2027         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2028         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
2029         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
2030         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
2031         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
2033 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
2035         [BZ #20384]
2036         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
2037         test-double-libmvec-sincos-avx-main.o,
2038         test-double-libmvec-sincos-avx2-main.o,
2039         test-double-libmvec-sincos-main.o,
2040         test-float-libmvec-sincosf-avx-main.o,
2041         test-float-libmvec-sincosf-avx2-main.o and
2042         test-float-libmvec-sincosf-main.o.
2043         test-float-libmvec-sincosf-avx512-main.o.
2044         ($(objpfx)test-double-libmvec-sincos): Also link with
2045         $(objpfx)test-double-libmvec-sincos-main.o.
2046         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
2047         $(objpfx)test-double-libmvec-sincos-avx-main.o.
2048         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
2049         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
2050         ($(objpfx)test-float-libmvec-sincosf): Also link with
2051         $(objpfx)test-float-libmvec-sincosf-main.o.
2052         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
2053         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
2054         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
2055         test-double-libmvec-sincos-avx512-main.o and
2056         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
2057         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
2058         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
2059         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
2060         (CFLAGS-test-double-libmvec-sincos.c): Removed.
2061         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
2062         (CFLAGS-test-double-libmvec-sincos-main.c): New.
2063         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
2064         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
2065         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
2066         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
2067         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
2068         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
2069         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
2070         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
2071         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
2072         -DREQUIRE_AVX2.
2073         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
2074         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
2075         -DREQUIRE_AVX512F.
2076         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
2077         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
2078         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
2079         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
2080         file.
2081         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
2082         Likewise.
2083         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
2084         Likewise.
2085         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
2086         Likewise.
2087         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
2088         Likewise.
2089         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
2090         Likewise.
2091         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
2092         Likewise.
2093         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
2094         Likewise.
2096 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
2098         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
2100 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
2102         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
2103         and typo in a comment about AT_HWCAP entry.
2105 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2107         * sysdeps/aarch64/libm-test-ulps: Updated.
2109 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2111         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
2112         of r13 as it is not restored in mvcle case.
2114 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
2116         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
2117         Rename "ret" to "__ret".
2118         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
2119         inline_syscall5, inline_syscall6): Likewise.
2121 2016-07-19   Will Newton  <will.newton@gmail.com>
2123         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
2124         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
2125         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
2126         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
2127         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
2129 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
2131         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
2132         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
2133         -mfpmath=387 with $(rtld-CFLAGS).
2134         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
2135         $(rtld-CFLAGS).
2137 2016-07-18   Ross Burton  <ross.burton@intel.com>
2138              Khem Raj  <raj.khem@gmail.com>
2140         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
2141         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
2142         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
2143         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
2144         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
2145         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
2146         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
2147         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
2148         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
2149         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
2150         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
2151         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
2152         R_METAG_TLS_DTPOFF): New.
2154 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2155             Matt Clay  <mclay@lycos.com>
2157         [BZ #20357]
2158         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
2159         to call __mpsin/__mpcos and to negate values.
2160         * math/auto-libm-test-in: Add test.
2161         * math/auto-libm-test-out: Regenerate.
2163 2016-07-18  Zack Weinberg  <zackw@panix.com>
2165         * grp/Makefile: Don't install the internal header grp-merge.h.
2167 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2169         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2171 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2173         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
2175 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2177         [BZ #15368]
2178         * sysdeps/unix/sysv/linux/nptl-signals.h
2179         (__nptl_clear_internal_signals): New function.
2180         (__libc_signal_block_all): Likewise.
2181         (__libc_signal_block_app): Likewise.
2182         (__libc_signal_restore_set): Likewise.
2183         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
2184         implementation.
2185         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
2186         the cached pid/tid value in pthread structure.
2188 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
2190         [BZ #20347]
2191         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2193 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2195         [BZ #20348]
2196         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
2197         preadv64, pwrite64 and pwritev64.
2199 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2201         [BZ #20350]
2202         * posix/tst-preadwrite.c: Renamed to ...
2203         * posix/tst-preadwrite-common.c: This.
2204         (PREAD): Removed.
2205         (PWRITE): Likewise.
2206         (STRINGIFY): Likewise.
2207         (STRINGIFY2): Likewise.
2208         (do_prepare): Make it static and remove function arguments.
2209         (do_test): Likewise.
2210         (PREPARE): Updated.
2211         (TEST_FUNCTION): New.
2212         (name): Make it static.
2213         (fd): Likewise.
2214         (do_prepare): Use create_temp_file.
2215         (do_test): Renamed to ...
2216         (do_test_with_offset): This.  Make it static and accept offset.
2217         Properly check return value of PWRITE and PREAD.  Return bytes
2218         read.  Don't close fd nor unlink name.
2219         * posix/tst-preadwrite.c: Rewrite.
2220         * posix/tst-preadwrite64.c: Likewise.
2222 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2224         [BZ #20309]
2225         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
2226         -mtls-dialect=gnu2 works.
2227         * configure: Regenerated.
2228         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
2229         (tests): Add tst-gnu2-tls1.
2230         (modules-names): Add tst-gnu2-tls1mod.
2231         ($(objpfx)tst-gnu2-tls1): New.
2232         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
2233         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
2234         * elf/tst-gnu2-tls1.c: New file.
2235         * elf/tst-gnu2-tls1mod.c: Likewise.
2236         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
2237         bytes for push in the PLT entry to align the stack.
2239 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
2241         [BZ #20349]
2242         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
2244 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2246         [BZ #18707]
2247         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
2248         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
2250 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2252         * sysdeps/unix/sysv/linux/sysdep.h
2253         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
2254         guards.
2255         * misc/tst-preadvwritev-common.c: New file.
2256         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
2257         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
2258         a check for files larger than 2GB.
2260         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2261         (__ASSUME_OFF_DIFF_OFF64): Remove define.
2262         * sysdeps/unix/sysv/linux/pread.c
2263         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
2264         __OFF_T_MATCHES_OFF64_T.
2265         * sysdeps/unix/sysv/linux/pread64.c
2266         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
2267         * sysdeps/unix/sysv/linux/preadv.c
2268         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
2269         * sysdeps/unix/sysv/linux/preadv64.c
2270         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
2271         * sysdeps/unix/sysv/linux/pwrite.c
2272         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
2273         * sysdeps/unix/sysv/linux/pwrite64.c
2274         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
2275         * sysdeps/unix/sysv/linux/pwritev.c
2276         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
2277         * sysdeps/unix/sysv/linux/pwritev64.c
2278         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
2280 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
2282         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2283         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
2285 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2287         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
2289 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2291         [BZ #20240]
2292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2293         (CFLAGS-s_modf-ppc32.c): New variable.
2294         (CFLAGS-s_modff-ppc32.c): Likewise.
2295         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2296         (CFLAGS-s_modf-ppc64.c): Likewise.
2297         (CFLAGS-s_modff-ppc64.c): Likewise.
2299 2016-07-07  Andreas Schwab  <schwab@suse.de>
2301         [BZ #20263]
2302         * nptl/tst-robust10.c: New test.
2303         * nptl/Makefile (tests): Add tst-robust10.
2305 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
2307         [BZ #20263]
2308         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
2310 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2312         * sysdeps/s390/linkmap.h (struct link_map_machine):
2313         Remove member gotplt and add member jmprel.
2314         * sysdeps/s390/s390-32/dl-machine.h
2315         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
2316         instead of gotplt with &got[3].
2317         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
2318         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2320 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
2322         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
2324 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2326         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
2327         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
2328         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2329         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
2330         * libio/vtables.c (_IO_vtable_check)
2331         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2332         * libio/libioP.h (IO_set_accept_foreign_vtables)
2333         [!PTR_MANGLE]: Do not call PTR_MANGLE.
2335 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
2337         [BZ #20314]
2338         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
2339         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
2340         $(common-objpfx)cmath.
2341         ($(common-objpfx)cstdlib): New target.
2342         ($(common-objpfx)cmath): Likewise.
2344 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
2346         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
2348 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2350         [BZ #20327]
2351         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
2352         are not part of the string.
2354 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2356         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
2357         * nptl/tst-cancel4-common.h (fifoname): New variable.
2358         (fifofd): Likewise.
2359         (cl_fifo): New function.
2360         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
2361         SIGINT.
2362         (tf_open): Add early cancel test.
2364 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
2366         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
2368 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
2370         * sysdeps/generic/ldsodefs.h
2371         (dl_symbol_visibility_binds_local_p): New inline function.
2372         * elf/dl-addr.c (determine_info): Treat hidden and internal
2373         symbols as local.
2374         * elf/dl-lookup.c (do_lookup_x): Likewise.
2375         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
2377 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
2379         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
2380         invalid exception for a sNaN input.
2381         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2382         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2383         (__nearbyint_vis3): Likewise
2384         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2385         (__nearbyintf_vis3): Likewise
2386         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
2387         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2388         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
2389         Likewise.
2390         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
2391         Likewise.
2393 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
2395         [BZ #20139]
2396         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
2397         (HAVE_AVX512DQ_ASM_SUPPORT): This.
2398         * sysdeps/x86_64/configure.ac: Require assembler from binutils
2399         2.24 or above.
2400         (HAVE_AVX512_ASM_SUPPORT): Removed.
2401         (HAVE_AVX512DQ_ASM_SUPPORT): New.
2402         * sysdeps/x86_64/configure: Regenerated.
2403         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
2404         check unconditional.
2405         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
2406         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2407         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2408         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2409         Likewise.
2410         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2411         Likewise.
2412         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2413         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2414         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2415         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2416         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
2417         Likewise.
2418         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2419         Likewise.
2420         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2421         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2422         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
2423         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
2424         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
2425         Likewise.
2426         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
2427         Likewise.
2428         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
2429         Likewise.
2430         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
2431         Likewise.
2432         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
2433         Likewise.
2434         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
2435         Likewise.
2436         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
2437         Likewise.
2438         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
2439         Likewise.
2440         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
2441         Likewise.
2442         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
2443         Likewise.
2444         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
2445         Likewise.
2447 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
2449         [BZ #20024]
2450         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
2451         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
2452         of this implementation of vector function.
2453         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2454         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2455         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
2456         Likewise.
2457         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2458         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2459         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
2460         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
2461         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
2462         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
2463         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
2464         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
2465         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
2466         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
2467         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
2468         for testing vector sincos with fixed ABI.
2469         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2470         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2471         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2472         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2473         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2474         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2475         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2476         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
2477         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
2478         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
2479         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
2480         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
2481         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
2482         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
2483         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
2484         * sysdeps/x86_64/fpu/Makefile: Added new tests.
2486 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
2488         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
2490 2016-06-30  Anton Blanchard  <anton@samba.org>
2492         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2493         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
2494         s_sinf-ppc64.
2495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
2496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
2497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
2498         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2500 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2502         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2503         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2504         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
2505         e_expf-ppc64.
2506         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
2507         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
2508         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
2509         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2511 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
2513         [BZ #20277]
2514         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
2515         when SHARED is defined.
2517 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
2519         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
2520         (index_arch_Prefer_ERMS): Likewise.
2521         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
2522         __memcpy_erms for Prefer_ERMS.
2523         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2524         (__memmove_erms): Enabled for libc.a.
2525         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
2526         __memmove_erms or Prefer_ERMS.
2527         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
2528         __mempcpy_erms for Prefer_ERMS.
2529         * sysdeps/x86_64/multiarch/memset.S (memset): Return
2530         __memset_erms for Prefer_ERMS.
2532 2016-06-30  Andreas Schwab  <schwab@suse.de>
2534         [BZ #20262]
2535         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
2536         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
2537         of memory.
2539 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
2541         [BZ #18645]
2542         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
2543         (test-extras): Add tst-cleanupx4aux.
2544         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
2545         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
2546         tst-cleanupx4aux.o.
2547         * nptl/tst-cleanupx4aux.c: New file.
2549 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
2551         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2553 2016-06-29  Andreas Schwab  <schwab@suse.de>
2555         [BZ #20260]
2556         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
2557         address before the beginning of the string as an integer to avoid
2558         array-bounds warning.
2560 2016-06-28  Richard Henderson  <rth@redhat.com>
2562         * elf/elf.h (EM_BPF): New.
2563         (EM_NUM): Update.
2564         (R_BPF_NONE, R_BPF_MAP_FD): New.
2566         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
2567         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
2568         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
2569         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
2570         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
2571         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
2572         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
2573         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
2574         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
2575         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
2576         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
2577         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
2578         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
2579         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
2580         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
2581         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
2582         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
2583         (EM_NUM): Update.
2585 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
2587         [BZ #18960]
2588         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
2589         Set _nl_current_LC_CATEGORY_used to two instead of one.
2591 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
2593         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
2594         (do_test): ... this.
2595         (TEST_FUNCTION): New macro.
2596          Include test-skeleton.c.
2597         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
2598         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
2600 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
2602         [BZ #15479]
2603         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
2604         floating-point environment rather than just control word.
2605         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2606         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
2607         floating-point environment, with "invalid" exceptions merged in,
2608         rather than just control word.
2609         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
2610         * math/libm-test.inc (trunc_test_data): Do not allow spurious
2611         "inexact" exceptions.
2613         [BZ #15479]
2614         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
2615         floating-point environment rather than just control word.
2616         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2617         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
2618         floating-point environment, with "invalid" exceptions merged in,
2619         rather than just control word.
2620         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
2621         * math/libm-test.inc (floor_test_data): Do not allow spurious
2622         "inexact" exceptions.
2624         [BZ #15479]
2625         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
2626         floating-point environment rather than just control word.
2627         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2628         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
2629         floating-point environment, with "invalid" exceptions merged in,
2630         rather than just control word.
2631         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
2632         * math/libm-test.inc (ceil_test_data): Do not allow spurious
2633         "inexact" exceptions.
2635 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
2637         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
2638         __libc_vfork.
2639         (__vfork) [IS_IN (libc)]: Remove alias.
2640         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
2641         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2642         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2644 2016-06-24  Torvald Riegel  <triegel@redhat.com>
2646         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
2647         of atomic_compare_and_exchange_bool_rel.
2648         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2649         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
2650         catomic_compare_and_exchange_bool_rel): Remove.
2651         * sysdeps/aarch64/atomic-machine.h
2652         (atomic_compare_and_exchange_bool_rel): Likewise.
2653         * sysdeps/alpha/atomic-machine.h
2654         (atomic_compare_and_exchange_bool_rel): Likewise.
2655         * sysdeps/arm/atomic-machine.h
2656         (atomic_compare_and_exchange_bool_rel): Likewise.
2657         * sysdeps/mips/atomic-machine.h
2658         (atomic_compare_and_exchange_bool_rel): Likewise.
2659         * sysdeps/microblaze/atomic-machine.h
2660         ( __arch_compare_and_exchange_bool_8_rel,
2661         __arch_compare_and_exchange_bool_16_rel): Likewise.
2662         * sysdeps/powerpc/atomic-machine.h
2663         ( __arch_compare_and_exchange_bool_8_rel,
2664         __arch_compare_and_exchange_bool_16_rel): Likewise.
2665         * sysdeps/powerpc/powerpc32/atomic-machine.h
2666         ( __arch_compare_and_exchange_bool_32_rel,
2667         __arch_compare_and_exchange_bool_64_rel): Likewise.
2668         * sysdeps/powerpc/powerpc64/atomic-machine.h
2669         ( __arch_compare_and_exchange_bool_32_rel,
2670         __arch_compare_and_exchange_bool_64_rel): Likewise.
2671         * sysdeps/tile/atomic-machine.h
2672         (atomic_compare_and_exchange_bool_rel): Likewise.
2674 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
2676         [BZ #20296]
2677         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
2678         when either argument is a NaN.
2679         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2680         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
2682         * math/libm-test.inc (snan_value_ld): New macro.
2683         (isgreater_test_data): Add sNaN tests.
2684         (isgreaterequal_test_data): Likewise.
2685         (isless_test_data): Likewise.
2686         (islessequal_test_data): Likewise.
2687         (islessgreater_test_data): Likewise.
2688         (isunordered_test_data): Likewise.
2689         (nextafter_test_data): Likewise.
2690         (nexttoward_test_data): Likewise.
2691         (remainder_test_data): Likewise.
2692         (remquo_test_data): Likewise.
2693         (significand_test_data): Likewise.
2694         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
2696 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2698         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
2699         environment macros are defined.
2700         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
2702 2016-06-23  Florian Weimer  <fweimer@redhat.com>
2704         [BZ #20191]
2705         Implement vtable verification in libio.
2706         * Makerules (shlib.lds): Place __libc_IO_vtables section.
2707         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
2708         * debug/vdprintf_chk.c (__vdprintf_chk): Call
2709         _IO_new_file_init_internal instead of _IO_file_init.
2710         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
2711         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
2712         * libio/Makefile (routines): Add vtables.
2713         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
2714         (_IO_init): Remove, not for internal use.
2715         (_IO_init_internal): Declare, internal replacement for _IO_init.
2716         (_IO_file_init): Remove, not for internal use.
2717         (_IO_new_file_init): Remove, not for internal use.
2718         (_IO_new_file_init_internal): Declare, internal replacement for
2719         _IO_new_file_init.
2720         (_IO_old_file_init): Remove, not for internal use.
2721         (_IO_old_file_init_internal): Declare, internal replacement for
2722         _IO_old_file_init.
2723         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
2724         internal use.
2725         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
2726         Declare.
2727         (libio_vtable): New macro.
2728         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
2729         functions.
2730         * libio/fileops.c (_IO_new_file_init_internal): Rename from
2731         _IO_new_file_init.
2732         (_IO_new_file_init): New externally visible wrapper which disables
2733         vtable verification.
2734         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
2735         Define as vtables.
2736         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
2737         (_IO_init): New externally visible wrapper which disables
2738         vtable verification.
2739         * libio/iofdopen.c (_IO_new_fdopen): Call
2740         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
2741         comment.
2742         * libio/iofopen.c (__fopen_internal): Call
2743         _IO_new_file_init_internal instead of _IO_file_init.
2744         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
2745         Define as vtables.
2746         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
2747         _IO_new_file_init_internal instead of _IO_file_init.
2748         * libio/iopopen.c (_IO_new_popen): Likewise.
2749         (_IO_proc_jumps): Define as vtable.
2750         * libio/iovdprintf.c (_IO_vdprintf): Call
2751         _IO_new_file_init_internal instead of _IO_file_init.
2752         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
2753         (__open_memstream): Call _IO_init_internal instead of _IO_init.
2754         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
2755         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
2756         _IO_old_file_init.
2757         (_IO_old_file_init): New externally visible wrapper which disables
2758         vtable verification.
2759         (_IO_old_file_jumps): Define as vtable.
2760         * libio/oldiofdopen.c (_IO_old_fdopen): Call
2761         _IO_old_file_init_internal instead of _IO_old_file_init.
2762         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2763         * libio/oldiopopen.c (_IO_old_popen): Likewise.
2764         (_IO_old_proc_jumps): Define as vtable.
2765         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
2766         Define as vtables.
2767         * libio/vtables.c: New file.
2768         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
2769         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
2770         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
2771         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
2772         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
2773         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
2774         instead of _IO_init.
2776 2016-06-23  Florian Weimer  <fweimer@redhat.com>
2778         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
2780 2016-06-23  Florian Weimer  <fweimer@redhat.com>
2782         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
2783         potentially unused.
2785 2016-06-22  Florian Weimer  <fweimer@redhat.com>
2787         * test-skeleton.c (write_message): New function.
2788         * malloc/tst-mallocfork2.c (write_message): Remove.
2789         * debug/tst-longjmp_chk2.c (write_indented): New function.
2790         (write_message): Remove.
2791         (stackoverflow_handler): Call write_indented.
2793 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
2795         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
2796         "inexact" exceptions after fnstenv.
2797         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2798         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2799         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2801 2015-06-22  Zack Weinberg  <zackw@panix.com>
2803         * sysdeps/generic/bits/hwcap.h: Moved to ...
2804         * bits/hwcap.h: Here.
2806 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
2808         * sysdeps/aarch64/memcpy.S (memcpy):
2809         Further tuning for performance.
2811 2016-06-21  Florian Weimer  <fweimer@redhat.com>
2813         [BZ #20284]
2814         * malloc/arena.c (reused_arena): Do not return NULL if we start
2815         out with a non-corrupted arena.
2817 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2819         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
2820         * misc/tst-preadvwritev.c: New file.
2821         * misc/tst-preadvwritev64.c: Likewise.
2822         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
2823         usage.
2824         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
2825         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
2826         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
2827         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
2829 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
2831         [BZ #19654]
2832         * sysdeps/x86_64/fpu/Makefile: Added new tests.
2833         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
2834         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
2835         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
2836         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
2837         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
2838         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
2839         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
2840         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
2841         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
2842         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
2843         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
2844         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
2845         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
2846         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
2847         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
2848         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
2849         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
2850         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
2851         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
2852         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
2853         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
2854         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
2855         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
2856         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
2857         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
2859 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
2861         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
2862         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
2864 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
2866         * sysdeps/aarch64/memcpy.S (memcpy):
2867         Rewrite of optimized memcpy and memmove.
2868         * sysdeps/aarch64/memmove.S (memmove): Remove
2869         memmove code (merged into memcpy.S).
2871 2016-06-20  Florian Weimer  <fweimer@redhat.com>
2873         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
2874         * sysdeps/generic/dl-dtv.h: New file.
2875         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2876         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
2877         (dtv_t): Remove.
2878         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2879         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
2880         (dtv_t): Remove.
2881         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2882         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
2883         (dtv_t): Remove.
2884         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2885         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
2886         (dtv_t): Remove.
2887         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2888         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
2889         (dtv_t): Remove.
2890         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2891         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
2892         (dtv_t): Remove.
2893         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2894         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
2895         (dtv_t): Remove.
2896         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
2897         (dtv_t): Remove.
2898         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2899         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
2900         (dtv_t): Remove.
2901         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2902         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
2903         (dtv_t): Remove.
2904         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2905         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
2906         (dtv_t): Remove.
2907         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2908         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
2909         (dtv_t): Remove.
2910         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2911         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
2912         (dtv_t): Remove.
2913         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2914         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
2915         (dtv_t): Remove.
2916         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2917         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
2918         (dtv_t): Remove.
2919         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2920         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
2921         (dtv_t): Remove.
2923 2016-06-20  Florian Weimer  <fweimer@redhat.com>
2925         Revert symbol poisoning of  __malloc_initialize_hook.
2926         * include/stdc-predef.h (__malloc_initialize_hook): Remove
2927         poisoning.
2928         * malloc/Makefile: Remove un-poisoning.
2929         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
2930         instead of old__malloc_initialize_hook.
2931         * malloc/malloc-hooks.h: Likewise.
2932         * malloc/malloc.c: Likewise.
2933         * malloc/mcheck-init.c: Likewise.
2935 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
2937         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
2939 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
2941         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
2942         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
2943         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2944         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2946 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2948         * NEWS: Mention addition of nextup and nextdown.
2949         * manual/arith.texi: Document nextup and nextdown.
2950         * manual/libm-err-tab.pl: Add nextup and nextdown.
2951         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
2952         * math/Versions (libm): Add GLIBC_2.24.
2953         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
2954         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
2955         Add new test.
2956         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
2957         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
2958         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
2959         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
2960         (nextup_test_data): Likewise.
2961         (nextdown_test_data): Likewise.
2962         * math/s_nextdown.c: New file.
2963         * math/s_nextdownf.c: Likewise.
2964         * math/s_nextdownl.c: Likewise.
2965         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
2966         F(nextup): New function.
2967         F(nextdown): Likewise.
2968         * math/tgmath.h: Add nextup and nextdown.
2969         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
2970         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
2971         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
2972         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
2973         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
2974         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
2975         Add nextup and nextdown.
2976         (CFLAGS-nldbl-nextup.c): New variable.
2977         (CFLAGS-nldbl-nextdown.c): Likewise.
2978         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
2979         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
2980         * sysdeps/nacl/libm.abilist: Update.
2981         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2982         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2983         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2984         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2985         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2986         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2987         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2988         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2989         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2990         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2991         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2992         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
2994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2995         Likewise.
2996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
2997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
2998         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2999         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3000         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3001         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3002         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
3004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
3005         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3006         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3007         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
3008         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3010 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3012         * manual/pattern.texi: Fix typos & grammar errors.
3014 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3016         * manual/search.texi: Fix typos & grammar errors.
3018 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3020         * manual/message.texi: Fix typos & grammar errors.
3022 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
3024         * manual/contrib.texi: Fix spelling typos.
3025         * manual/crypt.texi: Likewise.
3026         * manual/filesys.texi: Likewise.
3027         * manual/locale.texi: Likewise.
3028         * manual/message.texi: Likewise.
3029         * manual/nss.texi: Likewise.
3030         * manual/string.texi: Likewise.
3032 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3034         * manual/locale.texi: Fix typos & grammar errors.
3036 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3038         * manual/charset.texi: Fix typos & grammar errors.
3040 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3042         * manual/string.texi: Fix typos.
3044 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3046         * manual/ctype.texi: Fix typos.
3048 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3050         * manual/memory.texi: Fix various typos & grammar errors.
3052 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
3054         [BZ #20255]
3055         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
3056         * math/libm-test.inc (fdim_test_data): Add another test.
3058         [BZ #6796]
3059         [BZ #20255]
3060         [BZ #20256]
3061         * math/s_fdim.c: Include <math_private.h>.
3062         (__fdim): Use math_narrow_eval on result.
3063         * math/s_fdimf.c: Include <math_private.h>.
3064         (__fdimf): Use math_narrow_eval on result.
3065         * sysdeps/i386/fpu/s_fdim.S: Remove file.
3066         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
3067         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
3068         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
3069         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
3070         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
3071         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
3072         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
3073         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
3074         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
3075         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
3076         * math/libm-test.inc (fdim_test_data): Expect errno setting on
3077         overflow.  Add sNaN tests.
3079         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
3080         fpclassify.
3081         * math/s_fdimf.c (__fdimf): Likewise.
3082         * math/s_fdiml.c (__fdiml): Likewise.
3084 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3086         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3087         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
3088         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3089         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3090         ifunc'ed strcasecmp/strncasecmp.
3091         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
3092         [EALIGN]: Removed.
3093         [END]: Likewise.
3094         [__strcasecmp]: Define instead of the above to control symbol name.
3095         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
3096         for __strcasecmp_power8.
3097         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
3098         for __strncasecmp_power8.
3099         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
3100         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
3101         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
3102         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
3103         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
3104         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
3106 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
3108         [BZ #20252]
3109         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
3110         arguments when second argument is a NaN.
3111         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
3112         qNaN tests.
3114         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
3115         (conj_test_data): Likewise.
3116         (copysign_test_data): Likewise.
3117         (creal_test_data): Likewise.
3118         (fma_test_data): Likewise.
3119         (fmod_test_data): Likewise.
3121         [BZ #20250]
3122         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
3123         itself.
3124         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
3125         zero input to itself.
3126         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
3127         Likewise.
3128         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
3129         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
3130         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3131         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
3132         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
3134 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3136         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
3137         * nptl/tst-cancel4-common.c: New file.
3138         * nptl/tst-cancel4-common.h: Likewise.
3139         * nptl/tst-cancel4.c: Move common definitions to
3140         tst-cancel4-common.{c,h} file.
3141         * nptl/tst-cancel4_1.c: New test.
3142         * nptl/tst-cancel4_2.c: New test.
3144 2016-06-13  Florian Weimer  <fweimer@redhat.com>
3146         [BZ #20248]
3147         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
3148         (write_message): New function.
3149         (stackoverflow_handler): Call it instead of printf, to avoid
3150         excessive stack usage by printf.
3151         (do_test): Restore SIGSEGV, SIGBUS default handlers.
3153 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3155         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
3156         (prio_inherit_missing): Remove define.
3157         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3158         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3159         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
3160         Likewise.
3161         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3162         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3163         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3164         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3165         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3166         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3168 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3170         [BZ #19670]
3171         [BZ #19672]
3173         * io/test-lfs.c (do_prepare): Use xmalloc.
3174         * io/tst-fcntl.c (do_prepare): Likewise.
3175         * libio/tst-fopenloc.c (do_bz17916): Likewise.
3176         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
3177         * login/tst-utmp.c (do_prepare): Likewise.
3178         * posix/tst-exec.c (do_prepare): Likewise.
3179         * posix/tst-pathconf.c (prepare): Likewise.
3180         * posix/tst-spawn.c (do_prepare): Likewise.
3181         * posix/tst-truncate.c (do_prepare): Likewise.
3182         * rt/tst-aio.c (do_prepare): Likewise.
3183         * rt/tst-aio64.c (do_prepare): Likewise.
3185 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3187         [BZ #20237]
3188         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
3189         (get*ent): Set entidx to NULL during initialization.  If entidx is
3190         NULL, start iteration from the beginning.
3192 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3194         * malloc/malloc.c (musable): Return correct size for dumped fake
3195         mmapped chunk.
3197 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3199         [BZ #20222]
3200         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
3201         (_IO_cookie_write): Likewise.
3202         (_IO_cookie_seek): Likewise.
3203         (_IO_cookie_close): Likewise.
3204         (_IO_old_cookie_seek): Likewise.
3205         (set_callbacks): New function.
3206         (_IO_cookie_init): Call set_callbacks to copy callbacks.
3208 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
3210         * locale/programs/localedef.c (oldstyle_tables): Remove.
3211         * locale/programs/localedef.h (oldstyle_tables): Likewise.
3213 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
3215         [BZ #20240]
3216         * math/Makefile (CFLAGS-s_modf.c): New variable.
3217         (CFLAGS-s_modff.c): Likewise.
3218         (CFLAGS-s_modfl.c): Likewise.
3219         * math/libm-test.inc (modf_test_data): Add sNaN tests.
3221 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
3223         [BZ #20215]
3224         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
3225         [!__GNUC_PREREQ (3,2)]: Likewise.
3227 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
3229         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
3230         (msghdr.msg_controllen): Likewise.
3231         (cmsghdr.cmsg_len): Likewise.
3232         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
3233         ptw-oldsendmsg.
3234         (CFLAGS-oldrecvmsg.c): Remove rule.
3235         (CFLAGS-oldsendmsg.c): Likewise.
3236         (CFLAGS-recvmsg.c): Add rule.
3237         (CFLAGS-sendmsg.c): Likewise.
3238         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3239         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
3240         (CFLAGS-recvmsg.c): Remove rule.
3241         (CFLAGS-sendmsg.c): Likewise.
3242         (CFLAGS-oldrecvmsg.c): Likewise.
3243         (CFLAGS-oldsendmsg.c): Likewise.
3244         (CFLAGS-recvmmsg.c): Likewise.
3245         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
3246         to kernel defined interfaces.
3247         (msghdr.msg_controllen): Likewise.
3248         (cmsghdr.cmsg_len): Likewise.
3249         (msghdr.__glibc_reserved1): Remove member.
3250         (msghdr.__glibc_reserved2): Likewise.
3251         (cmsghdr.__glibc_reserved1): Likewise.
3252         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
3253         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
3254         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
3255         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
3256         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
3257         version.
3258         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3259         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
3260         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3261         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
3262         Remove recvmsg and sendmsg.
3263         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
3264         Likewise.
3265         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
3266         Likewise.
3267         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
3268         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
3269         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
3270         Likewise.
3271         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3272         Likewise.
3273         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
3274         [libc] (GLIBC_2.24): Likewise.
3275         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3276         Likewise.
3277         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3278         Likewise.
3279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3280         [libc] (GLIBC_2.24): Likewise.
3281         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3282         Likewise.
3283         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3284         Likewise.
3285         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3286         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3287         Likewise.
3288         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3289         Likewise.
3290         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3291         Likewise.
3292         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
3293         Likewise.
3294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
3295         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
3296         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
3297         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
3298         version for {recv,send,recm,sendm}msg.
3299         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3300         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3301         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3302         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3303         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3304         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3305         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3306         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3307         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3308         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3309         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3310         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3312         Likewise.
3313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3314         Likewise.
3315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3317         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3318         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3319         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3320         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3321         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3322         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3325         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3326         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3327         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3329 2016-06-10  Florian Weimer  <fweimer@redhat.com>
3331         [BZ #19564]
3332         Remove __malloc_initialize_hook from the API.
3333         * malloc/malloc.h (__malloc_initialize_hook): Remove.
3334         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
3335         #pragma GCC poison.
3336         * malloc/malloc-hooks.h: New file.
3337         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
3338         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
3339         (old__malloc_initialize_hook): Rename from
3340         __malloc_initialize_hook to evade poisoning.  Turn into compat
3341         symbol.
3342         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
3343         __malloc_initialize_hook.
3344         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
3345         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
3346         * manual/memory.texi (Hooks for Malloc): Remove
3347         __malloc_initialize_hook.  Adjust hook example.
3349 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
3351         [BZ #20235]
3352         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
3353         itself.
3354         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3355         * math/libm-test.inc (log2_test_data): Add sNaN tests.
3357         [BZ #20234]
3358         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
3359         infinity or NaN input to itself.
3361         [BZ #20233]
3362         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
3363         to itself.
3365         [BZ #20232]
3366         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
3367         itself.
3369 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3371         * sysdeps/x86_64/start.S (_start): Always indirect branch to
3372         __libc_start_main via GOT.
3374 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3376         * sysdeps/x86_64/memcopy.h: New file.
3377         * sysdeps/x86_64/wordcopy.c: Likewise.
3379 2016-06-09  Florian Weimer  <fweimer@redhat.com>
3381         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
3382         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
3383         <cstdlib>.
3384         (optimization_barrier): New.
3385         (do_test): Use it.  Call quick_exit in the global namespace.
3386         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
3387         instead of <cstdlib>, <thread>.
3388         (optimization_barrier): New.
3389         (non_main_thread): Adjust declaration.  Call optimization_barrier.
3390         Call quick_exit in the global namespace.
3391         (do_test): Call optimization_barrier.  Use pthread_create,
3392         pthread_join instead of std::thread.
3394 2016-06-09  Andreas Schwab  <schwab@suse.de>
3396         [BZ #19755]
3397         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
3398         new entries in auto-propagate mode.
3399         * nscd/grpcache.c (cache_addgr): Likewise.
3401 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3403         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
3404         New functions.
3405         (add_temp_file): Use them.
3407 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
3409         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
3411 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
3413         [BZ #20229]
3414         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
3415         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
3416         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
3418         [BZ #20228]
3419         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
3420         itself.
3421         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3422         * math/libm-test.inc (log10_test_data): Add sNaN tests.
3424         [BZ #20227]
3425         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
3426         itself.
3427         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3428         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3429         * math/libm-test.inc (log_test_data): Add sNaN tests.
3431         [BZ #20226]
3432         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
3433         itself.
3434         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
3435         * math/libm-test.inc (exp_test_data): Add sNaN tests.
3436         (exp10_test_data): Likewise.
3437         (expm1_test_data): Likewise.
3439         [BZ #20225]
3440         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
3441         itself.
3442         * math/s_ldexpf.c (__ldexpf): Likewise.
3443         * math/s_ldexpl.c (__ldexpl): Likewise.
3444         * math/w_scalbln.c (__w_scalbln): Likewise.
3445         * math/w_scalblnf.c (__w_scalblnf): Likewise.
3446         * math/w_scalblnl.c (__w_scalblnl): Likewise.
3447         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
3448         (scalbln_test_data): Likewise.
3450         [BZ #20224]
3451         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
3452         argument to itself.
3453         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
3455 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3457         [BZ #19776]
3458         * sysdeps/x86_64/memcpy.S: Make it dummy.
3459         * sysdeps/x86_64/mempcpy.S: Likewise.
3460         * sysdeps/x86_64/memmove.S: New file.
3461         * sysdeps/x86_64/memmove_chk.S: Likewise.
3462         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
3463         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
3464         * sysdeps/x86_64/memmove.c: Removed.
3465         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3466         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3467         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
3468         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
3469         Likewise.
3470         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3471         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3472         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3473         memcpy-sse2-unaligned, memmove-avx-unaligned,
3474         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
3475         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3476         (__libc_ifunc_impl_list): Replace
3477         __memmove_chk_avx512_unaligned_2 with
3478         __memmove_chk_avx512_unaligned.  Remove
3479         __memmove_chk_avx_unaligned_2.  Replace
3480         __memmove_chk_sse2_unaligned_2 with
3481         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
3482         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
3483         with __memmove_avx512_unaligned.  Replace
3484         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
3485         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
3486         with __memcpy_chk_avx512_unaligned.  Remove
3487         __memcpy_chk_avx_unaligned_2.  Replace
3488         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
3489         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
3490         Replace __memcpy_avx512_unaligned_2 with
3491         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
3492         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
3493         with __mempcpy_chk_avx512_unaligned.  Remove
3494         __mempcpy_chk_avx_unaligned_2.  Replace
3495         __mempcpy_chk_sse2_unaligned_2 with
3496         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
3497         Replace __mempcpy_avx512_unaligned_2 with
3498         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
3499         Replace __mempcpy_sse2_unaligned_2 with
3500         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
3501         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
3502         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
3503         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
3504         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
3505         (ENTRY): Removed.
3506         (END): Likewise.
3507         (ENTRY_CHK): Likewise.
3508         (libc_hidden_builtin_def): Likewise.
3509         Don't include ../memcpy.S.
3510         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
3511         __memcpy_chk_avx512_unaligned_erms and
3512         __memcpy_chk_avx512_unaligned.  Use
3513         __memcpy_chk_avx_unaligned_erms and
3514         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
3515         Default to __memcpy_chk_sse2_unaligned.
3516         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3517         Change function suffix from unaligned_2 to unaligned.
3518         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
3519         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
3520         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
3521         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
3522         (ENTRY): Removed.
3523         (END): Likewise.
3524         (ENTRY_CHK): Likewise.
3525         (libc_hidden_builtin_def): Likewise.
3526         Don't include ../mempcpy.S.
3527         (mempcpy): New.  Add a weak alias.
3528         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
3529         __mempcpy_chk_avx512_unaligned_erms and
3530         __mempcpy_chk_avx512_unaligned.  Use
3531         __mempcpy_chk_avx_unaligned_erms and
3532         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
3533         Default to __mempcpy_chk_sse2_unaligned.
3535 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3537         [BZ #19881]
3538         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
3539         into ...
3540         * sysdeps/x86_64/memset.S: This.
3541         (__bzero): Removed.
3542         (__memset_tail): Likewise.
3543         (__memset_chk): Likewise.
3544         (memset): Likewise.
3545         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
3546         defined.
3547         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
3548         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
3549         (__memset_zero_constant_len_parameter): Check SHARED instead of
3550         PIC.
3551         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3552         memset-avx2 and memset-sse2-unaligned-erms.
3553         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3554         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
3555         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
3556         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3557         (__bzero): Enabled.
3558         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
3559         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
3560         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
3561         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
3562         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
3563         (memset): Removed.
3564         (__memset_chk): Likewise.
3565         (MEMSET_SYMBOL): New.
3566         (libc_hidden_builtin_def): Replace __memset_sse2 with
3567         __memset_sse2_unaligned.
3568         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
3569         __memset_chk_sse2 and __memset_chk_avx2 with
3570         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
3571         Use __memset_chk_sse2_unaligned_erms or
3572         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
3573         __memset_chk_avx512_unaligned_erms and
3574         __memset_chk_avx512_unaligned.
3576 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3578         * math/gen-auto-libm-test.c (fp_format_desc): remove
3579         suffix member.
3580         (output_generic_value): Remove usage of suffix member,
3581         and the resulting unuse of the fp_format argument.
3582         (output_for_one_input_case): Remove unused fp_format
3583         parameter.
3585         * math/auto-libm-test-out: Regenerate.
3587         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
3588         usage with TEST_COND_ibm128.
3589         (TEST_COND_flt_32): Remove.
3590         (TEST_COND_dbl_64): Remove.
3591         (TEST_COND_ldbl_96_intel): Remove.
3592         (TEST_COND_ldbl_96_m68k): Remove.
3593         (TEST_COND_ldbl_128): Remove.
3595 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3597         * auto-libm-test-in:
3598         Replace flt-32 usage with binary32.
3599         Replace dbl-64 usage with binary64.
3600         Replace ldbl-intel-96 usage with intel96.
3601         Replace ldbl-m68k-96 usage with m68k96.
3602         Replace ldbl-128ibm usage with ibm128.
3603         Replace ldbl-128 usage with binary128.
3605         * auto-libm-test-out: Regenerate.
3607 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3609         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
3610         (parse_ulps): Dynamically generate type name matching
3611         string from all_floats.
3612         (get_ulps): Generate the ulps as an array instead.
3613         (output_ulps): Dynamically compose the type based
3614         on the number of supported formats, and print
3615         the indices as type specific helper macros.
3617         * math/libm-test.inc: Remove comment about CHOOSE.
3618         (ulp_data): Generate the type in libm-test-ulps.h.
3619         (ULP_IDX): New macro.
3620         (find_ulps): Update usage of max_ulp.
3622         * math/test-double-vlen2.h (CHOOSE): Remove.
3623         * math/test-double-vlen4.h (CHOOSE): Likewise.
3624         * math/test-double-vlen8.h (CHOOSE): Likewise.
3625         * math/test-float.c (CHOOSE): Likewise.
3626         * math/test-float-finite.c (CHOOSE): Likewise.
3627         * math/test-double.c (CHOOSE): Likewise.
3628         * math/test-double-finite.c (CHOOSE): Likewise.
3629         * math/test-idouble.c (CHOOSE): Likewise.
3630         * math/test-ifloat.c (CHOOSE): Likewise.
3631         * math/test-ildoubl.c (CHOOSE): Likewise.
3632         * math/test-ldouble-finite.c (CHOOSE): Likewise.
3633         * math/test-ldouble.c (CHOOSE): Likewise.
3635         * math/test-float.h (TEST_FLOAT): Remove.
3636         * math/test-double.h (TEST_DOUBLE): Likewise.
3637         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
3639 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3641         * math/gen-libm-test.pl: (apply_lit): New subroutine.
3642         (parse_args): Strip C suffix from floating point literals
3643         typed with 'f' and wrap them with LIT().
3645         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
3646         (test_ff_f_data_nexttoward): Rename to
3647         (test_fj_f_data): New struct.
3648         (nexttoward_test_data): Relabel tests as
3649         TEST_fj_f instead of TEST_ff_f.
3651 2016-06-08  Florian Weimer  <fweimer@redhat.com>
3653         Emacs bug 23726.
3654         * malloc/malloc.c (dumped_main_arena_start): Update comment.
3655         (__libc_realloc): Correct size computation for dumped fake mmapped
3656         chunks.
3658 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
3660         [BZ #20219]
3661         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
3662         to itself.
3663         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
3665         [BZ #20218]
3666         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
3667         to itself.
3668         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
3670 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
3672         [BZ #20195]
3673         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
3674         check to ...
3675         (init_cpu_features): Here.
3677 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
3679         [BZ #20214]
3680         * sysdeps/unix/sysv/linux/bits/in.h
3681         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
3682          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
3683         Define to 1.
3684         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
3685          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
3686         Define to 0.
3687         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
3688         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
3690 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
3692         [BZ #20198]
3693         * stdlib/Makefile (tests): Add tst-quick_exit, and
3694         tst-thread-quick_exit.
3695         [ifeq ($(have-cxx-thread_local),yes)]
3696         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
3697         (CFLAGS-tst-thread-quick_exit.o): Likewise.
3698         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
3699         (LDLIBS-tst-thread-quick_exit): Likewise.
3700         [ifneq ($(have-cxx-thread_local),yes)]
3701         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
3702         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
3703         If run_dtors is true call __call_tls_dtors.
3704         (exit): Call __run_exit_handlers with run_dtors set to true.
3705         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
3706         definition.
3707         * stdlib/quick_exit.c (quick_exit): Remove function.
3708         (__new_quick_exit): New function.
3709         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
3710         function.
3711         * stdlib/tst-quick_exit.cc: New file.
3712         * stdlib/tst-thread-quick_exit.cc: New file.
3713         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
3714         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
3715         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
3716         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
3717         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
3718         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
3719         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
3720         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
3721         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
3722         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
3723         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
3724         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
3725         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
3726         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
3727         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
3728         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
3729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
3730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
3731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
3732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
3733         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
3734         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
3735         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
3736         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
3737         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
3738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
3739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
3740         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
3741         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
3742         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
3744 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
3746         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
3747         a typo in comments.
3749 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
3751         [BZ #20213]
3752         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
3753         argument to itself.
3754         * math/libm-test.inc (asin_test_data): Add sNaN tests.
3756 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3758         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
3759         required flags.
3760         (CFLAGS-pwritev64.c): Likewise.
3761         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
3762         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3763         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
3764         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3765         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
3766         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
3767         syscall from auto-generation.
3768         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
3769         [WORDSIZE == 64] (pwritev64): Remove macro.
3770         [!PWRITEV] (PWRITEV): Likewise.
3771         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
3772         [!PWRITEV] (PWRITE): Likewise.
3773         [!PWRITEV] (OFF_T): Likewise.
3774         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
3775         (LO_HI_LONG): Remove macro.
3776         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
3777         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
3778         (PWRITEV): Remove macro.
3779         (PWRITEV_REPLACEMENTE): Likewise.
3780         (PWRITE): Likewise.
3781         (OFF_T): Likewise.
3782         (pwritev64): New function.
3783         * nptl/tst-cancel4.c (tf_writev): Add test.
3785         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
3786         required flags.
3787         (CFLAGS-preadv64.c): Likewise.
3788         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
3789         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3790         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
3791         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
3792         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
3793         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
3794         syscall from auto-generation.
3795         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
3796         [WORDSIZE == 64] (preadv64): Remove macro.
3797         [!PREADV] (PREADV): Likewise.
3798         [!PREADV] (PREADV_REPLACEMENT): Likewise.
3799         [!PREADV] (PREAD): Likewise.
3800         [!PREADV] (OFF_T): Likewise.
3801         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
3802         (LO_HI_LONG): Remove macro.
3803         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
3804         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
3805         (PREADV): Remove macro.
3806         (PREADV_REPLACEMENTE): Likewise.
3807         (PREAD): Likewise.
3808         (OFF_T): Likewise.
3809         (preadv64): New function.
3810         * nptl/tst-cancel4.c (tf_preadv): Add test.
3812 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
3814         [BZ #20212]
3815         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
3816         argument to itself.
3817         * math/libm-test.inc (acos_test_data): Add sNaN tests.
3819 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3821         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
3822         New symbol defined as libc_hidden_def.
3823         (strcasestr): Became a weak alias to __strcasestr.
3824         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
3825         according to multi-arch support.  Move __stpncpy hidden
3826         definition from here to...
3827         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
3828         symbol stpncpy.
3829         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
3830         libc_hidden_builtin_def.
3831         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
3832         memset symbol to use when multi-arch support is available.
3834 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3836         * dlfcn/tst-rec-dlopen.c: Include string.h.
3838 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
3840         * manual/install.texi: Remove mention of --without-tls
3841         * INSTALL: Regenerate.
3843 2016-06-05  Florian Weimer  <fweimer@redhat.com>
3845         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
3846         Remove.
3847         (call_function, interposed_malloc_called): New variables.
3848         (malloc): New function.
3849         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
3850         and clear call_function as needed.
3852 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
3854         * include/wchar.h (__wmemset): Use __typeof.
3856 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
3858         * include/wchar.h (__wmemset): Declare function without typeof.
3860 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
3862         [BZ #20205]
3863         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
3864         exponent when incrementing negative subnormal with low mantissa
3865         word zero.
3866         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
3867         Add another test.
3869 2016-06-03  Florian Weimer  <fweimer@redhat.com>
3871         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
3872         __wmemset instead of wmemset.
3874 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
3876         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
3877         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
3878         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
3879         __USE_KERNEL_IPV6_DEFS to 0.
3880         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
3881         Update comment.
3883 2016-06-01  Florian Weimer  <fweimer@redhat.com>
3885         [BZ #19861]
3886         Do not use IFUNC resolver with potentially unrelocated symbol.
3887         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
3888         (DEFINE_FORK): Remove macro and inline definition.
3889         (fork_alias): Renamed from fork_ifunc.
3890         (__fork_alias): Renamed from __fork_ifunc.
3892 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
3894         [BZ 19653]
3895         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
3896         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
3898 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3900         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
3901         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
3902         i386-linux-gnu).
3903         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
3904         Set to no.
3905         * sysdeps/mach/hurd/configure: Refresh.
3907 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3909         [BZ #20178]
3910         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
3911         on failure instead of exit.
3913 2016-05-30  Roland McGrath  <roland@hack.frob.com>
3915         [BZ #3629]
3916         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
3917         of POSIX.1-2008.
3919 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3921         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
3922           Use PLT entry for calling _hurd_self_sigstate.
3924 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
3926         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
3927         available logical processors with SMT level type sharing L2
3928         cache for Intel processors.
3930 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
3932         [BZ #20160]
3933         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
3934         argument to itself before returning the result.
3935         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
3936         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
3937         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
3938         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
3939         Likewise.
3940         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
3941         Likewise.
3942         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
3943         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
3944         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
3945         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
3946         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
3947         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
3949         [BZ #20160]
3950         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
3951         argument to itself before returning the result.
3952         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
3953         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
3954         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
3955         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
3956         Likewise.
3957         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3958         Likewise.
3959         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
3960         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
3961         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
3962         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
3963         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
3964         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
3966 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3968         * libm-test.inc: Replace usage of M_El with
3969         (lit_e): New macro.
3971 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3973         * libm-test.inc: Replace usage of M_PI_4l with
3974         (lit_pi_4_d): New macro.
3976 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3978         * libm-test.inc: Replace usage of M_PIl with
3979         (lit_pi): New macro.
3981 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3983         * libm-test.inc: Replace usage of M_PI2l with
3984         (lit_pi_2_d): New macro.
3986         * math/test-double.h (LITM): New macro.
3987         * math/test-float.h (LITM): Likewise.
3988         * math/test-ldouble.h (LITM): Likewise.
3990 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3992         * libm-test.inc (M_PI_34l): Rename to
3993         (lit_pi_3_m_4_d): New Macro.
3994         (M_PI_34_LOG10El): Rename to
3995         (lit_pi_3_m_4_ln10_m_d): New Macro.
3996         (M_PI2_LOG10El): Rename to
3997         (lit_pi_2_ln10_m_d):  New Macro.
3998         (M_PI4_LOG10El): Rename to
3999         (lit_pi_4_ln10_m_d):  New Macro.
4000         (M_PI_LOG10El): Rename to
4001         (lit_pi_ln10_d):  New Macro.
4003 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4005         [BZ #20157]
4006         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
4007         determine whether to negate low half if [_ARCH_PPCGR], and integer
4008         comparison otherwise.
4009         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
4010         determine whether to negate low half.
4012         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
4013         (NO_TEST_INLINE_DOUBLE): Likewise.
4014         (TEST_COND_x86_64): Likewise.
4015         (TEST_COND_x86): Likewise.
4016         (M_PI_6l): Likewise.
4018 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4020         * math/libm-test.inc:
4021         (TEST_FLOAT): Change usage to TEST_COND_binary32.
4022         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
4023         (TEST_LDOUBLE): Update usage to evaluate as true if
4024         the guarded tests match the property being tested.
4025         (LDBL_MAX_EXP): Change to MAX_EXP.
4026         (LDBL_MIN_EXP): Change to MIN_EXP.
4027         (LDBL_MANT_DIG): Change to MANT_DIG, except for
4028         nexttoward tests.
4030 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4032         * math/libm-test.inc:
4033         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
4034         (TYPE_MIN): Likewise.
4035         (TYPE_TRUE_MIN): Likewise.
4036         (TYPE_MAX): Likewise.
4037         (MIN_EXP): Likewise.
4038         (MAX_EXP): Likewise.
4039         (MANT_DIG): Likewise.
4041         (FSTR_MAX): New macro.
4042         (__CONCATX): Likewise.
4043         (QTYPE_STR): Likewise.
4044         (TEST_COND_binary32): Likewise.
4045         (TEST_COND_binary64): Likewise.
4046         (TEST_COND_binary128): Likewise.
4047         (TEST_COND_ibm128): Likewise.
4048         (TEST_COND_intel96): Likewise.
4049         (TEST_COND_m68k96): Likewise.
4051         (TEST_COND_flt_32): Redefine as equivalent format test macro.
4052         (TEST_COND_dbl_64): Likewise.
4053         (TEST_COND_ldbl_96_intel): Likewise.
4054         (TEST_COND_ldbl_96_m68k): Likewise.
4055         (TEST_COND_ldbl_128): Likewise.
4056         (TEST_COND_ldbl_128ibm): Likewise.
4058         (plus_zero): Redefine using LIT macro.
4059         (minus_zero): Likewise.
4060         (plus_infty): Redefine as (INF).
4061         (minux_infty): Redefine as (-INF).
4062         (max_value): Redefine as TYPE_MAX.
4063         (min_value): Redefine as TYPE_MIN.
4064         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
4066         (print_float): Refactor to use snprintf to convert FLOAT values
4067         to string. This brings it closer to dropin replacement of strtof
4068         for the TS 18661 defined types.
4069         (update_stats): Likewise.
4070         (print_complex_function_ulps): Likewise.
4071         (print_max_error): Likewise.
4072         (print_complex_max_error): Likewise.
4073         (check_float_internal): Likewise.
4075         * math/test-float.h (PREFIX): New macro.
4076         (LIT): Likewise.
4077         (TYPE_STR): Likewise.
4078         (FTOSTR): Likewise.
4080         * math/test-double.h (PREFIX): New macro.
4081         (LIT): Likewise.
4082         (TYPE_STR): Likewise.
4083         (FTOSTR): Likewise.
4085         * math/test-ldouble.h (PREFIX): New macro.
4086         (LIT): Likewise.
4087         (TYPE_STR): Likewise.
4088         (FTOSTR): Likewise.
4090 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4092         [BZ #20156]
4093         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
4094         to itself when zero or not finite.
4095         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
4096         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4097         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
4098         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
4100 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
4102         [BZ #20153]
4103         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
4104         x * x + x for infinities and NaNs.
4106         [BZ #20151]
4107         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
4108         argument to itself before returning result.
4109         (__ieee754_y0l): Likewise.
4110         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4111         (__ieee754_y1l).
4113         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
4114         (atan_test_data): Likewise.
4115         (ceil_test_data): Likewise.
4116         (cos_test_data): Likewise.
4117         (cosh_test_data): Likewise.
4118         (erf_test_data): Likewise.
4119         (exp2_test_data): Likewise.
4120         (fabs_test_data): Likewise.
4121         (floor_test_data): Likewise.
4122         (ilogb_test_data): Likewise.
4123         (j0_test_data): Likewise.
4124         (j1_test_data): Likewise.
4125         (jn_test_data): Likewise.
4126         (lgamma_test_data): Likewise.
4127         (lrint_test_data): Likewise.
4128         (llrint_test_data): Likewise.
4129         (logb_test_data): Likewise.
4130         (lround_test_data): Likewise.
4131         (llround_test_data): Likewise.
4132         (nearbyint_test_data): Likewise.
4133         (rint_test_data): Likewise.
4134         (round_test_data): Likewise.
4135         (sin_test_data): Likewise.
4136         (sincos_test_data): Likewise.
4137         (sinh_test_data): Likewise.
4138         (sqrt_test_data): Likewise.
4139         (tan_test_data): Likewise.
4140         (tanh_test_data): Likewise.
4141         (tgamma_test_data): Likewise.
4142         (trunc_test_data): Likewise.
4143         (y0_test_data): Likewise.
4144         (y1_test_data): Likewise.
4145         (yn_test_data): Likewise.
4147         * math/libm-test.inc: Update comment about NaN testing.
4148         (TEST_SNAN): New macro.
4149         (snan_value): Likewise.
4150         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
4151         (fpclassify_test_data): Add sNaN tests.
4152         (isfinite_test_data): Likewise.
4153         (isinf_test_data): Likewise.
4154         (isnan_test_data): Likewise.
4155         (isnormal_test_data): Likewise.
4156         (issignaling_test_data): Likewise.
4157         (signbit_test_data): Likewise.
4158         * math/gen-libm-test.pl (%beautify): Add snan_value.
4159         (show_exceptions): Add argument $test_snan.
4160         (parse_args): Handle snan_value as non-finite.  Update call to
4161         show_exceptions.
4162         * math/Makefile (libm-test-no-inline-cflags): Add
4163         -fsignaling-nans.
4165 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4167         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
4168         (CFLAGS-oldsendmsg.c): Add rule.
4169         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4170         Correct recvmsg symbol name.
4171         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
4172         Likewise.
4174 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4176         * sysdeps/unix/sysv/linux/Makefile
4177         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
4178         oldsendmmsg.
4179         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
4180         sendmmsg.
4181         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4182         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4183         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4184         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4186         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4187         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4188         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4189         Likewise.
4190         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4191         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
4192         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4193         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
4194         iovlen and controllen fields to adjust to POSIX specification.
4195         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4197         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
4198         and change to correct expected type.
4199         (msghdr.msg_controllen): Likewise.
4200         (cmsghdr.cmsg_len): Likewise.
4201         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
4202         expected POSIX assumption about the size.
4203         (msghdr.msg_controllen): Likewise.
4204         (msghdr.__glibc_reserved1): Likewise.
4205         (msghdr.__glibc_reserved2): Likewise.
4206         (cmsghdr.cmsg_len): Likewise.
4207         (cmsghdr.__glibc_reserved1): Likewise.
4208         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
4209         Add ptw-oldrecvmsg and ptw-oldsendmsg.
4210         (CFLAGS-sendmsg.c): Remove rule.
4211         (CFLAGS-recvmsg.c): Likewise.
4212         (CFLAGS-oldsendmsg.c): Add rule.
4213         (CFLAGS-oldrecvmsg.c): Likewise.
4214         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
4215         recvmsg and sendmsg.
4216         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
4217         Likewise.
4218         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
4219         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
4220         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4221         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
4222         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4223         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4224         Likewise.
4225         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4226         Likewise.
4227         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
4228         Likewise.
4229         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
4230         Likewise.
4231         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4232         Likewise.
4233         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4234         Likewise.
4235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
4236         (GLIBC_2.24): Likewise.
4237         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4238         Likewise.
4239         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4240         Likewise.
4241         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4242         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4243         Likewise.
4244         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4245         Likewise.
4246         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4247         Likewise.
4248         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
4249         (GLIBC_2.24): Likewise.
4250         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
4251         Likewise.
4252         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
4253         Likewise.
4254         * sysdeps/unix/sysv/linux/Makefile
4255         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
4256         (CFLAGS-sendmsg.c): Add rule.
4257         (CFLAGS-recvmsg.c): Likewise.
4258         (CFLAGS-oldsendmsg.c): Likewise.
4259         (CFLAGS-oldrecvmsg.c): Likewise.
4260         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
4261         initialization.
4262         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
4263         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
4264         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
4265         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4266         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
4267         iovlen and controllen fields to adjust to POSIX specification.
4268         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
4269         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
4270         added recvmsg and sendmsg.
4271         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4272         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4273         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4274         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4275         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4276         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4277         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4278         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4279         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4280         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4281         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4282         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4284         Likewise.
4285         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4287         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4288         Likewise.
4289         Likewise.
4290         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4291         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4292         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4293         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4294         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4295         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4296         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4297         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4298         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4299         Likewise.
4300         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4301         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4303         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
4304         from auto-generation.
4305         (sendmsg): Likewise.
4306         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
4307         (sendmsg): Likewise.
4308         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
4309         (sendmsg): Likewise.
4310         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
4311         (sendmsg): Likewise.
4312         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
4313         (sendmsg): Likewise.
4314         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
4315         (sendmsg): Likewise.
4316         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
4317         Likewise.
4318         (sendmsg): Likewise.
4319         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
4320         (sendmsg): Likewise.
4321         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4322         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4323         Remove.
4324         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4325         Likewise.
4326         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4327         Undefine.
4328         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4329         Likewise.
4330         * sysdeps/unix/sysv/linux/kernel-features.h
4331         (__ASSUME_SENDMSG_SYSCALL): Define.
4332         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4333         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4334         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4335         Remove.
4336         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4337         Likewise.
4338         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4339         Undefine.
4340         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4341         Likewise.
4342         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4343         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4344         Remove.
4345         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4346         Likewise.
4347         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4348         Undefine.
4349         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4350         Likewise.
4351         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4352         (__ASSUME_SENDMSG_SYSCALL): Undefine.
4353         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4354         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4355         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4356         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4357         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4358         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4359         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4361 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4363         * stdlib/gen-tst-strtod-round.c: Add backslash to
4364         compile command in comment.
4365         (printfp): Remove the literal suffix, and define an infinite
4366         value as INF to avoid expansion clash with INFINITY.
4367         (round_str): Remove the literal suffix.
4368         (round_for_all): Likewise, remove the now duplicate ldbl-64
4369         entry, and remove some magic constants.
4371         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
4372         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
4373         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
4374         (_CONCAT): New macro.
4375         (CONCAT): Likewise.
4376         (CHOOSE_ld): Likewise.
4377         (CHOOSE_f): Likewise.
4378         (CHOOSE_d): Likewise.
4379         (FTYPE_MEMBER): Likewise.
4380         (BOOL_MEMBER): Likewise.
4381         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
4382         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
4383         (_XNTRY): Likewise.
4384         (XNTRY): Likewise.
4385         (_ENTRY): Likewise.
4386         (ENTRY): Likewise.
4387         (test_exactness): Generate members via macro.
4388         (test_results): Likewise.
4389         (test): Update members.
4390         (TEST): Redefine using new macros.
4391         (INF): New macro.
4392         (fetestmodes): New structure.
4393         (do_test): Refactor to be type generic.
4394         (test_in_one_mode): Refactor duplicate code into
4395         (GEN_ONE_TEST): New macro.
4397         * stdlib/tst-strtod-round-data.h: Regenerate.
4399         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
4400         Extend to pass additional arbitrary parameters to
4401         generators.
4403 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
4405         [BZ #15479]
4406         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
4407         floating-point state after first floating-point operation on
4408         input.  Restore full floating-point state instead of just rounding
4409         mode.
4410         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4411         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
4412         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
4413         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
4414         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
4416         [BZ #15479]
4417         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
4418         floating-point state after first floating-point operation on
4419         input.  Restore full floating-point state instead of just rounding
4420         mode.
4421         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
4422         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
4423         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
4424         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
4425         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
4427 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4429         [BZ #19727]
4430         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
4431         valid high surrogate.
4432         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
4433         of an utf16 surrogate.
4434         * iconv/gconv_simple.c (BODY): Likewise.
4435         * iconvdata/bug-iconv12.c: New file.
4436         * iconvdata/Makefile (tests): Add bug-iconv12.
4438 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4440         [BZ #19726]
4441         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
4442         outptrp in case of an illegal input.
4443         * iconv/tst-iconv6.c: New file.
4444         * iconv/Makefile (tests): Add tst-iconv6.
4446 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4448         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
4449         an error in case of a value in range of an utf16 low surrogate.
4451 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4453         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
4454         an error in case of a value in range of an utf16 low surrogate.
4456 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4458         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
4459         Move to ...
4460         * sysdeps/s390/Makefile: ... here.
4461         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
4462         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
4463         (BRANCH_ON_COUNT): New define.
4464         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
4465         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
4466         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
4467         run on s390-32, too.
4468         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
4469         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
4470         run on s390-32, too.
4471         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
4472         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
4473         run on s390-32, too.
4475 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4477         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
4478         etf3eh or new vector loop-variant.
4480 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4482         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
4483         etf3eh or new vector loop-variant.
4485 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4487         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
4488         or new vector loop-variant.
4490 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4492         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
4493         Rename to TR_LOOP and usage of tr instead of troo instruction.
4495 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4497         * sysdeps/s390/multiarch/gconv_simple.c: New File.
4498         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
4500 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4502         * sysdeps/s390/multiarch/8bit-generic.c: New File.
4503         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
4504         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
4505         New override define.
4506         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
4508 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4510         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
4511         * sysdeps/s390/configure.ac: Add test for S390 vector register
4512         support in gcc.
4513         * sysdeps/s390/configure: Regenerated.
4515 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4517         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
4518         Install file from $(objpfx)gconv-modules.
4519         ($(objpfx)gconv-modules): Concatenate architecture specific file
4520         in variable sysdeps-gconv-modules and gconv-modules in src dir.
4521         * sysdeps/s390/gconv-modules: New file.
4522         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
4523         Deleted.
4524         ($(objpfx)gconv-modules-s390): Deleted.
4525         (sysdeps-gconv-modules): New variable.
4527 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
4529         [BZ #15479]
4530         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
4531         of immediate operand to rounding instruction.
4532         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
4533         Likewise.
4534         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
4535         Likewise.
4536         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
4537         Likewise.
4539 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4541         * math/libm-test.inc (MIN_EXP): Directly define as
4542         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
4544 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4546         * math/libm-test.inc (MANT_DIG): Directly define as
4547         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
4549 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4551         * stdlib/gen-tst-strtod-round.c (main):
4552           Change usage to more closely match the generated
4553           output.  Add usage and compilation instructions.
4554           (string_to_fp): Add and use FILE* parameter as
4555           output target.
4556           (print_fp): Likewise.
4557           (round_str): Likewise.
4558           (round_for_all): Likewise.
4559         * stdlib/tst-strtod-round.c (tests): Move into
4560         * stdlib/tst-strtod-round-data.h: New file.
4562 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
4564         [BZ #15479]
4565         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
4566         (__round): Do not force "inexact" exception.
4567         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
4568         variable.
4569         (__round): Do not force "inexact" exception.
4570         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
4571         (__roundf): Do not force "inexact" exception.
4572         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
4573         (__roundl): Do not force "inexact" exception.
4574         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
4575         (__roundl): Do not force "inexact" exception.
4576         * math/libm-test.inc (round_test_data): Do not allow spurious
4577         "inexact" exceptions.
4579         [BZ #15479]
4580         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
4581         exception in comment.
4582         (huge): Remove variable.
4583         (__floor): Do not force "inexact" exception.
4584         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
4585         "inexact" exception in comment.
4586         (huge): Remove variable.
4587         (__floor): Do not force "inexact" exception.
4588         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
4589         exception in comment.
4590         (huge): Remove variable.
4591         (__floorf): Do not force "inexact" exception.
4592         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
4593         exception in comment.
4594         (huge): Remove variable.
4595         (__floorl): Do not force "inexact" exception.
4597         [BZ #15479]
4598         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
4599         exception in comment.
4600         (huge): Remove variable.
4601         (__ceil): Do not force "inexact" exception.
4602         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
4603         "inexact" exception in comment.
4604         (huge): Remove variable.
4605         (__ceil): Do not force "inexact" exception.
4606         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
4607         (__ceilf): Do not force "inexact" exception.
4608         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
4609         exception in comment.
4610         (huge): Remove variable.
4611         (__ceill): Do not force "inexact" exception.
4613 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4615         * config.h.in (BIND_NOW): New.
4616         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
4617         * configure: Regenerated.
4618         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
4619         indirect branch via the GOT slot.
4621 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4623         [BZ #19765]
4624         * sysdeps/s390/mempcpy.S: New File.
4625         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
4626         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
4627         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4628         Add mempcpy variants.
4629         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
4630         (memcpy): Adjust to be usable from mempcpy entry point.
4631         (__memcpy_mvcle): Likewise.
4632         * sysdeps/s390/s390-64/memcpy.S: Likewise.
4633         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
4634         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
4635         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
4636         (__memcpy_z10): Likewise.
4637         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
4639 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4641         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
4642         Remove __GI_ symbol.
4643         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
4644         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
4645         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
4646         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
4647         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
4648         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
4650 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4652         * sysdeps/s390/s390-64/memcpy.S (memcpy):
4653         Use cghi instead of chi to compare 64bit value.
4655 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4657         * sysdeps/s390/s390-32/memcpy.S (memcpy):
4658         Jump to 1MB check before executing mvc-loop.
4660 2016-05-24  Florian Weimer  <fweimer@redhat.com>
4662         [BZ #6527]
4663         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
4664         unconditionally.
4665         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
4667 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4669         * stdlib/tst-strtod6.c (do_test): Use new type generic
4670         invocation of the test function.
4671         (test): Refactor into ...
4672         (TEST_STRTOD): New macro base function.
4674 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4676         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
4677         (TEST_STRTOD): New macro.
4678         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
4680 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4682         * stdlib/tst-strtod6.c (do_test): Use new type generic
4683         invocation of the test function.
4684         (test): Refactor into ...
4685         (TEST_STRTOD): New macro base function.
4687 2016-05-23  Florian Weimer  <fweimer@redhat.com>
4689         CVE-2016-4429
4690         [BZ #20112]
4691         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
4692         payload.
4694 2016-05-23  Florian Weimer  <fweimer@redhat.com>
4696         [BZ #20111]
4697         * bits/sockaddr.h (_SS_SIZE): Define.
4698         * bits/socket.h (_SS_SIZE): Remove.
4699         (_SS_PADSIZE): Adjust to account for all padding.
4700         (struct sockaddr_storage): Update comment.  Avoid implicit
4701         padding.
4702         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
4703         (_SS_PADSIZE): Adjust to account for all padding.
4704         (struct sockaddr_storage): Update comment.  Avoid implicit
4705         padding.
4706         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
4707         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
4708         (_SS_PADSIZE): Adjust to account for all padding.
4709         (struct sockaddr_storage): Update comment.  Avoid implicit
4710         padding.
4711         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
4712         __SS_SIZE is 126 in this version.
4713         * inet/tst-sockaddr.c: New file.
4714         * inet/Makefile (tests): Add tst-sockaddr.c
4715         (tst-sockaddr.c): Compile with non-strict aliasing.
4717 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
4719         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
4720         [XPG3 || XPG4].
4721         (NL_ARGMAX): Also expect for [XPG3].
4722         (NL_LANGMAX): Likewise.
4723         (NL_MSGMAX): Likewise.
4724         (NL_NMAX): Likewise.
4725         (NL_SETMAX): Likewise.
4726         (NL_TEXTMAX): Likewise.
4727         (NZERO): Likewise.
4728         (TMP_MAX): Likewise.
4729         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
4730         variable.
4732         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
4733         (PF_MAX): Update value.
4734         (AF_KCM): New macro.
4735         (SOL_NETBEUI): Likewise.
4736         (SOL_LLC): Likewise.
4737         (SOL_DCCP): Likewise.
4738         (SOL_NETLINK): Likewise.
4739         (SOL_TIPC): Likewise.
4740         (SOL_RXRPC): Likewise.
4741         (SOL_PPPOL2TP): Likewise.
4742         (SOL_BLUETOOTH): Likewise.
4743         (SOL_PNPIPE): Likewise.
4744         (SOL_RDS): Likewise.
4745         (SOL_IUCV): Likewise.
4746         (SOL_CAIF): Likewise.
4747         (SOL_ALG): Likewise.
4748         (SOL_NFC): Likewise.
4749         (SOL_KCM): Likewise.
4750         (MSG_BATCH): New enum value and macro.
4752 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
4754         [BZ #18185]
4755         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
4756         sharing L2 cache to 2 for Knights Landing.
4758 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
4760         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
4761         (FTW_DP): Do not expect for [XPG3 || XPG4].
4762         (FTW_SL): Do not expect for [XPG3].
4763         (FTW_SLN): Likewise.
4764         (FTW_PHYS): Likewise.
4765         (FTW_MOUNT): Likewise.
4766         (FTW_DEPTH): Likewise.
4767         (FTW_CHDIR): Likewise.
4768         (nftw): Likewise.
4769         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
4770         variable.
4772 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
4774         * manual/errno.texi: Fix various typos & grammar errors.
4776 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
4778         * manual/intro.texi: Fix duplicated typo.
4780 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
4782         [BZ #13304]
4783         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
4784         <float.h>, <math_private.h> and <stdlib.h>.
4785         (add_split): New function.
4786         (mul_split): Likewise.
4787         (ext_val): New typedef.
4788         (store_ext_val): New function.
4789         (mul_ext_val): New function.
4790         (compare): New function.
4791         (add_split_ext): New function.
4792         (__fmal): After checking for Inf, NaN and zero, compute result as
4793         an exact sum of scaled double values in round-to-nearest before
4794         adding those up and adjusting for other rounding modes.
4795         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
4796         tests of fma.
4797         * math/auto-libm-test-out: Regenerated.
4799 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4801         [BZ #20119]
4802         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
4803         processor level type mask for CPUID with EAX == 11.
4805 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4807         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
4808         logical threads if the HTT bit is 0.
4809         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
4810         (index_cpu_HTT): Likewise.
4811         (reg_HTT): Likewise.
4813 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4815         [BZ #20115]
4816         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
4817         Remove alignments on jump targets.
4819 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
4821         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
4822         (getpwent): Likewise.
4823         (setpwent): Likewise.
4824         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
4825         variable.
4827         * conform/data/search.h-data (insque): Do not expect for [XPG3].
4828         (remque): Likewise.
4829         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
4830         variable.
4832 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
4834         * math/libm-test.inc: Update comment not to refer to signs of NaNs
4835         not being tested.
4837 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4839         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4840         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
4841         call.
4842         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4843         (__condvar_cleanup1): Likewise.
4845 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4847         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
4848         New
4849         (__pthread_unwind): Renamed to ...
4850         (PTHREAD_UNWIND): This.
4851         (__pthread_enable_asynccancel): Replace
4852         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
4854 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
4856         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
4857         (CLONE_NEWCGROUP): New macro.
4859         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
4860         (Q_GETNEXTQUOTA): New macro.
4862 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4864         [BZ #19907]
4865         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
4866         buffer updated by the previous run.
4867         * string/test-memcpy.c (do_one_test): Likewise.
4868         * benchtests/bench-memmove.c (do_one_test): Add a comment.
4869         * string/test-memmove.c (do_one_test): Likewise.
4871 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
4873         [BZ #20094]
4874         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
4875         not [__USE_XOPEN].
4876         (unlockpt): Likewise.
4877         (ptsname): Likewise.
4878         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
4879         variable.
4881         [BZ #20076]
4882         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
4883         instead of [__USE_UNIX98].
4884         (S_ISSOCK): Likewise.
4885         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
4886         variable.
4888         [BZ #20074]
4889         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
4890         [__USE_POSIX].
4891         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
4892         variable.
4894         [BZ #20051]
4895         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
4896         (ttyslot): Do not declare.
4897         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
4898         (ttyslot): New prototype.
4899         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
4900         variable.
4901         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4903 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4905         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
4907 2016-05-13  Florian Weimer  <fweimer@redhat.com>
4909         Fix race condition in tst-mallocfork2, use fewer resources.
4910         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
4911         to current process group.
4912         (signal_sender): Yield in the non-sleeping case.
4914 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
4916         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
4917         (ecvt): Likewise.
4918         (fcvt): Likewise.
4919         (gcvt): Likewise.
4920         (getsubopt): Likewise.
4921         (grantpt): Likewise.
4922         (initstate): Likewise.
4923         (l64a): Likewise.
4924         (mktemp): Likewise.
4925         (mkstemp): Likewise.
4926         (ptsname): Likewise.
4927         (random): Likewise.
4928         (realpath): Likewise.
4929         (setstate): Likewise.
4930         (srandom): Likewise.
4931         (ttyslot): Likewise.
4932         (unlockpt): Likewise.
4933         (valloc): Likewise.
4935         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
4936         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
4937         variable.
4939 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4941         [BZ #20072]
4942         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
4943         init_cpu_features only if SHARED is defined.
4944         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
4946 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4948         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
4949         non-inclusive caches on Intel processors.
4951 2016-05-13  Florian Weimer  <fweimer@redhat.com>
4953         * malloc/malloc.c (dumped_main_arena_start)
4954         (dumped_main_arena_end): New variables.
4955         (DUMPED_MAIN_ARENA_CHUNK): New macro.
4956         (do_check_chunk): Skip dumped fake mmapped chunks.
4957         (munmap_chunk): Likewise.
4958         (__libc_free): Do not adjust statistics for fake mmapped chunks.
4959         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
4960         mmapped chunks.
4961         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
4962         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
4963         and dumped_main_arena_end to cover the dumped heap.
4965 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
4967         * conform/data/time.h-data (getdate_err): Do not expect for
4968         [XPG3].
4969         (getdate): Likewise.
4970         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
4971         variable.
4973         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
4974         (F_ULOCK): Likewise.
4975         (F_TEST): Likewise.
4976         (F_TLOCK): Likewise.
4977         (useconds_t): Likewise.
4978         (intptr_t): Do not expect for [XPG3] or [XPG4].
4979         (brk): Do not expect for [XPG3]
4980         (fchown): Likewise.
4981         (fchdir): Likewise.
4982         (ftruncate): Likewise.
4983         (getdtablesize): Likewise.
4984         (gethostid): Likewise.
4985         (getpagesize): Likewise.
4986         (getpgid): Likewise.
4987         (getsid): Likewise.
4988         (getwd): Likewise.
4989         (lchown): Likewise.
4990         (lockf): Likewise.
4991         (readlink): Likewise.
4992         (sbrk): Likewise.
4993         (setpgrp): Likewise.
4994         (setregid): Likewise.
4995         (setreuid): Likewise.
4996         (symlink): Likewise.
4997         (sync): Likewise.
4998         (truncate): Likewise.
4999         (ualarm): Likewise.
5000         (usleep): Likewise.
5001         (vfork): Likewise.
5002         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
5003         variable.
5005         [BZ #20054]
5006         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
5007         not [__USE_UNIX98].
5008         * conform/data/unistd.h-data (gethostname): Do not expect for
5009         [XPG3].
5011         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
5012         [!POSIX] (S_IFBLK): Likewise.
5013         [!POSIX] (S_IFCHR): Likewise.
5014         [!POSIX] (S_IFIFO): Likewise.
5015         [!POSIX] (S_IFREG): Likewise.
5016         [!POSIX] (S_IFDIR): Likewise.
5017         [!POSIX] (S_IFLNK): Likewise.
5018         [!POSIX] (S_IFSOCK): Likewise.
5019         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
5020         variable.
5021         (test-xfail-XPG4/fcntl.h/conform): Likewise.
5023 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
5025         * sysdeps/aarch64/memset.S (__memset):
5026         Rewrite of optimized memset.
5028 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5030         [BZ #19703]
5031         Partially async-signal-safe fork for single-threaded processes.
5032         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
5033         variable.  Do not acquire and reset/release malloc and libio locks
5034         in single-threaded processes.
5035         * malloc/tst-mallocfork2.c: New file.
5036         * malloc/Makefile (tests): Add it.
5038 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5040         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
5041         argument.  Use scratch buffer instead of extend_alloca.
5042         (gethosts): Use scratch buffer instead of extend_alloca.
5043         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
5044         extend_alloca.
5045         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
5047 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
5049         [BZ #20055]
5050         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
5051         instead of [__USE_UNIX98].
5052         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
5053         [__USE_UNIX98].
5054         * conform/data/termios.h-data (tcgetsid): Do not expect for
5055         [XPG3].
5056         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
5057         variable.
5058         (test-xfail-XPG4/termios.h/conform): Likewise.
5060 2016-05-11  Florian Weimer  <fweimer@redhat.com>
5062         Do not use mcheck in localedef.
5063         * locale/programs/localedef.c (turn_on_mcheck)
5064         (__malloc_initialize_hook): Remove.
5066 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5068         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
5069         * sysdeps/s390/s390-64/Makefile: Likewise.
5071 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
5073         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
5074         Remove ifunc-defines.sym.
5075         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
5076         Likewise.
5077         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
5078         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
5079         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
5080         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
5081         rtld-global-offsets.sym.
5082         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
5083         * sysdeps/x86/cpu-features-offsets.sym: This.
5084         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
5085         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
5087 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
5089         [BZ #20073]
5090         * io/sys/stat.h (fchmod): Declare for
5091         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
5092         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
5093         variable.
5095         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
5096         [XPG3] (S_IFSOCK): Likewise.
5097         [XPG3] (S_ISVTX): Likewise.
5098         [XPG3] (S_ISLNK): Likewise.
5099         [XPG3] (S_ISSOCK): Likewise.
5100         [XPG3] (fchmod): Likewise.
5101         [XPG3] (lstat): Likewise.
5102         [XPG3] (mknod): Likewise.
5104         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
5105         [XPG3].  Expect type long and XFAIL for [XPG4].
5106         (st_blocks): Likewise.
5108         [BZ #20044]
5109         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
5110         (pthread_atfork): New prototype.
5111         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
5112         variable.
5114         [BZ #20043]
5115         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
5116         prototype.
5118 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5120         [BZ #20017]
5121         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
5122         gmtime.
5124 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5126         [BZ #19994]
5127         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
5128         flag in _res.options.
5130 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
5132         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
5133         [XPG3 || XPG4].
5134         (blksize_t): Likewise.
5135         (clockid_t): Likewise.
5136         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
5137         variable.
5138         (test-xfail-XPG4/sys/types.h/conform): Likewise.
5140 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5142         * sysdeps/unix/sysv/linux/s390/init-first.c:
5143         Add VDSO_SYMBOL(getcpu).
5144         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
5145         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
5146         Add VDSO_SYMBOL(getcpu).
5147         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
5148         New define HAVE_GETCPU_VSYSCALL.
5149         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5151 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
5153         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
5154         instead of <sysdeps/x86_64/cacheinfo.c>.
5155         * sysdeps/x86_64/cacheinfo.c: Moved to ...
5156         * sysdeps/x86/cacheinfo.c: Here.
5158 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5160         * malloc/malloc-internal.h: Adjust header file guard.
5162 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5164         [BZ #19787]
5165         * inet/getnameinfo.c (check_sprintf_result): New function.
5166         (CHECKED_SNPRINTF): New macro.
5167         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
5168         to the host buffer.
5169         (gni_host_local): Use checked_copy to copy the host name.
5170         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
5171         (gni_serv_local): Use checked_copy to copy the service name.
5172         (getnameinfo): Remove unnecessary truncation of result buffers.
5174 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5176         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
5177         in case of inet_ntop failure.
5179 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5181         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
5182         avoid long lines.
5183         (gni_host_inet_numeric): Likewise.  Reduce scope of local
5184         variables.
5185         (gni_host_inet, gni_host_local): Add comment.
5186         (gni_host): Add comment.  Use temporary to avoid long lines.
5188 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5190         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
5191         registers specifiers where general purpose registers specifiers should
5192         have been used.
5194 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5196         [BZ #19779]
5197         CVE-2016-1234
5198         Avoid copying names of directory entries.
5199         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
5200         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
5201         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
5202         (struct readdir_result): New type.
5203         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
5204         (GL_READDIR): New macros.
5205         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
5206         (convert_dirent, convert_dirent64): New functions.
5207         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
5208         convert_dirent64.  Adjust references to the readdir result.
5209         * sysdeps/unix/sysv/linux/i386/glob64.c:
5210         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
5211         * posix/bug-glob2.c (LONG_NAME): Define.
5212         (filesystem): Add LONG_NAME.
5213         (my_DIR): Increase the size of room_for_dirent.
5215 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
5217         [BZ #20041]
5218         * misc/sys/select.h (__need_timespec): Only define if
5219         [__USE_XOPEN2K].
5220         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
5221         variable.
5222         (test-xfail-XPG4/utmpx.h/conform): Likewise.
5223         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5224         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5226 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5227             Segher Boessenkool  <segher@gcc.gnu.org>
5229         [BZ #20004]
5230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
5231         (__novec_swapcontext): Add missing load.
5233 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
5235         [BZ #20023]
5236         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
5237         <time.h>.
5238         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
5239         variable.
5240         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5242 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
5245         flags CLONE_VM compare.
5247 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5249         [BZ #20031]
5250         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
5251         completely empty.
5253 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5255         [BZ #19573]
5256         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
5257         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
5258         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
5259         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
5260         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
5261         (hesiod_free_list): Mark as hidden.
5262         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
5263         res_set, res_get.
5264         * hesiod/hesiod.c: Remove unnecessary forward declarations.
5265         (init, __hesiod_res_get, __hesiod_res_set): Remove.
5266         (hesiod_init): Remove obsolete res_ninit call.
5267         (hesiod_end): Do not free resolver state.  Do not invoke callback.
5268         (hesiod_bind): Do not call init.
5269         (get_txt_records): Use res_mkquery, res_send instead of
5270         res_nmkquery, res_nsend.
5271         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
5272         instead of _nss_hesiod_init.
5273         (_nss_hesiod_initgroups_dyn): Likewise.
5274         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
5275         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
5276         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
5278 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5280         * hesiod/hesiod_p.h (DEF_RHS): Remove.
5281         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
5283 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5285         * hesiod/hesiod.h: Remove RCS keyword.
5286         * hesiod/hesiod_p.h: Likewise.
5288         * hesiod/hesiod.c: Likewise.
5290 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
5292         [BZ #12450]
5293         * locale/iso-639.def: Add Samogitian/sgs.
5295 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
5297         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
5299         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
5301 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
5302             Carlos O'Donell  <carlos@redhat.com>
5304         [BZ #19072]
5305         * grp/Makefile (headers): Add grp-merge.h
5306         (routines): Add grp-merge.
5307         * grp/getgrgid_r.c: Include grp-merge.h.
5308         (DEEPCOPY_FN): Define.
5309         (MERGE_FN): Define.
5310         * grp/getgrname_r.c: Include grp-merge.h.
5311         (DEEPCOPY_FN): Define.
5312         (MERGE_FN): Define.
5313         * grp/grp-merge.c: New file.
5314         * grp/grp-merge.h: New file.
5315         * include/grp-merge.h: New file.
5316         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
5317         __copy_grp@GLIBC_PRIVATE.
5318         * manual/nss.texi (Actions in the NSS configuration): Describe
5319         return, continue, and merge.
5320         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
5321         (DEEPCOPY_FN): Define.
5322         (MERGE_FN): Define.
5323         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
5324         (DEEPCOPY_FN): Define.
5325         (MERGE_FN): Define.
5326         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
5327         [!MERGE_FN]: Define __merge_einval.
5328         (CHECK_MERGE): Define.
5329         (REENTRANT_NAME): Process merge if do_merge is true.
5330         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
5331         (__nss_getent_r): Likewise.
5332         * nss/nsswitch.c (nss_parse_service_list): Likewise.
5333         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
5335 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5337         [BZ #20012]
5338         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
5339         length to calculate the buffer to read.
5340         (fmemopen_write): Set the buffer position based on bytes written.
5341         (fmemopen_seek): Return EINVAL for invalid whence modes.
5343         [BZ #19957]
5344         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
5345         tst-getpid2.
5346         (test): Add tst-clone2.
5347         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
5348         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
5349         pid/tid fields for CLONE_VM.
5350         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5351         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5352         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5353         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
5354         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5355         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5356         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5357         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5359         Likewise.
5360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5361         Likewise.
5362         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
5363         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
5364         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
5365         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5366         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
5367         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
5368         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
5369         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
5371 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5373         [BZ #19642]
5374         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
5375         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
5376         (gni_serv_local, gni_serv): New functions extracted from
5377         getnameinfo.
5378         (getnameinfo): Call gni_host and gni_serv to perform the
5379         processing.  Always free scratch buffer.
5381 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5383         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
5384         remaining bytes in the dest string, with zeros.
5386 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5388         [BZ #20010]
5389         CVE-2016-3706
5390         * sysdeps/posix/getaddrinfo.c
5391         (convert_hostent_to_gaih_addrtuple): New function.
5392         (gethosts): Call convert_hostent_to_gaih_addrtuple.
5393         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
5394         AF_INET data.
5396 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5398         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
5399         callback function gl_readdir.
5400         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
5401         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
5402         (glob_in_dir): Remove len.  Use strdup instead of malloc and
5403         memcpy to copy the name.
5404         * manual/pattern.texi (Calling Glob): Document requirements for
5405         implementations of the gl_readdir callback function.
5406         * manual/examples/mkdirent.c: New example.
5407         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
5408         per the manual guidance.
5409         * posix/tst-gnuglob.c (my_readdir): Likewise.
5411 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
5413         [BZ #20014]
5414         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
5415         not [__USE_POSIX].
5416         (getchar_unlocked): Likewise.
5417         (putc_unlocked): Likewise.
5418         (putchar_unlocked): Likewise.
5419         (flockfile): Likewise.
5420         (ftrylockfile): Likewise.
5421         (funlockfile): Likewise.
5422         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
5423         variable.
5424         (test-xfail-XPG4/stdio.h/conform): Likewise.
5426         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
5427         Expect constant.
5428         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
5429         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
5430         variable.
5431         (test-xfail-XPG4/langinfo.h/conform): Likewise.
5432         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5434         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
5435         [__USE_LARGEFILE64] (off64_t): Likewise.
5436         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
5437         variable.
5439 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5441         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
5443 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5445         * resolv/inet_addr.c: Reindent preprocessor conditionals.
5446         * resolv/res_init.c: Likewise.
5447         * resolv/res_mkquery.c: Likewise.
5449 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5451         * resolv/res_init.c (isascii): Do not define.  Use definition in
5452         <ctype.h>.
5453         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
5454         (LOG_AUTH): Remove.
5455         (SPRINTF): Remove, adjust caller.
5456         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
5458 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5460         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
5461         SUNSECURITY conditional.
5462         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
5464 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5466         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
5467         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
5468         Remove BSD-related preprocessor conditionals.
5469         * conf/portability.h: Remove.
5471 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5473         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
5474         * resolv/res_data.c: Likewise.
5476 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5478         * resolv/res_comp.c: Remove code conditional on __ultrix__.
5479         * resolv/res_data.c: Remove code conditional on ultrix.
5481 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5483         * resolv/res_init.c (RFC1535): Do not define.  Remove
5484         RFC1535 preprocessor conditionals.
5485         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
5486         because there configuration options which make the resolver
5487         behavior different.
5489 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5491         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
5492         RESOLVSORT preprocessor conditionals.
5493         * resolv/nss_dns/dns-host.c: Likewise.
5494         * resolv/res_init.c: Likewise.
5496 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5498         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
5499         is never defined.
5501 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5503         * inet/inet_lnaof.c: Remove SCSS keyword.
5504         * inet/inet_mkadr.c: Likewise.
5505         * inet/inet_net.c: Likewise.
5506         * inet/inet_netof.c: Likewise.
5507         * inet/rcmd.c: Likewise.
5508         * inet/rexec.c: Likewise.
5509         * inet/ruserpass.c: Likewise.
5511 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5513         * resolv/inet_addr.c: Remove _LIBC conditionals.
5514         * resolv/res_data.c: Likewise.
5515         * resolv/res_init.c: Likewise.
5516         * resolv/res_mkquery.c: Likewise.
5517         * resolv/res_libc.c: Update comment.
5518         * resolv/README: Update.
5520 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5522         * resolv/gethnamaddr.c: Remove SCSS keyword.
5523         * resolv/herror.c: Likewise.
5524         * resolv/inet_addr.c: Likewise.
5525         * resolv/inet_net_ntop.c: Likewise.
5526         * resolv/inet_net_pton.c: Likewise.
5527         * resolv/inet_neta.c: Likewise.
5528         * resolv/inet_ntop.c: Likewise.
5529         * resolv/inet_pton.c: Likewise.
5530         * resolv/ns_date.c: Remove RCS keyword.
5531         * resolv/ns_name.c: Likewise.
5532         * resolv/ns_netint.c: Likewise.
5533         * resolv/ns_parse.c: Likewise.
5534         * resolv/ns_print.c: Likewise.
5535         * resolv/ns_samedomain.c: Likewise.
5536         * resolv/ns_ttl.c: Likewise.
5537         * resolv/nsap_addr.c: Likewise.
5538         * resolv/res_comp.c: Remove SCSS and RCS keyword.
5539         * resolv/res_data.c: Remove RCS keyword.
5540         * resolv/res_debug.c: Remove SCSS and RCS keyword.
5541         * resolv/res_init.c: Likewise.
5542         * resolv/res_mkquery.c: Likewise.
5543         * resolv/res_query.c: Likewise.
5544         * resolv/res_send.c: Likewise.
5546 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
5548         * conform/data/stdio.h-data (fdopen): Expect also for
5549         [XPG3 || XPG4].
5551         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
5552         (fseeko): Likewise.
5553         (ftello): Likewise.
5554         (ftrylockfile): Likewise.
5555         (funlockfile): Likewise.
5556         (getc_unlocked): Likewise.
5557         (getchar_unlocked): Likewise.
5558         (putc_unlocked): Likewise.
5559         (putchar_unlocked): Likewise.
5561 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5563         [BZ #19868]
5564         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
5565         DNS packet syntax checks (which were not needed before).  Skip
5566         over non-PTR records.
5568 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5570         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
5571         definition.  Include <stddef.h> instead.
5573 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5575         [BZ #19831]
5576         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
5577         function.
5578         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
5579         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
5581 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5583         [BZ #19862]
5584         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
5585         (getanswer_r): Do not call syslog.
5586         (gaih_getanswer_slice): Likewise.
5587         * resolv/gethnamaddr.c (AskedForGot): Remove.
5588         (getanswer): Do not call syslog.
5589         (gethostbyaddr): Likewise.
5591 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
5593         * conform/data/signal.h-data (union sigval): Expect also if
5594         [XOPEN2K].
5595         (struct sigevent): Likewise.
5596         (SIGEV_NONE): Likewise.
5597         (SIGEV_SIGNAL): Likewise.
5598         (SIGEV_THREAD): Likewise.
5599         (SIGRTMIN): Likewise.
5600         (SIGRTMAX): Likewise.
5601         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
5602         variable.
5603         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5605 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5607         [BZ #19830]
5608         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
5609         (gaih_getanswer_slice): Likewise.
5610         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
5611         Also check for availability of RR metadata.
5613 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5615         [BZ #19825]
5616         * resolv/res_send.c (send_vc): Remove early *resplen2
5617         initialization.  Set *resplen2 on socket error.  Call
5618         close_and_return_error for other errors.
5620 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
5622         * sysdeps/unix/sysv/linux/netiucv/iucv.h
5623         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
5624         (SCM_IUCV_TRGCLS): New define.
5626 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5628         [BZ #20005]
5629         * libio/fmemopen.c (fmemopen_write): Update internal position after
5630         write.
5631         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
5632         * stdio-common/tst-fmemopen4.c: New file..
5634 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
5636         [BZ #19996]
5637         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
5638         not [__USE_XOPEN2K].
5639         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
5640         variable.
5642         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
5643         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
5644         variable.
5646         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
5647         [__USE_XOPEN2K8].
5648         [__USE_LARGEFILE64] (off64_t): Likewise.
5649         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
5650         variable.
5652 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
5654         [BZ #19989]
5655         * libio/stdio.h (cuserid): Do not declare if
5656         [__USE_XOPEN2K && !__USE_GNU].
5657         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
5658         variable.
5660 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5662         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5663         (sysdep_routines): Add P8 and PPC64 strcspn targets.
5664         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5665         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
5666         ifunc'ed strcspn.
5667         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
5668         [EALIGN]: Removed.
5669         [END]: Likewise
5670         [STRSPN]: Define instead of the above to control symbol name.
5671         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
5672         New file.
5673         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
5674         Likewise.
5675         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
5676         Likewise.
5677         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
5678         Likewise.
5679         * sysdeps/powerpc/powerpc64/power8/strspn.S:
5680         [INITIAL_MASK]: New macro.
5681         [STRCSPN]: Likewise.
5682         [UPDATE_MASK]: Likewise.
5683         [USE_AS_STRCSPN]: Lisewise.
5685 2016-04-25  Florian Weimer  <fweimer@redhat.com>
5687         [BZ #19931]
5688         * stdio-common/tst-vfprintf-width-prec.c: New file.
5689         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
5690         (tests-special): Add tst-vfprintf-width-prec-mem.out.
5691         (generated): Add mtrace-related files.
5692         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
5693         (tst-%-mem.out): New pattern rule, replaces
5694         tst-printf-bz18872-mem.out.
5695         * stdio-common/vfprintf.c (vfprintf): When handling a precision
5696         specifier, deallocate any previously allocated work buffer.
5698 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
5700         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
5701         Add nop before __startcontext, add explaining comments.
5703 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
5705         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
5706         any more. Notably since IPV6_PKTINFO has been reintroduced with a
5707         completely different API.
5709         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
5710         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
5711         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
5712         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
5713         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
5714         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
5715         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
5716         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
5717         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
5718         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
5720 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
5722         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
5724 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
5726         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
5727         when it is the default of 0.
5729 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5731         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
5732         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5733         (sysdep_routines): Add new strcasestr targets.
5734         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5735         (__libc_ifunc_impl_list): Likewise.
5736         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
5737         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
5738         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
5739         * sysdeps/powerpc/powerpc64/power8/Makefile:
5740         New file to add strcasestr-ppc64 to sysdep_routines.
5741         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
5742         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
5744 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
5746         * benchtests/Makefile (wcsmbs-benchset): Include only for
5747         native builds and runs.
5748         (LOCALES): Likewise.
5749         (bench-build): Build timing-type here instead of the bench
5750         target.  Generate locale only for native builds.
5751         * benchtests/README: Add note for cross-building.
5753         * benchtests/Makefile (bench-clean): Clean up extra-objs.
5755         * benchtests/README: Update README to include instructions on
5756         using bench-build.
5758         * Makefile.in (bench-build): New target.
5759         * Rules (PHONY): Add bench-build target.
5760         * benchtests/Makefile (bench): Depend on bench-build.
5761         (bench-build): New target.
5763 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5765         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
5766         profil_reply_port.
5767         (profile_waiter): Do not initialize profil_reply_port.
5768         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
5769         frequency instead of tick length in us.
5771 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
5773         [BZ #18712]
5774         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
5775         (__old_mempcpy_small): Likewise.
5776         (__old_strcpy_small): Likewise.
5777         (__old_stpcpy_small): Likewise.
5778         (__old_strpbrk_c2): Fix compat symbol name.
5779         (__old_strpbrk_c3): Likewise.
5780         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
5781         (__mempcpy_small): Remove.
5782         (__strcpy_small): Remove.
5783         (__stpcpy_small): Remove.
5785 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
5787         [BZ #19400]
5788         * locale/iso-639.def: Add the Talossan/tzl language.
5790 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
5792         [BZ #16983]
5793         * locale/programs/ld-address.c (address_finish): Update postal_fmt
5794         comment.  Add "ln" to strchr check on postal_fmt.
5796 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
5798         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
5799         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
5800         tel_dom_fmt.
5802 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5804         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5805         (sysdep_routines): Added __strlen_power8.
5806         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
5807         __strlen_power8 entry.
5808         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
5809         Implementation for POWER8.
5810         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
5811         for __strlen_power8.
5812         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
5813         Implementation for POWER8.
5815 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
5817         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
5819 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
5821         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
5822         Goldmont and Airmont processors.
5824 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
5826         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
5827         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
5828         (__STRING2_SMALL_GET32): Remove.
5829         (memset): Remove.
5830         (__memset_1): Remove.
5831         (__memset_gc): Remove.
5832         (__mempcpy): Remove.
5833         (mempcpy): Remove.
5834         (__mempcpy_args): Remove.
5835         (strchr): Remove.
5836         (strcpy): Remove.
5837         (strcpy_args): Remove.
5838         (__stpcpy_args): Remove.
5839         (__strcmp_cc): Remove.
5840         (__strcmp_gc): Remove.
5841         (strstr): Remove.
5843 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
5845         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
5846         * nis/nis_call.c (nis_server_cache_add): Likewise.
5848 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5850         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
5852 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5854         * malloc/arena.c (__malloc_fork_lock_parent)
5855         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
5856         internal_function attribute.
5858 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
5860         * stdio-common/printf_fp.c (__printf_fp_l):
5861         Rename ___printf_fp_l to __printf_fp_l and
5862         remove strong alias. Use libc_hidden_def instead
5863         of ldbl_hidden_def macro.
5865 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5867         Remove malloc hooks from fork handler.  They are no longer needed
5868         because malloc runs right before fork, and no malloc calls from
5869         other fork handlers are not possible anymore.
5870         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
5871         declarations.
5872         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
5873         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
5874         (atfork_recursive_cntr): Remove.
5875         (__malloc_fork_lock_parent): Do not override malloc hooks and
5876         thread_arena.
5877         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
5878         thread_arena.
5879         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
5880         thread_arena instead of save_arena.
5882 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5884         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
5885         (thread_atfork, thread_atfork_static): Remove.
5886         * sysdeps/mach/hurd/malloc-machine.h:
5887         (thread_atfork, thread_atfork_static): Remove.
5889 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5891         [BZ #19431]
5892         Run the malloc fork handler as late as possible to avoid deadlocks.
5893         * malloc/malloc-internal.h: New file.
5894         * malloc/malloc.c: Include it.
5895         * malloc/arena.c (ATFORK_MEM): Remove.
5896         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
5897         Update comment.
5898         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
5899         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
5900         Remove outdated comment.
5901         (ptmalloc_init): Do not call thread_atfork.  Remove
5902         thread_atfork_static.
5903         * malloc/tst-malloc-fork-deadlock.c: New file.
5904         * Makefile (tests): Add tst-malloc-fork-deadlock.
5905         (tst-malloc-fork-deadlock): Link against libpthread.
5906         * manual/memory.texi (Aligned Memory Blocks): Update safety
5907         annotation comments.
5908         * sysdeps/nptl/fork.c (__libc_fork): Call
5909         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
5910         __malloc_fork_unlock_child.
5911         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
5913 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5915         [BZ #19613]
5916         Remove union wait.
5917         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
5918         (w_stopsig, w_stopval): Remove.
5919         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
5920         stat_loc argument.
5921         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
5922         (__WAIT_STATUS_DEFN): Remove.
5923         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
5924         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
5925         (wait, wait3, wait4): Use int * for the stat_loc argument.
5926         * posix/wait.c (__wait): Likewise.
5927         * posix/wait3.c (__wait3): Likewise.
5928         * posix/wait4.c (__wait4): Likewise.
5929         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
5930         (__WAIT_STATUS_DEFN): Remove.
5931         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
5932         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
5933         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
5934         argument.
5935         * sysdeps/posix/wait.c (__libc_wait): Likewise.
5936         * sysdeps/posix/wait3.c (__wait3): Likewise.
5937         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
5938         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
5939         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
5940         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
5941         stat_loc argument.
5942         * manual/process.texi (BSD Wait Functions): Remove union wait.
5944 2016-04-13  Andreas Schwab  <schwab@suse.de>
5946         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
5947         (test-extras): Add tst-tlsalign-vars.
5948         * math/Makefile: Wrap long lines.
5949         (libm-vec-test-wrappers): Define.
5950         (test-extras): Add $(libm-vec-test-wrappers).
5951         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
5952         * nss/Makefile (extra-test-objs): Add nss_test1.os.
5953         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
5954         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
5955         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
5956         (extra-test-objs): Add corresponding objects.
5958 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
5960         [BZ #19928]
5961         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
5962         New.
5963         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
5964         times of shared cache size.
5965         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
5966         (VMOVNT): New.
5967         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
5968         (VMOVNT): Likewise.
5969         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
5970         (VMOVNT): Likewise.
5971         (VMOVU): Changed to movups for smaller code sizes.
5972         (VMOVA): Changed to movaps for smaller code sizes.
5973         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
5974         comments.
5975         (PREFETCH): New.
5976         (PREFETCH_SIZE): Likewise.
5977         (PREFETCHED_LOAD_SIZE): Likewise.
5978         (PREFETCH_ONE_SET): Likewise.
5979         Rewrite to use forward and backward loops, which move 4 vector
5980         registers at a time, to support overlapping addresses and use
5981         non temporal store if size is above the threshold and there is
5982         no overlap between destination and source.
5984 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
5986         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
5987         Include dl-vdso.
5988         * sysdeps/unix/sysv/linux/mips/Versions: Add
5989         __vdso_clock_gettime.
5990         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
5991         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
5992         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
5993         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
5994         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
5995         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
5996         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5997         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
5998         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
6000 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6002         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
6003         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
6004         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6005         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6006         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6007         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6010         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
6011         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
6012         syscalls generation.
6013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6014         [__NR_pwrite64] (__NR_write): Remove define.
6015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6016         [__NR_pwrite64] (__NR_write): Remove define.
6017         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
6018         Remove define.
6019         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
6020         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
6021         Remove define.
6022         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
6023         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
6024         Linux implementation as base.
6025         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6027         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
6028         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
6029         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6030         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
6032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6033         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
6034         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
6035         syscall generation.
6036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6037         [__NR_pread64] (__NR_pread): Remove define.
6038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6039         [__NR_pread64] (__NR_pread): Likewise.
6040         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
6041         define.
6042         (__libc_pread): Use SYSCALL_LL macro on offset argument.
6043         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
6044         Remove define.
6045         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
6046         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
6047         Linux implementation as base.
6048         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6049         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6050         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6052         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
6053         definition.
6054         (__ALIGNMENT_COUNT): Likewise.
6055         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
6056         (__ALIGNMENT_COUNT): Likewise.
6057         (SYSCALL_LL): New define.
6058         (SYSCALL_LL64): Likewise.
6059         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
6060         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
6061         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
6062         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
6064         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6065         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
6066         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6067         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6068         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6069         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6071 2016-04-11  Florian Weimer  <fweimer@redhat.com>
6073         [BZ #19865]
6074         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
6075         original buffer before retry.
6077 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6079         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
6080         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
6081         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
6082         GLRO(dl_auxv) list.
6083         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
6084         including <ldsodefs.h>.
6085         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
6087 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
6089         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
6090         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
6091         $(CPPFLAGS).
6093 2016-04-09  Khem Raj  <raj.khem@gmail.com>
6095         [BZ #17950]
6096         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
6097         Add -mfpmath=387.
6099 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
6101         * sysdeps/i386/configure.ac: Change == to = when calling test.
6102         * sysdeps/x86_64/configure.ac: Likewise.
6103         * sysdeps/i386/configure: Regenerated.
6104         * sysdeps/x86_64/configure: Likewise.
6106 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
6108         [BZ #16137]
6109         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
6110         * benchtests/bench-strcoll.c (input_files): Likewise.
6111         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6112         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
6113         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
6115 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
6117         [BZ #19929]
6118         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
6119         [__USE_XOPEN2K8 && !__USE_GNU].
6120         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
6121         variable.
6123         [BZ #19925]
6124         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
6125         define if [!__USE_MISC && __USE_XOPEN2K].
6126         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
6127         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
6128         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
6129         Likewise.
6130         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
6131         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
6132         variable.
6133         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6135 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6137         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6138         (sysdep_routines): Add new strspn targets.
6139         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6140         (__libc_ifunc_impl_list): Add strspn.
6141         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6142         New file.
6143         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
6144         Likewise.
6145         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
6146         Likewise.
6147         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6148         Likewise.
6150 2016-04-07  Florian Weimer  <fweimer@redhat.com>
6152         * misc/hsearch_r.c: Include <limits.h>.
6154 2016-04-07  Florian Weimer  <fweimer@redhat.com>
6156         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
6158 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6160         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6161         (MEMCPY_SYMBOL): New.
6162         (MEMPCPY_SYMBOL): Likewise.
6163         (MEMMOVE_CHK_SYMBOL): Likewise.
6164         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
6165         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
6166         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
6167         Provide alias for memcpy in libc.a and ld.so.
6169 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6171         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6172         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
6173         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
6174         Disabled fro now.
6175         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
6176         symbols.  Properly check USE_MULTIARCH on __memset symbols.
6178 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6180         * benchtests/Makefile (string-benchset): Add memcpy-large,
6181         memmove-large and memset-large.
6182         * benchtests/bench-memcpy-large.c: New file.
6183         * benchtests/bench-memmove-large.c: Likewise.
6184         * benchtests/bench-memmove-large.c: Likewise.
6185         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
6187 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6189         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
6190         32-bit displacement to avoid long nop between instructions.
6192 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6194         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
6195         a comment on VMOVU and VMOVA.
6197 2016-04-04  Florian Weimer  <fweimer@redhat.com>
6199         [BZ #19633]
6200         Use specified locale for number formatting in strfmon_l.
6201         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
6202         (__nl_lookup_word): New inline functions.
6203         * include/printf.h (__print_fp_l): Declare.
6204         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
6205         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
6206         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
6207         (___printf_fp): New function.
6208         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
6209         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
6210         * stdlib/tst-strfmon_l.c (do_test): New test.
6211         * stdlib/Makefile (tests): Add kt.
6212         (LOCALES): Build additional locales.
6213         (tst-strfmon_l.out): Require locales.
6215 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6217         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
6218         if not in libc.
6219         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6220         Likewise.
6221         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
6222         Likewise.
6223         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6224         Likewise.
6226 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6228         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6229         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
6230         with unaligned_erms.
6231         (__memmove_erms): Skip if source == destination.
6232         (__memmove_unaligned_erms): Don't check source == destination
6233         first.
6235 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6237         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
6238         bit_arch_Fast_Copy_Backward for Intel Core proessors.
6240 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6242         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
6243         * string/strspn.c (strspn): Likewise.
6245 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6247         * benchtests/bench-memset.c (do_test): Support 64-byte
6248         alignment.
6249         (test_main): Test 64-byte alignment.
6251 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6253         * benchtests/bench-memmove.c (test_main): Test 64-byte
6254         alignment.
6256 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6258         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
6260 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6262         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
6263         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
6264         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
6266         * string/strpbrk.c (strpbrk): Rewrite function.
6267         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
6268         (__strpbrk_c2): Likewise.
6269         (__strpbrk_c3): Likewise.
6270         * string/string-inlines.c
6271         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
6272         Likewise.
6273         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
6274         Likewise.
6276         * string/strspn.c (strcspn): Rewrite function.
6277         * string/bits/string2.h (strspn): Use __builtin_strcspn.
6278         (__strspn_c1): Remove inline function.
6279         (__strspn_c2): Likewise.
6280         (__strspn_c3): Likewise.
6281         * string/string-inlines.c
6282         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
6283         compatibility symbol.
6284         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
6285         Likewise.
6286         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
6287         Likewise.
6288         * string/string-inlines.c: Include generic version.
6290 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
6291             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6293         * string/Version (libc): Add GLIBC_2.24.
6294         * string/strcspn.c (strcspn): Rewrite function.
6295         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
6296         (__strcspn_c1): Remove inline function.
6297         (__strcspn_c2): Likewise.
6298         (__strcspn_c3): Likewise.
6299         * string/string-inline.c
6300         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
6301         compatibility symbol.
6302         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
6303         Likewise.
6304         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
6305         Likewise.
6306         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
6308 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6310         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6311         Use ahi instead of aghi to adjust stack pointer.
6313 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6315         [BZ #19853]
6316         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
6317         TEST to take significant digits as second parameter.
6318         [TEST]: Redefine in terms of TEST_N taking 30
6319         significant digits.
6320         (do_test): Add test case to demonstrate precision
6321         failure in the ldbl-128ibm printf.
6322         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
6323         (__mpn_extract_long_double): Carry 7 extra intermediate
6324         bits of precision to aide computing difference when
6325         signs differ.
6327 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6329         [BZ #19881]
6330         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6331         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
6332         memset-avx512-unaligned-erms.
6333         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6334         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
6335         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
6336         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
6337         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
6338         __memset_sse2_unaligned_erms, __memset_erms,
6339         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
6340         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
6341         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
6342         file.
6343         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6344         Likewise.
6345         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
6346         Likewise.
6347         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
6348         Likewise.
6350 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6352         [BZ #19776]
6353         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6354         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
6355         memmove-avx512-unaligned-erms.
6356         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6357         (__libc_ifunc_impl_list): Test
6358         __memmove_chk_avx512_unaligned_2,
6359         __memmove_chk_avx512_unaligned_erms,
6360         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
6361         __memmove_chk_sse2_unaligned_2,
6362         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
6363         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
6364         __memmove_avx512_unaligned_erms, __memmove_erms,
6365         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
6366         __memcpy_chk_avx512_unaligned_2,
6367         __memcpy_chk_avx512_unaligned_erms,
6368         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
6369         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
6370         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
6371         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
6372         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
6373         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
6374         __mempcpy_chk_avx512_unaligned_erms,
6375         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
6376         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
6377         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
6378         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
6379         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
6380         __mempcpy_erms.
6381         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
6382         file.
6383         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6384         Likwise.
6385         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
6386         Likwise.
6387         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6388         Likwise.
6390 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6392         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
6393         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
6394         (La_s390_64_regs): Likewise.
6395         (La_s390_32_retval): Append vector register lrv_v24.
6396         (La_s390_64_retval): Likeweise.
6397         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
6398         Handle extended structs La_s390_32_regs and La_s390_32_retval.
6399         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
6400         Handle extended structs La_s390_64_regs and La_s390_64_retval.
6402 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6404         [BZ #19916]
6405         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
6406         to create a non-vector/vector version for _dl_runtime_resolve and
6407         _dl_runtime_profile. Move implementation to ...
6408         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
6409         (_dl_runtime_resolve) Save and restore fpr/vrs.
6410         (_dl_runtime_profile) Save and restore vrs and fix some issues
6411         if _dl_call_pltexit is called.
6412         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
6413         Choose the correct resolver function if running on a machine with vx.
6414         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
6415         to create a non-vector/vector version for _dl_runtime_resolve and
6416         _dl_runtime_profile. Move implementation to ...
6417         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
6418         (_dl_runtime_resolve) Save and restore fpr/vrs.
6419         (_dl_runtime_profile) Save and restore vrs and fix some issues
6420         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
6421         Choose the correct resolver function if running on a machine with vx.
6423 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6425         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
6427 2016-03-31  Florian Weimer  <fweimer@redhat.com>
6429         [BZ #19509]
6430         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
6431         skip_map != NULL.
6432         * elf/tst-dlsym-error.c: New file.
6433         * elf/Makefile (tests): Add tst-dlsym-error.
6434         (tst-dlsym-error): Link against libdl.
6436 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
6438         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6439         (__ASSUME_FUTIMESAT): Remove macro.
6440         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
6442 2016-03-29  Florian Weimer  <fweimer@redhat.com>
6444         [BZ #19879]
6445         CVE-2016-3075
6446         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
6447         copy name.
6449 2016-03-29  Florian Weimer  <fweimer@redhat.com>
6451         [BZ #19837]
6452         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
6453         error if parse_line fails.
6455 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6457         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
6458         (index_cpu_ERMS): Likewise.
6459         (reg_ERMS): Likewise.
6461 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
6463         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
6464         PER_LINUX_FDPIC): Add.
6466 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6468         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6469         memcpy-avx512-no-vzeroupper.
6470         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
6471         to ...
6472         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
6473         (MEMCPY): Don't define.
6474         (MEMCPY_CHK): Likewise.
6475         (MEMPCPY): Likewise.
6476         (MEMPCPY_CHK): Likewise.
6477         (MEMPCPY_CHK): Renamed to ...
6478         (__mempcpy_chk_avx512_no_vzeroupper): This.
6479         (MEMPCPY_CHK): Renamed to ...
6480         (__mempcpy_chk_avx512_no_vzeroupper): This.
6481         (MEMCPY_CHK): Renamed to ...
6482         (__memmove_chk_avx512_no_vzeroupper): This.
6483         (MEMCPY): Renamed to ...
6484         (__memmove_avx512_no_vzeroupper): This.
6485         (__memcpy_avx512_no_vzeroupper): New alias.
6486         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
6488 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6490         [BZ #18858]
6491         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6492         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
6493         and mempcpy-avx512-no-vzeroupper.
6494         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
6495         New.
6496         (MEMPCPY): Likewise.
6497         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
6498         (MEMPCPY_CHK): New.
6499         (MEMPCPY): Likewise.
6500         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
6501         (MEMPCPY): Likewise.
6502         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
6503         (MEMPCPY): Likewise.
6504         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
6505         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
6506         Likewise.
6507         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
6508         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
6510 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6511              Amit Pawar  <Amit.Pawar@amd.com>
6513         [BZ #19583]
6514         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6515         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
6516         processors.  Set Fast_Copy_Backward for AMD Excavator
6517         processors.
6518         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
6519         New.
6520         (index_arch_Fast_Unaligned_Copy): Likewise.
6521         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
6522         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
6524 2016-03-25  Florian Weimer  <fweimer@redhat.com>
6526         [BZ #19791]
6527         * resolv/res_send.c (close_and_return_error): New function.
6528         (send_dg): Initialize *resplen2 after reopen failure.  Call
6529         close_and_return_error for error returns.  On error paths without
6530         __res_iclose, initialze *resplen2 explicitly.  Update comment for
6531         successful return.
6533 2016-03-25  Florian Weimer  <fweimer@redhat.com>
6535         [BZ# 19860]
6536         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
6537         zero if the compiler does not provide the AVX512F bit.
6539 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
6541         [BZ #19848]
6542         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
6543         from 8 to 4.
6544         (__ieee754_powl): Compare integer exponent against 4 not 8.
6545         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
6546         from 8 to 4.
6547         (__ieee754_powl): Compare integer exponent against 4 not 8.
6548         * math/auto-libm-test-in: Add more tests of pow.
6549         * math/auto-libm-test-out: Regenerated.
6550         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
6551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6553 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
6555         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
6556         Make code unconditional.
6557         [!__NR_utimensat]: Remove conditional code.
6558         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
6559         Make code unconditional.
6560         [!__NR_utimensat]: Remove conditional code.
6561         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
6562         Make code unconditional.
6563         [!__NR_utimensat]: Remove conditional code.
6565 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
6567         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
6568         Make code unconditional.
6570 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
6572         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
6573         call-clobbered %eax on retry path.
6574         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
6576 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6578         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
6579         Don't set %rcx twice before "rep movsb".
6581 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6583         [BZ #19583]
6584         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
6585         inline.  Check family before setting family, model and
6586         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
6587         bits here.
6588         (init_cpu_features): Replace HAS_CPU_FEATURE and
6589         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
6590         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
6591         for Intel processors with usable AVX2.  Call get_common_indeces
6592         for other processors with family == NULL.
6593         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
6594         (CPU_FEATURES_ARCH_P): Likewise.
6595         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
6596         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
6598 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6600         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
6601         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
6602         $(shared-thread-library) instead of hardcoding the path to libpthread.
6604 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
6606         * sysdeps/unix/sysv/linux/kernel-features.h
6607         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
6608         * sysdeps/unix/sysv/linux/getdents.c
6609         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
6610         [!have_no_getdents64_defined]: Likewise.
6611         (__GETDENTS): Remove __have_no_getdents64 conditional.
6613 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
6615         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
6616         Remove macro.
6617         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
6618         <kernel-features.h>.
6619         (signalfd) [__NR_signalfd4]: Make code unconditional.
6620         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
6622 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6624         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
6625         style.
6627 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
6629         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
6630         (__pthread_enable_asynccancel): Use JUMPTARGET to call
6631         __pthread_unwind.
6632         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6633         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
6634         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6635         (__condvar_cleanup1): Likewise.
6637 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
6639         [BZ #19822]
6640         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
6641         move it to the final $@ location.
6643 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6645         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
6646         access where posix_spawn success and pid argument is null.
6647         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
6648         success case.
6650 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
6652         * sysdeps/mach/hurd/i386/c++-types.data: New file.
6654         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
6656         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
6657         and __fcntl.
6658         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
6659         __fcntl only.
6660         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
6661         adding attribute_hidden to __open and __fcntl.
6663         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
6664         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
6665         depend on libc-modules.h,
6666         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
6668 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
6670         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
6671         Remove macro.
6672         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
6673         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
6674         entry.
6676         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
6677         Remove macro.
6678         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
6679         include <kernel-features.h>.
6680         [!__ASSUME_FALLOCATE]: Remove conditional code.
6681         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
6683 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6685         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
6686         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
6687         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
6688         (_ZGVdN4v_cos_avx2): Likewise.
6689         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
6690         (_ZGVdN4v_cos): Likewise.
6691         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
6692         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
6693         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
6694         (_ZGVdN4v_exp_avx2): Likewise.
6695         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
6696         (_ZGVdN4v_exp): Likewise.
6697         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
6698         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
6699         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
6700         (_ZGVdN4v_log_avx2): Likewise.
6701         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
6702         (_ZGVdN4v_log): Likewise.
6703         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
6704         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
6705         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
6706         (_ZGVdN4vv_pow_avx2): Likewise.
6707         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
6708         (_ZGVdN4vv_pow): Likewise.
6709         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
6710         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
6711         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
6712         (_ZGVdN4v_sin_avx2): Likewise.
6713         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
6714         (_ZGVdN4v_sin): Likewise.
6715         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
6716         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
6717         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
6718         (_ZGVdN4vvv_sincos_avx2): Likewise.
6719         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
6720         (_ZGVdN4vvv_sincos): Likewise.
6721         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
6722         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
6723         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
6724         (_ZGVbN4v_cosf_sse4): Likewise.
6725         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
6726         (_ZGVdN8v_cosf_avx2): Likewise.
6727         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
6728         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
6729         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
6730         (_ZGVbN4v_expf_sse4): Likewise.
6731         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
6732         (_ZGVdN8v_expf_avx2): Likewise.
6733         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
6734         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
6735         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
6736         (_ZGVbN4v_logf_sse4): Likewise.
6737         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
6738         (_ZGVdN8v_logf_avx2): Likewise.
6739         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
6740         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
6741         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
6742         (_ZGVbN4vv_powf_sse4): Likewise.
6743         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
6744         (_ZGVdN8vv_powf_avx2): Likewise.
6745         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
6746         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
6747         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
6748         (_ZGVbN4vvv_sincosf_sse4): Likewise.
6749         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
6750         (_ZGVdN8vvv_sincosf_avx2): Likewise.
6751         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
6752         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
6753         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
6754         (_ZGVbN4v_sinf_sse4): Likewise.
6755         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
6756         (_ZGVdN8v_sinf_avx2): Likewise.
6757         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
6758         Use JUMPTARGET to call callee.
6759         (WRAPPER_IMPL_SSE2_ff): Likewise.
6760         (WRAPPER_IMPL_SSE2_fFF): Likewise.
6761         (WRAPPER_IMPL_AVX): Likewise.
6762         (WRAPPER_IMPL_AVX_ff): Likewise.
6763         (WRAPPER_IMPL_AVX_fFF): Likewise.
6764         (WRAPPER_IMPL_AVX512): Likewise.
6765         (WRAPPER_IMPL_AVX512_ff): Likewise.
6766         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
6767         Likewise.
6768         (WRAPPER_IMPL_SSE2_ff): Likewise.
6769         (WRAPPER_IMPL_SSE2_fFF): Likewise.
6770         (WRAPPER_IMPL_AVX): Likewise.
6771         (WRAPPER_IMPL_AVX_ff): Likewise.
6772         (WRAPPER_IMPL_AVX_fFF): Likewise.
6773         (WRAPPER_IMPL_AVX512): Likewise.
6774         (WRAPPER_IMPL_AVX512_ff): Likewise.
6775         (WRAPPER_IMPL_AVX512_fFF): Likewise.
6777 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6779         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
6780         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
6781         qualifier.
6782         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
6783         internal_function qualifiers.
6785 2016-03-15  Carlos O'Donell <carlos@redhat.com>
6787         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
6788         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
6789         * math/atest-exp.c (exp_mpn): Mark chk unused.
6790         * math/atest-exp2.c (exp_mpn): Likwise.
6791         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
6792         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
6794 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
6796         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
6797         Remove macro.
6798         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
6799         <kernel-features.h>.
6800         [__NR_ppoll]: Make code unconditional.
6801         [!__ASSUME_PPOLL]: Remove conditional code.
6803         * sysdeps/unix/sysv/linux/kernel-features.h
6804         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
6805         (__ASSUME_ACCEPT4): Likewise.
6806         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6807         Define.
6808         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
6809         Likewise.
6810         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6811         Likewise.
6812         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
6813         Likewise.
6814         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
6815         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
6816         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6817         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6818         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6819         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6820         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6821         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6822         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6823         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6824         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6825         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6826         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6827         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6828         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6829         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6830         Likewise.
6831         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6832         Likewise.
6833         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6834         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6835         0x040300].
6836         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6837         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6838         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6839         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6840         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
6841         0x030300].
6842         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
6843         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6844         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6845         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6846         0x040300].
6847         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6848         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6849         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6850         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6851         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6852         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6853         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
6854         0x030300].
6855         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6856         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6857         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6858         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6859         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6860         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6861         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6862         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6863         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6864         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6865         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6866         0x040300].
6867         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6868         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6869         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6870         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6871         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6872         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6873         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6874         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6875         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6876         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6877         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6878         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6879         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6880         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6881         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
6882         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6883         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6884         Likewise.
6885         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6886         Likewise.
6888 2016-03-15  Andreas Schwab  <schwab@suse.de>
6890         [BZ #19257]
6891         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
6892         statp->_u._ext.nscount as loop count.
6894 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6896         * math/test-signgam-finite-c99.c: Also #undef
6897         __LIBC_INTERNAL_MATH_INLINES.
6898         * math/test-signgam-main.c: Likewise.
6900 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
6902         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
6903         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
6904         (MADV_FREE): Likewise.
6905         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
6906         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
6907         EPOLLEXCLUSIVE.
6909 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
6911         * timezone/README: Remove mention of checktab.awk. Mention wiki
6912         SharedSourceFiles.
6914 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
6916         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
6917         WUNTRACED.
6919 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6921         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
6922         order to match the type of p when calling atomic_exchange_acq().
6924 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6926         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
6927         cfi_offset calls.
6928         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
6929         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
6930         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
6931         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
6932         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
6934 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
6936         * timezone/checktab.awk: Removed.
6938 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
6940         * manual/math.texi (Errors in Math Functions): Document relaxed
6941         accuracy goals for IBM long double.
6942         * math/libm-test.inc (test_exceptions): Always allow spurious
6943         "underflow" and "inexact" exceptions for IBM long double.
6945 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
6947         [BZ #19762]
6948         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
6949         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
6950         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
6951         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
6952         (bit_arch_*): This for feature array.
6953         (bit_*): Renamed to ...
6954         (bit_cpu_*): This for cpu array.
6955         (index_*): Renamed to ...
6956         (index_arch_*): This for feature array.
6957         (index_*): Renamed to ...
6958         (index_cpu_*): This for cpu array.
6959         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
6960         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
6961         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
6962         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
6963         bit_##name with index_cpu_##name and bit_cpu_##name.
6964         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
6965         bit_##name with index_arch_##name and bit_arch_##name.
6967 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
6969         [BZ #19792]
6970         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
6971         Terminate FDE before return label.
6973 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
6975         [BZ #19790]
6976         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
6977         (rintl): Define as macro.
6978         [USE_AS_NEARBYINTL] (__rintl): Likewise.
6979         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
6980         of fesetround.  Ensure results are evaluated before end of scope.
6981         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
6982         USE_AS_NEARBYINTL and include s_rintl.c.
6983         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
6984         Disable exception traps in new environment.
6985         (libc_feholdsetround_ppc_ctx): Likewise.
6987 2016-03-08  Roland McGrath  <roland@hack.frob.com>
6989         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
6990         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
6991         (tst_audit10_aux) [__AVX512F__]: ... here.
6993 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
6995         * include/sys/auxv.h: New file.
6997 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
6999         [BZ #19759]
7000         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
7002 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7004         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
7005         operand modifier.
7006         (feclearexcept): Likewise.
7008 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7010         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
7011         to reflect the entire 32-bit HWCAP.
7012         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
7013         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
7015 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
7017         [BZ #19783]
7018         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
7019         $(test-via-rtld-prefix).
7020         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
7022 2016-03-08  Florian Weimer  <fweimer@redhat.com>
7024         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
7025         union wait.  Report any non-zero exit status as error.
7027 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7029         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
7030         configured with --enable-hardcoded-path-in-tests.
7032 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
7034         [BZ #19677]
7035         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7036         (__ieee754_remainderl): Put zero low parts in canonical form.
7037         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
7038         file.  Based on
7039         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
7040         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
7041         with wrapper round test-fmodrem-ldbl-128ibm.c.
7042         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
7043         file.
7044         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
7045         Likewise.
7046         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
7047         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
7049 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7051         [BZ #19610]
7052         * elf/ldconfig.c (opt_link): Update comment.
7053         (options): Update help string for option -X.
7054         (search_dir): Unlink stale symbolic link only if updating symbolic
7055         links.
7056         * elf/tst-ldconfig-X.sh: New file.
7057         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
7058         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
7060 2016-03-07  Andreas Schwab  <schwab@suse.de>
7062         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
7063         needed arguments.
7065 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
7067         [BZ #15333]
7068         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
7069         to lstat64.
7071 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7073         * libio/filedoalloc.c (isatty): Remove.
7074         (local_isatty): Add comment.  Call __isatty directly.
7075         (_IO_file_doallocate): Update comment.  Assume _LIBC.
7076         * libio/wfiledoalloc.c (isatty): Remove.
7077         (_IO_wfile_doallocate): Update comment.
7079 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7081         [BZ #19269]
7082         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
7083         tst-audit4-aux.o.
7084         (tst-audit10): Depend on tst-audit10-aux.o.
7085         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
7086         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
7087         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
7088         instead of inline AVX code.
7089         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
7090         instead of inline AVX512 code.
7091         * sysdeps/x86_64/tst-audit4-aux.c: New file
7092         * sysdeps/x86_64/tst-audit10-aux.c: New file
7094         [BZ #19648]
7095         * test-skeleton.c (main): Do not set RLIMIT_DATA.
7097 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7099         [BZ #14750]
7100         [BZ #10354]
7101         [BZ #18433]
7102         * include/sched.h (__clone): Add hidden prototype.
7103         (__clone2): Likewise.
7104         * include/unistd.h (__dup): Likewise.
7105         * posix/Makefile (tests): Add tst-spawn2.
7106         * posix/tst-spawn2.c: New file.
7107         * sysdeps/posix/dup.c (__dup): Add hidden definition.
7108         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
7109         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
7110         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
7111         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
7112         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
7113         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
7114         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
7115         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
7116         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
7117         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
7118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
7119         Likewise.
7120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7121         Likewise.
7122         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
7123         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
7124         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
7125         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7126         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
7127         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
7128         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
7129         * sysdeps/unix/sysv/linux/nptl-signals.h
7130         (____nptl_is_internal_signal): New function.
7131         * sysdeps/unix/sysv/linux/spawni.c: New file.
7133         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
7134         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
7135         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
7136         * posix/tst-execvp2.c (do_test): Likewise.
7137         * posix/tst-execvp3.c (do_test): Likewise.
7138         * posix/tst-execvp4.c (do_test): Likewise.
7139         * posix/tst-execvpe1.c: New file.
7140         * posix/tst-execvpe2.c: Likewise.
7141         * posix/tst-execvpe3.c: Likewise.
7142         * posix/tst-execvpe4.c: Likewise.
7143         * posix/tst-execvpe5.c: Likewise.
7144         * posix/tst-execvpe6.c: Likewise.
7146         [BZ #19534]
7147         * posix/execl.c (execl): Remove dynamic memory allocation.
7148         * posix/execle.c (execle): Likewise.
7149         * posix/execlp.c (execlp): Likewise.
7151 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7153         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
7154         Replace .text with .text.avx512.
7155         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
7156         Likewise.
7158 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
7160         * sysdeps/generic/libnsl.abilist: New file.
7161         * sysdeps/generic/libutil.abilist: New file.
7163 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7165         [BZ #19762]
7166         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
7167         HAS_ARCH_FEATURE with Fast_Rep_String.
7168         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
7169         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
7170         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
7171         Likewise.
7172         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
7173         Likewise.
7174         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
7175         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
7176         Likewise.
7177         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
7178         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
7179         Likewise.
7181 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7183         [BZ #19745]
7184         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
7185         with *%rax in call.
7187 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7189         [BZ #19745]
7190         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
7191         with *__libc_start_main@GOTPCREL(%rip) in call.
7193 2016-03-04  Roland McGrath  <roland@hack.frob.com>
7195         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
7196         inside conditional for nonempty $(CXX).
7198         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
7199         nonempty.
7201         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
7202         to test for empty $(CXX) rather than $(CXX) of "no".
7204 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7206         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
7208 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
7209             H.J. Lu  <hongjiu.lu@intel.com>
7211         [BZ #18880]
7212         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
7213         instead of Slow_BSF, and also check for Fast_Copy_Backward to
7214         enable __memcpy_ssse3_back.
7216 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7218         [BZ #19758]
7219         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7220         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
7222 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
7224         [BZ #19490]
7225         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
7226         (__fentry__): Likewise.
7228 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7230         * gmon/Makefile (noprof): Add $(sysdep_noprof).
7231         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
7233 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7235         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
7236         __mcount_internal directly.
7237         (C_LABEL(__fentry__)): Likewise.
7238         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
7239         directly.
7241 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7243         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7244         (__start_context): Call __setcontext directly.
7246 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
7248         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7249         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7250         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
7251         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7252         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7253         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7254         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
7255         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7256         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7257         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
7258         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7259         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7260         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7261         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7262         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7263         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7264         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
7265         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7266         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7267         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7268         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
7269         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7270         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7271         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7272         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
7273         Remove conditional code.
7274         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7275         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
7276         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7277         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7278         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
7279         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7280         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7281         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7282         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7283         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7284         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7285         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7287 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
7289         * NEWS (2.23): Fix typo in bug 19048 text.
7291 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
7293         [BZ #14259]
7294         * Makeconfig: Rename msgcatdir to localedir.
7295         Rename inst_msgcatdir to inst_localedir.
7296         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
7297         * config.make.in: Add localedir.
7298         * elf/Makefile ($(objpfx)sotruss): Use localedir.
7299         (ldd-rewrite): Likewise.
7300         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
7301         (install-others): Use inst_localedir.
7302         (CPPFLAGS): Use localedir.
7303         * locale/Makefile (locale-CPPFLAGS): Likewise.
7304         * po/Makefile (mo-installed): Use inst_localedir.
7306         [BZ #19575]
7307         * localedata/charmaps/GB18030: Update comments regarding PAU to
7308         non-PUA mappings.
7310 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
7312         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
7313         test for header.
7314         * sysdeps/unix/sysv/linux/configure: Regenerated.
7315         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
7316         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
7317         Remove conditional code.
7318         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
7320         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7321         Define to 3.2.0.
7322         (arch_minimum_kernel): Likewise.
7323         * sysdeps/unix/sysv/linux/configure: Regenerated.
7324         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
7325         Define to 2.6.32.
7326         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
7327         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
7328         (arch_minimum_kernel): Define to 2.6.32.
7329         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
7330         * README: Document Linux 3.2 requirement.
7331         * manual/install.texi (Linux): Document Linux 3.2 headers
7332         requirement.
7333         * INSTALL: Regenerated.
7335 2016-02-24  Andreas Schwab  <schwab@suse.de>
7337         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
7338         if !NO_LONG_DOUBLE.
7340 2016-02-22  Roland McGrath  <roland@hack.frob.com>
7342         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
7343         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
7345 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
7347         [BZ #19512]
7348         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
7350 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
7352         * posix/tst-dir.c: Include libc-internal.h.
7354 2016-02-20  Florian Weimer  <fweimer@redhat.com>
7356         [BZ #19056]
7357         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
7358         * manual/filesys.texi (Reading/Closing Directory): Mention
7359         deprecaion.
7360         * posix/tst-dir.c (main): Disable deprecation warning in test.
7362 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
7364         [BZ #19679]
7365         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
7366         Renamed to ...
7367         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
7368         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7369         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
7370         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7371         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7372         * sysdeps/x86_64/dl-trampoline.h
7373         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7374         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7376 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7378         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
7380 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7382         * elf/elf.h (R_386_GOT32X): New.
7383         (R_386_NUM): Update.
7384         (R_X86_64_GOTPCRELX: New.
7385         (R_X86_64_REX_GOTPCRELX): New.
7386         (R_X86_64_NUM): Update.
7388 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
7390         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
7392 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
7394         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
7395         assign attr->stackaddr to it, and adjust it down when
7396         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
7397         [_STACK_GROWS_UP]: Delete assert.
7398         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
7399         Implement stack grows up logic.
7400         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
7401         stack grows up logic.
7403 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7405         * NEWS: Update with 2.24 template.
7407 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
7409         [BZ #19678]
7410         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7411         Ensure +0.0 is returned when taking the next value below the least
7412         positive value.
7414 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7416         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
7417         available.  Do not define NO_THREADS.
7418         * malloc/malloc.c: Do not check NO_THREADS.
7419         * malloc/arena.c: Likewise.
7421 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7423         * malloc/malloc.c (__libc_mallinfo): Update comment.
7424         (struct malloc_par): Remove max_total_mem member, it was always 0.
7425         (int_mallinfo): Store 0 into usmblks (no functional change).
7426         * malloc/hooks.c (struct malloc_state): Document that
7427         max_total_mem is always 0.
7428         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
7429         always 0.
7430         * manual/memory.texi (Statistics of Malloc): Likewise.
7432 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7434         * malloc/malloc.c (sysmalloc): Do not update arena_max.
7435         * malloc/arena.c (arena_max): Remove.
7436         (heap_trim, _int_new_arena): Do not update arena_max.
7438 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7440         * resolv/res_init.c (res_ninit): Update comment.
7442 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7444         [BZ #19505]
7445         * posix/spawn_int.h: Add headers and include guard.
7446         (__spawn_valid_fd): New function.
7447         * posix/spawn_faction_addopen.c
7448         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
7449         * posix/spawn_faction_addclose.c
7450         (posix_spawn_file_actions_addclose): Likewise.
7451         * posix/spawn_faction_adddup2.c
7452         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
7453         second file descriptor.
7454         * posix/spawn_valid_fd.c: New file.
7455         * posix/tst-posix_spawn-fd.c: New file.
7456         * posix/Makefile (routines): Add spawn_valid_fd.
7457         (tests): Add tst-posix_spawn-fd.
7459 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7461         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
7462         (do_test): Limit the number of arenas, so that we can use fewer
7463         outer threads.  Limit timeout to 3 seconds, in preparation for a
7464         larger TIMEOUT value.
7466 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
7468         [BZ #19674]
7469         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
7470         sign in overflowing and underflowing results when overflow or
7471         underflow is detected early.  Include sign in result before rather
7472         than after scaling.
7474         [BZ #19603]
7475         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7476         (__ieee754_remainderl): Adjust sign of integer version of low part
7477         when taking absolute value of high part.
7478         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7479         * math/libm-test.inc (remainder_test_data): Add another test.
7480         (remquo_test_data): Likewise.
7482 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
7484         [BZ #19602]
7485         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
7486         equal high parts and both low parts zero specially.
7487         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
7488         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
7489         Add test-fmodl-ldbl-128ibm.
7491         [BZ #19595]
7492         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
7493         common logic for all cases of shifting subnormal results.  Do not
7494         insert sign bit in shifted mantissa.  Always pass -1023 as biased
7495         exponent to ldbl_insert_mantissa in subnormal case.
7497         [BZ #19594]
7498         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
7499         on high and low parts then adjust result and use
7500         ldbl_canonicalize_int if needed.
7502         [BZ #19593]
7503         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
7504         on high part and __floor or __ceil on low part then use
7505         ldbl_canonicalize_int if needed.
7507         [BZ #19592]
7508         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
7509         high and low parts then use ldbl_canonicalize_int if needed.
7511         [BZ #17899]
7512         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
7513         New function.
7514         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
7515         on high and low parts then use ldbl_canonicalize_int if needed.
7517 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7519         * configure: Regenerated.
7521         * po/libc.pot: Regenerated.
7523         * po/be.po: Updated translation.
7524         * po/bg.po: Likewise.
7525         * po/ca.po: Likewise.
7526         * po/cs.po: Likewise.
7527         * po/da.po: Likewise.
7528         * po/el.po: Likewise.
7529         * po/eo.po: Likewise.
7530         * po/es.po: Likewise.
7531         * po/fi.po: Likewise.
7532         * po/fr.po: Likewise.
7533         * po/gl.po: Likewise.
7534         * po/hr.po: Likewise.
7535         * po/hu.po: Likewise.
7536         * po/ia.po: Likewise.
7537         * po/id.po: Likewise.
7538         * po/it.po: Likewise.
7539         * po/ja.po: Likewise.
7540         * po/lt.po: Likewise.
7541         * po/nb.po: Likewise.
7542         * po/nl.po: Likewise.
7543         * po/pt_BR.po: Likewise.
7544         * po/rw.po: Likewise.
7545         * po/sk.po: Likewise.
7546         * po/sl.po: Likewise.
7547         * po/sv.po: Likewise.
7548         * po/tr.po: Likewise.
7549         * po/zh_CN.po: Likewise.
7550         * po/zh_TW.po: Likewise.
7552         * version.h (RELEAES): Set to "development".
7553         (VERSION): Set to 2.23.90.
7555         * version.h (RELEASE): Set to "stable".
7556         (VERSION): Set to 2.23.
7557         * include/feature.h (__GLIBC_MINOR__): Set to 23.
7559         * NEWS: Updated fixed bugs.
7561 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
7562             Wilco Dijkstra  <wdijkstr@arm.com>
7564         [BZ #19462]
7565         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
7566         (_STRING_INLINE_unaligned): This.
7567         * include/string.h: Include <string_private.h>.
7568         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
7569         _STRING_INLINE_unaligned.
7570         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
7571         (_STRING_INLINE_unaligned): New.
7572         * sysdeps/aarch64/string_private.h: New file.
7573         * sysdeps/generic/string_private.h: Likewise.
7574         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
7575         * sysdeps/s390/string_private.h: Likewise.
7576         * sysdeps/x86/string_private.h: Likewise.
7577         * sysdeps/m68k/m680x0/m68020/bits/string.h
7578         (_STRING_ARCH_unaligned): Renamed to ...
7579         (_STRING_INLINE_unaligned): This.
7580         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
7581         to ...
7582         (_STRING_INLINE_unaligned): This.
7583         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
7584         to ...
7585         (_STRING_INLINE_unaligned): This.
7586         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
7587         to ...
7588         (_STRING_INLINE_unaligned): This.
7590 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
7591             H.J. Lu  <hongjiu.lu@intel.com>
7593         [BZ #19590]
7594         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
7595         relocation.
7597 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
7599         [BZ #18665]
7600         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
7601         *herrno_p.
7602         (gaih_getanswer): Document functional behviour. Return tryagain
7603         if any result is tryagain.
7604         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
7605         when freed.
7606         * resolv/res_send.c: Add copyright text.
7607         (__libc_res_nsend): Document that MAXPACKET is expected.
7608         (send_vc): Document. Remove buffer reuse.
7609         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
7610         size of the buffer. Add Dprint for truncated UDP buffer.
7612 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
7614         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
7615         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
7616         * INSTALL: Regenerate.
7618 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
7619             Jonathan Wakely  <jwakely@redhat.com>
7620             Carlos O'Donell  <carlos@redhat.com>
7622         [BZ 19439]
7623         * math/Makefile (tests): Add test-math-isinff.
7624         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
7625         * math/bits/mathcalls.h [__USE_MISC]: Use
7626         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
7627         functions not in C++11 and which don't conflict e.g. isinff,
7628         isinfl etc.
7629         * math/test-math-isinff.cc: New file.
7631 2016-02-12  Florian Weimer  <fweimer@redhat.com>
7633         * misc/bug18240.c (do_test): Set RLIMIT_AS.
7635 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7637         [BZ #19529]
7638         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
7640 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7642         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7644 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
7646         [BZ #19550]
7647         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
7648         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
7649         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
7650         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
7651         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
7652         New syscall entry.
7653         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
7654         New syscall entry.
7655         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
7656         syscall entry.
7658 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
7660         [BZ #18240]
7661         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
7662         unsigned int wraparound.
7664 2016-01-27  Florian Weimer  <fweimer@redhat.com>
7666         [BZ #18240]
7667         * misc/bug18240.c: New test.
7668         * misc/Makefile (tests): Add it.
7670 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
7671             Joseph Myers  <joseph@codesourcery.com>
7673         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
7674         load in branch delay slot when less than a word of input left.
7676 2016-01-27  Andreas Schwab  <schwab@suse.de>
7678         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
7679         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
7680         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
7681         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
7683 2016-01-26  David S. Miller  <davem@davemloft.net>
7685         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
7687 2016-01-25  David S. Miller  <davem@davemloft.net>
7689         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
7690         __sqrtl_finite.
7691         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
7692         instead using versioned_symbol.
7693         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
7694         of entries.
7696         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
7697         __sqrtl_finite to GLIBC_2.23
7699 2016-01-25  Ricchard Henderson  <rth@redhat.com>
7701         * sysdeps/alpha/fpu/libm-test-ulps: Update.
7703 2016-01-25  Andreas Schwab  <schwab@suse.de>
7705         [BZ #17514]
7706         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
7707         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
7708         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
7709         * nptl/tst-mutex-errorcheck.c: New file.
7711 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7713         [BZ #18560]
7714         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
7715         (IPCOP_semop): Likewise.
7716         (IPCOP_semget): Likewise.
7717         (IPCOP_semctl): Likewise.
7718         (IPCOP_msgsnd): Likewise.
7719         (IPCOP_msgrcv): Likewise.
7720         (IPCOP_msgget): Likewise.
7721         (IPCOP_msgctl): Likewise.
7722         (IPCOP_shmat): Likewise.
7723         (IPCOP_shmdt): Likewise.
7724         (IPCOP_shmget): Likewise.
7725         (IPCOP_shmctl): Likewise.
7727 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
7729         * string/tst-endian.c: Include <libc-internal.h>.
7730         (do_test): Ignore tautological-compare warnings around
7731         "htobeXX (beXXtoh (i)) != i" and
7732         "htoleXX (leXXtoh (i)) != i" if-statements.
7734 2016-01-24  David S. Miller  <davem@davemloft.net>
7736         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
7737         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
7738         alias.
7739         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
7740         __sqrtl_finite.
7742         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7744 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
7746         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
7747         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
7748         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7750 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7752         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
7753         (thread_func): Use new function to simplify barrier check.
7754         (do_test): Use new function to simplify checking barrier exit
7755         code, and actually join the child thread.
7757 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7759         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
7760         semicolon.
7761         (__libc_tend): Likewise.
7762         (__libc_tabort): Likewise.
7764 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
7766         * sysdeps/nios2/libm-test-ulps: Update.
7767         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
7768         (__gtsf2): Likewise.
7769         (__unorddf2): Likewise.
7770         (__unordsf2): Likewise.
7771         (__ledf2): Likewise.
7773 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
7775         * nis/nis_table.c (__follow_path): Disable diagnostic for
7776         uninitialized variable that is a false positive for gcc 4.7.
7777         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
7779 2016-01-20  Roland McGrath  <roland@hack.frob.com>
7781         * sysdeps/nacl/lowlevellock-futex.h
7782         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
7783         Always evaluate PRIVATE argument.
7785 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
7787         [BZ #19490]
7788         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
7789         (pthread_cond_broadcast): Use ENTRY/END
7790         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
7791         (pthread_cond_signal): Likewise.
7792         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
7793         Likewise.
7794         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
7795         Likewise.
7796         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
7797         Likewise.
7799 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
7801         * sysdeps/ieee754/dbl-64/s_finite.c
7802         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
7803         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
7804         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
7805         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
7806         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
7808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7809         (__gtsf2): Add as optional for libc.so.
7810         (__unordsf2): Likewise.
7811         (__signbit): Remove for libc.so.
7812         (__signbitl): Likewise.
7814 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
7816         * iconvdata/bug-iconv11.c (test_ibm93x):
7817         Use %zu printf format specifier for size_t argument.
7819 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
7821         * math/gen-libm-test.pl (parse_ulps): Do not reduce
7822         already-recorded ulps.
7823         * sysdeps/arm/libm-test-ulps: Regenerated.
7824         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7825         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7826         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7828 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7829             Paul Pluzhnikov  <ppluzhnikov@google.com>
7831         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
7832         assembler not supporting AVX-512.
7834 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
7836         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7838 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
7840         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7841         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7843         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7845         * sysdeps/arm/libm-test-ulps: Regenerated.
7847 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
7849         [BZ #19451]
7850         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
7852 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
7854         [BZ #19486]
7855         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
7856         * sysdeps/generic/fix-fp-int-convert-overflow.h
7857         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
7858         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
7859         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
7860         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
7861         Likewise.
7862         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
7863         Avoid conversions to long int where inexact exceptions
7864         could be raised.
7865         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
7866         Likewise.
7867         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
7868         Avoid conversions to long long int where inexact exceptions
7869         could be raised.
7870         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
7871         Likewise.
7873 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
7875         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
7876         * configure: Regenerated.
7878 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
7880         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
7882 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
7884         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
7885         outside of comment.
7887 2016-01-15  Torvald Riegel  <triegel@redhat.com>
7889         * nptl/tst-barrier1.c: Add description on first line.
7890         * nptl/tst-barrier2.c: Likewise.
7891         * nptl/tst-barrier3.c: Likewise.
7892         * nptl/tst-barrier4.c: Likewise.
7893         * nptl/tst-barrier5.c: Likewise.
7895 2016-01-15  Torvald Riegel  <triegel@redhat.com>
7897         [BZ #18868]
7898         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
7900 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
7902         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
7903         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
7904         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
7905         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
7906         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
7907         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
7908         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7909         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7910         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7911         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7912         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7914 2016-01-15  Torvald Riegel  <triegel@redhat.com>
7916         [BZ #13065]
7917         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
7918         new implementation.
7919         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
7920         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
7921         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
7922         (BARRIER_IN_THRESHOLD): New macro.
7923         * nptl/pthread_barrierattr_setpshared.c
7924         (pthread_barrierattr_setpshared): Clean up.
7925         * nptl/tst-barrier4.c: Correct comment.
7926         * nptl/tst-barrier5.c: New file.
7927         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
7928         (gen-as-const-headers): Remove lowlevelbarrier.sym.
7929         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
7930         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
7931         * nptl/lowlevelbarrier.sym: Remove.
7932         * nptl/DESIGN-barrier.txt: Remove.
7933         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
7934         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
7935         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
7936         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
7937         error.
7938         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
7939         implementation.
7941 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7943         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
7944         (do_child): Mask SIGRTMIN while thr is running.
7946 2016-01-15  Martin Sebor  <msebor@redhat.com>
7948         [BZ #19432]
7949         * iconvdata/Makefile: Add bug-iconv11.
7950         * iconvdata/bug-iconv11.c: New test.
7951         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
7952         * iconvdata/ibm933.c: Same.
7953         * iconvdata/ibm935.c: Same.
7954         * iconvdata/ibm937.c: Same.
7955         * iconvdata/ibm939.c: Same.
7957 2016-01-15  Martin Sebor  <msebor@redhat.com>
7959         [BZ #19443]
7960         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
7961         [DEBUG] (_ufc_set_bits): Declare used.
7962         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
7963         [DEBUG] (print_all): Declare used.
7964         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
7965         operands of the ternary ?: expression to target type.
7966         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
7967         calling the undeclared abort.
7968         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
7970 2016-01-15  Martin Sebor  <msebor@redhat.com>
7972         [BZ #18755]
7973         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
7974         warnings.
7975         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
7976         (__gai_create_helper_thread): Same.
7977         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
7978         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
7979         to suppress -Wmaybe-uninitialized warnings.
7981 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
7983         [BZ #19465]
7984         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
7985         inside if.
7986         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7987         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7988         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7990 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
7992         [BZ #19466]
7993         * time/tst-mktime2.c (time_t_max): Removed.
7994         (time_t_min): Likewise.
7995         (TYPE_SIGNED): New.
7996         (TYPE_MINIMUM): Likewise.
7997         (TYPE_MAXIMUM): Likewise.
7998         (TIME_T_MIN): Likewise.
7999         (TIME_T_MAX): Likewise.
8000         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
8001         and TIME_T_MIN.
8002         (do_test): Likewise.
8004 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
8006         [BZ #19467]
8007         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
8008         index_Fast_Unaligned_Load flag for Excavator family CPUs.
8010 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
8012         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
8014 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
8016         * benchtests/Makefile (PYTHON): Define.
8017         (bench-func): Use $(PYTHON) to run python scripts.
8018         ($(objpfx)bench-%.c): Likewise.
8020 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
8022         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
8023         leading slash when `file_name' is "/".
8025 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
8027         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
8028         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
8029         Likewise.
8030         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
8031         Likewise.
8032         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
8033         Likewise.
8034         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
8035         enum constant and macro.
8036         (PTRACE_SETSIGMASK): Likewise.
8037         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8038         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8039         (PTRACE_GETSIGMASK): Likewise.
8040         (PTRACE_SETSIGMASK): Likewise.
8041         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8042         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
8043         Likewise.
8044         (PTRACE_SETSIGMASK): Likewise.
8045         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8046         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8047         (PTRACE_GETSIGMASK): Likewise.
8048         (PTRACE_SETSIGMASK): Likewise.
8049         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8050         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
8051         Likewise.
8052         (PTRACE_SETSIGMASK): Likewise.
8053         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8054         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
8055         Likewise.
8056         (PTRACE_SETSIGMASK): Likewise.
8057         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8058         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
8059         Likewise.
8060         (PTRACE_SETSIGMASK): Likewise.
8061         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8063 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
8064             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8066         [BZ #19439]
8067         * math/bits/mathcalls.h
8068         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
8069         prototype.
8070         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
8072 2016-01-11  Andreas Schwab  <schwab@suse.de>
8074         [BZ #19253]
8075         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
8076         cache when TZDEFRULES was used.
8077         * time/tst-tzname.c: New file.
8078         * time/Makefile (test): Add tst-tzname.
8079         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
8080         * timezone/Makefile (test-zones): Add $(posixrules-file).
8081         ($(testdata)/$(posixrules-file)): New rule.
8083 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
8085         Fix doc quoting problems with Texinfo 5
8086         Without this change, in the info file output, Texinfo 5 quotes code
8087         in text with undirected single quotes 'like this' and generates
8088         code examples that with many PDF readers cannot be cut out of PDFs
8089         and pasted into code.
8090         * manual/libc.texinfo: Configure the libc manual like the GNU
8091         Emacs manual, by using @documentencoding and setting
8092         txicodequoteundirected and txicodequotebacktick.  This way,
8093         Texinfo 5 quotes code in text with directed single quotes ‘like
8094         this’ and produces examples that can be cut out of PDFs.  This
8095         change causes Texinfo 5 to generate info files that contain UTF-8
8096         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
8097         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
8099 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8101         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
8102         __libc_tabort, __libc_tend): New wrappers that enforce compiler
8103         barriers to their respective compiler built-ins.
8104         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
8105         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
8106         * sysdeps/powerpc/sysdep.h: Likewise.
8107         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
8108         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
8109         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
8111 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
8113         * scripts/config.guess: Revert previous shebang change.
8114         * scripts/config.sub: Likewise.
8115         * scripts/mkinstalldirs: Likewise.
8117 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8119         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
8120         PPC_FEATURE2_HAS_IEEE128.
8121         * sysdeps/powerpc/dl-procinfo.c:
8122         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
8124 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
8126         [BZ #19415]
8127         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
8128         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
8129         (_dl_lookup_address): Rewrite using function resolver trampoline.
8130         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
8131         two bits in address.
8133 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
8135         * longlong.h: Change !__SHMEDIA__ to
8136         (!defined (__SHMEDIA__) || !__SHMEDIA__).
8137         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
8139 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
8140             Joseph Myers  <joseph@codesourcery.com>
8141             Mark Shinwell  <shinwell@codesourcery.com>
8142             Andrew Stubbs  <ams@codesourcery.com>
8143             Rich Felker <dalias@libc.org>
8145         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
8147 2016-01-07  Richard Henderson  <rth@redhat.com>
8149         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
8151 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
8153         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
8154         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
8155         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8156         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8157         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
8159 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
8160             Joseph Myers  <joseph@codesourcery.com>
8162         * timezone/private.h: Update from tzcode 2015g.
8163         * timezone/tzfile.h: Likewise.
8164         * timezone/tzselect.ksh: Likewise.
8165         * timezone/zdump.c: Likewise.
8166         * timezone/zic.c: Likewise.
8167         * timezone/ialloc.c: Remove file.
8168         * timezone/scheck.c: Likewise.
8169         * timezone/Makefile (extra-objs): Remove variable.
8170         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
8171         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
8172         -Wno-maybe-uninitialized.
8173         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
8174         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
8175         (CFLAGS-ialloc.c): Remove variable.
8176         (CFLAGS-scheck.c): Likewise.
8177         * timezone/README: Update list of files from tzcode.
8179 2016-01-07  Khem Raj  <raj.khem@gmail.com>
8181         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
8182         instead of __fxprintf when _LIBC is undefined.
8184 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
8186         * catgets/test-gencat.sh: Remove space after shebang.
8187         * conform/GlibcConform.pm: Likewise.
8188         * conform/check-header-lists.sh: Likewise.
8189         * conform/conformtest.pl: Likewise.
8190         * conform/linknamespace.pl: Likewise.
8191         * conform/list-header-symbols.pl: Likewise.
8192         * debug/catchsegv.sh: Likewise.
8193         * elf/genrtldtbl.awk: Likewise.
8194         * elf/tst-pathopt.sh: Likewise.
8195         * elf/tst-rtld-load-self.sh: Likewise.
8196         * grp/tst_fgetgrent.sh: Likewise.
8197         * iconvdata/gen-8bit-gap-1.sh: Likewise.
8198         * iconvdata/gen-8bit-gap.sh: Likewise.
8199         * iconvdata/gen-8bit.sh: Likewise.
8200         * iconvdata/run-iconv-test.sh: Likewise.
8201         * intl/tst-gettext.sh: Likewise.
8202         * intl/tst-gettext2.sh: Likewise.
8203         * intl/tst-gettext4.sh: Likewise.
8204         * intl/tst-gettext6.sh: Likewise.
8205         * intl/tst-translit.sh: Likewise.
8206         * io/ftwtest-sh: Likewise.
8207         * libio/test-freopen.sh: Likewise.
8208         * locale/gen-translit.pl: Likewise.
8209         * malloc/tst-mtrace.sh: Likewise.
8210         * manual/check-safety.sh: Likewise.
8211         * manual/libc-texinfo.sh: Likewise.
8212         * manual/tsort.awk: Likewise.
8213         * manual/xtract-typefun.awk: Likewise.
8214         * nptl/tst-cancel-wrappers.sh: Likewise.
8215         * nptl/tst-tls6.sh: Likewise.
8216         * posix/globtest.sh: Likewise.
8217         * posix/tst-getconf.sh: Likewise.
8218         * posix/wordexp-tst.sh: Likewise.
8219         * scripts/check-c++-types.sh: Likewise.
8220         * scripts/check-local-headers.sh: Likewise.
8221         * scripts/config.guess: Likewise.
8222         * scripts/config.sub: Likewise.
8223         * scripts/cpp: Likewise.
8224         * scripts/cross-test-ssh.sh: Likewise.
8225         * scripts/documented.sh: Likewise.
8226         * scripts/evaluate-test.sh: Likewise.
8227         * scripts/gen-libc-abis: Likewise.
8228         * scripts/gen-sorted.awk: Likewise.
8229         * scripts/list-fixed-bugs.py: Likewise.
8230         * scripts/merge-test-results.sh: Likewise.
8231         * scripts/mkinstalldirs: Likewise.
8232         * scripts/rellns-sh: Likewise.
8233         * scripts/test-installation.pl: Likewise.
8234         * scripts/update-copyrights: Likewise.
8235         * stdio-common/tst-printf.sh: Likewise.
8236         * stdio-common/tst-unbputc.sh: Likewise.
8237         * stdlib/tst-fmtmsg.sh: Likewise.
8238         * stdlib/tst-setcontext3.sh: Likewise.
8239         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
8240         * sysdeps/unix/make-syscalls.sh: Likewise.
8242 2016-01-06  John David Anglin  <dave.anglin@bell.net>
8244         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
8245         asm stw with atomic_exchange_rel.  Add explanatory comment.
8246         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
8247         Likewise.
8249 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8251         [BZ #19122]
8252         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
8253         * sysdeps/generic/dl-unistd.h: New file.
8254         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
8256 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8258          [BZ #19122]
8259          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
8260          * sysdeps/generic/dl-mman.h: New file.
8261          * sysdeps/mach/hurd/dl-mman.h: Likewise.
8263 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
8265         * manual/texinfo.tex: Update to version 2016-01-04.21 with
8266         trailing whitespace removed.
8267         * scripts/config.guess: Update to version 2016-01-01.
8268         * scripts/config.sub: Update to version 2016-01-01.
8269         * scripts/move-if-change: Update from gnulib.
8271 2016-01-04  Anton Blanchard  <anton@samba.org>
8273         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
8274         for array indices.
8275         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
8277 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
8279         * NEWS: Update copyright dates.
8280         * catgets/gencat.c (print_version): Likewise.
8281         * csu/version.c (banner): Likewise.
8282         * debug/catchsegv.sh: Likewise.
8283         * debug/pcprofiledump.c (print_version): Likewise.
8284         * debug/xtrace.sh (do_version): Likewise.
8285         * elf/ldconfig.c (print_version): Likewise.
8286         * elf/ldd.bash.in: Likewise.
8287         * elf/pldd.c (print_version): Likewise.
8288         * elf/sotruss.sh: Likewise.
8289         * elf/sprof.c (print_version): Likewise.
8290         * iconv/iconv_prog.c (print_version): Likewise.
8291         * iconv/iconvconfig.c (print_version): Likewise.
8292         * locale/programs/locale.c (print_version): Likewise.
8293         * locale/programs/localedef.c (print_version): Likewise.
8294         * login/programs/pt_chown.c (print_version): Likewise.
8295         * malloc/memusage.sh (do_version): Likewise.
8296         * malloc/memusagestat.c (print_version): Likewise.
8297         * malloc/mtrace.pl: Likewise.
8298         * manual/libc.texinfo: Likewise.
8299         * nptl/version.c (banner): Likewise.
8300         * nscd/nscd.c (print_version): Likewise.
8301         * nss/getent.c (print_version): Likewise.
8302         * nss/makedb.c (print_version): Likewise.
8303         * posix/getconf.c (main): Likewise.
8304         * scripts/test-installation.pl: Likewise.
8305         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8307         * All files with FSF copyright notices: Update copyright dates
8308         using scripts/update-copyrights.
8309         * intl/plural.c: Regenerated.
8310         * locale/programs/charmap-kw.h: Likewise.
8311         * locale/programs/locfile-kw.h: Likewise.
8313 2016-01-02  Helge Deller  <deller@gmx.de>
8315         [BZ #19285]
8316         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
8317         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
8318         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
8319         (MADV_xxK_PAGES): Remove.
8321 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
8323         [BZ #15421]
8324         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
8325         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
8326         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
8327         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
8329 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
8331         [BZ #19408]
8332         * sysdeps/unix/sysv/linux/personality.c: New file.
8333         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
8334         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
8335         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
8336         (sysdep_routines): Add personality.
8337         (tests): Add tst-personality.
8338         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
8339         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
8340         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
8341         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
8342         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
8343         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
8344         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
8345         Likewise.
8346         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
8347         Likewise.
8348         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
8349         Likewise.
8350         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
8351         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
8352         Likewise.
8354 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
8356         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
8357         (PATH_ARM_SYSTYPE): Remove.
8358         (PATH_CPUINFO): Likewise.
8359         (IO_BASE_FOOTBRIDGE): Likewise.
8360         (IO_SHIFT_FOOTBRIDGE): Likewise.
8361         (struct platform): Likewise.
8362         (init_iosys): Remove compatibility code for 2.4 kernels.
8363         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
8365 2015-12-29  Florian Weimer  <fweimer@redhat.com>
8367         * malloc/tst-malloc-thread-fail.c: New file.
8368         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
8369         (tst-malloc-thread-fail): Link against libpthread.
8371 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
8373         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
8374         (get_parser): New function.
8375         (main): New function.
8377 2015-12-29  Rob Wu  <rob@robwu.nl>
8379         [BZ #19369]
8380         * resolv/res_init.c (__res_vinit): Reset defdname before use.
8382 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
8384         [BZ #19270]
8385         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
8387 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
8389         [BZ #15421]
8390         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
8392 2015-12-23  Torvald Riegel  <triegel@redhat.com>
8394         [BZ #13690]
8395         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
8396         after releasing it.
8397         (__lll_robust_unlock): Likewise.
8398         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8399         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
8400         (lll_robust_unlock): Likewise.
8401         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
8402         Prevent warnings in callers.
8404 2015-12-23  Florian Weimer  <fweimer@redhat.com>
8406         * malloc/arena.c (list_lock): Update comment.
8408 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8410         * sysdeps/powerpc/hwcapinfo.c: Export symbol
8411         __parse_hwcap_and_convert_at_platform to libc.a.
8413 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8415         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
8416         platform and feature support for POWER9.
8417         * sysdeps/powerpc/dl-procinfo.h: Likewise.
8418         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
8419         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
8420         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
8421         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
8422         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
8423         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
8424         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
8426 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8428         Harmonize generic stdio-lock support with nptl
8430         This fixes build when _IO_funlockfile is a macro, fixes build where
8431         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
8432         stack unwind.
8434         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
8435         _IO_release_lock ): Use cleanup attribute on new
8436         _IO_acquire_lock_file variable instead of assuming that
8437         _IO_release_lock will be called.
8438         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
8439         _IO_acquire_lock_needs_exceptions_enabled.
8440         (_IO_acquire_lock_clear_flags2): New macro.
8442 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8444         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8446 2015-12-21  Florian Weimer  <fweimer@redhat.com>
8448         [BZ #19182]
8449         * malloc/arena.c (list_lock): Document lock ordering requirements.
8450         (free_list_lock): New lock.
8451         (ptmalloc_lock_all): Comment on free_list_lock.
8452         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
8453         (detach_arena): Update comment.  free_list_lock is now needed.
8454         (_int_new_arena): Use free_list_lock around detach_arena call.
8455         Acquire arena lock after list_lock.  Add comment, including FIXME
8456         about incorrect synchronization.
8457         (get_free_list): Switch to free_list_lock.
8458         (reused_arena): Acquire free_list_lock around detach_arena call
8459         and attached threads counter update.  Add two FIXMEs about
8460         incorrect synchronization.
8461         (arena_thread_freeres): Switch to free_list_lock.
8462         * malloc/malloc.c (struct malloc_state): Update comments to
8463         mention free_list_lock.
8465 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
8467         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
8468         Remove functions.
8469         (sloww, sloww1): Accept argument to offset quadrant.
8470         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
8471         quadrant.
8472         (__sin, __cos): Consolidate common code into new functions.
8473         (reduce_sincos_1, do_sincos_1): New functions.
8474         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
8476         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
8477         code to new functions.
8478         (reduce_sincos_2, do_sincos_2): New functions.
8479         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
8481         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
8482         common code for sincos.
8483         (__cos) [!IN_SINCOS]: Likewise.
8484         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
8485         New function.
8486         (__sincos): Use it.
8488 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
8490         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
8491         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
8492         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8494 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8496         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
8497         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
8498         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
8499         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
8500         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8501         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
8502         index_Prefer_No_VZEROUPPER): New feature.
8503         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
8504         Prefer_No_VZEROUPPER for Knights Landing.
8506 015-12-18  Torvald Riegel  <triegel@redhat.com>
8508         * math/atest-exp2.c (mp_exp_m1): Remove.
8510 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8512         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
8513         syscalls.
8514         (__SYSCALL0): New macro.
8515         (__SYSCALL1): Likewise.
8516         (__SYSCALL2): Likewise.
8517         (__SYSCALL3): Likewise.
8518         (__SYSCALL4): Likewise.
8519         (__SYSCALL5): Likewise.
8520         (__SYSCALL6): Likewise.
8521         (__SYSCALL_CONCAT_X): Likewise.
8522         (__SYSCALL_CONCAT): Likewise.
8523         (__SYSCALL_DIST): Likewise.
8524         (__SYSCALL_CALL): Likewise.
8526 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
8528         [BZ #19363]
8529         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
8531 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8533         [BZ #19375]
8534         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
8535         negative subnormals.
8537 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
8539         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8540         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
8541         (INTERNAL_SYSCALL_NCS): Use it.
8542         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8544 2015-12-16  Florian Weimer  <fweimer@redhat.com>
8546         [BZ #19243]
8547         * malloc/arena.c (get_free_list): Remove assert and adjust
8548         reference count handling.  Add comment about reused_arena
8549         interaction.
8550         (reused_arena): Add comments abount get_free_list interaction.
8551         * malloc/tst-malloc-thread-exit.c: New file.
8552         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
8553         (tst-malloc-thread-exit): Link against libpthread.
8555 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
8557         [BZ #19367]
8558         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
8559         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
8560         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
8561         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
8562         (index_Prefer_MAP_32BIT_EXEC): Likewise.
8564 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
8566         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
8567         Silvermont optimizations for Knights Landing.
8569 2015-12-15  Andreas Schwab  <schwab@suse.de>
8571         [BZ #17197]
8572         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
8573         immediately after emitting SI.
8574         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
8575         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
8576         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
8577         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
8578         * iconvdata/bug-iconv10.c: New file.
8579         * iconvdata/Makefile (tests): Add bug-iconv10.
8580         ($(objpfx)bug-iconv10.out): New rule.
8582 2015-12-15  Florian Weimer  <fweimer@redhat.com>
8584         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
8585         aliasing violation.
8587 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
8589         [BZ #18472]
8590         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
8591         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
8592         conditionals for them.
8593         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
8594         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
8595         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
8596         sys/kdaemon.h.
8597         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
8598         compat-only syscall, obsoleted in glibc 2.23.
8599         (create_module): Likewise.
8600         (get_kernel_syms): Likewise.
8601         (query_module): Likewise.
8602         (uselib): Likewise.
8603         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
8605 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
8607         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
8608         <linux/version.h>.
8609         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
8610         conditional code.
8611         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
8612         and ioshift_name initialization.
8614 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8616         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
8617         Fix indentation.
8619 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8621         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
8623 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8625         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
8627 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
8628             Jakub Wilk  <jwilk@debian.org>
8630         [BZ #19347]
8631         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
8632         to change the group of the device to the tty group.
8634 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
8636         Split large string section; add truncation advice
8637         * manual/examples/strncat.c: Remove.
8638         This example was misleading, as the code would have undefined
8639         behavior if "hello" was longer than SIZE.  Anyway, the manual
8640         shouldn't encourage strncpy+strncat for this sort of thing.
8641         * manual/string.texi (Copying Strings and Arrays): Split into
8642         three sections Copying Strings and Arrays, Concatenating Strings,
8643         and Truncating Strings, as this section was way too long.  All
8644         cross-referenced changed.  Add advice about string-truncation
8645         functions.  Remove misleading strncat example.
8647 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
8649         * manual/nss.texi (NSS Modules Interface): Document
8650         NSS_STATUS_NOTFOUND and SUCCESS.
8652 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
8654         [BZ 18568]
8655         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8656         201505L, for Unicode 8.
8658 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
8660         * locale/C-translit.h: Regenerate.
8662 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
8664         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
8665         and U+0153.
8667 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
8669         [BZ #19351]
8670         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
8671         expanding log(1+z), compare z rather than its square with epsilon
8672         to determine when to avoid evaluating the expansion.
8674         [BZ #19350]
8675         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
8676         Increase overflow threshold.
8678         [BZ #19349]
8679         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
8680         when small.
8682         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8683         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
8684         New macro.
8685         [__LINUX_KERNEL_VERSION >= 0x040300]
8686         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8687         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
8688         Likewise.
8689         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
8690         Likewise.
8691         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
8692         Likewise.
8693         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
8694         Likewise.
8695         [__LINUX_KERNEL_VERSION >= 0x040300]
8696         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
8697         [__LINUX_KERNEL_VERSION >= 0x040300]
8698         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8699         [__LINUX_KERNEL_VERSION >= 0x040300]
8700         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8701         [__LINUX_KERNEL_VERSION >= 0x040300]
8702         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8703         [__LINUX_KERNEL_VERSION >= 0x040300]
8704         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8705         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
8706         Likewise.
8707         [__LINUX_KERNEL_VERSION >= 0x040300]
8708         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
8709         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8710         Likewise.
8711         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
8712         Likewise.
8713         [__LINUX_KERNEL_VERSION >= 0x040300]
8714         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
8715         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8716         Likewise.
8717         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
8718         Likewise.
8719         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8720         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
8721         Likewise.
8722         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
8723         Likewise.
8724         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
8725         Likewise.
8726         [__LINUX_KERNEL_VERSION >= 0x040300]
8727         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8728         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
8729         Likewise.
8730         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
8731         Likewise.
8732         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
8733         Likewise.
8734         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
8735         Likewise.
8736         [__LINUX_KERNEL_VERSION >= 0x040300]
8737         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
8738         [__LINUX_KERNEL_VERSION >= 0x040300]
8739         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8740         [__LINUX_KERNEL_VERSION >= 0x040300]
8741         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8742         [__LINUX_KERNEL_VERSION >= 0x040300]
8743         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8744         [__LINUX_KERNEL_VERSION >= 0x040300]
8745         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8746         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
8747         Likewise.
8748         [__LINUX_KERNEL_VERSION >= 0x040300]
8749         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
8750         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8751         Likewise.
8752         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
8753         Likewise.
8754         [__LINUX_KERNEL_VERSION >= 0x040300]
8755         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
8756         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8757         Likewise.
8758         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
8759         Likewise.
8760         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8761         (__ASSUME_SOCKET_SYSCALL): Likewise.
8762         (__ASSUME_BIND_SYSCALL): Likewise.
8763         (__ASSUME_CONNECT_SYSCALL): Likewise.
8764         (__ASSUME_LISTEN_SYSCALL): Likewise.
8765         (__ASSUME_ACCEPT_SYSCALL): Likewise.
8766         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8767         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8768         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8769         (__ASSUME_SEND_SYSCALL): Likewise.
8770         (__ASSUME_SENDTO_SYSCALL): Likewise.
8771         (__ASSUME_RECV_SYSCALL): Likewise.
8772         (__ASSUME_RECVFROM_SYSCALL): Likewise.
8773         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
8774         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8775         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8776         (__ASSUME_SENDMSG_SYSCALL): Likewise.
8777         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8778         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8779         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
8780         Likewise.
8781         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
8782         Likewise.
8783         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
8784         Likewise.
8785         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
8786         Likewise.
8787         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
8788         Likewise.
8789         [__LINUX_KERNEL_VERSION >= 0x020625]
8790         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8791         [__LINUX_KERNEL_VERSION >= 0x020625]
8792         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8793         [__LINUX_KERNEL_VERSION >= 0x020625]
8794         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8795         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
8796         Likewise.
8797         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
8798         Likewise.
8799         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
8800         Likewise.
8801         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
8802         Likewise.
8803         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
8804         Likewise.
8805         [__LINUX_KERNEL_VERSION >= 0x020625]
8806         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8807         [__LINUX_KERNEL_VERSION >= 0x020625]
8808         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8809         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
8810         Likewise.
8811         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
8812         Likewise.
8814 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
8816         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
8817         record the current if the current ABI and CPU support the FP64
8818         extension.
8819         (has-modd-spreg): Define to record the current if the current ABI and
8820         CPU support 32-bit floating point values in odd FPU registers.
8821         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8822         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
8823         $(has-modd-spreg) equals yes.
8824         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
8825         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
8826         $(has-modd-spreg) equal yes.
8828 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
8830         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
8831         basename.
8833 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
8835         * benchtests/Makefile (bench-math): Move ffs and ffsll...
8836         (bench-string): ... here.
8837         (bench): Add bench-string.
8838         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
8839         to *-benchset to reflect what they are.
8840         (benchset): Adjust.
8842         * benchtests/sincos-inputs: Add inputs from sin-inputs and
8843         cos-inputs.
8845 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
8847         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
8848         __attribute__ ((__simd__)) for vector math function declarations.
8850 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
8852         Fix typo in strncat, wcsncat manual entries
8853         * manual/string.texi (Copying and Concatenation): Fix typos in
8854         sample implementations of strncat and wcsncat, by having them use
8855         the old value of the destination length, not the new one.
8857 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
8859         [BZ #16961]
8860         [BZ #16962]
8861         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
8862         string on the stack for strtod.
8863         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
8864         a string on the stack for strtof.
8865         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
8866         constructing a string on the stack for strtold.
8867         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
8868         __strtold_nan to GLIBC_PRIVATE.
8869         * math/test-nan-overflow.c: New file.
8870         * math/test-nan-payload.c: Likewise.
8871         * math/Makefile (tests): Add test-nan-overflow and
8872         test-nan-payload.
8874 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
8876         Consistency about byte vs character in string.texi
8877         * manual/string.texi (String and Array Utilities):
8878         Distinguish more carefully among bytes, multibyte characters,
8879         and wide characters.  Use "byte" when talking about C 'char',
8880         to distinguish it more clearly from multibyte characters.
8881         Say "wide character" or "multibyte character" instead of
8882         "character", when a wide or multibyte character is intended.
8883         Similarly for "multibyte string" versus "string".
8884         Define these terms more carefully.
8886 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
8888         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
8889         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
8890         Likewise.
8891         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
8892         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
8893         * sysdeps/sh/math_private.h: New file.
8894         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
8895         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
8896         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
8897         long double function name.
8898         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8899         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8900         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8901         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8902         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8903         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
8904         Remove __finitel, __isinfl, and __isnanl.
8905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8906         Likewise.
8907         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8908         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8909         Remove __finitel.
8910         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8911         Likewise.
8912         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8914 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
8916         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
8917         installed libmvec_nonshared.a.
8919 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8921         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
8922         (sysdep_routines): Likewise.
8923         (sysdep-rtld-routines): Likewise.
8924         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
8925         [$(subdir) = nptl](tests-static): test-get_hwcap-static
8926         * sysdeps/powerpc/Versions: Added new
8927         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
8928         * sysdeps/powerpc/hwcapinfo.c: New file.
8929         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
8930         and parse hwcap, hwcap2 and platform number information.
8931         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
8932         to store HWCAP+HWCAP2 and platform number.
8933         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
8934         for HWCAP+HWCAP2 and platform number in the TCB.
8935         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
8936         the HWCAP, HWCAP2 and platform number in the TCB.
8937         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
8938         (TLS_INIT_TP): Included calls to add the hwcap and
8939         at_platform values in the TCB in TP initialization.
8940         (TLS_DEFINE_INIT_TP): Likewise.
8941         (THREAD_GET_HWCAP): New macro.
8942         (THREAD_SET_HWCAP): Likewise.
8943         (THREAD_GET_AT_PLATFORM): Likewise.
8944         (THREAD_SET_AT_PLATFORM): Likewise.
8945         * sysdeps/powerpc/powerpc32/dl-machine.h:
8946         (dl_platform_init): New function that calls
8947         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
8948         powerpc32.
8949         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
8950         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
8951         this functionality, static linking case.
8952         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
8953         linking case.
8954         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
8955         __parse_hwcap_and_convert_at_platform for the static linking case.
8956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
8957         Included the new __parse_hwcap_and_convert_at_platform symbol in the
8958         ABI list for GLIBC 2.23.
8959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
8960         Likewise.
8961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
8962         Likewise.
8964 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
8966         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
8967         * configure: Regenerate.
8968         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
8969         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
8971 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
8973         * iconvdata/ibm930.c: Add comment explaining encoding uses.
8974         * iconvdata/ibm933.c: Likewise.
8975         * iconvdata/ibm935.c: Likewise.
8976         * iconvdata/ibm937.c: Likewise.
8977         * iconvdata/ibm939.c: Likewise.
8979 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8981         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
8982         pthread_join.
8983         * nptl/tst-cancel21.c (tf): Likewise.
8985 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
8987         [BZ #19313]
8988         * bits/typesizes.h (__CPU_MASK_TYPE): New.
8989         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
8990         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
8991         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
8992         Likewise.
8993         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
8994         Likewise.
8995         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
8996         Likewise.
8997         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
8998         Likewise.
8999         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
9000         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
9001         unsigned long int with __CPU_MASK_TYPE.
9003 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9005         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9007 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
9009         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
9010         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
9011         t512.x.
9012         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
9014 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
9016         [BZ #19214]
9017         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
9018         argument to return extended model.  Update family and model
9019         with extended family and model when family == 0x0f.
9020         (init_cpu_features): Updated.
9022 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9024         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
9025         signed off_t, so 32bit bigger than 2GiB values are fine actually.
9027         * sysdeps/mach/hurd/mmap64.c: New file.
9029 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
9031         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
9032         rights for its main user thread in NEWTASK.
9034 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
9036         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
9037         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
9039 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
9041         [BZ #14259]
9042         * Makeconfig: Rename localedir to complocaledir.
9043         Rename inst_localedir to inst_complocaledir.
9044         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
9045         * config.make.in: Use complocaledir and libc_cv_complocaledir.
9046         * configure.ac: Use libc_cv_complocaledir.
9047         * configure: Regenerate.
9048         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
9049         -DCOMPLOCALEDIR.
9050         * locale/findlocale.c: Use COMPLOCALEDIR.
9051         * locale/loadarchive.c: Likewise.
9052         * locale/programs/locale.c: Likewise.
9053         * locale/programs/localedef.c: Likewise.
9054         * locale/programs/locarchive.c: Likewise.
9055         * localedata/Makefile: Use inst_complocaledir.
9056         * sysdeps/gnu/configure: Regenerate.
9057         * sysdeps/hppa/configure: Regenerate.
9058         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
9059         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9061         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
9062         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
9063         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
9064         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
9066 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
9068         [BZ #19058]
9069         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
9070         AS_NEEDED.
9071         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
9072         workaround.
9073         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
9074         libmvec-static-only-routines): Added new file.
9075         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
9077 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9079         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
9080         of interrupted RPC instead of restoring it.
9082         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
9083         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
9084         libc_hidden_def.
9085         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
9086         into initialized data instead of common. Define rtld_hidden_data_def.
9087         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
9088         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
9089         libc_hidden_def.
9090         (if_freenameindex): Add libc_hidden_weak.
9091         (if_nameindex): Add libc_hidden_weak.
9092         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
9093         __open64.
9094         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
9095         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
9096         * sysdeps/mach/nanosleep.c: Include <time.h>
9097         (__nanosleep): Rename to __libc_nanosleep.
9098         (__nanosleep): Add weak_alias.
9099         (nanosleep): Update alias.
9101 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
9103         * stdlib/strtod_nan.c: New file.
9104         * stdlib/strtod_nan_double.h: Likewise.
9105         * stdlib/strtod_nan_float.h: Likewise.
9106         * stdlib/strtod_nan_main.c: Likewise.
9107         * stdlib/strtod_nan_narrow.h: Likewise.
9108         * stdlib/strtod_nan_wide.h: Likewise.
9109         * stdlib/strtof_nan.c: Likewise.
9110         * stdlib/strtold_nan.c: Likewise.
9111         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
9112         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
9113         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
9114         * wcsmbs/wcstod_nan.c: Likewise.
9115         * wcsmbs/wcstof_nan.c: Likewise.
9116         * wcsmbs/wcstold_nan.c: Likewise.
9117         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
9118         strtold_nan.
9119         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
9120         wcstof_nan.
9121         * include/stdlib.h (__strtof_nan): Declare and use
9122         libc_hidden_proto.
9123         (__strtod_nan): Likewise.
9124         (__strtold_nan): Likewise.
9125         (__wcstof_nan): Likewise.
9126         (__wcstod_nan): Likewise.
9127         (__wcstold_nan): Likewise.
9128         * include/wchar.h (____wcstoull_l_internal): Declare.
9129         * stdlib/strtod_l.c: Do not include <ieee754.h>.
9130         (____strtoull_l_internal): Remove declaration.
9131         (STRTOF_NAN): Define macro.
9132         (SET_MANTISSA): Remove macro.
9133         (STRTOULL): Likewise.
9134         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
9135         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
9136         (STRTOF_NAN): Define macro.
9137         (SET_MANTISSA): Remove macro.
9138         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
9139         (SET_MANTISSA): Remove macro.
9140         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
9141         macro.
9142         (SET_MANTISSA): Remove macro.
9143         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
9144         macro.
9145         (SET_MANTISSA): Remove macro.
9146         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
9147         (SET_MANTISSA): Remove macro.
9148         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
9149         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
9150         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
9152         [BZ #19266]
9153         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
9154         upper case and lower case letters inside NAN(), not using TOLOWER.
9155         * stdlib/tst-strtod-nan-locale-main.c: New file.
9156         * stdlib/tst-strtod-nan-locale.c: Likewise.
9157         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
9158         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
9159         Depend on $(gen-locales).
9160         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
9161         * wcsmbs/tst-wcstod-nan-locale.c: New file.
9162         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
9163         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
9164         Depend on $(gen-locales).
9165         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
9167 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
9169         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
9171         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9172         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
9173         __finitel, __isinfl, and __isnanl.
9174         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9175         Likewise.
9176         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
9178         __finitel.
9179         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9180         Likewise.
9181         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9183 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
9185         * malloc/memusage.c (me): Remove redundant getenv call.
9187 2015-10-24  Florian Weimer  <fweimer@redhat.com>
9189         [BZ #19143]
9190         [BZ #19164]
9191         * nptl/check-cpuset.h: Remove.
9192         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
9193         Remove CPU set size check.
9194         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
9195         Likewise.
9196         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
9197         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
9198         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
9199         (__pthread_setaffinity_new): Remove CPU set size check.
9200         * sysdeps/unix/sysv/linux/sched_setaffinity.c
9201         (__kernel_cpumask_size): Remove.
9202         (__sched_setaffinity_new): Remove CPU set size check.
9203         * manual/threads.texi (Default Thread Attributes): Remove stale
9204         reference to check_cpuset_attr, determine_cpumask_size in comment.
9205         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
9206         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
9207         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
9208         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
9209         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
9210         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
9211         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
9212         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
9213         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
9214         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
9215         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
9216         skeleton test file.
9217         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
9218         tst-affinity-pid.
9220 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9222         * scripts/update-abilist.sh: New file.
9223         * Makefile (+subdir_targets): Add subdir_update-all-abi.
9224         * Makerules (update-all-abi-%, update-all-abi)
9225         (subdir_update-all-abi): New targets.
9226         * elf/Makefile (update-all-abi): New target.
9228 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9230         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
9231         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
9232         (__libc_lock_define_initialized): Use it.
9233         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
9234         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
9235         * malloc/malloc.c (main_arena): Likewise.
9236         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9237         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9239 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
9241         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9242         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
9243         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9244         (PTRACE_O_MASK): Update value.
9245         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
9246         New value in enum __ptrace_setoptions.
9247         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9248         (PTRACE_O_MASK): Update value.
9249         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9250         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9251         (PTRACE_O_MASK): Update value.
9252         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
9253         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9254         (PTRACE_O_MASK): Update value.
9255         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
9256         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9257         (PTRACE_O_MASK): Update value.
9258         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
9259         New value in enum __ptrace_setoptions.
9260         (PTRACE_O_MASK): Update value.
9261         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
9262         New value in enum __ptrace_setoptions.
9263         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9264         (PTRACE_O_MASK): Update value.
9266         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
9267         New macro.
9268         (PACKET_AUXDATA): Likewise.
9269         (PACKET_ORIGDEV): Likewise.
9270         (PACKET_VERSION): Likewise.
9271         (PACKET_HDRLEN): Likewise.
9272         (PACKET_RESERVE): Likewise.
9273         (PACKET_TX_RING): Likewise.
9274         (PACKET_LOSS): Likewise.
9275         (PACKET_VNET_HDR): Likewise.
9276         (PACKET_TX_TIMESTAMP): Likewise.
9277         (PACKET_TIMESTAMP): Likewise.
9278         (PACKET_FANOUT): Likewise.
9279         (PACKET_TX_HAS_OFF): Likewise.
9280         (PACKET_QDISC_BYPASS): Likewise.
9281         (PACKET_ROLLOVER_STATS): Likewise.
9282         (PACKET_FANOUT_DATA): Likewise.
9283         (PACKET_MR_UNICAST): Likewise.
9285         [BZ #19242]
9286         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
9287         (TOUPPER): Likewise.
9288         * stdlib/tst-strtol-locale-main.c: New file.
9289         * stdlib/tst-strtol-locale.c: Likewise.
9290         * stdlib/Makefile (tests): Add tst-strtol-locale.
9291         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
9292         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
9293         Depend on $(gen-locales).
9294         * wcsmbs/tst-wcstol-locale.c: New file.
9295         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
9296         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
9297         tr_TR.ISO-8859-9.
9298         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
9299         Depend on $(gen-locales).
9301 2015-11-20  Roland McGrath  <roland@hack.frob.com>
9303         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
9304         __glibc_likely instead of __builtin_expect.  After falling back to
9305         dyncode_create in a non-ET_DYN case, use the allocate_code_data
9306         system interface to register the code pages as occupied.
9308 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
9310         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9311         [!ARM_MATH_PRIVATE_H].
9312         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
9313         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9314         [!HPPA_MATH_PRIVATE_H].
9315         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
9316         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
9317         to [!I386_MATH_PRIVATE_H].
9318         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
9319         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
9320         Change guard to [!M68K_MATH_PRIVATE_H].
9321         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
9322         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
9323         guard to [!MICROBLAZE_MATH_PRIVATE_H].
9324         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
9325         macro.
9326         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9327         [!MIPS_MATH_PRIVATE_H].
9328         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
9329         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9330         [!NIO2_MATH_PRIVATE_H].
9331         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
9332         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9333         [!TILE_MATH_PRIVATE_H].
9334         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
9336         [BZ #15421]
9337         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
9338         initialize with 0 and define as weak alias of __signgam.
9339         * include/math.h [!_ISOMAC] (__signgam): Declare.
9340         * math/Makefile (libm-calls): Add w_lgamma_compat.
9341         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
9342         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
9343         test-signgam-ullong-init.
9344         (tests-static): Add test-signgam-uchar-static,
9345         test-signgam-uchar-init-static, test-signgam-uint-static,
9346         test-signgam-uint-init-static, test-signgam-ullong-static and
9347         test-signgam-ullong-init-static.
9348         (CFLAGS-test-signgam-uchar.c): New variable.
9349         (CFLAGS-test-signgam-uchar-init.c): Likewise.
9350         (CFLAGS-test-signgam-uchar-static.c): Likewise.
9351         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
9352         (CFLAGS-test-signgam-uint.c): Likewise.
9353         (CFLAGS-test-signgam-uint-init.c): Likewise.
9354         (CFLAGS-test-signgam-uint-static.c): Likewise.
9355         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
9356         (CFLAGS-test-signgam-ullong.c): Likewise.
9357         (CFLAGS-test-signgam-ullong-init.c): Likewise.
9358         (CFLAGS-test-signgam-ullong-static.c): Likewise.
9359         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
9360         * math/Versions (libm): Add GLIBC_2.23.
9361         * math/lgamma-compat.h: New file.
9362         * math/test-signgam-main.c: Likewise.
9363         * math/test-signgam-uchar-init-static.c: Likewise.
9364         * math/test-signgam-uchar-init.c: Likewise.
9365         * math/test-signgam-uchar-static.c: Likewise.
9366         * math/test-signgam-uchar.c: Likewise.
9367         * math/test-signgam-uint-init-static.c: Likewise.
9368         * math/test-signgam-uint-init.c: Likewise.
9369         * math/test-signgam-uint-static.c: Likewise.
9370         * math/test-signgam-uint.c: Likewise.
9371         * math/test-signgam-ullong-init-static.c: Likewise.
9372         * math/test-signgam-ullong-init.c: Likewise.
9373         * math/test-signgam-ullong-static.c: Likewise.
9374         * math/test-signgam-ullong.c: Likewise.
9375         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
9376         wrapper of w_lgamma_main.c.
9377         * math/w_lgamma_compat.c: New file.
9378         * math/w_lgamma_compatf.c: Likewise.
9379         * math/w_lgamma_compatl.c: Likewise.
9380         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
9381         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9382         defining compatibility symbols.
9383         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
9384         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
9385         wrapper of w_lgammaf_main.c.
9386         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
9387         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9388         defining compatibility symbols.
9389         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
9390         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
9391         wrapper of w_lgammal_main.c.
9392         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
9393         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9394         defining compatibility symbols.
9395         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
9396         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
9397         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
9398         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
9399         <lgamma-compat.h>.
9400         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
9401         (__ieee754_gamma): Define as alias.
9402         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
9403         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
9404         <lgamma-compat.h>.
9405         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
9406         (__ieee754_gammaf): Define as alias.
9407         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
9408         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
9409         <lgamma-compat.h>.
9410         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
9411         (__ieee754_gammal): Define as alias.
9412         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
9413         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
9414         <math/w_lgamma_compat.c>.
9415         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
9416         Define as alias of __lgamma_compat and use in defining lgammal.
9417         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
9418         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
9419         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
9420         (USE_AS_COMPAT): New macro.
9421         (LGAMMA_OLD_VER): Undefine and redefine.
9422         (lgammal): Do not define here.
9423         (gammal): Only define here if [GAMMA_ALIAS].
9424         * conform/linknamespace.pl (@whitelist): Remove signgam.
9425         * sysdeps/nacl/libm.abilist: Update.
9426         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9427         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9428         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9429         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9430         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9431         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9432         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9433         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9434         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9435         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9436         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9437         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9439         Likewise.
9440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9441         Likewise.
9442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9443         Likewise.
9444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9445         Likewise.
9446         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9447         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9448         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9449         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9450         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9452         Likewise.
9453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9454         Likewise.
9455         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9456         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9457         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9459 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9461         [BZ #16364]
9462         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
9463         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
9465 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9467         * sysdeps/s390/fpu/bits/mathinline.h:
9468         Use __asm__ [__volatile__] instead of asm [volatile].
9469         * sysdeps/s390/abort-instr.h: Likewise.
9470         * sysdeps/s390/atomic-machine.h: Likewise.
9471         * sysdeps/s390/bits/string.h: Likewise.
9472         * sysdeps/s390/dl-tls.h: Likewise.
9473         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9474         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9475         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9476         * sysdeps/s390/fpu/fesetround.c: Likewise.
9477         * sysdeps/s390/fpu/fpu_control.h: Likewise.
9478         * sysdeps/s390/fpu/s_fma.c: Likewise.
9479         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
9480         * sysdeps/s390/memusage.h: Likewise.
9481         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
9482         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
9483         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
9484         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
9485         * sysdeps/s390/nptl/tls.h: Likewise.
9486         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
9487         * sysdeps/s390/s390-32/backtrace.c: Likewise.
9488         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9489         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
9490         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9491         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9492         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
9493         * sysdeps/s390/s390-64/backtrace.c: Likewise.
9494         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9495         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
9496         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
9497         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9498         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9499         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
9500         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9501         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9502         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
9503         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9504         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
9505         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9506         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
9507         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9508         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
9510 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9511             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9513         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
9514         Add lwarx hint, and use macro for acquire instruction.
9515         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9516         Likewise.
9517         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
9518         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
9519         update to use new atomic macros.
9521 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9523         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9524         (__lll_trylock_elision): Fix setting of adapt_count.
9525         * sysdeps/unix/sysv/linux/powerpc/htm.h
9526         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
9527         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
9528         (_ABORT_SYSCALL): Renumber, and clarify definition.
9529         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
9531 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9533         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
9534         after system headers to prevent MIN/MAX redefinition.  Define
9535         HAVE_ALLOCA to preserve builtin alloca usage.
9537 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
9539         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
9540         static and don't set or restore rounding.
9541         (__cos)[IN_SINCOS]: Likewise.
9542         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
9543         (__sincos): Set and restore rounding mode.  Remove check for infinite
9544         or NaN input.
9546         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
9548         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
9549         as used.
9551 2015-11-16  Florian Weimer  <fweimer@redhat.com>
9553         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
9555 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
9557         * config.make.in (have-glob-dat-reloc): New.
9558         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
9559         target supports GLOB_DAT relocaton. AC_SUBST.
9560         * configure: Regenerated.
9561         * elf/Makefile (tests): Add tst-prelink.
9562         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
9563         (tst-prelink-ENV): New.
9564         ($(objpfx)tst-prelink-conflict.out): Likewise.
9565         ($(objpfx)tst-prelink-cmp.out): Likewise.
9566         * sysdeps/x86/tst-prelink.c: Moved to ...
9567         * elf/tst-prelink.c: Here.
9568         * sysdeps/x86/tst-prelink.exp: Moved to ...
9569         * elf/tst-prelink.exp: Here.
9570         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
9571         (tst-prelink-ENV): Removed.
9572         ($(objpfx)tst-prelink-conflict.out): Likewise.
9573         ($(objpfx)tst-prelink-cmp.out): Likewise.
9574         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
9576 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
9578         [BZ #14551]
9579         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
9580         (__mpn_construct_long_double): If high part overflows to infinity,
9581         set errno and recompute overflowed result of the correct sign.
9582         * sysdeps/ieee754/ldbl-128ibm/Makefile
9583         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
9584         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
9585         $(libm).
9586         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
9588 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
9590         [BZ #15479]
9591         [BZ #19238]
9592         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
9593         floating-point state after first operation on input.  Restore full
9594         state rather than just rounding mode.
9595         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
9596         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
9597         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
9599         [BZ #19235]
9600         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
9601         add 0.5 to integer arguments.
9602         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
9603         Likewise.
9604         (.LC2): New object.
9606 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
9608         * scripts/pylintrc (reports): Set to no.
9610 2015-11-10  Roland McGrath  <roland@hack.frob.com>
9612         * elf/dl-load.c (open_verify): Take new argument FD.
9613         Skip __open call if passed FD is not -1.
9614         (_dl_map_object, open_path): Update callers.
9615         * elf/dl-sysdep-open.h: New file.
9616         * elf/dl-load.c: Include it.
9617         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
9618         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
9619         * sysdeps/nacl/dl-sysdep-open.h: New file.
9620         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
9621         from libc to rtld.
9623 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
9625         [BZ #19228]
9626         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
9627         and restore full floating-point state.
9628         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9629         Likewise.
9630         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
9631         Likewise.
9632         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
9633         Likewise.
9634         * math/test-nearbyint-except-2.c: New file.
9635         * math/Makefile (tests): Add test-nearbyint-except-2.
9637 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
9639         [BZ #19178]
9640         * sysdeps/x86/Makefile (tests): Add tst-prelink.
9641         (tst-prelink-ENV): New.
9642         ($(objpfx)tst-prelink-conflict.out): Likewise.
9643         ($(objpfx)tst-prelink-cmp.out): Likewise.
9644         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
9645         * sysdeps/x86/tst-prelink.c: New file.
9646         * sysdeps/x86/tst-prelink.exp: Likewise.
9648 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
9650         * math/auto-libm-test-in: Add another test of pow.
9651         * math/auto-libm-test-out: Regenerated.
9652         * math/libm-test.inc (pow_test_data): Add another test.
9654 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9656         [BZ #19219]
9657         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
9658         weak_alias to nearbyintl.
9660 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
9662         * sysdeps/aarch64/bits/string.h: New file.
9663         (_STRING_ARCH_unaligned): Define.
9665 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
9667         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
9668         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9669         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9670         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
9671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
9673 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
9675         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
9676         for original name of the DSO.  Add it to the name list of the DSO
9677         if it is actually given.
9678         (_dl_map_object): Keep track of whether an audit module rewrote
9679         the file name.  If yes, pass the original name to
9680         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
9681         debugging is enabled, log the change of the file name.
9682         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
9683         _dl_map_object_from_fd.
9684         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
9685         * elf/tst-audit11.c: New file
9686         * elf/tst-auditmod11.c: New file.
9687         * elf/tst-audit11mod1.c: New file.
9688         * elf/tst-audit11mod2.c: New file.
9689         * elf/tst-audit11mod2.map: New file.
9690         * elf/tst-audit12.c: New file
9691         * elf/tst-auditmod12.c: New file.
9692         * elf/tst-audit12mod1.c: New file.
9693         * elf/tst-audit12mod2.c: New file.
9694         * elf/tst-audit12mod2.map: New file.
9695         * elf/tst-audit12mod3.c: New file.
9697 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
9699         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
9700         Don't create weak aliases,
9701         because versioned symbols are created later.
9702         * sysdeps/s390/s390-32/setjmp.S
9703         (setjmp, _setjmp): Remove weak and rename to an unique name
9704         in SHARED case due to existing versioned symbols.
9705         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9706         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
9707         (getcontext): Create weak alias only in non SHARED case.
9708         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9710 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
9712         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
9713         (__ASSUME_*_SYSCALL) Define new macros.
9714         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
9715         Remove socketcall syscalls.
9716         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
9717         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
9718         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
9719         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
9720         * sysdeps/unix/sysv/linux/send.c (__libc_send):
9721         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
9723 2015-11-09  Florian Weimer  <fweimer@redhat.com>
9725         [BZ #12926]
9726         Terminate process on invalid netlink response.
9727         * sysdeps/unix/sysv/linux/netlinkaccess.h
9728         (__netlink_assert_response): Declare.
9729         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
9730         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
9731         (sysdep_routines): Add netlink_assert_response.
9732         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
9733         __netlink_assert_response.
9734         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
9735         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
9736         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
9737         __netlink_assert_response.
9739 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
9741         [BZ #19178]
9742         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
9743         (RTYPE_CLASS_PLT): Likewise.
9744         (RTYPE_CLASS_COPY): Likewise.
9745         (RTYPE_CLASS_TLS): Likewise.
9746         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
9747         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
9748         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
9749         DL_DEBUG_PRELINK.
9751 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
9753         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
9754         calls with argument -0.5.
9755         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
9757         * configure.ac (libc_cv_z_nodelete): Remove configure test.
9758         (libc_cv_z_nodlopen): Likewise.
9759         (libc_cv_z_initfirst): Likewise.
9760         * configure: Regenerated.
9762 2015-11-06  Florian Weimer  <fweimer@redhat.com>
9764         Simplify abilist format to be line-based.
9765         * scripts/abilist.awk: Collect descriptors in the descs variable.
9766         (emit): Write descs variable and sort it
9767         externally, with sort.
9768         * sysdeps/**/*.abilist: Convert to new format.
9770 2015-11-06  Mark Wielaard  <mjw@redhat.com>
9772         [BZ #11460]
9773         * io/Makefile (routines): Add fts64.
9774         (tests): Add tst-fts and tst-fts-lfs.
9775         (CFLAGS-fts64.c): New.
9776         * io/Versions (GLIBC_2.23): New.
9777         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
9778         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
9779         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
9780         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
9781         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
9782         (FTSENT64): Likewise.
9783         (fts64_children): Likewise.
9784         (fts64_close): Likewise.
9785         (fts64_open): Likewise.
9786         (fts64_read): Likewise.
9787         (fts64_set): Likewise.
9788         * io/fts64.c: New file.
9789         * io/tst-fts.c: New test.
9790         * io/tst-fts-lfs.c: Likewise.
9791         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
9792         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
9793         fts64_set.
9794         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9795         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9796         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9797         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9798         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9799         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9800         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9801         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9802         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9803         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9804         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9805         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9806         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9808         Likewise.
9809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9810         Likewise.
9811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9813         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9814         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9815         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9816         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9817         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9820         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9821         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9822         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9823         * sysdeps/wordsize-64/fts.c: New file.
9824         * sysdeps/wordsize-64/fts64.c: Likewise.
9825         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
9826         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
9827         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
9828         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
9830 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
9832         * math/libm-test.inc (NON_FINITE): New macro.
9833         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
9834         * math/gen-libm-test.pl (show_exceptions): Add argument
9835         $non_finite.
9836         (parse_args): Update call to show_exceptions.
9837         * math/test-math-finite.h: New file.
9838         * math/test-math-no-finite.h: Likewise.
9839         * math/test-double-finite.c: Likewise.
9840         * math/test-float-finite.c: Likewise.
9841         * math/test-ldouble-finite.c: Likewise.
9842         * math/test-double.c: Include "test-math-no-finite.h".
9843         * math/test-float.c: Include "test-math-no-finite.h".
9844         * math/test-ldouble.c: Include "test-math-no-finite.h".
9845         * math/test-math-inline.h (TEST_FINITE): New macro.
9846         * math/test-math-vector.h (TEST_FINITE): Likewise.
9847         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
9848         (libm-tests): Add test-float-finite and test-double-finite.
9849         ($(objpfx)test-float-finite.o): New dependency on
9850         $(objpfx)libm-test.stmp.
9851         ($(objpfx)test-double-finite.o): Likewise.
9852         ($(objpfx)test-ldouble-finite.o): Likewise.
9853         (libm-test-no-inline-cflags): New variable.
9854         (libm-test-finite-cflags): Likewise.
9855         (CFLAGS-test-float-finite.c): Likewise.
9856         (CFLAGS-test-double-finite.c): Likewise.
9857         (CFLAGS-test-ldouble-finite.c): Likewise.
9858         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
9859         (CFLAGS-test-double.c): Likewise.
9860         (CFLAGS-test-ldouble.c): Likewise.
9862 2015-11-05  Roland McGrath  <roland@hack.frob.com>
9864         * io/fcntl.c (__fcntl): Add ... to prototype.
9865         * misc/ioctl.c (__ioctl): Likewise.
9866         * misc/syscall.c (syscall): Likewise.
9868 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
9870         * scripts/list-fixed-bugs.py: New file.
9872         [BZ #19213]
9873         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
9874         returned for argument 1.
9875         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
9876         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
9877         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
9878         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
9879         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
9880         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
9882         [BZ #19211]
9883         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
9884         __USE_XOPEN], not if [!__USE_ISOC99].
9885         (lgammaf): Likewise.
9886         (lgammal): Likewise.
9887         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
9888         (gammaf): Likewise.
9889         (gammal): Likewise.
9890         * math/test-signgam-finite-c11.c: New file.
9891         * math/test-signgam-finite-c99.c: Likewise.
9892         * math/test-signgam-finite.c: Likewise.
9893         * math/Makefile (tests): Add test-signgam-finite,
9894         test-signgam-finite-c99 and test-signgam-finite-c11.
9895         (CFLAGS-test-signgam-finite.c): New variable.
9896         (CFLAGS-test-signgam-finite-c99.c): Likewise.
9897         (CFLAGS-test-signgam-finite-c11.c): Likewise.
9899         [BZ #19212]
9900         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
9901         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
9902         500].
9903         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
9904         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
9905         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
9906         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
9907         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
9908         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
9909         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
9910         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
9911         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
9912         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
9914         [BZ #19209]
9915         * math/bits/math-finite.h (ldexp): Remove declaration.
9916         (ldexpf): Likewise.
9917         (ldexpl): Likewise.
9919         [BZ #19205]
9920         * math/bits/math-finite.h (acosf): Condition declaration on
9921         [__USE_ISOC99].
9922         (acosl): Likewise.
9923         (acoshf): Likewise.
9924         (acoshl): Likewise.
9925         (asinf): Likewise.
9926         (asinl): Likewise.
9927         (atan2f): Likewise.
9928         (atan2l): Likewise.
9929         (atanhf): Likewise.
9930         (atanhl): Likewise.
9931         (coshf): Likewise.
9932         (coshl): Likewise.
9933         (expf): Likewise.
9934         (expl): Likewise.
9935         (fmodf): Likewise.
9936         (fmodl): Likewise.
9937         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
9938         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
9939         (j0l): Likewise.
9940         (y0f): Likewise.
9941         (y0l): Likewise.
9942         (j1f): Likewise.
9943         (j1l): Likewise.
9944         (y1f): Likewise.
9945         (y1l): Likewise.
9946         (jnf): Likewise.
9947         (jnl): Likewise.
9948         (ynf): Likewise.
9949         (ynl): Likewise.
9950         (lgammaf_r): Condition declaration on [__USE_ISOC99].
9951         (lgammal_r): Likewise.
9952         (__lgamma_r_finite): New declaration.
9953         (__lgammaf_r_finite): Likewise.
9954         (__lgammal_r_finite): Likewise.
9955         (lgamma): Use __lgamma_r_finite.
9956         (lgammaf): Condition definition on [__USE_ISOC99].  Use
9957         __lgammaf_r_finite.
9958         (lgammal): Condition definition on [__USE_ISOC99].  Use
9959         __lgammal_r_finite.
9960         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
9961         __lgamma_r_finite.
9962         (gammaf): Condition definition on [__USE_ISOC99].  Use
9963         __lgammaf_r_finite.
9964         (gammal): Condition definition on [__USE_ISOC99].  Use
9965         __lgammal_r_finite.
9966         (logf): Condition declaration on [__USE_ISOC99].
9967         (logl): Likewise.
9968         (log10f): Likewise.
9969         (log10l): Likewise.
9970         (ldexpf): Likewise.
9971         (ldexpl): Likewise.
9972         (powf): Likewise.
9973         (powl): Likewise.
9974         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
9975         __USE_ISOC99].
9976         (remainderf): Condition declaration on [__USE_ISOC99].
9977         (remainderl): Likewise.
9978         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
9979         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
9980         (scalbl): Likewise.
9981         (sinhf): Condition declaration on [__USE_ISOC99].
9982         (sinhl): Likewise.
9983         (sqrtf): Likewise.
9984         (sqrtl): Likewise.
9986 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
9988         * sysdeps/arm/atomic-machine.h
9989         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
9990         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
9991         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
9992         Remove conditional code.
9993         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
9994         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
9995         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
9996         Change conditional to [__ASSEMBLER__].
9997         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
9998         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
9999         [!__ASSEMBLER__].
10000         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
10001         code.
10002         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
10003         conditional macro definitions.
10004         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
10005         (__arch_compare_and_exchange_val_16_acq): Likewise.
10006         (__arch_compare_and_exchange_val_32_acq): Likewise.
10007         (atomic_exchange_and_add): Likewise.
10008         (atomic_add): Likewise.
10009         (atomic_add_negative): Likewise.
10010         (atomic_add_zero): Likewise.
10011         (atomic_bit_set): Likewise.
10012         (atomic_bit_test_set): Likewise.
10013         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
10014         code unconditional.
10015         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10017         * math/test-math-errno.h: New file.
10018         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
10019         empty.
10020         (TEST_ERRNO): New macro.
10021         (TEST_EXCEPTIONS): Likewise.
10022         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
10023         (TEST_EXCEPTIONS): Likewise.
10024         * math/test-math-vector.h (TEST_ERRNO): Likewise.
10025         * math/test-double.c: Include "test-math-errno.h".
10026         * math/test-float.c: Likewise.
10027         * math/test-ldouble.c: Likewise.
10028         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
10029         code unconditional.
10030         (test_exceptions): Only run code if TEST_EXCEPTIONS.
10031         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
10032         unconditional.
10033         (test_errno): Only run code if TEST_ERRNO.
10034         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
10036 2015-11-04  Florian Weimer  <fweimer@redhat.com>
10038         * nptl/tst-once5.cc: Remove attribution.
10040 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
10042         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
10043         sqrt, tan, tanh, y0, y1 and yn.
10044         * math/auto-libm-test-out: Regenerated.
10045         * math/libm-test.inc (scalb_test_data): Add more tests.
10046         (scalbn_test_data): Likewise.
10047         (scalbln_test_data): Likewise.
10048         (signbit_test_data): Likewise.
10049         (sin_test_data): Likewise.
10050         (sincos_test_data): Likewise.
10051         (sinh_test_data): Likewise.
10052         (sqrt_test_data): Likewise.
10053         (tan_test_data): Likewise.
10054         (tanh_test_data): Likewise.
10055         (tgamma_test_data): Likewise.
10056         (y0_test_data): Likewise.
10057         (y1_test_data): Likewise.
10058         (yn_test_data): Likewise.
10059         (significand_test_data): Likewise.
10060         * sysdeps/i386/fpu/libm-test-ulps: Update.
10062 2015-11-03  David Kastrup  <dak@gnu.org>
10064         [BZ #18604]
10065         * assert/assert.h (assert): Don't macro-expand failed assertion
10066         expression in error message.
10067         * malloc/malloc.c (assert): Likewise.
10069 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
10071         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
10072         test.
10073         * configure: Regenerated.
10075 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
10077         * math/libm-test.inc (modf_test_data): Add more tests.
10078         (nearbyint_test_data): Likewise.
10079         (nextafter_test_data): Likewise.
10080         (nexttoward_test_data): Likewise.
10081         (pow_test_data): Likewise.
10082         (remainder_test_data): Likewise.
10083         (remquo_test_data): Likewise.
10084         (rint_test_data): Likewise.
10086         [BZ #19201]
10087         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10088         Check for zero remainder in case of large exponents and ensure
10089         correct sign of result in that case.
10090         * math/libm-test.inc (remainder_test_data): Add more tests.
10092         [BZ #6799]
10093         * math/s_nextafter.c: Include <errno.h>.
10094         (__nextafter): Set errno on overflow and underflow.
10095         * math/s_nexttowardf.c: Include <errno.h>.
10096         (__nexttowardf): Set errno on overflow and underflow.
10097         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
10098         (__nextafterl): Set errno on overflow and underflow.
10099         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
10100         (__nexttoward): Set errno on overflow and underflow.
10101         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
10102         (__nexttowardf): Set errno on overflow and underflow.
10103         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
10104         (__nextafterf): Set errno on overflow and underflow.
10105         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
10106         (__nextafterl): Set errno on overflow and underflow.
10107         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
10108         (__nexttoward): Set errno on overflow and underflow.
10109         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
10110         (__nexttowardf): Set errno on overflow and underflow.
10111         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
10112         (__nextafterl): Set errno on overflow and underflow.
10113         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
10114         (__nexttoward): Set errno on overflow and underflow.
10115         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
10116         (__nexttowardf): Set errno on overflow and underflow.
10117         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
10118         (__nexttoward): Set errno on overflow and underflow.
10119         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
10120         (__nexttowardf): Set errno on overflow and underflow.
10121         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
10122         (__nldbl_nexttowardf): Set errno on overflow and underflow.
10123         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
10124         (__nextafterl): Set errno on overflow and underflow.
10125         * math/libm-test.inc (nextafter_test_data): Do not allow errno
10126         setting to be missing on overflow.  Add more tests.
10127         (nexttoward_test_data): Likewise.
10129         * configure.ac (libc_cv_initfini_array): Remove configure test.
10130         * configure: Regenerated.
10132 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
10134         [BZ #19189]
10135         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
10136         non-finite argument handle arguments with negative sign.
10138         * math/libm-test.inc (j0_test_data): Do not test sign of zero
10139         result from infinite argument.
10140         (j1_test_data): Likewise.
10141         (jn_test_data): Likewise.
10142         (y0_test_data): Likewise.
10143         (y1_test_data): Likewise.
10144         (yn_test_data): Likewise.
10146         [BZ #16171]
10147         * math/w_remainder.c (drem): Define as weak alias of __remainder.
10148         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
10149         * math/w_remainderf.c (dremf): Define as weak alias of
10150         __remainderf.
10151         * math/w_remainderl.c (dreml): Define as weak alias of
10152         __remainderl.
10153         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
10154         __remainder.
10155         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
10156         __remainderf.
10157         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
10158         __remainderl.
10159         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
10160         weak alias of remainderl.
10161         * sysdeps/ieee754/ldbl-opt/w_remainder.c
10162         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
10163         alias of __remainder.
10164         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
10165         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
10166         strong alias of __remainderl.
10167         (dreml): Use long_double_symbol.
10168         * math/Makefile (libm-calls): Remove w_drem.
10169         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
10170         (CFLAGS-nldbl-drem.c): Remove variable.
10171         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
10172         * math/w_drem.c: Remove file.
10173         * math/w_dremf.c: Likewise.
10174         * math/w_dreml.c: Likewise.
10175         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
10176         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
10177         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
10179         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
10180         * sysdeps/i386/configure: Regenerated.
10181         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
10182         * sysdeps/x86_64/configure: Regenerated.
10184         * configure.ac (libc_cv_asm_protected_directive): Remove configure
10185         test.
10186         (libc_cv_visibility_attribute): Likewise.
10187         (libc_cv_protected_data): Test unconditionally.
10188         (libc_cv_broken_visibility_attribute): Remove configure test.
10189         (libc_cv_have_sdata_section): Test unconditionally.
10190         * configure: Regenerated.
10192         * include/libc-internal.h (libc_max_align_t): Remove typedef.
10193         * include/scratch_buffer.h: Include <stddef.h> instead of
10194         <libc-internal.h>.
10195         (struct scratch_buffer): Use max_align_t instead of
10196         libc_max_align_t.
10198 2015-10-29  Florian Weimer  <fweimer@redhat.com>
10200         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
10201         instead of extend_alloca.  Change control flow to avoid a goto.
10202         Remove assert which is trivially always true.
10204 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10206         [BZ #16068]
10207         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
10208         (FE_ALL_EXCEPT_X86): New macro.
10209         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10210         FE_ALL_EXCEPT.  Ensure precision control is included in
10211         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10212         handle "denormal operand exception" and clear FZ and DAZ bits.
10213         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
10214         (FE_ALL_EXCEPT_X86): New macro.
10215         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10216         FE_ALL_EXCEPT.  Ensure precision control is included in
10217         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10218         handle "denormal operand exception" and clear FZ and DAZ bits.
10219         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
10220         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
10221         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10222         test-fenv-x87 and test-fenv-sse-2.
10223         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
10225         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
10226         * math/test-double.h (BUILD_COMPLEX): New macro.
10227         * math/test-float.h (BUILD_COMPLEX): Likewise.
10228         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
10230         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
10231         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
10232         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
10233         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
10234         instead of DBL_DENORM_MIN in comment.
10235         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
10236         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10237         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
10238         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
10239         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
10240         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10242 2015-10-28  Florian Weimer  <fweimer@redhat.com>
10244         [BZ# 19048]
10245         * malloc/malloc.c (struct malloc_state): Update comment.  Add
10246         attached_threads member.
10247         (main_arena): Initialize attached_threads.
10248         * malloc/arena.c (list_lock): Update comment.
10249         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
10250         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
10251         (deattach_arena): New function.
10252         (_int_new_arena): Initialize arena reference count and deattach
10253         replaced arena.
10254         (get_free_list, reused_arena): Update reference count and deattach
10255         replaced arena.
10256         (arena_thread_freeres): Update arena reference count and only put
10257         unreferenced arenas on the free list.
10259 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10261         [BZ #19181]
10262         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
10263         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
10264         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
10265         * math/test-fenv-clear-main.c: New file.
10266         * math/test-fenv-clear.c: Likewise.
10267         * math/Makefile (tests): Add test-fenv-clear.
10268         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
10269         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10270         test-fenv-clear-sse.
10271         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
10273         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
10274         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
10275         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
10277 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10279         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
10280         static libc.
10282 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10284         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
10285         test.
10286         * sysdeps/i386/configure: Regenerated.
10287         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
10288         test.
10289         * sysdeps/x86_64/configure: Regenerated.
10290         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
10291         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10292         memset-avx2 unconditionally instead of conditionally on
10293         [$(config-cflags-avx2) = yes].
10294         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10295         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
10296         unconditional.
10297         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
10298         * sysdeps/x86_64/multiarch/memset_chk.S
10299         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
10300         to [IS_IN (libc) && SHARED].
10302 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10304         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
10305         configure test.
10306         * sysdeps/arm/configure: Regenerated.
10307         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
10308         Define variable if not already defined.
10310         [BZ #17404]
10311         * sysdeps/mips/atomic-machine.h
10312         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
10313         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
10314         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10316         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
10317         unconditional.
10318         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
10319         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10320         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
10321         unconditional.
10322         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10323         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
10324         unconditional.
10325         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10326         * stdlib/setenv.c
10327         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
10328         code unconditional.
10329         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
10330         Remove conditional code.
10331         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
10332         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
10333         unconditional.
10334         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10335         code.
10336         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
10337         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
10338         unconditional.
10339         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10340         code.
10341         * sysdeps/ieee754/ldbl-128/k_tanl.c
10342         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10343         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10344         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
10345         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10346         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10347         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
10348         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
10349         unconditional.
10350         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10351         code.
10352         * sysdeps/ieee754/ldbl-96/k_tanl.c
10353         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10354         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10356         * nptl/tst-initializers1-c11.c: New file.
10357         * nptl/tst-initializers1-gnu11.c: Likewise.
10358         * nptl/Makefile (tests): Add these new tests.
10359         (CFLAGS-tst-initializers1-c11.c): New variable.
10360         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
10362         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
10363         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
10364         instead of -std=gnu99.
10365         * configure.ac (systemtap): Test with -std=gnu11 instead of
10366         -std=gnu99.
10367         * configure: Regenerated.
10368         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
10369         in compilation command in comment.
10371         * sysdeps/nptl/configure.ac: Remove file.
10372         * sysdeps/nptl/configure: Remove generated file.
10373         * configure.ac (libc_cv_forced_unwind): Do not substitute.
10374         * configure: Regenerated.
10375         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
10376         * config.make.in (have-forced-unwind): Remove variable.
10377         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10378         unconditional.
10379         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
10380         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
10381         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
10382         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
10383         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10384         unconditional.
10386 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10388         [BZ #19174]
10389         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
10390         .skip_lock_out_of_tbegin_retries.
10391         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10392         (__lll_lock_elision): Likewise, and respect a value of
10393         try_tbegin <= 0.
10395 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10397         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
10398         statement.
10400 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10402         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
10403         variable.
10404         (test-xfail-ISO11/stdalign.h/conform): Likewise.
10405         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10407         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
10408         of -std=c1x -D_ISOC11_SOURCE.
10410         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
10411         * configure: Regenerated.
10412         * manual/install.texi (Tools for Compilation): Document
10413         requirement for GCC 4.7 or later.
10414         * INSTALL: Regenerated.
10416 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
10418         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
10419         on CNT to a conditional jump to 'puntdata'.
10421 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10423         * configure.ac (libc_cv_gcc___thread): Remove configure test.
10424         (libc_cv_gcc_tls_model_attr): Likewise.
10425         * configure: Regenerated.
10427         * configure.ac (libc_cv_need_minus_P): Remove configure test.
10428         * configure: Regenerated.
10429         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
10431 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
10433         * configure.ac (old_glibc_headers): Remove configure test.
10434         * configure: Regenerated.
10435         * config.make.in (old-glibc-headers): Remove variable.
10436         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
10437         (install): Remove dependency on remove-old-headers.
10438         (headers2_0): Remove variable.
10439         (remove-old-headers): Remove rule.
10441         * configure.ac (libc_cv_dot_text): Remove configure test.
10442         (libc_cv_asm_set_directive): Use .text instead of
10443         ${libc_cv_dot_text} in configure test.
10444         * configure: Regenerated.
10446 2015-10-26  Florian Weimer  <fweimer@redhat.com>
10448         [BZ #19168]
10449         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10451 2015-10-26  Florian Weimer  <fweimer@redhat.com>
10453         * configure.ac (CXX): Clear the variable if the C++ toolchain does
10454         not support static linking.
10455         * configure: Regenerate.
10457 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
10459         * math/libm-test.inc (check_float_internal): Do not special-case
10460         errors up to 0.5 ulp.
10462         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10463         log2.
10464         * math/auto-libm-test-out: Regenerated.
10465         * math/libm-test.inc (MAX_EXP): New macro.
10466         (ilogb_test_data): Add more tests.
10467         (isfinite_test_data): Likewise.
10468         (isgreater_test_data): Likewise.
10469         (isgreaterequal_test_data): Likewise.
10470         (isinf_test_data): Likewise.
10471         (isless_test_data): Likewise.
10472         (islessequal_test_data): Likewise.
10473         (islessgreater_test_data): Likewise.
10474         (isnan_test_data): Likewise.
10475         (isnormal_test_data): Likewise.
10476         (issignaling_test_data): Likewise.
10477         (isunordered_test_data): Likewise.
10478         (j0_test_data): Likewise.
10479         (j1_test_data): Likewise.
10480         (jn_test_data): Likewise.
10481         (lgamma_test_data): Likewise.
10482         (log_test_data): Likewise.
10483         (log10_test_data): Likewise.
10484         (log1p_test_data): Likewise.
10485         (log2_test_data): Likewise.
10486         (logb_test_data): Likewise.
10487         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10489         [BZ #18611]
10490         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
10491         avoid excess range and precision on underflow.
10492         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10493         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
10494         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10495         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
10496         underflow.
10497         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10498         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10499         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10500         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10501         * math/auto-libm-test-in: Do not allow missing errno setting for
10502         tests of j1 and jn.
10503         * math/auto-libm-test-out: Regenerated.
10505 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
10507         [BZ #15491]
10508         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
10509         floating-point environment instead of clearing all exceptions.
10510         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10511         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
10512         merging in "invalid" exceptions from frndint.
10513         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
10514         * math/test-nearbyint-except.c: New file.
10515         * math/Makefile (tests): Add test-nearbyint-except.
10517 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
10519         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
10521         * sysdeps/tile/libm-test-ulps: Regenerated.
10523 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
10526         (__NR_sync_file_range2): Assume it is always defined.
10527         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
10528         (__NR_sync_file_range): Assume it is always defined.
10530 2015-10-22  Andreas Schwab  <schwab@suse.de>
10532         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
10533         INTERNAL_SYSCALL_ERRNO.
10534         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10535         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
10536         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10537         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
10538         Likewise.
10539         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10541 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10543         * io/tst-fcntl.c (fd): New static variable.
10544         (do_prepare): Open temporary file here....
10545         (do_test): ...not here.
10547         * io/ftwtest-sh: Also trap on exit to remove temporary files.
10549 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
10551         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
10552         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
10553         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
10554         Moved before "#ifdef __ASSEMBLER__".
10556 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10558         [BZ #19156]
10559         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
10560         arguments very close to 0.
10562 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
10564         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
10565         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
10567 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
10569         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
10570         New.  Defined for GCC 5 and above when not compiling for
10571         profiling.
10572         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
10574         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
10575         Renamed to ...
10576         (CFLAGS-epoll_pwait.o): This.
10577         (CFLAGS-mmap.c): Renamed to ...
10578         (CFLAGS-mmap.o): This.
10579         (CFLAGS-mmap64.c): Renamed to ...
10580         (CFLAGS-mmap64.o): This.
10581         (CFLAGS-epoll_pwait.os): New.
10582         (CFLAGS-mmap.os): Likewise.
10583         (CFLAGS-mmap64.os): Likewise.
10584         (CFLAGS-semtimedop.os): Likewise.
10585         (CFLAGS-semtimedop.c): Renamed to ...
10586         (CFLAGS-semtimedop.o): This.
10588 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10590         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
10591         warning message.
10593 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10595         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
10596         * Makefile ($(objpfx)c++-types-check.out): Filter out
10597         $(+gccwarn-c) instead of -Wstrict-prototypes.
10599         * io/fts.c (fts_open): Convert to prototype-style function
10600         definition.
10601         * malloc/mcheck.c (mcheck): Likewise.
10602         (mcheck_pedantic): Likewise.
10603         * posix/regexec.c (re_search_2_stub): Likewise.  Use
10604         internal_function.
10605         (re_search_internal): Likewise.
10606         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
10607         prototype-style function definition.
10608         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10609         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
10610         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
10611         (xdr_utmpptr): Likewise.
10612         (xdr_utmparr): Likewise.
10613         (xdr_utmpidle): Likewise.
10614         (xdr_utmpidleptr): Likewise.
10615         (xdr_utmpidlearr): Likewise.
10617         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
10618         log, log10 and log2.
10619         * math/auto-libm-test-out: Regenerated.
10620         * math/libm-test.inc (fmod_test_data): Add more tests.
10621         (fpclassify_test_data): Likewise.
10622         (frexp_test_data): Likewise.
10623         (hypot_test_data): Likewise.
10624         (ilogb_test_data): Likewise.
10626 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
10628         * debug/fortify_fail.c (__fortify_fail): Convert to
10629         prototype-style function definition.  Use internal_function.
10630         * libio/genops.c (save_for_backup): Convert to prototype-style
10631         function definition.
10632         * libio/wgenops.c (save_for_wbackup): Likewise.
10633         * login/grantpt.c (grantpt): Likewise.
10634         * login/ptsname.c (ptsname): Likewise.
10635         (__ptsname_r): Likewise.
10636         * login/unlockpt.c (unlockpt): Likewise.
10637         * mach/msgserver.c (__mach_msg_server): Likewise.
10638         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
10639         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
10640         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
10641         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
10642         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
10643         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
10644         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
10645         Likewise.
10646         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
10647         internal_function.
10648         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
10649         prototype-style function definition.
10650         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
10651         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
10652         (__pthread_create_2_0): Likewise.
10653         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
10654         * nptl/register-atfork.c (__register_atfork): Likewise.
10655         * posix/glob.c (glob): Likewise.
10656         * posix/regcomp.c (re_comp): Likewise.
10657         * posix/regexec.c (re_exec): Likewise.
10658         * stdlib/add_n.c [__STDC__]: Make code unconditional.
10659         [!__STDC__]: Remove conditional code.
10660         * stdlib/cmp.c [__STDC__]: Make code unconditional.
10661         [!__STDC__]: Remove conditional code.
10662         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
10663         [!__STDC__]: Remove conditional code.
10664         * stdlib/divrem.c [__STDC__]: Make code unconditional.
10665         [!__STDC__]: Remove conditional code.
10666         * stdlib/lshift.c [__STDC__]: Make code unconditional.
10667         [!__STDC__]: Remove conditional code.
10668         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
10669         [!__STDC__]: Remove conditional code.
10670         * stdlib/mul.c [__STDC__]: Make code unconditional.
10671         [!__STDC__]: Remove conditional code.
10672         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
10673         [!__STDC__]: Remove conditional code.
10674         * stdlib/rshift.c [__STDC__]: Make code unconditional.
10675         [!__STDC__]: Remove conditional code.
10676         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
10677         function definition.
10678         (STRTOF): Likewise.
10679         * stdlib/strtod_l.c (__STRTOF): Likewise.
10680         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
10681         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
10682         (__strtol_l): Likewise.
10683         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
10684         [!__STDC__]: Remove conditional code.
10685         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
10686         definition.
10687         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
10688         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10689         type.
10690         (__strcasecmp): Convert to prototype-style function definition.
10691         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
10692         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10693         type.
10694         (__strncasecmp): Convert to prototype-style function definition.
10695         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
10696         * sunrpc/xdr.c (xdr_union): Likewise.
10697         * sunrpc/xdr_array.c (xdr_array): Likewise.
10698         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
10699         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
10700         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
10701         Likewise.
10702         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
10703         Likewise.
10704         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
10705         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10706         Likewise.
10707         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
10708         (LOCALE_PARAM_PROTO): Likewise.
10709         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
10710         argument type.
10711         (ut_argument_spec): Remove macro.
10712         (ut_argument_spec_iso): Rename to ut_argument_spec.
10713         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
10714         prototype-style function definition.
10715         (memcpy_uppcase): Likewise.
10716         (__strftime_internal): Likewise.
10717         (my_strftime): Likewise.
10718         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
10719         (LOCALE_PARAM_DECL): Likewise.
10720         [_LIBC] (LOCALE_PARAM): Include argument type.
10721         (__strptime_internal): Convert to prototype-style function
10722         definition.
10723         (strptime): Likewise.
10724         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
10725         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10726         type.
10727         (__wcscasecmp): Convert to prototype-style function definition.
10728         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
10729         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10730         type.
10731         (__wcsncasecmp): Convert to prototype-style function definition.
10733         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
10734         function definition.
10735         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
10736         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10737         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
10738         * elf/dl-minimal.c (_itoa): Likewise.
10739         * hurd/hurdmalloc.c (malloc): Likewise.
10740         (free): Likewise.
10741         (realloc): Likewise.
10742         * inet/inet6_option.c (inet6_option_space): Likewise.
10743         (inet6_option_init): Likewise.
10744         (inet6_option_append): Likewise.
10745         (inet6_option_alloc): Likewise.
10746         (inet6_option_next): Likewise.
10747         (inet6_option_find): Likewise.
10748         * io/ftw.c (FTW_NAME): Likewise.
10749         (NFTW_NAME): Likewise.
10750         (NFTW_NEW_NAME): Likewise.
10751         (NFTW_OLD_NAME): Likewise.
10752         * libio/iofwide.c (_IO_fwide): Likewise.
10753         * libio/strops.c (_IO_str_init_static_internal): Likewise.
10754         (_IO_str_init_static): Likewise.
10755         (_IO_str_init_readonly): Likewise.
10756         (_IO_str_overflow): Likewise.
10757         (_IO_str_underflow): Likewise.
10758         (_IO_str_count): Likewise.
10759         (_IO_str_seekoff): Likewise.
10760         (_IO_str_pbackfail): Likewise.
10761         (_IO_str_finish): Likewise.
10762         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
10763         (_IO_wstr_overflow): Likewise.
10764         (_IO_wstr_underflow): Likewise.
10765         (_IO_wstr_count): Likewise.
10766         (_IO_wstr_seekoff): Likewise.
10767         (_IO_wstr_pbackfail): Likewise.
10768         (_IO_wstr_finish): Likewise.
10769         * locale/programs/localedef.c (normalize_codeset): Likewise.
10770         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10771         (add_locales_to_archive): Likewise.
10772         (delete_locales_from_archive): Likewise.
10773         * malloc/malloc.c (__libc_mallinfo): Likewise.
10774         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
10775         * misc/tsearch.c (__tfind): Likewise.
10776         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
10777         * nptl/pthread_attr_getdetachstate.c
10778         (__pthread_attr_getdetachstate): Likewise.
10779         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
10780         Likewise.
10781         * nptl/pthread_attr_getinheritsched.c
10782         (__pthread_attr_getinheritsched): Likewise.
10783         * nptl/pthread_attr_getschedparam.c
10784         (__pthread_attr_getschedparam): Likewise.
10785         * nptl/pthread_attr_getschedpolicy.c
10786         (__pthread_attr_getschedpolicy): Likewise.
10787         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
10788         Likewise.
10789         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
10790         Likewise.
10791         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
10792         Likewise.
10793         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
10794         Likewise.
10795         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
10796         (__pthread_attr_init_2_0): Likewise.
10797         * nptl/pthread_attr_setdetachstate.c
10798         (__pthread_attr_setdetachstate): Likewise.
10799         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
10800         Likewise.
10801         * nptl/pthread_attr_setinheritsched.c
10802         (__pthread_attr_setinheritsched): Likewise.
10803         * nptl/pthread_attr_setschedparam.c
10804         (__pthread_attr_setschedparam): Likewise.
10805         * nptl/pthread_attr_setschedpolicy.c
10806         (__pthread_attr_setschedpolicy): Likewise.
10807         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
10808         Likewise.
10809         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
10810         Likewise.
10811         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
10812         Likewise.
10813         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
10814         Likewise.
10815         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
10816         Likewise.
10817         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
10818         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
10819         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
10820         use internal_function.
10821         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
10822         prototype-style function definition.
10823         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
10824         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
10825         internal_function.
10826         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
10827         Convert to prototype-style function definition.
10828         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
10829         Likewise.
10830         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
10831         Likewise.
10832         (__pthread_mutex_unlock): Likewise.
10833         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
10834         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
10835         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
10836         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
10837         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
10838         * nss/makedb.c (process_input): Likewise.
10839         * posix/fnmatch.c (__strchrnul): Likewise.
10840         (__wcschrnul): Likewise.
10841         (fnmatch): Likewise.
10842         * posix/fnmatch_loop.c (FCT): Likewise.
10843         * posix/glob.c (globfree): Likewise.
10844         (__glob_pattern_type): Likewise.
10845         (__glob_pattern_p): Likewise.
10846         * posix/regcomp.c (re_compile_pattern): Likewise.
10847         (re_set_syntax): Likewise.
10848         (re_compile_fastmap): Likewise.
10849         (regcomp): Likewise.
10850         (regerror): Likewise.
10851         (regfree): Likewise.
10852         * posix/regexec.c (regexec): Likewise.
10853         (re_match): Likewise.
10854         (re_search): Likewise.
10855         (re_match_2): Likewise.
10856         (re_search_2): Likewise.
10857         (re_search_stub): Likewise.  Use internal_function
10858         (re_copy_regs): Likewise.
10859         (re_set_registers): Convert to prototype-style function
10860         definition.
10861         (prune_impossible_nodes): Likewise.  Use internal_function.
10862         * resolv/inet_net_pton.c (inet_net_pton): Convert to
10863         prototype-style function definition.
10864         (inet_net_pton_ipv4): Likewise.
10865         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10866         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
10867         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
10868         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
10869         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10870         Make variadic.
10871         * time/strptime_l.c (localtime_r): Convert to prototype-style
10872         function definition.
10873         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
10874         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
10875         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
10876         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
10878         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
10879         definition.
10880         (_ufc_doit_r): Likewise.
10881         * crypt/crypt_util.c (_ufc_copymem): Likewise.
10882         (_ufc_output_conversion_r): Likewise.
10883         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
10884         * inet/rcmd.c (rcmd_af): Likewise.
10885         (rcmd): Likewise.
10886         (ruserok_af): Likewise.
10887         (ruserok): Likewise.
10888         (ruserok2_sa): Likewise.
10889         (ruserok_sa): Likewise.
10890         (iruserok_af): Likewise.
10891         (iruserok): Likewise.
10892         (__ivaliduser): Likewise.
10893         (__validuser2_sa): Likewise.
10894         * inet/rexec.c (rexec_af): Likewise.
10895         (rexec): Likewise.
10896         * inet/ruserpass.c (ruserpass): Likewise.
10897         * locale/programs/xmalloc.c (xcalloc): Likewise.
10898         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
10899         * math/w_drem.c (__drem): Likewise.
10900         * math/w_dremf.c (__dremf): Likewise.
10901         * math/w_dreml.c (__dreml): Likewise.
10902         * misc/daemon.c (daemon): Likewise.
10903         * resolv/res_debug.c (p_fqnname): Likewise.
10904         * stdlib/div.c (div): Likewise.
10905         * string/memcmp.c (memcmp_bytes): Likewise.
10906         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
10907         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
10909         * crypt/cert.c (main): Convert to prototype-style function
10910         definition.
10911         * io/pipe.c (__pipe): Likewise.
10912         * io/pipe2.c (__pipe2): Likewise.
10913         * misc/futimesat.c (futimesat): Likewise.
10914         * misc/utimes.c (__utimes): Likewise.
10915         * posix/execve.c (__execve): Likewise.
10916         * posix/execvp.c (execvp): Likewise.
10917         * posix/execvpe.c (__execvpe): Likewise.
10918         * posix/fexecve.c (fexecve): Likewise.
10919         * socket/socketpair.c (socketpair): Likewise.
10920         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10921         * stdlib/erand48.c (erand48): Likewise.
10922         * stdlib/erand48_r.c (__erand48_r): Likewise.
10923         * stdlib/jrand48.c (jrand48): Likewise.
10924         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
10925         * stdlib/lcong48.c (lcong48): Likewise.
10926         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
10927         * stdlib/nrand48.c (nrand48): Likewise.
10928         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
10929         * stdlib/seed48.c (seed48): Likewise.
10930         * stdlib/seed48_r.c (__seed48_r): Likewise.
10931         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
10932         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
10933         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
10935 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
10937         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
10938         * configure: Regenerated.
10939         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
10940         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
10941         unconditional.
10942         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10943         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10944         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10945         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
10946         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
10947         unconditional.
10948         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10950         * posix/Makefile (CFLAGS-regex.c): Remove variable.
10951         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
10953         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
10954         function definition.
10955         * crypt/crypt_util.c (__encrypt_r): Likewise.
10956         * libio/genops.c (_IO_no_init): Likewise.
10957         * libio/iofopncook.c (_IO_fopencookie): Likewise.
10958         (_IO_old_fopencookie): Likewise.
10959         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10960         * libio/iogetline.c (_IO_getline): Likewise.
10961         (_IO_getline_info): Likewise.
10962         * libio/iogetwline.c (_IO_getwline): Likewise.
10963         (_IO_getwline_info): Likewise.
10964         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
10965         * libio/vswprintf.c (_IO_vswprintf): Likewise.
10966         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
10967         (find_entry): Likewise.
10968         (iterate_table): Likewise.
10969         (lookup): Likewise.
10970         * login/forkpty.c (forkpty): Likewise.
10971         * misc/hsearch_r.c (__hsearch_r): Likewise.
10972         * misc/select.c (__select): Likewise.
10973         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
10974         Likewise.
10975         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
10976         Likewise.
10977         * nptl/old_pthread_cond_timedwait.c
10978         (__pthread_cond_timedwait_2_0): Likewise.
10979         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
10980         * nptl/pthread_barrierattr_getpshared.c
10981         (pthread_barrierattr_getpshared): Likewise.
10982         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
10983         Likewise.
10984         * nptl/pthread_mutex_setprioceiling.c
10985         (pthread_mutex_setprioceiling): Likewise.
10986         * nptl/pthread_mutexattr_getprioceiling.c
10987         (pthread_mutexattr_getprioceiling): Likewise.
10988         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
10989         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10990         Likewise.
10991         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10992         Likewise.
10993         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
10994         Likewise.
10995         * socket/recvfrom.c (__recvfrom): Likewise.
10996         * socket/sendto.c (__sendto): Likewise.
10997         * socket/setsockopt.c (__setsockopt): Likewise.
10998         * stdio-common/_itoa.c (_itoa): Likewise.
10999         * stdio-common/_itowa.c (_itowa): Likewise.
11000         * stdio-common/reg-printf.c (__register_printf_specifier):
11001         Likewise.
11002         (__register_printf_function): Likewise.
11003         * stdio-common/tempname.c (__path_search): Likewise.
11004         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
11005         * stdlib/mul_1.c (mpn_mul_1): Likewise.
11006         * stdlib/random_r.c (__initstate_r): Likewise.
11007         * stdlib/setenv.c (__add_to_environ): Likewise.
11008         * stdlib/submul_1.c (mpn_submul_1): Likewise.
11009         * streams/getpmsg.c (getpmsg): Likewise.
11010         * streams/putmsg.c (putmsg): Likewise.
11011         * streams/putpmsg.c (putpmsg): Likewise.
11012         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
11013         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
11014         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
11015         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
11016         * sunrpc/pm_getport.c (pmap_getport): Likewise.
11017         * sunrpc/svc_udp.c (cache_get): Likewise.
11018         * sunrpc/xdr_array.c (xdr_vector): Likewise.
11019         * sysdeps/mach/hurd/getcwd.c
11020         (__canonicalize_directory_name_internal): Likewise.
11021         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
11022         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
11023         * sysdeps/mach/hurd/select.c (__select): Likewise.
11024         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
11025         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
11026         * sysdeps/sparc/nptl/pthread_barrier_init.c
11027         (__pthread_barrier_init): Likewise.
11028         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
11029         (__pthread_cond_timedwait): Likewise.
11030         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
11031         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
11032         Likewise.
11033         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
11034         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
11035         Likewise.
11036         * sysvipc/semtimedop.c (semtimedop): Likewise.
11037         * time/setitimer.c (__setitimer): Likewise.
11038         * time/strftime_l.c (emacs_strftime): Likewise.
11040 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11042         * config.make.in (have-ssp): Delete.
11043         (stack-protector): New variable.
11044         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
11045         cache test for -fstack-protector-strong.  Export stack_protector to
11046         the best ssp flag.
11047         * configure: Regenerated.
11048         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
11049         * nscd/Makefile (CFLAGS-nscd): Likewise.
11050         * resolv/Makefile (CFLAGS-libresolv): Likewise.
11052 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
11054         [BZ #19122]
11055         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
11056         attribute_hidden.
11058 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11060         [BZ #18743]
11061         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
11062         code to...
11063         (ELIDE_LOCK): ...here.
11064         (__get_new_count): New function with part of the code from
11065         __elide_lock that updates the value of adapt_count after a
11066         transaction abort.
11067         (__elided_trylock): Moved this code to...
11068         (ELIDE_TRYLOCK): ...here.
11070 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11072         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
11073         * configure: Regenerate.
11074         * INSTALL: Regenerate.
11075         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
11076         and tweak grammar.
11078 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
11080         * login/programs/pt_chown.c: Include signal.h
11081         (main): Clear any signal mask from the parent process.
11083 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
11085         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
11086         * configure: Regenerated.
11087         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
11088         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
11089         $(gnu89-inline-CFLAGS).
11091         * configure.ac (libc_cv_asm_weak_directive): Remove configure
11092         test.
11093         (libc_cv_asm_weakext_directive): Likewise.
11094         * configure: Regenerated.
11095         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
11096         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
11097         * include/libc-symbols.h
11098         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
11099         #error.
11100         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
11101         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
11103         * sysdeps/arm/backtrace.c (__backtrace): Convert to
11104         prototype-style function definition.
11105         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
11106         * sysdeps/i386/ffs.c (__ffs): Likewise.
11107         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11108         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
11109         Likewise.
11110         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11111         Likewise.
11112         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
11113         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11114         Likewise.
11115         * sysdeps/m68k/ffs.c (__ffs): Likewise.
11116         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
11117         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
11118         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
11119         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
11120         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
11121         * sysdeps/mach/hurd/access.c (__access): Likewise.
11122         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
11123         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
11124         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
11125         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
11126         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
11127         (cthread_getspecific): Likewise.
11128         (cthread_setspecific): Likewise.
11129         (__libc_getspecific): Likewise.
11130         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
11131         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
11132         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
11133         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
11134         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
11135         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
11136         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
11137         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
11138         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
11139         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
11140         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
11141         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
11142         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
11143         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
11144         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
11145         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
11146         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
11147         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
11148         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
11149         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
11150         * sysdeps/mach/hurd/link.c (__link): Likewise.
11151         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
11152         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
11153         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
11154         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
11155         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
11156         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
11157         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
11158         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
11159         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
11160         * sysdeps/mach/hurd/rename.c (rename): Likewise.
11161         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
11162         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
11163         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
11164         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
11165         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
11166         * sysdeps/mach/hurd/send.c (__send): Likewise.
11167         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
11168         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
11169         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
11170         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
11171         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
11172         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
11173         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
11174         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
11175         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
11176         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
11177         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
11178         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
11179         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
11180         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
11181         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
11182         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
11183         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
11184         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
11185         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
11186         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
11187         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
11188         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
11189         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
11190         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
11191         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
11192         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
11193         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
11194         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
11195         * sysdeps/posix/alarm.c (alarm): Likewise.
11196         * sysdeps/posix/cuserid.c (cuserid): Likewise.
11197         * sysdeps/posix/dirfd.c (dirfd): Likewise.
11198         * sysdeps/posix/dup.c (__dup): Likewise.
11199         * sysdeps/posix/dup2.c (__dup2): Likewise.
11200         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
11201         (main): Likewise.
11202         * sysdeps/posix/flock.c (__flock): Likewise.
11203         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
11204         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
11205         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
11206         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
11207         * sysdeps/posix/isatty.c (__isatty): Likewise.
11208         * sysdeps/posix/killpg.c (killpg): Likewise.
11209         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11210         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
11211         * sysdeps/posix/raise.c (raise): Likewise.
11212         * sysdeps/posix/remove.c (remove): Likewise.
11213         * sysdeps/posix/rename.c (rename): Likewise.
11214         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
11215         * sysdeps/posix/seekdir.c (seekdir): Likewise.
11216         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
11217         * sysdeps/posix/sigignore.c (sigignore): Likewise.
11218         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
11219         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
11220         * sysdeps/posix/sigset.c (sigset): Likewise.
11221         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
11222         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
11223         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
11224         * sysdeps/posix/time.c (time): Likewise.
11225         * sysdeps/posix/ttyname.c (getttyname): Likewise.
11226         (ttyname): Likewise.
11227         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
11228         * sysdeps/posix/utime.c (utime): Likewise.
11229         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
11230         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
11231         Likewise.
11232         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
11233         (pthread_spin_trylock): Likewise.
11234         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
11235         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
11236         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
11237         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
11238         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
11239         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
11240         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
11241         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
11242         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
11243         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
11244         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
11245         * sysdeps/s390/ffs.c (__ffs): Likewise.
11246         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
11247         Likewise.
11248         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11249         Likewise.
11250         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
11251         Likewise.
11252         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
11253         (pthread_barrier_destroy): Likewise.
11254         * sysdeps/sparc/nptl/pthread_barrier_wait.c
11255         (__pthread_barrier_wait): Likewise.
11256         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
11257         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
11258         (__pthread_barrier_wait): Likewise.
11259         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
11260         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
11261         (memcmp_not_common_alignment): Likewise.
11262         (MEMCMP): Likewise.
11263         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
11264         (_wordcopy_fwd_dest_aligned): Likewise.
11265         (_wordcopy_bwd_aligned): Likewise.
11266         (_wordcopy_bwd_dest_aligned): Likewise.
11267         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
11268         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
11269         * sysdeps/unix/bsd/stty.c (stty): Likewise.
11270         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
11271         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
11272         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
11273         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
11274         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
11275         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
11276         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
11277         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
11278         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
11279         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
11280         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
11281         * sysdeps/unix/stime.c (stime): Likewise.
11282         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
11283         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
11284         Likewise.  Use internal_function.
11285         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
11286         Convert to prototype-style function definition.
11287         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11288         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11289         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
11290         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11291         Likewise.  Use internal_function.
11292         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
11293         prototype-style function definition
11294         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11295         Likewise.
11296         (__getlogin_r): Likewise.
11297         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
11298         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
11299         (__pthread_cond_broadcast): Likewise.
11300         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
11301         (__pthread_cond_destroy): Likewise.
11302         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
11303         (__pthread_cond_init): Likewise.
11304         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
11305         (__pthread_cond_signal): Likewise.
11306         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11307         (__pthread_cond_wait): Likewise.
11308         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
11309         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11310         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
11311         Likewise.
11312         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
11313         Likewise.
11314         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
11315         Likewise.
11316         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
11317         Likewise.
11318         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
11319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
11320         (__ftruncate64): Likewise.
11321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
11322         (truncate64): Likewise.
11323         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
11324         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
11325         (pthread_getcpuclockid): Likewise.
11326         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
11327         Likewise.
11328         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
11329         Likewise.
11330         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
11331         Likewise.
11332         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
11333         Likewise.
11334         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
11335         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
11336         (__libc_sigaction): Likewise.
11337         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
11338         Likewise.
11339         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
11340         (__sigprocmask): Likewise.
11341         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
11342         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
11343         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
11344         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
11345         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11346         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
11347         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11348         Likewise.
11349         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
11350         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
11351         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11352         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
11353         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
11354         Likewise.
11355         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
11356         (__sigprocmask): Likewise.
11357         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
11358         (cfgetispeed): Likewise.
11359         (cfsetospeed): Likewise.
11360         (cfsetispeed): Likewise.
11361         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
11362         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
11363         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11364         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
11365         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
11366         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
11367         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
11368         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
11369         Likewise.
11370         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
11371         Likewise.
11372         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
11373         Likewise.
11374         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
11375         Likewise.
11376         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
11378 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11380         sunrpc: Rewrite with explicit TLS access using __thread.
11381         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
11382         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
11383         directly.
11384         (__rpc_thread_variables): Access thread_rpc_vars directly.
11385         Eliminate redundant assignment of the tvp variable.
11387 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11389         malloc: Rewrite with explicit TLS access using __thread.
11390         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
11391         (tsd_setspecific, tsd_getspecific): Remove.
11392         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
11393         (tsd_setspecific, tsd_getspecific): Likewise.
11394         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
11395         (tsd_setspecific, tsd_getspecific): Likewise.
11396         * malloc/arena.c (thread_arena): New TLS variable.
11397         (arena_key): Remove variable.
11398         (arena_get): Use thread_arena.
11399         (arena_lookup): Remove macro.
11400         (malloc_atfork, free_atfork, ptmalloc_lock_all)
11401         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
11402         (_int_new_arena, get_free_list, reused_arena)
11403         (arena_thread_freeres): Use thread_arena.
11404         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
11405         tsd_getspecific, tsd_setspecific from safety annotations.
11406         (Allocating Cleared Space): Remove arena_lookup from safety
11407         annotations.
11409 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11411         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
11412         struct scratch_buffer instead of extend_alloca.
11414 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11416         * sysdeps/unix/sysv/linux/kernel-features.h
11417         (__ASSUME_SOCK_CLOEXEC): Remove.
11418         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
11419         (__have_paccept): Remove unused macro.
11420         * include/unistd.h (__have_sock_cloexec): Remove declaration.
11421         * misc/syslog.c (openlog_internal): Remove fallback code for
11422         !__ASSUME_SOCK_CLOEXEC.
11423         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
11424         missing SOCK_CLOEXEC.
11425         * nscd/connections.c (have_sock_cloexec): Remove definition.
11426         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
11427         * nscd/nscd_helper.c (open_socket): Remove fallback code for
11428         !__ASSUME_SOCK_CLOEXEC.
11429         * resolv/res_send.c (__have_o_nonblock): Remove definition.
11430         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
11431         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
11432         definition.
11433         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
11434         code for !__ASSUME_SOCK_CLOEXEC.
11436 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11438         [BZ #18982]
11439         * manual/stdio.texi (Variable Arguments Output): Add portability
11440         note, explaining that vfprintf clobbers the va_list pointer.
11442 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
11444         * math/libm-test.inc (fabs_test_data): Add more tests.
11445         (fdim_test_data): Likewise.
11446         (fma_test_data): Likewise.
11447         (fmax_test_data): Likewise.
11448         (fmin_test_data): Likewise.
11449         (fmod_test_data): Likewise.
11451 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
11453         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
11454         data.
11456 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
11458         * math/libm-test.inc (ceil_test_data): Add more tests and more
11459         expectations for "inexact".
11460         (floor_test_data): Add more tests.
11461         (round_test_data): Likewise.
11462         (trunc_test_data): Likewise.
11464         * crypt/cert.c (good_bye): Convert to prototype-style function
11465         definition.
11466         (get8): Likewise.
11467         (put8): Likewise.
11468         * crypt/crypt-entry.c (crypt): Likewise.
11469         (__fcrypt): Likewise.
11470         * crypt/crypt_util.c (_ufc_prbits): Likewise.
11471         (_ufc_set_bits): Likewise.
11472         (_ufc_clearmem): Likewise.
11473         (__init_des_r): Likewise.
11474         (shuffle_sb): Likewise.
11475         (shuffle_sb): Likewise.
11476         (_ufc_setup_salt_r): Likewise.
11477         (_ufc_mk_keytab_r): Likewise.
11478         (_ufc_dofinalperm_r): Likewise.
11479         (encrypt): Likewise.
11480         (__setkey_r): Likewise.
11481         (setkey): Likewise.
11482         * crypt/md5.c (md5_init_ctx): Likewise.
11483         (md5_read_ctx): Likewise.
11484         (md5_finish_ctx): Likewise.
11485         (md5_stream): Likewise.
11486         (md5_buffer): Likewise.
11487         (md5_process_bytes): Likewise.
11488         * crypt/sha256.c (__sha256_init_ctx): Likewise.
11489         (__sha256_finish_ctx): Likewise.
11490         (__sha256_process_bytes): Likewise.
11491         * crypt/sha512.c (__sha512_init_ctx): Likewise.
11492         (__sha512_finish_ctx): Likewise.
11493         (__sha512_process_bytes): Likewise.
11494         * ctype/isctype.c (__isctype): Likewise.
11495         * debug/backtrace.c (__backtrace): Likewise.
11496         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
11497         * debug/fgets_chk.c (__fgets_chk): Likewise.
11498         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
11499         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
11500         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11501         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11502         * debug/memset_chk.c (__memset_chk): Likewise.
11503         * debug/strcat_chk.c (__strcat_chk): Likewise.
11504         * debug/strncat_chk.c (__strncat_chk): Likewise.
11505         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
11506         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
11507         * dirent/dirfd.c (dirfd): Likewise.
11508         * dirent/getdents.c (__getdirentries): Likewise.
11509         * dirent/getdents64.c (getdirentries64): Likewise.
11510         * dirent/rewinddir.c (__rewinddir): Likewise.
11511         * dirent/seekdir.c (seekdir): Likewise.
11512         * dirent/telldir.c (telldir): Likewise.
11513         * elf/sln.c (makesymlinks): Likewise.
11514         (makesymlink): Likewise.
11515         * gmon/gmon.c (__moncontrol): Likewise.
11516         (__monstartup): Likewise.
11517         (write_hist): Likewise.
11518         (write_call_graph): Likewise.
11519         (write_bb_counts): Likewise.
11520         * grp/setgroups.c (setgroups): Likewise.
11521         * inet/inet_lnaof.c (inet_lnaof): Likewise.
11522         * inet/inet_net.c (inet_network): Likewise.
11523         * inet/inet_netof.c (inet_netof): Likewise.
11524         * inet/rcmd.c (rresvport_af): Likewise.
11525         (rresvport): Likewise.
11526         * io/access.c (__access): Likewise.
11527         * io/chdir.c (__chdir): Likewise.
11528         * io/chmod.c (__chmod): Likewise.
11529         * io/chown.c (__chown): Likewise.
11530         * io/close.c (__close): Likewise.
11531         * io/creat.c (creat): Likewise.
11532         * io/creat64.c (creat64): Likewise.
11533         * io/dup.c (__dup): Likewise.
11534         * io/dup2.c (__dup2): Likewise.
11535         * io/dup3.c (__dup3): Likewise.
11536         * io/euidaccess.c (__euidaccess): Likewise.
11537         * io/faccessat.c (faccessat): Likewise.
11538         * io/fchmod.c (__fchmod): Likewise.
11539         * io/fchmodat.c (fchmodat): Likewise.
11540         * io/fchown.c (__fchown): Likewise.
11541         * io/fchownat.c (fchownat): Likewise.
11542         * io/fcntl.c (__fcntl): Likewise.
11543         * io/flock.c (__flock): Likewise.
11544         * io/fts.c (fts_load): Likewise.
11545         (fts_close): Likewise.
11546         (fts_read): Likewise.
11547         (fts_set): Likewise.
11548         (fts_children): Likewise.
11549         (fts_build): Likewise.
11550         (fts_stat): Likewise.
11551         (fts_sort): Likewise.
11552         (fts_alloc): Likewise.
11553         (fts_lfree): Likewise.
11554         (fts_palloc): Likewise.
11555         (fts_padjust): Likewise.
11556         (fts_maxarglen): Likewise.
11557         (fts_safe_changedir): Likewise.
11558         * io/getwd.c (getwd): Likewise.
11559         * io/isatty.c (__isatty): Likewise.
11560         * io/lchown.c (__lchown): Likewise.
11561         * io/link.c (__link): Likewise.
11562         * io/linkat.c (linkat): Likewise.
11563         * io/lseek.c (__libc_lseek): Likewise.
11564         * io/mkdir.c (__mkdir): Likewise.
11565         * io/mkdirat.c (mkdirat): Likewise.
11566         * io/mkfifo.c (mkfifo): Likewise.
11567         * io/mkfifoat.c (mkfifoat): Likewise.
11568         * io/open.c (__libc_open): Likewise.
11569         * io/open64.c (__libc_open64): Likewise.
11570         * io/readlink.c (__readlink): Likewise.
11571         * io/readlinkat.c (readlinkat): Likewise.
11572         * io/rmdir.c (__rmdir): Likewise.
11573         * io/symlink.c (__symlink): Likewise.
11574         * io/symlinkat.c (symlinkat): Likewise.
11575         * io/ttyname.c (ttyname): Likewise.
11576         * io/ttyname_r.c (__ttyname_r): Likewise.
11577         * io/umask.c (__umask): Likewise.
11578         * io/unlink.c (__unlink): Likewise.
11579         * io/unlinkat.c (unlinkat): Likewise.
11580         * io/utime.c (utime): Likewise.
11581         * libio/clearerr.c (clearerr): Likewise.
11582         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
11583         * libio/feof.c (_IO_feof): Likewise.
11584         * libio/feof_u.c (feof_unlocked): Likewise.
11585         * libio/ferror.c (_IO_ferror): Likewise.
11586         * libio/ferror_u.c (ferror_unlocked): Likewise.
11587         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11588         * libio/fileno.c (__fileno): Likewise.
11589         * libio/fputc.c (fputc): Likewise.
11590         * libio/fputc_u.c (fputc_unlocked): Likewise.
11591         * libio/fputwc.c (fputwc): Likewise.
11592         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
11593         * libio/freopen.c (freopen): Likewise.
11594         * libio/freopen64.c (freopen64): Likewise.
11595         * libio/fseek.c (fseek): Likewise.
11596         * libio/fseeko.c (fseeko): Likewise.
11597         * libio/fseeko64.c (fseeko64): Likewise.
11598         * libio/ftello.c (__ftello): Likewise.
11599         * libio/ftello64.c (ftello64): Likewise.
11600         * libio/fwide.c (fwide): Likewise.
11601         * libio/genops.c (_IO_un_link): Likewise.
11602         (_IO_link_in): Likewise.
11603         (_IO_least_marker): Likewise.
11604         (_IO_switch_to_main_get_area): Likewise.
11605         (_IO_switch_to_backup_area): Likewise.
11606         (_IO_switch_to_get_mode): Likewise.
11607         (_IO_free_backup_area): Likewise.
11608         (_IO_switch_to_put_mode): Likewise.
11609         (__overflow): Likewise.
11610         (__underflow): Likewise.
11611         (__uflow): Likewise.
11612         (_IO_setb): Likewise.
11613         (_IO_doallocbuf): Likewise.
11614         (_IO_default_underflow): Likewise.
11615         (_IO_default_uflow): Likewise.
11616         (_IO_default_xsputn): Likewise.
11617         (_IO_sgetn): Likewise.
11618         (_IO_default_xsgetn): Likewise.
11619         (_IO_sync): Likewise.
11620         (_IO_default_setbuf): Likewise.
11621         (_IO_default_seekpos): Likewise.
11622         (_IO_default_doallocate): Likewise.
11623         (_IO_init): Likewise.
11624         (_IO_old_init): Likewise.
11625         (_IO_default_sync): Likewise.
11626         (_IO_default_finish): Likewise.
11627         (_IO_default_seekoff): Likewise.
11628         (_IO_sputbackc): Likewise.
11629         (_IO_sungetc): Likewise.
11630         (_IO_set_column): Likewise.
11631         (_IO_set_column): Likewise.
11632         (_IO_adjust_column): Likewise.
11633         (_IO_get_column): Likewise.
11634         (_IO_init_marker): Likewise.
11635         (_IO_remove_marker): Likewise.
11636         (_IO_marker_difference): Likewise.
11637         (_IO_marker_delta): Likewise.
11638         (_IO_seekmark): Likewise.
11639         (_IO_unsave_markers): Likewise.
11640         (_IO_nobackup_pbackfail): Likewise.
11641         (_IO_default_pbackfail): Likewise.
11642         (_IO_default_seek): Likewise.
11643         (_IO_default_stat): Likewise.
11644         (_IO_default_read): Likewise.
11645         (_IO_default_write): Likewise.
11646         (_IO_default_showmanyc): Likewise.
11647         (_IO_default_imbue): Likewise.
11648         (_IO_iter_next): Likewise.
11649         (_IO_iter_file): Likewise.
11650         * libio/getc.c (_IO_getc): Likewise.
11651         * libio/getwc.c (_IO_getwc): Likewise.
11652         * libio/iofclose.c (_IO_new_fclose): Likewise.
11653         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11654         * libio/iofflush.c (_IO_fflush): Likewise.
11655         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
11656         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
11657         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
11658         * libio/iofgets.c (_IO_fgets): Likewise.
11659         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
11660         * libio/iofgetws.c (fgetws): Likewise.
11661         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11662         * libio/iofopen64.c (_IO_fopen64): Likewise.
11663         * libio/iofopncook.c (_IO_cookie_read): Likewise.
11664         (_IO_cookie_write): Likewise.
11665         (_IO_cookie_seek): Likewise.
11666         (_IO_cookie_close): Likewise.
11667         (_IO_cookie_seekoff): Likewise.
11668         (_IO_old_cookie_seek): Likewise.
11669         * libio/iofputs.c (_IO_fputs): Likewise.
11670         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
11671         * libio/iofputws.c (fputws): Likewise.
11672         * libio/iofputws_u.c (fputws_unlocked): Likewise.
11673         * libio/iofread.c (_IO_fread): Likewise.
11674         * libio/iofread_u.c (__fread_unlocked): Likewise.
11675         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
11676         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
11677         * libio/ioftell.c (_IO_ftell): Likewise.
11678         * libio/iofwrite.c (_IO_fwrite): Likewise.
11679         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11680         * libio/iogets.c (_IO_gets): Likewise.
11681         * libio/iopadn.c (_IO_padn): Likewise.
11682         * libio/iopopen.c (_IO_new_proc_open): Likewise.
11683         (_IO_new_popen): Likewise.
11684         (_IO_new_proc_close): Likewise.
11685         * libio/ioputs.c (_IO_puts): Likewise.
11686         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
11687         (_IO_seekoff): Likewise.
11688         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
11689         (_IO_seekpos): Likewise.
11690         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
11691         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
11692         * libio/ioungetc.c (_IO_ungetc): Likewise.
11693         * libio/ioungetwc.c (ungetwc): Likewise.
11694         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11695         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
11696         * libio/iowpadn.c (_IO_wpadn): Likewise.
11697         * libio/libc_fatal.c (__libc_fatal): Likewise.
11698         * libio/memstream.c (__open_memstream): Likewise.
11699         (_IO_mem_sync): Likewise.
11700         (_IO_mem_finish): Likewise.
11701         * libio/oldfileops.c (_IO_old_file_init): Likewise.
11702         (_IO_old_file_close_it): Likewise.
11703         (_IO_old_file_finish): Likewise.
11704         (_IO_old_file_fopen): Likewise.
11705         (_IO_old_file_attach): Likewise.
11706         (_IO_old_file_setbuf): Likewise.
11707         (_IO_old_do_write): Likewise.
11708         (old_do_write): Likewise.
11709         (_IO_old_file_underflow): Likewise.
11710         (_IO_old_file_overflow): Likewise.
11711         (_IO_old_file_sync): Likewise.
11712         (_IO_old_file_seekoff): Likewise.
11713         (_IO_old_file_write): Likewise.
11714         (_IO_old_file_xsputn): Likewise.
11715         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
11716         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11717         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
11718         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
11719         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
11720         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
11721         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
11722         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
11723         (_IO_old_popen): Likewise.
11724         (_IO_old_proc_close): Likewise.
11725         * libio/oldpclose.c (__old_pclose): Likewise.
11726         * libio/pclose.c (__new_pclose): Likewise.
11727         * libio/peekc.c (_IO_peekc_locked): Likewise.
11728         * libio/putc.c (_IO_putc): Likewise.
11729         * libio/putc_u.c (putc_unlocked): Likewise.
11730         * libio/putchar.c (putchar): Likewise.
11731         * libio/putchar_u.c (putchar_unlocked): Likewise.
11732         * libio/putwc.c (putwc): Likewise.
11733         * libio/putwc_u.c (putwc_unlocked): Likewise.
11734         * libio/putwchar.c (putwchar): Likewise.
11735         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
11736         * libio/rewind.c (rewind): Likewise.
11737         * libio/setbuf.c (setbuf): Likewise.
11738         * libio/setlinebuf.c (setlinebuf): Likewise.
11739         * libio/vasprintf.c (_IO_vasprintf): Likewise.
11740         * libio/vscanf.c (_IO_vscanf): Likewise.
11741         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
11742         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
11743         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
11744         * libio/wgenops.c (_IO_least_wmarker): Likewise.
11745         (_IO_switch_to_main_wget_area): Likewise.
11746         (_IO_switch_to_wbackup_area): Likewise.
11747         (_IO_wsetb): Likewise.
11748         (_IO_wdefault_pbackfail): Likewise.
11749         (_IO_wdefault_finish): Likewise.
11750         (_IO_wdefault_uflow): Likewise.
11751         (__woverflow): Likewise.
11752         (__wuflow): Likewise.
11753         (__wunderflow): Likewise.
11754         (_IO_wdefault_xsputn): Likewise.
11755         (_IO_wdefault_xsgetn): Likewise.
11756         (_IO_wdoallocbuf): Likewise.
11757         (_IO_wdefault_doallocate): Likewise.
11758         (_IO_switch_to_wget_mode): Likewise.
11759         (_IO_free_wbackup_area): Likewise.
11760         (_IO_switch_to_wput_mode): Likewise.
11761         (_IO_sputbackwc): Likewise.
11762         (_IO_sungetwc): Likewise.
11763         (_IO_adjust_wcolumn): Likewise.
11764         (_IO_init_wmarker): Likewise.
11765         (_IO_wmarker_delta): Likewise.
11766         (_IO_seekwmark): Likewise.
11767         (_IO_unsave_wmarkers): Likewise.
11768         * libio/wmemstream.c (open_wmemstream): Likewise.
11769         (_IO_wmem_sync): Likewise.
11770         (_IO_wmem_finish): Likewise.
11771         * locale/nl_langinfo.c (nl_langinfo): Likewise.
11772         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
11773         * locale/programs/simple-hash.c (init_hash): Likewise.
11774         (delete_hash): Likewise.
11775         (insert_entry): Likewise.
11776         (set_entry): Likewise.
11777         (next_prime): Likewise.
11778         (is_prime): Likewise.
11779         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
11780         (xmalloc): Likewise.
11781         (xrealloc): Likewise.
11782         * locale/programs/xstrdup.c (xstrdup): Likewise.
11783         * localedata/collate-test.c (xstrcoll): Likewise.
11784         * localedata/xfrm-test.c (xstrcmp): Likewise.
11785         * login/getlogin_r.c (__getlogin_r): Likewise.
11786         * login/getpt.c (__posix_openpt): Likewise.
11787         * login/login_tty.c (login_tty): Likewise.
11788         * login/setlogin.c (setlogin): Likewise.
11789         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
11790         (mach_msg_destroy_port): Likewise.
11791         (mach_msg_destroy_memory): Likewise.
11792         * malloc/mcheck.c (flood): Likewise.
11793         * misc/acct.c (acct): Likewise.
11794         * misc/brk.c (__brk): Likewise.
11795         * misc/chflags.c (chflags): Likewise.
11796         * misc/chroot.c (chroot): Likewise.
11797         * misc/fchflags.c (fchflags): Likewise.
11798         * misc/fstab.c (getfsspec): Likewise.
11799         (getfsfile): Likewise.
11800         * misc/fsync.c (fsync): Likewise.
11801         * misc/ftruncate.c (__ftruncate): Likewise.
11802         * misc/ftruncate64.c (__ftruncate64): Likewise.
11803         * misc/getdomain.c (getdomainname): Likewise.
11804         (getdomainname): Likewise.
11805         * misc/gethostname.c (__gethostname): Likewise.
11806         * misc/getpass.c (getpass): Likewise.
11807         * misc/getttyent.c (skip): Likewise.
11808         (value): Likewise.
11809         * misc/gtty.c (gtty): Likewise.
11810         * misc/hsearch.c (hsearch): Likewise.
11811         (hcreate): Likewise.
11812         * misc/hsearch_r.c (__hcreate_r): Likewise.
11813         (__hdestroy_r): Likewise.
11814         * misc/ioctl.c (__ioctl): Likewise.
11815         * misc/mkdtemp.c (mkdtemp): Likewise.
11816         * misc/mkostemp.c (mkostemp): Likewise.
11817         * misc/mkostemp64.c (mkostemp64): Likewise.
11818         * misc/mkostemps.c (mkostemps): Likewise.
11819         * misc/mkostemps64.c (mkostemps64): Likewise.
11820         * misc/mkstemp.c (mkstemp): Likewise.
11821         * misc/mkstemp64.c (mkstemp64): Likewise.
11822         * misc/mkstemps.c (mkstemps): Likewise.
11823         * misc/mkstemps64.c (mkstemps64): Likewise.
11824         * misc/mktemp.c (__mktemp): Likewise.
11825         * misc/preadv.c (preadv): Likewise.
11826         * misc/preadv64.c (preadv64): Likewise.
11827         * misc/pwritev.c (pwritev): Likewise.
11828         * misc/pwritev64.c (pwritev64): Likewise.
11829         * misc/readv.c (__readv): Likewise.
11830         * misc/revoke.c (revoke): Likewise.
11831         * misc/setdomain.c (setdomainname): Likewise.
11832         * misc/setegid.c (setegid): Likewise.
11833         * misc/seteuid.c (seteuid): Likewise.
11834         * misc/sethostid.c (sethostid): Likewise.
11835         * misc/sethostname.c (sethostname): Likewise.
11836         * misc/setregid.c (__setregid): Likewise.
11837         * misc/setreuid.c (__setreuid): Likewise.
11838         * misc/sstk.c (sstk): Likewise.
11839         * misc/stty.c (stty): Likewise.
11840         * misc/syscall.c (syscall): Likewise.
11841         * misc/syslog.c (setlogmask): Likewise.
11842         * misc/truncate.c (__truncate): Likewise.
11843         * misc/truncate64.c (truncate64): Likewise.
11844         * misc/ualarm.c (ualarm): Likewise.
11845         * misc/usleep.c (usleep): Likewise.
11846         * misc/ustat.c (ustat): Likewise.
11847         * misc/writev.c (__writev): Likewise.
11848         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
11849         * nptl/old_pthread_cond_broadcast.c
11850         (__pthread_cond_broadcast_2_0): Likewise.
11851         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
11852         Likewise.
11853         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
11854         Likewise.
11855         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
11856         Likewise.
11857         * nptl/pt-raise.c (raise): Likewise.
11858         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
11859         Likewise.
11860         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
11861         * nptl/pthread_barrierattr_destroy.c
11862         (pthread_barrierattr_destroy): Likewise.
11863         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
11864         Likewise.
11865         * nptl/pthread_barrierattr_setpshared.c
11866         (pthread_barrierattr_setpshared): Likewise.
11867         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11868         Likewise.
11869         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11870         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11871         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11872         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
11873         Likewise.
11874         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
11875         Likewise.
11876         * nptl/pthread_condattr_getpshared.c
11877         (pthread_condattr_getpshared): Likewise.
11878         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
11879         Likewise.
11880         * nptl/pthread_condattr_setpshared.c
11881         (pthread_condattr_setpshared): Likewise.
11882         * nptl/pthread_detach.c (pthread_detach): Likewise.
11883         * nptl/pthread_equal.c (__pthread_equal): Likewise.
11884         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
11885         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
11886         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
11887         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
11888         Likewise.
11889         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
11890         Likewise.
11891         * nptl/pthread_mutex_getprioceiling.c
11892         (pthread_mutex_getprioceiling): Likewise.
11893         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
11894         Likewise.
11895         * nptl/pthread_mutexattr_getprotocol.c
11896         (pthread_mutexattr_getprotocol): Likewise.
11897         * nptl/pthread_mutexattr_getpshared.c
11898         (pthread_mutexattr_getpshared): Likewise.
11899         * nptl/pthread_mutexattr_getrobust.c
11900         (pthread_mutexattr_getrobust): Likewise.
11901         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
11902         Likewise.
11903         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
11904         Likewise.
11905         * nptl/pthread_mutexattr_setprioceiling.c
11906         (pthread_mutexattr_setprioceiling): Likewise.
11907         * nptl/pthread_mutexattr_setprotocol.c
11908         (pthread_mutexattr_setprotocol): Likewise.
11909         * nptl/pthread_mutexattr_setpshared.c
11910         (pthread_mutexattr_setpshared): Likewise.
11911         * nptl/pthread_mutexattr_setrobust.c
11912         (pthread_mutexattr_setrobust): Likewise.
11913         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
11914         Likewise.
11915         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
11916         Likewise.
11917         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
11918         Likewise.
11919         * nptl/pthread_rwlockattr_getkind_np.c
11920         (pthread_rwlockattr_getkind_np): Likewise.
11921         * nptl/pthread_rwlockattr_getpshared.c
11922         (pthread_rwlockattr_getpshared): Likewise.
11923         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
11924         Likewise.
11925         * nptl/pthread_rwlockattr_setkind_np.c
11926         (pthread_rwlockattr_setkind_np): Likewise.
11927         * nptl/pthread_rwlockattr_setpshared.c
11928         (pthread_rwlockattr_setpshared): Likewise.
11929         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
11930         Likewise.
11931         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
11932         Likewise.
11933         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
11934         Likewise.
11935         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
11936         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
11937         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
11938         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
11939         * nptl/sem_close.c (sem_close): Likewise.
11940         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
11941         * nptl/sem_init.c (__old_sem_init): Likewise.
11942         * nptl/sigaction.c (__sigaction): Likewise.
11943         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
11944         * posix/_exit.c (_exit): Likewise.
11945         * posix/alarm.c (alarm): Likewise.
11946         * posix/confstr.c (confstr): Likewise.
11947         * posix/fpathconf.c (__fpathconf): Likewise.
11948         * posix/getgroups.c (__getgroups): Likewise.
11949         * posix/getpgid.c (__getpgid): Likewise.
11950         * posix/group_member.c (__group_member): Likewise.
11951         * posix/pathconf.c (__pathconf): Likewise.
11952         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
11953         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
11954         * posix/setgid.c (__setgid): Likewise.
11955         * posix/setpgid.c (__setpgid): Likewise.
11956         * posix/setuid.c (__setuid): Likewise.
11957         * posix/sleep.c (__sleep): Likewise.
11958         * posix/sysconf.c (__sysconf): Likewise.
11959         * posix/times.c (__times): Likewise.
11960         * posix/uname.c (__uname): Likewise.
11961         * posix/waitid.c (__waitid): Likewise.
11962         * pwd/getpw.c (__getpw): Likewise.
11963         * resolv/base64.c (b64_pton): Likewise.
11964         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
11965         * resolv/gethnamaddr.c (Dprintf): Likewise.
11966         (gethostbyname): Likewise.
11967         (gethostbyname2): Likewise.
11968         (gethostbyaddr): Likewise.
11969         (_sethtent): Likewise.
11970         (_gethtbyname): Likewise.
11971         (_gethtbyname2): Likewise.
11972         (_gethtbyaddr): Likewise.
11973         (map_v4v6_address): Likewise.
11974         (map_v4v6_hostent): Likewise.
11975         (addrsort): Likewise.
11976         (ht_sethostent): Likewise.
11977         (ht_gethostbyname): Likewise.
11978         (ht_gethostbyaddr): Likewise.
11979         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
11980         (inet_net_ntop_ipv4): Likewise.
11981         * resolv/inet_neta.c (inet_neta): Likewise.
11982         * resolv/inet_ntop.c (inet_ntop): Likewise.
11983         (inet_ntop4): Likewise.
11984         (inet_ntop6): Likewise.
11985         * resolv/inet_pton.c (__inet_pton): Likewise.
11986         (inet_pton4): Likewise.
11987         (inet_pton6): Likewise.
11988         * resolv/res_debug.c (loc_aton): Likewise.
11989         (loc_ntoa): Likewise.
11990         * resource/getpriority.c (__getpriority): Likewise.
11991         * resource/getrusage.c (__getrusage): Likewise.
11992         * resource/nice.c (nice): Likewise.
11993         * resource/setpriority.c (__setpriority): Likewise.
11994         * resource/setrlimit64.c (setrlimit64): Likewise.
11995         * resource/vlimit.c (vlimit): Likewise.
11996         * resource/vtimes.c (vtimes): Likewise.
11997         * rt/aio_error.c (aio_error): Likewise.
11998         * rt/aio_return.c (aio_return): Likewise.
11999         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
12000         * signal/kill.c (__kill): Likewise.
12001         * signal/killpg.c (killpg): Likewise.
12002         * signal/raise.c (raise): Likewise.
12003         * signal/sigaction.c (__sigaction): Likewise.
12004         * signal/sigaddset.c (sigaddset): Likewise.
12005         * signal/sigaltstack.c (sigaltstack): Likewise.
12006         * signal/sigandset.c (sigandset): Likewise.
12007         * signal/sigblock.c (__sigblock): Likewise.
12008         * signal/sigdelset.c (sigdelset): Likewise.
12009         * signal/sigempty.c (sigemptyset): Likewise.
12010         * signal/sigfillset.c (sigfillset): Likewise.
12011         * signal/sighold.c (sighold): Likewise.
12012         * signal/sigignore.c (sigignore): Likewise.
12013         * signal/sigintr.c (siginterrupt): Likewise.
12014         * signal/sigisempty.c (sigisemptyset): Likewise.
12015         * signal/sigismem.c (sigismember): Likewise.
12016         * signal/signal.c (signal): Likewise.
12017         * signal/sigorset.c (sigorset): Likewise.
12018         * signal/sigpause.c (__sigpause): Likewise.
12019         * signal/sigpending.c (sigpending): Likewise.
12020         * signal/sigprocmask.c (__sigprocmask): Likewise.
12021         * signal/sigrelse.c (sigrelse): Likewise.
12022         * signal/sigreturn.c (__sigreturn): Likewise.
12023         * signal/sigset.c (sigset): Likewise.
12024         * signal/sigsetmask.c (__sigsetmask): Likewise.
12025         * signal/sigstack.c (sigstack): Likewise.
12026         * signal/sigsuspend.c (__sigsuspend): Likewise.
12027         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
12028         * signal/sysv_signal.c (__sysv_signal): Likewise.
12029         * socket/accept.c (accept): Likewise.
12030         * socket/accept4.c (__libc_accept4): Likewise.
12031         * socket/bind.c (__bind): Likewise.
12032         * socket/connect.c (__connect): Likewise.
12033         * socket/getpeername.c (getpeername): Likewise.
12034         * socket/getsockname.c (__getsockname): Likewise.
12035         * socket/getsockopt.c (getsockopt): Likewise.
12036         * socket/listen.c (__listen): Likewise.
12037         * socket/recv.c (__recv): Likewise.
12038         * socket/recvmsg.c (__recvmsg): Likewise.
12039         * socket/send.c (__send): Likewise.
12040         * socket/sendmsg.c (__sendmsg): Likewise.
12041         * socket/shutdown.c (shutdown): Likewise.
12042         * socket/sockatmark.c (sockatmark): Likewise.
12043         * socket/socket.c (__socket): Likewise.
12044         * stdio-common/ctermid.c (ctermid): Likewise.
12045         * stdio-common/cuserid.c (cuserid): Likewise.
12046         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
12047         * stdio-common/remove.c (remove): Likewise.
12048         * stdio-common/rename.c (rename): Likewise.
12049         * stdio-common/renameat.c (renameat): Likewise.
12050         * stdio-common/tempname.c (__gen_tempname): Likewise.
12051         * stdio-common/xbug.c (InitBuffer): Likewise.
12052         (AppendToBuffer): Likewise.
12053         (ReadFile): Likewise.
12054         * stdlib/a64l.c (a64l): Likewise.
12055         * stdlib/drand48_r.c (drand48_r): Likewise.
12056         * stdlib/getcontext.c (getcontext): Likewise.
12057         * stdlib/getenv.c (getenv): Likewise.
12058         * stdlib/l64a.c (l64a): Likewise.
12059         * stdlib/llabs.c (llabs): Likewise.
12060         * stdlib/lldiv.c (lldiv): Likewise.
12061         * stdlib/lrand48_r.c (lrand48_r): Likewise.
12062         * stdlib/mrand48_r.c (mrand48_r): Likewise.
12063         * stdlib/putenv.c (putenv): Likewise.
12064         * stdlib/random.c (__srandom): Likewise.
12065         (__initstate): Likewise.
12066         (__setstate): Likewise.
12067         * stdlib/random_r.c (__srandom_r): Likewise.
12068         (__setstate_r): Likewise.
12069         (__random_r): Likewise.
12070         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
12071         * stdlib/setcontext.c (setcontext): Likewise.
12072         * stdlib/setenv.c (setenv): Likewise.
12073         (unsetenv): Likewise.
12074         * stdlib/srand48.c (srand48): Likewise.
12075         * stdlib/srand48_r.c (__srand48_r): Likewise.
12076         * stdlib/swapcontext.c (swapcontext): Likewise.
12077         * stdlib/system.c (__libc_system): Likewise.
12078         * stdlib/tst-strtod.c (expand): Likewise.
12079         * stdlib/tst-strtol.c (expand): Likewise.
12080         * stdlib/tst-strtoll.c (expand): Likewise.
12081         * streams/fattach.c (fattach): Likewise.
12082         * streams/fdetach.c (fdetach): Likewise.
12083         * streams/getmsg.c (getmsg): Likewise.
12084         * streams/isastream.c (isastream): Likewise.
12085         * string/ffs.c (__ffs): Likewise.
12086         * string/ffsll.c (ffsll): Likewise.
12087         * string/memcmp.c (memcmp_common_alignment): Likewise.
12088         (memcmp_not_common_alignment): Likewise.
12089         (MEMCMP): Likewise.
12090         * string/memcpy.c (memcpy): Likewise.
12091         * string/memmove.c (MEMMOVE): Likewise.
12092         * string/memset.c (memset): Likewise.
12093         * string/rawmemchr.c (RAWMEMCHR): Likewise.
12094         * string/strchrnul.c (STRCHRNUL): Likewise.
12095         * string/strerror.c (strerror): Likewise.
12096         * string/strndup.c (__strndup): Likewise.
12097         * string/strverscmp.c (__strverscmp): Likewise.
12098         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
12099         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
12100         (clnttcp_freeres): Likewise.
12101         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
12102         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
12103         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
12104         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
12105         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
12106         (xdr_callhdr): Likewise.
12107         * sunrpc/rpcinfo.c (udpping): Likewise.
12108         (tcpping): Likewise.
12109         (pstatus): Likewise.
12110         (pmapdump): Likewise.
12111         (brdcst): Likewise.
12112         (deletereg): Likewise.
12113         (getprognum): Likewise.
12114         (getvers): Likewise.
12115         (get_inet_address): Likewise.
12116         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
12117         * sunrpc/svc_udp.c (svcudp_create): Likewise.
12118         (svcudp_stat): Likewise.
12119         (svcudp_recv): Likewise.
12120         (svcudp_reply): Likewise.
12121         (svcudp_getargs): Likewise.
12122         (svcudp_freeargs): Likewise.
12123         (svcudp_destroy): Likewise.
12124         * sunrpc/xdr.c (xdr_bytes): Likewise.
12125         (xdr_netobj): Likewise.
12126         (xdr_string): Likewise.
12127         (xdr_wrapstring): Likewise.
12128         * sunrpc/xdr_float.c (xdr_float): Likewise.
12129         (xdr_double): Likewise.
12130         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
12131         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
12132         * sysvipc/ftok.c (ftok): Likewise.
12133         * sysvipc/msgctl.c (msgctl): Likewise.
12134         * sysvipc/msgget.c (msgget): Likewise.
12135         * sysvipc/msgrcv.c (msgrcv): Likewise.
12136         * sysvipc/msgsnd.c (msgsnd): Likewise.
12137         * sysvipc/semget.c (semget): Likewise.
12138         * sysvipc/semop.c (semop): Likewise.
12139         * sysvipc/shmat.c (shmat): Likewise.
12140         * sysvipc/shmctl.c (shmctl): Likewise.
12141         * sysvipc/shmdt.c (shmdt): Likewise.
12142         * sysvipc/shmget.c (shmget): Likewise.
12143         * termios/cfmakeraw.c (cfmakeraw): Likewise.
12144         * termios/speed.c (cfgetospeed): Likewise.
12145         (cfgetispeed): Likewise.
12146         (cfsetospeed): Likewise.
12147         (cfsetispeed): Likewise.
12148         * termios/tcflow.c (tcflow): Likewise.
12149         * termios/tcflush.c (tcflush): Likewise.
12150         * termios/tcgetattr.c (__tcgetattr): Likewise.
12151         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
12152         * termios/tcgetsid.c (tcgetsid): Likewise.
12153         * termios/tcsendbrk.c (tcsendbreak): Likewise.
12154         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
12155         * time/adjtime.c (__adjtime): Likewise.
12156         * time/dysize.c (dysize): Likewise.
12157         * time/ftime.c (ftime): Likewise.
12158         * time/getitimer.c (__getitimer): Likewise.
12159         * time/gettimeofday.c (__gettimeofday): Likewise.
12160         * time/gmtime.c (__gmtime_r): Likewise.
12161         (gmtime): Likewise.
12162         * time/localtime.c (__localtime_r): Likewise.
12163         (localtime): Likewise.
12164         * time/offtime.c (__offtime): Likewise.
12165         * time/settimeofday.c (__settimeofday): Likewise.
12166         * time/stime.c (stime): Likewise.
12167         * time/strftime_l.c (tm_diff): Likewise.
12168         (iso_week_days): Likewise.
12169         * time/strptime.c (strptime): Likewise.
12170         * time/time.c (time): Likewise.
12171         * time/timespec_get.c (timespec_get): Likewise.
12172         * time/tzset.c (tzset_internal): Likewise.
12173         (compute_change): Likewise.
12174         (__tz_compute): Likewise.
12175         * wcsmbs/btowc.c (__btowc): Likewise.
12176         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
12177         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
12178         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
12179         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
12180         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
12181         * wcsmbs/wcscat.c (__wcscat): Likewise.
12182         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12183         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
12184         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
12185         * wcsmbs/wcscspn.c (wcscspn): Likewise.
12186         * wcsmbs/wcsdup.c (wcsdup): Likewise.
12187         * wcsmbs/wcslen.c (__wcslen): Likewise.
12188         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
12189         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
12190         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
12191         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
12192         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12193         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
12194         * wcsmbs/wcsspn.c (wcsspn): Likewise.
12195         * wcsmbs/wcsstr.c (wcsstr): Likewise.
12196         * wcsmbs/wcstok.c (wcstok): Likewise.
12197         * wcsmbs/wctob.c (wctob): Likewise.
12198         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
12199         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12200         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
12201         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
12202         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
12203         * wcsmbs/wmemset.c (__wmemset): Likewise.
12204         * wctype/wcfuncs.c (__towlower): Likewise.
12205         (__towupper): Likewise.
12207         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
12208         (lll_unlock_elision): Add adapt_count parameter.
12210 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
12212         * sysdeps/nptl/configure.ac: Do not give errors based on the
12213         results of top-level configure tests.
12214         * sysdeps/nptl/configure: Regenerated.
12216         * configure.ac (libc_cv_Bgroup): Remove configure test.
12217         * configure: Regenerated.
12218         * config.make.in (have-Bgroup): Remove variable.
12220         * configure.ac (sizeof_long_double): Remove configure test.
12221         * configure: Regenerated.
12222         * config.make.in (sizeof-long-double): Remove variable.
12224         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
12225         * configure: Regenerated.
12226         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
12227         variable.
12228         (exceptions): Likewise.
12229         * sysdeps/arm/configure: Regenerated.
12230         * config.make.in (exceptions): Remove variable.
12231         * Makeconfig (uses-callbacks): Use -fexceptions instead of
12232         $(exceptions).
12233         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
12234         (CFLAGS-vdprintf_chk.c): Likewise.
12235         (CFLAGS-printf_chk.c): Likewise.
12236         (CFLAGS-fprintf_chk.c): Likewise.
12237         (CFLAGS-vprintf_chk.c): Likewise.
12238         (CFLAGS-vfprintf_chk.c): Likewise.
12239         (CFLAGS-gets_chk.c): Likewise.
12240         (CFLAGS-fgets_chk.c): Likewise.
12241         (CFLAGS-fgets_u_chk.c): Likewise.
12242         (CFLAGS-fread_chk.c): Likewise.
12243         (CFLAGS-fread_u_chk.c): Likewise.
12244         (CFLAGS-wprintf_chk.c): Likewise.
12245         (CFLAGS-fwprintf_chk.c): Likewise.
12246         (CFLAGS-vwprintf_chk.c): Likewise.
12247         (CFLAGS-vfwprintf_chk.c): Likewise.
12248         (CFLAGS-fgetws_chk.c): Likewise.
12249         (CFLAGS-fgetws_u_chk.c): Likewise.
12250         * libio/Makefile (CFLAGS-fileops.c): Likewise.
12251         (CFLAGS-fputc.c): Likewise.
12252         (CFLAGS-fputwc.c): Likewise.
12253         (CFLAGS-freopen64.c): Likewise.
12254         (CFLAGS-freopen.c): Likewise.
12255         (CFLAGS-fseek.c): Likewise.
12256         (CFLAGS-fseeko64.c): Likewise.
12257         (CFLAGS-fseeko.c): Likewise.
12258         (CFLAGS-ftello64.c): Likewise.
12259         (CFLAGS-ftello.c): Likewise.
12260         (CFLAGS-fwide.c): Likewise.
12261         (CFLAGS-genops.c): Likewise.
12262         (CFLAGS-getc.c): Likewise.
12263         (CFLAGS-getchar.c): Likewise.
12264         (CFLAGS-getwc.c): Likewise.
12265         (CFLAGS-getwchar.c): Likewise.
12266         (CFLAGS-iofclose.c): Likewise.
12267         (CFLAGS-iofflush.c): Likewise.
12268         (CFLAGS-iofgetpos64.c): Likewise.
12269         (CFLAGS-iofgetpos.c): Likewise.
12270         (CFLAGS-iofgets.c): Likewise.
12271         (CFLAGS-iofgetws.c): Likewise.
12272         (CFLAGS-iofputs.c): Likewise.
12273         (CFLAGS-iofputws.c): Likewise.
12274         (CFLAGS-iofread.c): Likewise.
12275         (CFLAGS-iofsetpos64.c): Likewise.
12276         (CFLAGS-iofsetpos.c): Likewise.
12277         (CFLAGS-ioftell.c): Likewise.
12278         (CFLAGS-iofwrite.c): Likewise.
12279         (CFLAGS-iogetdelim.c): Likewise.
12280         (CFLAGS-iogetline.c): Likewise.
12281         (CFLAGS-iogets.c): Likewise.
12282         (CFLAGS-iogetwline.c): Likewise.
12283         (CFLAGS-ioputs.c): Likewise.
12284         (CFLAGS-ioseekoff.c): Likewise.
12285         (CFLAGS-ioseekpos.c): Likewise.
12286         (CFLAGS-iosetbuffer.c): Likewise.
12287         (CFLAGS-iosetvbuf.c): Likewise.
12288         (CFLAGS-ioungetc.c): Likewise.
12289         (CFLAGS-ioungetwc.c): Likewise.
12290         (CFLAGS-oldfileops.c): Likewise.
12291         (CFLAGS-oldiofclose.c): Likewise.
12292         (CFLAGS-oldiofgetpos64.c): Likewise.
12293         (CFLAGS-oldiofgetpos.c): Likewise.
12294         (CFLAGS-oldiofsetpos64.c): Likewise.
12295         (CFLAGS-oldiofsetpos.c): Likewise.
12296         (CFLAGS-peekc.c): Likewise.
12297         (CFLAGS-putc.c): Likewise.
12298         (CFLAGS-putchar.c): Likewise.
12299         (CFLAGS-putwc.c): Likewise.
12300         (CFLAGS-putwchar.c): Likewise.
12301         (CFLAGS-rewind.c): Likewise.
12302         (CFLAGS-wfileops.c): Likewise.
12303         (CFLAGS-wgenops.c): Likewise.
12304         (CFLAGS-oldiofopen.c): Likewise.
12305         (CFLAGS-iofopen.c): Likewise.
12306         (CFLAGS-iofopen64.c): Likewise.
12307         (CFLAGS-oldtmpfile.c): Likewise.
12308         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
12309         (CFLAGS-fprintf.c): Likewise.
12310         (CFLAGS-printf.c): Likewise.
12311         (CFLAGS-vfwprintf.c): Likewise.
12312         (CFLAGS-vfscanf.c): Likewise.
12313         (CFLAGS-vfwscanf.c): Likewise.
12314         (CFLAGS-fscanf.c): Likewise.
12315         (CFLAGS-scanf.c): Likewise.
12316         (CFLAGS-isoc99_vfscanf.c): Likewise.
12317         (CFLAGS-isoc99_vscanf.c): Likewise.
12318         (CFLAGS-isoc99_fscanf.c): Likewise.
12319         (CFLAGS-isoc99_scanf.c): Likewise.
12320         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
12321         (CFLAGS-isoc99_fwscanf.c): Likewise.
12322         (CFLAGS-isoc99_vwscanf.c): Likewise.
12323         (CFLAGS-isoc99_vfwscanf.c): Likewise.
12325         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
12326         after mkstemp64.
12327         * login/tst-utmp.c (do_prepare): Likewise.
12328         * rt/tst-aio.c (do_prepare): Likewise.
12329         * rt/tst-aio64.c (do_prepare): Likewise.
12331 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12333         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12334         (__lll_lock_elision): Remove adapt_count decrement...
12335         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
12336         (__lll_trylock_elision): Likewise.
12337         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
12338         (__lll_unlock_elision): ... to here. And utilize
12339         new adapt_count parameter.
12340         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12341         (__lll_unlock_elision): Update to include adapt_count
12342         parameter.
12343         (lll_unlock_elision): Pass pointer to adapt_count
12344         variable.
12346 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12348         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
12349         Add elision adapt_count parameter to list of arguments.
12350         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12351         (lll_unlock_elision): Update with new parameter list
12352         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12353         (lll_unlock_elision): Likewise.
12354         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
12355         (lll_unlock_elision): Likewise.
12357 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12359         [BZ #19122]
12360         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
12361         attribute_hidden.
12363         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
12364         attribute_hidden.
12365         [IS_IN (rtld)] (__strdup): Likewise.
12366         [IS_IN (rtld)] (__strerror_r): Likewise.
12367         [IS_IN (rtld)] (__strsep_g): Likewise.
12368         [IS_IN (rtld)] (memchr): Likewise.
12369         [IS_IN (rtld)] (memcmp): Likewise.
12370         [IS_IN (rtld)] (memcpy): Likewise.
12371         [IS_IN (rtld)] (memmove): Likewise.
12372         [IS_IN (rtld)] (memset): Likewise.
12373         [IS_IN (rtld)] (rawmemchr): Likewise.
12374         [IS_IN (rtld)] (stpcpy): Likewise.
12375         [IS_IN (rtld)] (strchr): Likewise.
12376         [IS_IN (rtld)] (strcmp): Likewise.
12377         [IS_IN (rtld)] (strlen): Likewise.
12378         [IS_IN (rtld)] (strnlen): Likewise.
12379         [IS_IN (rtld)] (strsep): Likewise.
12381         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
12382         attribute_hidden.
12383         [IS_IN (rtld)] (__strtoul_internal): Likewise.
12385         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
12386         attribute_hidden.
12387         [IS_IN (rtld)] (__libc_sigaction): Likewise.
12389         * include/setjmp.h (__longjmp): Add attribute_hidden.
12390         [IS_IN (rtld)] (__sigsetjmp): Likewise.
12392         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
12393         Add attribute_hidden.
12395         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
12396         [IS_IN (rtld)] (__open): Likewise.
12397         [IS_IN (rtld)] (__fcntl): Likewise.
12399         * include/dirent.h (__opendirat): Add attribute_hidden.
12400         (__getdents): Likewise.
12401         (__getdents64): Likewise.
12402         (__alloc_dir): Likewise.
12403         [IS_IN (rtld)] (__closedir): Likewise.
12404         [IS_IN (rtld)] (__fdopendir): Likewise.
12405         [IS_IN (rtld)] (__readdir): Likewise.
12406         [IS_IN (rtld)] (__readdir64): Likewise.
12407         [IS_IN (rtld)] (__rewinddir): Likewise.
12409         * include/dlfcn.h (_dl_catch_error): Moved to ...
12410         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
12411         attribute_hidden.
12413         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
12414         (_itoa_word): Likewise.
12416         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
12417         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
12418         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
12419         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
12420         (_dl_higher_prime_number): Likewise.
12421         (_dl_debug_printf_c): Likewise.
12422         (_dl_signal_cerror): Likewise.
12423         (_dl_receive_error): Likewise.
12424         (_dl_reloc_bad_type): Likewise.
12425         (_dl_resolve_conflicts): Likewise.
12426         (_dl_check_all_versions): Likewise.
12427         (_dl_check_map_versions): Likewise.
12428         (_dl_sort_fini): Likewise.
12429         (_dl_debug_initialize): Likewise.
12430         (_dl_init_paths): Likewise.
12431         (_dl_show_auxv): Likewise.
12432         (_dl_next_ld_env_entry): Likewise.
12433         (_dl_important_hwcaps): Likewise.
12434         (_dl_load_cache_lookup): Likewise.
12435         (_dl_update_slotinfo): Likewise.
12436         (_dl_show_scope): Likewise.
12438         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
12439         attribute_hidden.
12440         (_wordcopy_fwd_dest_aligned): Likewise.
12441         (_wordcopy_bwd_aligned): Likewise.
12442         (_wordcopy_bwd_dest_aligned): Likewise.
12444         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
12445         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
12446         Likewise.
12447         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
12448         Likewise.
12449         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
12451 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12453         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
12454         GCC 5 requirement.
12456 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
12458         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
12459         test.
12460         * sysdeps/i386/configure: Regenerated.
12461         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
12462         code unconditional.
12464         * configure.ac (libc_cv_asm_previous_directive): Remove configure
12465         test.
12466         (libc_cv_asm_popsection_directive): Likewise.
12467         * configure: Regenerated.
12468         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
12469         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
12470         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
12471         (__make_section_unallocated): Make definition unconditional.
12472         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
12473         Remove conditional definition.
12474         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
12475         (__make_section_unallocated): Likewise.
12477         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
12478         * configure: Regenerated.
12479         * config.make.in (static-libgcc): Remove variable.
12480         * Makerules (build-shlib-helper): Use -static-libgcc instead of
12481         $(static-libgcc).
12482         (build-module-helper): Likewise.
12484         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
12485         * configure: Regenerated.
12487 2015-10-15  Florian Weimer  <fweimer@redhat.com>
12489         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
12490         (struct char_buffer): New type.
12491         (char_buffer_start, char_buffer_size, char_buffer_error)
12492         (char_buffer_rewind, char_buffer_add): New functions.
12493         (ADDW): Remove macro, replaced by the char_buffer_add function.
12494         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
12495         of extend_alloca.  Make control flow more explicit.
12497 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12499         [BZ #19137]
12500         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
12501         Add -fomit-frame-pointer.
12502         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
12504 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12506         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
12507         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
12508         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
12509         only if !__GNUC_PREREQ (5,0).
12510         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
12511         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
12512         (INTERNAL_SYSCALL_NCS): Likewise.
12513         (LOADREGS_0): New macro for GCC 5.
12514         (ASMARGS_0): Likewise.
12515         (LOADREGS_1): Likewise.
12516         (ASMARGS_1): Likewise.
12517         (LOADREGS_2): Likewise.
12518         (ASMARGS_2): Likewise.
12519         (LOADREGS_3): Likewise.
12520         (ASMARGS_3): Likewise.
12521         (LOADREGS_4): Likewise.
12522         (ASMARGS_4): Likewise.
12523         (LOADREGS_5): Likewise.
12524         (ASMARGS_5): Likewise.
12525         (LOADREGS_6): Likewise.
12526         (ASMARGS_6): Likewise.
12528 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12530         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
12531         -fomit-frame-pointer.
12532         (CFLAGS-mmap64.c): Likewise.
12533         (CFLAGS-semtimedop.c): Likewise.
12534         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
12535         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
12536         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12537         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
12539 2015-10-15  Florian Weimer  <fweimer@redhat.com>
12541         [BZ #18928]
12542         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
12543         _dl_pointer_guard member.
12544         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
12545         initializer.
12546         (security_init): Always set up pointer guard.
12547         (process_envvars): Do not process LD_POINTER_GUARD.
12549 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
12551         [BZ #19134]
12552         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
12553         (.LC2): Likewise.
12554         (.LC3): Likewise.
12555         (__lround): Do not add 0.5 to integer or out-of-range arguments.
12557 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12559         [BZ #19129]
12560         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
12561         r0 and r1.
12563 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
12565         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
12567 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
12569         * include/stap-probe.h: Fix macro definition formatting.
12571 2015-10-14  Florian Weimer  <fweimer@redhat.com>
12573         [BZ #19074]
12574         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
12575         load and store num_ifs.
12577 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12579         [BZ #18822]
12580         * sysdeps/unix/sysv/linux/sched_getaffinity.c
12581         (__sched_getaffinity_new): Add libc_hidden_proto and
12582         libc_hidden_def.
12584 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12586         [BZ #19007]
12587         * scripts/localplt.awk: Also allow GOT references.
12588         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
12589         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
12590         with "+ REL R_386_GLOB_DAT".
12591         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
12592         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
12594 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12596         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
12597         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12598         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
12599         Likewise.
12600         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
12601         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
12602         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
12603         INTERNAL_SYSCALLINTERNAL_SYSCALL and
12604         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12605         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
12606         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12607         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
12608         Likewise.
12609         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12611 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
12613         [BZ #19125]
12614         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
12615         <math_private.h> and <stdint.h>.
12616         (__llround): Avoid conversions to and from long long int, and
12617         subtractions, where those might raise spurious exceptions.
12618         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
12619         <math_private.h> and <stdint.h>.
12620         (__llroundf): Avoid conversions to and from long long int, and
12621         subtractions, where those might raise spurious exceptions.
12623 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12625         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
12626         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12627         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12628         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
12629         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12630         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12631         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
12632         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
12633         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
12634         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12635         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12636         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12637         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
12638         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12639         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12640         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
12641         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
12642         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
12643         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
12644         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
12645         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
12646         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
12647         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
12648         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
12649         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
12650         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
12651         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
12652         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
12653         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12654         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
12655         (__xstat64_conv): Likewise.
12656         (__xstat32_conv): Likewise.
12658 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12660         * sysdeps/unix/sysv/linux/sysdep.h: New file.
12661         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
12662         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
12663         <sysdeps/unix/sysv/linux/sysdep.h>.
12664         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
12665         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
12666         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
12667         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12668         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
12669         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
12670         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
12671         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
12672         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
12673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12675         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12676         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12677         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12678         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
12679         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12680         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
12681         (sysdep-dl-routines): Add sysdep.
12682         [$(subdir) == nptl] (libpthread-routines): Likewise.
12683         [$(subdir) == rt] (librt-routines): Likewise.
12684         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
12685         PIC when branching to SYSCALL_ERROR_LABEL.
12686         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
12687         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
12688         <sysdeps/unix/sysv/linux/sysdep.h>.
12689         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
12690         (SYSCALL_ERROR_ERRNO): Removed.
12691         (SYSCALL_ERROR_HANDLER): Changed to empty.
12692         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
12693         (__syscall_error): New prototype.
12694         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
12695         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
12697 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12699         [BZ #19124]
12700         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
12701         (_dl_runtime_resolve_avx512): Make it a hidden alias of
12702         _dl_runtime_resolve_avx.
12703         (_dl_runtime_profile_avx512): Make it a hidden alias of
12704         _dl_runtime_profile_avx.
12706 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
12708         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
12709         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
12710         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
12711         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
12713         [BZ #16422]
12714         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
12715         New configure test.
12716         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
12717         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
12718         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
12719         <math_private.h> and <stdint.h>.
12720         (__llrint): Avoid conversions to long long int where those might
12721         raise spurious exceptions.
12722         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
12723         <math_private.h> and <stdint.h>.
12724         (__llrintf): Avoid conversions to long long int where those might
12725         raise spurious exceptions.
12727 2015-10-12  Andreas Schwab  <schwab@suse.de>
12729         [BZ #18969]
12730         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
12731         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
12732         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
12733         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
12734         $(gen-locales).
12735         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
12736         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
12737         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
12738         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
12739         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
12740         $(gen-locales).
12741         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
12742         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
12743         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
12744         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
12745         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
12746         ($(objpfx)tst-ftell-active-handler.out)
12747         ($(objpfx)tst-ftell-append.out)
12748         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
12749         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
12750         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
12751         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
12752         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
12753         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
12754         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
12755         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
12756         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
12757         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
12758         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
12759         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
12760         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
12761         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
12762         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
12763         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
12764         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
12765         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
12766         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
12767         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
12768         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
12769         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
12770         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
12771         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
12772         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
12773         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
12774         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
12775         $(gen-locales).
12776         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
12777         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
12778         $(gen-locales).
12779         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
12780         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
12781         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
12782         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
12783         $(gen-locales).
12784         * libio/tst_wprintf2.c (main): Use explicit locale.
12785         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
12787 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12789         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
12790         __msg_sig_post.
12791         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
12793 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
12795         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12796         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12798         * sysdeps/arm/libm-test-ulps: Regenerated.
12800         [BZ #15470]
12801         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
12803         [BZ #16399]
12804         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
12805         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
12806         and <fix-fp-int-convert-overflow.h>.
12807         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
12808         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12809         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
12810         and <fix-fp-int-convert-overflow.h>.
12811         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
12812         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12813         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
12814         <fix-fp-int-convert-overflow.h>.
12815         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
12816         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12817         * sysdeps/ieee754/dbl-64/s_lround.c: Include
12818         <fix-fp-int-convert-overflow.h>.
12819         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
12820         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12821         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
12822         and <fix-fp-int-convert-overflow.h>.
12823         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
12824         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12825         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
12826         <limits.h> and <fix-fp-int-convert-overflow.h>.
12827         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
12828         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12829         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
12830         and <fix-fp-int-convert-overflow.h>.
12831         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
12832         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12833         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
12834         and <fix-fp-int-convert-overflow.h>.
12835         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
12836         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12837         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
12839 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
12841         [BZ #18589]
12842         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
12843         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
12844         $(gen-locales).
12846 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12847             Phil Blundell <pb@pbcl.net>
12849         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
12850         * nptl/tst-cancel26.c: New file.
12851         * nptl/tst-cancel27.c: Likewise.
12853 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
12855         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
12856         __ILP32__ isn't defined.
12857         (lrint): Likewise.
12858         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
12859         (lrintf): Likewise.
12860         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
12861         (lrintl): Likewise.
12862         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
12863         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
12864         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
12866 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12868         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
12869         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
12871         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
12872         file.
12873         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
12874         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
12876 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
12878         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
12879         configure test.
12880         * sysdeps/i386/configure: Regenerated.
12881         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
12882         configure test.
12883         * sysdeps/x86_64/configure: Regenerated.
12884         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
12885         Make code unconditional.
12887         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
12888         test.
12889         * sysdeps/i386/configure: Regenerated.
12890         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
12891         test.
12892         * sysdeps/x86_64/configure: Regenerated.
12893         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
12894         Make code unconditional.
12895         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
12896         Likewise.
12897         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
12898         Likewise.
12899         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12900         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
12901         code unconditional.
12902         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12903         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
12904         code unconditional.
12905         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12906         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
12907         code unconditional.
12908         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
12909         code unconditional.
12910         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12911         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
12912         code unconditional.
12913         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12914         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
12915         code unconditional.
12916         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12917         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
12918         code unconditional.
12919         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12920         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
12921         code unconditional.
12922         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12923         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
12925         [BZ #19095]
12926         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
12927         mantissa to long int before shifting left.
12929 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
12931         [BZ #19094]
12932         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
12933         <limits.h>.
12934         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12935         when result overflows but exception would not result from cast.
12936         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
12937         <limits.h>.
12938         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12939         when result overflows but exception would not result from cast.
12940         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
12941         <limits.h>.
12942         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12943         when result overflows but exception would not result from cast.
12944         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
12945         <limits.h>.
12946         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12947         when result overflows but exception would not result from cast.
12948         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
12949         <limits.h>.
12950         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12951         when result overflows but exception would not result from cast.
12952         * math/libm-test.inc (lrint_test_data): Add more tests.
12953         (llrint_test_data): Likewise.
12955 2015-10-08  Roland McGrath  <roland@hack.frob.com>
12957         [BZ #18872]
12958         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
12959         Move out from under [$(run-built-tests) = yes] conditional.
12960         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
12961         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
12963 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
12965         [BZ #18589]
12966         * string/Makefile (tests): Add bug-strcoll2.
12967         (LOCALES): Add cs_CZ.UTF-8.
12968         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
12970         [BZ #18589]
12971         * string/bug-strcoll2.c: New file.
12972         * locale/categories.def: Revert commit
12973         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
12974         * locale/langinfo.h: Likewise.
12975         * locale/localeinfo.h: Likewise.
12976         * locale/C-collate.c: Likewise.
12977         * locale/programs/ld-collate.c (collate_output): Likewise.
12978         * string/strcoll_l.c (STRDIFF): Likewise.
12979         (STRCOLL): Likewise.
12980         * wcsmbs/wcscoll_l.c: Likewise.
12982 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
12984         * math/libm-test.inc (lround_test_data): Do not expect the absence
12985         of "inexact" for some tests with non-integer arguments.
12986         (llround_test_data): Likewise.
12988         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
12989         test.
12990         (libc_cv_cc_sse2avx): Likewise.
12991         * sysdeps/i386/configure: Regenerated.
12992         * sysdeps/i386/i686/multiarch/Makefile
12993         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
12994         [$(subdir) = math].
12995         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
12996         code unconditional.
12997         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
12998         Likewise.
12999         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
13000         Likewise.
13001         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13002         Likewise.
13003         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
13004         test.
13005         (libc_cv_cc_sse2avx): Likewise.
13006         * sysdeps/x86_64/configure: Regenerated.
13007         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
13008         unconditional.
13009         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
13010         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
13011         unconditional.
13012         (_dl_runtime_profile)
13013         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
13014         conditional code.
13015         * sysdeps/x86_64/fpu/multiarch/Makefile
13016         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
13017         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
13018         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13019         * sysdeps/x86_64/fpu/multiarch/e_exp.c
13020         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13021         * sysdeps/x86_64/fpu/multiarch/e_log.c
13022         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13023         * sysdeps/x86_64/fpu/multiarch/s_atan.c
13024         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13025         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13026         Likewise.
13027         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13028         Likewise.
13029         * sysdeps/x86_64/fpu/multiarch/s_sin.c
13030         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13031         * sysdeps/x86_64/fpu/multiarch/s_tan.c
13032         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13033         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
13034         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
13035         (HAVE_SSE2AVX_SUPPORT): Likewise.
13037 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
13039         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
13040         instead of #pragma optimize.
13042 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13044         [BZ #17195]
13045         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
13046         as is similarly done in systrim and _int_free already.
13048 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13050         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
13052 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13054         [BZ #19088]
13055         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
13056         <limits.h>.
13057         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13058         overflows but exception would not result from cast.
13059         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
13060         and <limits.h>.
13061         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13062         overflows but exception would not result from cast.
13063         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
13064         <limits.h>.
13065         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13066         overflows but exception would not result from cast.
13067         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
13068         <limits.h>.
13069         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13070         overflows but exception would not result from cast.
13071         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
13072         <limits.h>.
13073         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13074         overflows but exception would not result from cast.
13075         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
13076         <limits.h>.
13077         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13078         overflows but exception would not result from cast.
13079         * math/libm-test.inc (lround_test_data): Add more tests.
13080         (llround_test_data): Likewise.
13082 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
13084         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
13085         (CFLAGS-ialloc.c): Ditto.
13086         (CFLAGS-scheck.c): Ditto.
13088 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13090         [BZ #19086]
13091         * manual/filesys.texi (Storage Allocation): Fix argument order for
13092         posix_fallocate64.
13094 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13096         [BZ #19085]
13097         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
13098         exponent below 48 inside case for non-overflowing exponent.
13099         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
13101 2015-10-07  Florian Weimer  <fweimer@redhat.com>
13103         * iconvdata/cp737.h (from_idx): Add const.
13104         * iconvdata/cp775.h (from_idx): Likewise.
13106 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13108         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
13109         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
13110         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
13112         [BZ #19079]
13113         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
13114         file, conditioned on [!_LP64].
13115         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
13116         [!_LP64] (__lround): Do not define as function or alias.
13117         [!_LP64] (lround): Likewise.
13118         [!_LP64] (__lroundl): Likewise.
13119         [!_LP64] (lroundl): Likewise.
13120         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
13121         macro.
13122         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
13123         Likewise.
13125 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13127         * math/libm-test.inc (lrint_test_data): Add more tests.
13128         (llrint_test_data): Likewise.
13129         (lround_test_data): Likewise.
13130         (llround_test_data): Likewise.
13132         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
13133         (llrint_test_data): Add tests used for lrint.
13135         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
13136         test.
13137         * sysdeps/i386/configure: Regenerated.
13138         * sysdeps/i386/i686/multiarch/Makefile
13139         [$(config-cflags-sse4) = yes]: Make code unconditional.
13140         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13141         Likewise.
13142         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
13143         Likewise.
13144         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
13145         test.
13146         * sysdeps/x86_64/configure: Regenerated.
13147         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
13148         Make code unconditional.
13149         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13150         Likewise.
13151         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
13152         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
13154         * scripts/rpm2dynsym.sh: Remove file.
13156 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13158         * configure.ac (libc_cv_cxx_thread_local): Define.
13159         * configure: Regenerate.
13160         * config.make.in (have-cxx-thread_local): Define.
13161         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
13162         (LDLIBS-tst-thread_local1): Define.
13163         (tests): Add tst-thread_local1.
13164         [have-cxx-thread_local != yes] (tests-unsupported): Add
13165         tst-thread_local1.
13166         * nptl/tst-thread_local1.cc: New file.
13168 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13170         [BZ #19078]
13171         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
13172         (u_thres): Likewise.
13173         (__expl): Determine whether to call __kernel_standard_l based on
13174         value of result, not argument.
13176         * math/libm-test.inc (scalb_test_data): Add more expectations for
13177         the "inexact" exception.
13179         [BZ #19077]
13180         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
13181         0.0L for argument 1.0L.
13183         [BZ #19076]
13184         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
13185         constant 0.0L when computing infinite result.
13187 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13189         [BZ #10432]
13190         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
13191         malloc_usable_size.
13193 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13195         [BZ #19018]
13196         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13197         Mangle function pointer before storing it.
13198         (__call_tls_dtors): Demangle function pointer before calling it.
13200 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13202         [BZ #19012]
13203         * iconv/gconv_db.c (gen_steps): Check for additional errors.
13204         Clean up on failure.
13206 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
13208         [BZ #19071]
13209         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
13210         long int variable to store possibly incremented high part of
13211         mantissa.
13212         * math/libm-test.inc (lround_test_data): Add tests used for
13213         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
13214         for tests requiring 64-bit long.  Do not condition tests on
13215         [TEST_FLOAT] unnecessarily.
13216         (llround_test_data): Add tests used for lround.  Add another
13217         expectation for the "inexact" exception.  Do not condition tests
13218         on [TEST_FLOAT] unnecessarily.
13220         [BZ #887]
13221         [BZ #19049]
13222         [BZ #19050]
13223         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
13224         * sysdeps/ieee754/dbl-64/e_log10.c: Include
13225         <fix-int-fp-convert-zero.h>.
13226         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13227         * sysdeps/ieee754/dbl-64/e_log2.c: Include
13228         <fix-int-fp-convert-zero.h>.
13229         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13230         * sysdeps/ieee754/dbl-64/s_erf.c: Include
13231         <fix-int-fp-convert-zero.h>.
13232         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13233         * sysdeps/ieee754/dbl-64/s_logb.c: Include
13234         <fix-int-fp-convert-zero.h>.
13235         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13236         * sysdeps/ieee754/flt-32/e_log10f.c: Include
13237         <fix-int-fp-convert-zero.h>.
13238         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13239         * sysdeps/ieee754/flt-32/e_log2f.c: Include
13240         <fix-int-fp-convert-zero.h>.
13241         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13242         * sysdeps/ieee754/flt-32/s_erff.c: Include
13243         <fix-int-fp-convert-zero.h>.
13244         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13245         * sysdeps/ieee754/flt-32/s_logbf.c: Include
13246         <fix-int-fp-convert-zero.h>.
13247         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13248         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
13249         <fix-int-fp-convert-zero.h>.
13250         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13251         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
13252         <fix-int-fp-convert-zero.h>.
13253         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13254         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
13255         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
13256         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
13257         file.
13258         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
13260 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
13262         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13264 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
13266         [BZ #19059]
13267         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
13268         overflowing computation.
13269         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13270         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13271         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13272         Likewise.
13273         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13274         Likewise.
13275         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13276         Likewise.
13277         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13278         Likewise.
13279         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13280         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13281         Likewise.
13282         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13283         Likewise.
13284         * math/libm-test.inc (nexttoward_test_data): Add more tests.
13286         * nss/rewrite_field.c (__nss_rewrite_field): Use
13287         internal_function.
13288         * nss/valid_field.c (__nss_valid_field): Likewise.
13289         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
13291 2015-10-02  Florian Weimer  <fweimer@redhat.com>
13293         [BZ #18724]
13294         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
13295         (__nss_invalid_field_characters, __nss_valid_field)
13296         (__nss_valid_list_field, __nss_rewrite_field): Declare.
13297         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
13298         tst-field.c: New file.
13299         * nss/Makefile (routines): Add valid_field, rewrite_field.
13300         (tests-static): Define unconditionally.
13301         (tests): Include tests-static.
13302         [build-static-nss] (tests-static): Use append.
13303         [build-static-nss] (tests): Remove modification.
13304         * nss/getent.c (print_group): Call putgrent.  Report error.
13305         (print_gshadow): Call putsgent.  Report error.
13306         (print_passwd): Call putpwent.  Report error.
13307         (print_shadow): Call putspent.  Report error.
13308         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
13309         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
13310         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
13311         name, password, directory, shell fields for valid syntax.  Rewrite
13312         GECOS field to match syntax.
13313         * pwd/Makefile (tests): Add tst-putpwent.
13314         * pwd/tst-putpwent.c: New file.
13315         * grp/putgrent.c (putgrent): Convert to ISO function definition.
13316         Check grName, grpasswd, gr_mem fields for valid syntax.
13317         Change loop variable i to size_t.
13318         * grp/Makefile (tests): Add tst-putgrent.
13319         * grp/tst-putgrent.c: New file.
13320         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
13321         valid syntax.
13322         * shadow/Makefile (tests): Add tst-putspent.
13323         * shadow/tst-putspent.c: New file.
13324         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
13325         sg_mem fields for valid syntax.
13326         * gshadow/Makefile (tests): Add tst-putsgent.
13327         * gshadow/tst-putsgent.c: New file.
13329 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13331         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
13332         assembly instructions.
13334 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13336         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
13337         prefix from operands.
13339 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
13341         [BZ #16347]
13342         [BZ #19046]
13343         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
13344         <libc-internal.h>.
13345         (MAXLGM): Do not use diagnostic control macros.
13346         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
13347         threshold for ldbl-128ibm.
13348         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
13349         instead of multiplying by log then subtracting.
13350         * math/auto-libm-test-in: Add more tests of lgamma.
13351         * math/auto-libm-test-out: Regenerated.
13353         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
13354         (TYPE_HEX_DIG): Likewise.
13355         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
13356         precisions when printing floating-point numbers.
13357         (check_float_internal): Likewise.
13359 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
13361         [BZ #16620]
13362         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
13363         of log (10) rounded downward to 48 bits.
13364         (log10_low): Use corresponding low part of log (10).
13366         [BZ #19032]
13367         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
13368         compute result as (x - x) / (x - x) not as 0 / 0.
13369         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13370         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
13372         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13373         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
13374         and expm1.
13375         * math/auto-libm-test-out: Regenerated.
13376         * math/libm-test.inc (acos_test_data): Add more tests.
13377         (asin_test_data): Likewise.
13378         (asinh_test_data): Likewise.
13379         (atan_test_data): Likewise.
13380         (atanh_test_data): Likewise.
13381         (atan2_test_data): Likewise.
13382         (cbrt_test_data): Likewise.
13383         (ceil_test_data): Likewise.
13384         (copysign_test_data): Likewise.
13385         (cos_test_data): Likewise.
13386         (cosh_test_data): Likewise.
13387         (erf_test_data): Likewise.
13388         (erfc_test_data): Likewise.
13389         (exp_test_data): Likewise.
13390         (exp10_test_data): Likewise.
13391         (exp2_test_data): Likewise.
13392         (expm1_test_data): Likewise.
13393         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13395 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
13397         [BZ #19006]
13398         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
13399         to ...
13400         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
13401         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
13402         to ...
13403         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
13404         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
13405         to ...
13406         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
13407         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
13408         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
13409         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
13410         to ...
13411         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
13412         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13413         Moved to ...
13414         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
13415         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13416         Moved to ...
13417         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
13418         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
13419         to ...
13420         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
13421         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13422         Moved to ...
13423         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
13424         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
13425         to ...
13426         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
13427         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
13428         Removed.
13429         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
13430         Likewise.
13431         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
13432         Likewise.
13433         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
13434         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
13435         Likewise.
13436         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13437         Likewise.
13438         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13439         Likewise.
13440         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13441         Likewise.
13442         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13443         Likewise.
13444         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
13445         Likewise.
13446         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
13447         Likewise.
13448         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
13449         Likewise.
13450         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
13451         Likewise.
13452         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
13453         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
13454         Likewise.
13455         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13456         Likewise.
13457         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13458         Likewise.
13459         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13460         Likewise.
13461         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
13462         Likewise.
13463         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13464         Replace ../i486/pthread_cond_timedwait.S with
13465         ../pthread_cond_timedwait.S.
13467 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
13469         * math/libm-test.inc (acos_test_data): Refine expectations for
13470         errno and "inexact" exceptions.
13471         (acosh_test_data): Likewise.
13472         (asin_test_data): Likewise.
13473         (asinh_test_data): Likewise.
13474         (atan_test_data): Likewise.
13475         (atanh_test_data): Likewise.
13476         (atan2_test_data): Likewise.
13477         (cbrt_test_data): Likewise.
13478         (ceil_test_data): Likewise.
13479         (copysign_test_data): Likewise.
13480         (cosh_test_data): Likewise.
13481         (erf_test_data): Likewise.
13482         (erfc_test_data): Likewise.
13483         (exp_test_data): Likewise.
13484         (exp10_test_data): Likewise.
13485         (exp2_test_data): Likewise.
13486         (expm1_test_data): Likewise.
13487         (fabs_test_data): Likewise.
13488         (floor_test_data): Likewise.
13489         (fma_test_data): Likewise.
13490         (fmax_test_data): Likewise.
13491         (fmin_test_data): Likewise.
13492         (fmod_test_data): Likewise.
13493         (fpclassify_test_data): Likewise.
13494         (frexp_test_data): Likewise.
13495         (hypot_test_data): Likewise.
13496         (ilogb_test_data): Likewise.
13497         (isgreater_test_data): Likewise.
13498         (isgreaterequal_test_data): Likewise.
13499         (isinf_test_data): Likewise.
13500         (isless_test_data): Likewise.
13501         (islessequal_test_data): Likewise.
13502         (islessgreater_test_data): Likewise.
13503         (isnan_test_data): Likewise.
13504         (isnormal_test_data): Likewise.
13505         (issignaling_test_data): Likewise.
13506         (isunordered_test_data): Likewise.
13507         (j0_test_data): Likewise.
13508         (j1_test_data): Likewise.
13509         (jn_test_data): Likewise.
13510         (lgamma_test_data): Likewise.
13511         (lrint_test_data): Likewise.
13512         (llrint_test_data): Likewise.
13513         (log_test_data): Likewise.
13514         (log10_test_data): Likewise.
13515         (log1p_test_data): Likewise.
13516         (log2_test_data): Likewise.
13517         (logb_test_data): Likewise.
13518         (lround_test_data): Likewise.
13519         (llround_test_data): Likewise.
13520         (modf_test_data): Likewise.
13521         (nearbyint_test_data): Likewise.
13522         (nextafter_test_data): Likewise.
13523         (nexttoward_test_data): Likewise.
13524         (pow_test_data): Likewise.
13525         (remainder_test_data): Likewise.
13526         (remquo_test_data): Likewise.
13527         (rint_test_data): Likewise.
13528         (round_test_data): Likewise.
13529         (signbit_test_data): Likewise.
13530         (sinh_test_data): Likewise.
13531         (sqrt_test_data): Likewise.
13532         (tanh_test_data): Likewise.
13533         (tgamma_test_data): Likewise.
13534         (trunc_test_data): Likewise.
13535         (y0_test_data): Likewise.
13536         (y1_test_data): Likewise.
13537         (yn_test_data): Likewise.
13538         (significand_test_data): Likewise.
13540 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
13542         * manual/filesys.texi (Storage Allocation): Document that
13543         posix_fallocate emulation fails when fd is open with O_WRONLY.
13545 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
13547         [BZ #19016]
13548         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
13549         allow more cases with X^2 + Y^2 >= 0.5.
13550         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
13551         normal element in sum instead of special-casing based on values of
13552         arguments.
13553         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
13554         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
13555         -1 as normal element in sum instead of special-casing based on
13556         values of arguments.
13557         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
13558         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
13559         (__x2y2m1): Update comment.
13560         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
13561         as normal element in sum instead of special-casing based on values
13562         of arguments.
13563         * math/s_clog.c (__clog): Handle more cases using log1p without
13564         hypot.
13565         * math/s_clog10.c (__clog10): Likewise.
13566         * math/s_clog10f.c (__clog10f): Likewise.
13567         * math/s_clog10l.c (__clog10l): Likewise.
13568         * math/s_clogf.c (__clogf): Likewise.
13569         * math/s_clogl.c (__clogl): Likewise.
13570         * math/auto-libm-test-in: Add more tests of clog and clog10.
13571         * math/auto-libm-test-out: Regenerated.
13572         * sysdeps/i386/fpu/libm-test-ulps: Update.
13573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13575 2015-09-28  Martin Sebor  <msebor@redhat.com>
13577         [BZ #18969]
13578         * string/Makefile (LOCALES): Define.
13579         (gen-locales.mk): Include.
13580         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
13581         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
13582         * string/tst-strxfrm2.c (do_test): Print the name of the locale
13583         on setlocale failure.
13585 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
13587         [BZ #18985]
13588         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
13589         (__strftime_internal): Likewise.
13590         * time/tst-strftime.c (do_bz18985): New test.
13591         (do_test): Call it.
13593 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
13595         [BZ #18956]
13596         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
13597         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
13598         extracting high part.
13599         * math/auto-libm-test-in: Add another test of pow.
13600         * math/auto-libm-test-out: Regenerated.
13601         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13603 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
13605         [BZ #18825]
13606         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
13607         New macro.
13608         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
13609         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13610         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
13611         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
13612         DBL_NARROW_EVAL, reloading the PIC register as needed.
13613         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
13614         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
13615         FLT_NARROW_EVAL.  Use separate return path for case when first
13616         argument is NaN.
13617         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
13618         DEFINE_LDBL_MIN.
13619         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
13620         PIC register.
13621         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
13622         math_check_force_underflow_nonneg.
13623         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
13624         underflow for subnormal result.
13625         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13626         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
13627         math_check_force_underflow_nonneg.
13628         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
13629         math_check_force_underflow.
13630         * sysdeps/x86_64/fpu/x86_64-math-asm.h
13631         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
13632         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
13633         DEFINE_LDBL_MIN.
13634         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
13635         * math/auto-libm-test-in: Add more tests of pow.
13636         * math/auto-libm-test-out: Regenerated.
13638 2015-09-25  Florian Weimer  <fweimer@redhat.com>
13640         * nss/bug17079.c (init_test_items): Add diagnostic for
13641         inconsistent entries.
13642         (test_buffer_size): Skip inconsistent entries.
13644 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
13646         [BZ #13304]
13647         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
13648         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
13649         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
13651         [BZ #13304]
13652         * sysdeps/microblaze/s_fma.c: New file.
13653         * sysdeps/microblaze/s_fmaf.c: Likewise.
13654         * sysdeps/microblaze/sfp-machine.h: Likewise.
13656 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
13658         [BZ #17250]
13659         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
13660         member.
13662 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
13664         [BZ #18803]
13665         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
13666         (MO): New macro.
13667         (__ieee754_hypot) [PIC]: Load PIC register.
13668         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
13669         DBL_NARROW_EVAL.
13670         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
13671         math_check_force_underflow_nonneg in case where result might be
13672         tiny.
13673         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13674         Likewise.
13675         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13676         Likewise.
13677         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13678         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
13679         * math/auto-libm-test-in: Add more tests of hypot.
13680         * math/auto-libm-test-out: Regenerated.
13682 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
13684         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
13686 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
13688         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
13689         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
13690         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
13691         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
13692         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
13693         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
13694         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
13696         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
13697         LOAD_PIC_REG.
13699         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
13700         (FLT_CHECK_FORCE_UFLOW): Likewise.
13701         (DBL_CHECK_FORCE_UFLOW): Likewise.
13702         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
13703         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
13704         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
13705         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13706         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13707         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13708         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13709         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13710         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
13711         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13712         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
13713         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
13714         (flt_min): Replace with use of DEFINE_FLT_MIN.
13715         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
13716         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
13717         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13718         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
13719         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
13720         (flt_min): Replace with use of DEFINE_FLT_MIN.
13721         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
13722         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
13723         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13724         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
13725         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
13726         (flt_min): Replace with use of DEFINE_FLT_MIN.
13727         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
13728         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
13729         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
13730         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
13731         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
13732         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
13733         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
13734         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
13735         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13736         (__atan): Use DBL_CHECK_FORCE_UFLOW.
13737         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
13738         (flt_min): Replace with use of DEFINE_FLT_MIN.
13739         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
13740         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
13741         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13742         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
13743         main computation.
13744         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
13745         (flt_min): Replace with use of DEFINE_FLT_MIN.
13746         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
13747         main computation.
13748         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
13749         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13750         (MO): New macro.
13751         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
13752         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
13753         (flt_min): Replace with use of DEFINE_FLT_MIN.
13754         (MO): New macro.
13755         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
13756         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
13757         (__log1pl): Use MO.
13759         [BZ #19003]
13760         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
13761         $(config-cflags-nofma).
13763 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13765         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13767 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
13769         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
13770         (TWO127): Likewise.
13772         * sysdeps/generic/math_private.h (fabs_tg): New macro.
13773         (min_of_type): Likewise.
13774         (math_check_force_underflow): Likewise.
13775         (math_check_force_underflow_nonneg): Likewise.
13776         (math_check_force_underflow_complex): Likewise.
13777         * math/e_exp2l.c (__ieee754_exp2l): Use
13778         math_check_force_underflow_nonneg.
13779         * math/k_casinh.c (__kernel_casinh): Likewise.
13780         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13781         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13782         * math/s_catan.c (__catan): Use
13783         math_check_force_underflow_complex.
13784         * math/s_catanf.c (__catanf): Likewise.
13785         * math/s_catanh.c (__catanh): Likewise.
13786         * math/s_catanhf.c (__catanhf): Likewise.
13787         * math/s_catanhl.c (__catanhl): Likewise.
13788         * math/s_catanl.c (__catanl): Likewise.
13789         * math/s_ccosh.c (__ccosh): Likewise.
13790         * math/s_ccoshf.c (__ccoshf): Likewise.
13791         * math/s_ccoshl.c (__ccoshl): Likewise.
13792         * math/s_cexp.c (__cexp): Likewise.
13793         * math/s_cexpf.c (__cexpf): Likewise.
13794         * math/s_cexpl.c (__cexpl): Likewise.
13795         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
13796         * math/s_clog10.c (__clog10): Likewise.
13797         * math/s_clog10f.c (__clog10f): Likewise.
13798         * math/s_clog10l.c (__clog10l): Likewise.
13799         * math/s_clogf.c (__clogf): Likewise.
13800         * math/s_clogl.c (__clogl): Likewise.
13801         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
13802         * math/s_csinf.c (__csinf): Likewise.
13803         * math/s_csinh.c (__csinh): Likewise.
13804         * math/s_csinhf.c (__csinhf): Likewise.
13805         * math/s_csinhl.c (__csinhl): Likewise.
13806         * math/s_csinl.c (__csinl): Likewise.
13807         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
13808         * math/s_csqrtf.c (__csqrtf): Likewise.
13809         * math/s_csqrtl.c (__csqrtl): Likewise.
13810         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
13811         * math/s_ctanf.c (__ctanf): Likewise.
13812         * math/s_ctanh.c (__ctanh): Likewise.
13813         * math/s_ctanhf.c (__ctanhf): Likewise.
13814         * math/s_ctanhl.c (__ctanhl): Likewise.
13815         * math/s_ctanl.c (__ctanl): Likewise.
13816         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
13817         instead of volatile.
13818         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
13819         math_check_force_underflow.
13820         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13821         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
13822         volatile when forcing underflow.
13823         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13824         math_check_force_underflow_nonneg.
13825         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
13826         Likewise.
13827         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
13828         math_check_force_underflow.
13829         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13830         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13831         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13832         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
13833         math_check_force_underflow_nonneg.
13834         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
13835         math_check_force_underflow.
13836         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
13837         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
13838         instead of volatile.
13839         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
13840         math_check_force_underflow.
13841         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
13842         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13843         math_check_force_underflow_nonneg.
13844         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
13845         math_check_force_underflow.
13846         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
13847         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13848         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
13849         math_check_force_underflow_nonneg.
13850         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
13851         Likewise.
13852         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
13853         math_check_force_underflow.
13854         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13855         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
13856         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
13857         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
13858         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
13859         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
13860         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
13861         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
13862         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13863         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
13864         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
13865         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
13866         Likewise.
13867         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
13868         math_check_force_underflow_nonneg.
13869         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
13870         Likewise.
13871         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
13872         math_check_force_underflow.
13873         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13874         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
13875         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13876         Likewise.
13877         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
13878         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
13879         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
13880         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
13881         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
13882         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
13883         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
13884         instead of volatile.
13885         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
13886         math_check_force_underflow.
13887         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
13888         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
13889         math_check_force_underflow.
13890         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
13891         Likewise.
13892         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13893         Use math_check_force_underflow_nonneg.
13894         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
13895         math_check_force_underflow.
13896         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
13897         Likewise.
13898         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13899         Likewise.
13900         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13901         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13902         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13903         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13904         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
13905         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13906         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
13907         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
13908         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
13909         math_check_force_underflow_nonneg.
13910         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
13911         math_check_force_underflow.
13912         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13913         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
13914         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
13915         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
13916         math_check_force_underflow_nonneg.
13917         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
13918         math_check_force_underflow.
13919         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
13920         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
13921         instead of volatile.
13922         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
13923         math_check_force_underflow.
13925         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
13926         * stdlib/strtod_l.c: Include <math_private.h>.
13927         (overflow_value): Use math_narrow_eval.
13928         (underflow_value): Likewise.
13929         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13930         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13931         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
13932         (__ieee754_gamma_r): Likewise.
13933         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
13934         Likewise.
13935         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
13936         Likewise.
13937         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
13938         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
13939         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
13940         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
13941         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13942         (__ieee754_gammaf_r): Likewise.
13943         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13944         Likewise.
13945         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
13946         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
13947         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
13948         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
13949         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
13950         volatile.
13951         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
13952         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
13953         math_narrow_eval.
13954         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13955         Likewise.
13956         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13957         Likewise.
13958         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
13959         Likewise.
13960         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
13961         volatile.
13962         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
13963         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
13964         math_narrow_eval.
13965         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13966         Likewise.
13967         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13968         Likewise.
13970 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
13972         * nptl/Versions: Remove ignored symbols.
13974 2015-09-22  Florian Weimer  <fweimer@redhat.com>
13976         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
13977         * nss/Makefile (tests): Update.
13979 2015-09-22  Florian Weimer  <fweimer@redhat.com>
13981         * nss/bug18287.c: New file.
13982         * nss/Makefile (tests): Add bug18287.
13984 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13986         * mach/Versions (__mach_host_self_): Add symbol.
13988 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13990         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
13991         vm_page_size.
13993 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13995         Really fix sysdeps/i386/fpu/s_scalbn.S build
13997         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
13998         (libc: GLIBC_2_22): Remove unused version set.
14000 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
14002         * config.make.in (enable-timezone-tools): New variable.
14003         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
14004         (enable_timezone_tools): Export to generated files.
14005         * configure: Regenerate.
14006         * INSTALL: Regenerate.
14007         * manual/install.texi (--disable-timezone-tools): Document new flag.
14008         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
14009         ifeq ($(enable-timezone-tools),yes) check.
14011 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14013         * timezone/Makefile: Revert previous change.
14015         [BZ #18980]
14016         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
14017         (DEFINE_DBL_MIN): Likewise.
14018         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14019         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14020         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14021         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14022         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
14023         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14024         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14025         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
14026         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
14027         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14028         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14029         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
14030         (flt_min): Replace with use of DEFINE_FLT_MIN.
14031         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14032         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
14033         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14034         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14035         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
14036         (flt_min): Replace with use of DEFINE_FLT_MIN.
14037         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14038         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
14039         (flt_min): Replace with use of DEFINE_FLT_MIN.
14040         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14041         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
14042         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
14043         (__ieee754_hypot): Use DBL_NARROW_EVAL.
14044         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
14045         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
14046         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
14047         (__ieee754_pow): Use DBL_NARROW_EVAL.
14048         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
14049         (__ieee754_powf): Use FLT_NARROW_EVAL.
14050         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
14051         (__ieee754_expf_sse2): Convert double-precision result to single
14052         precision.
14053         * sysdeps/i386/fpu/libm-test-ulps: Update.
14055 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14057         * timezone/Makefile: Ignore unused variable errors due to private.h
14058         (time_t_min) and (time_t_max).
14059         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
14060         Likewise.
14062 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14064         [BZ #18981]
14065         * sysdeps/i386/fpu/i386-math-asm.h: New file.
14066         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
14067         (__ieee754_scalb): Use DBL_NARROW_EVAL.
14068         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
14069         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
14070         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
14071         (__scalbn): Use DBL_NARROW_EVAL.
14072         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
14073         (__scalbnf): Use FLT_NARROW_EVAL.
14075 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14077         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
14078         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
14079         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
14080         * stdio-common/printf_fp.c (___printf_fp):
14081         Use signbit to get the sign. Use isinf macro to allow inlining.
14082         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
14083         * stdio-common/printf_size.c (__printf_size): Likewise.
14085 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
14087         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
14089 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14091         [BZ #18980]
14092         * sysdeps/generic/math_private.h: Include <float.h>.
14093         (math_narrow_eval): New macro.
14094         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14095         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
14096         math_narrow_eval on overflowing return value.
14097         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
14098         Likewise.
14099         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14100         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
14101         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
14102         Likewise.
14103         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14105 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14107         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
14108         * math/Makefile: Remove isinf_ns.c.
14109         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
14110         * math/multc3.c (__multc3): Likewise.
14111         * math/s_casin.c (__casin): Likewise.
14112         * math/s_casinf.c (__casinf): Likewise.
14113         * math/s_casinl.c (__casinl): Likewise.
14114         * math/s_cproj.c (__cproj): Likewise.
14115         * math/s_cprojf.c (__cprojf): Likewise.
14116         * math/s_cprojl.c (__cprofl): Likewise.
14117         * math/s_ctan.c (__ctan): Likewise.
14118         * math/s_ctanf.c (__ctanf): Likewise.
14119         * math/s_ctanh.c (__ctanh): Likewise.
14120         * math/s_ctanhf.c (__ctanhf): Likewise.
14121         * math/s_ctanhl.c (__ctanhl): Likewise.
14122         * math/s_ctanl.c (__ctanl): Likewise.
14123         * math/w_fmod.c (__fmod): Likewise.
14124         * math/w_fmodf.c (__fmodf): Likewise.
14125         * math/w_fmodl.c (_fmodl): Likewise.
14126         * math/w_remainder.c (__remainder): Likewise.
14127         * math/w_remainderf.c (__remainderf): Likewise.
14128         * math/w_remainderl.c (__remainderl): Likewise.
14129         * math/w_scalb.c (__scalb): Likewise.
14130         * math/w_scalbf.c (__scalbf): Likewise.
14131         * math/w_scalbl.c (__scalbl): Likewise.
14132         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
14133         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
14134         with isinf.
14135         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
14136         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
14137         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
14138         __isinf_nsf with isinf.
14139         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
14140         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
14141         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
14142         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
14143         with isinf.
14144         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
14145         __isinf_nsl with isinf.
14146         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
14147         with isinf.
14148         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
14149         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
14150         __isinf_nsl with isinf.
14151         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
14152         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
14153         with isinf.
14155 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14157         * resolv/base64.c (rcsid): Remove unused static.
14158         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
14159         static.  (tqpi1): Likewise.
14160         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
14161         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
14162         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
14163         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
14164         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
14165         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
14166         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
14167         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
14168         Likewise.
14170 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
14172         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
14173         <nptl/pthreadP.h>.
14174         (_longjmp_unwind): Use __libc_ptf_call.
14175         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
14177 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
14179         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
14180         * sysdeps/arm/__longjmp.S: Likewise.
14182 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14184         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
14185         Use __builtin_signbit.
14186         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
14187         Use __builtin_signbitf.
14188         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
14189         Use __builtin_signbitl.
14190         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14191         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
14193 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14195         [BZ #15367]
14196         [BZ #17441]
14198         * math/Makefile: Build test-snan.c with -fsignaling-nans.
14199         * math/math.h (fpclassify): Use __builtin_fpclassify when
14200         available.  (signbit): Use __builtin_signbit(f/l).
14201         (isfinite): Use__builtin_isfinite.  (isnormal): Use
14202         __builtin_isnormal.  (isnan): Use __builtin_isnan.
14203         (isinf): Use __builtin_isinf_sign.
14205 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14207         * benchtests/Makefile: Add bench-math-inlines, link with libm.
14208         * benchtests/bench-math-inlines.c: New benchmark.
14209         * benchtests/bench-util.h: New file.
14210         * benchtests/bench-util.c: New file.
14211         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
14213 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
14215         * elf/tst-dlmopen1.c: Define TEST_SO.
14216         (do_test): Use TEST_SO.
14218         * elf/dl-load.c: Include libc-internal.h.
14219         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
14221 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14223         [BZ #17887]
14224         * time/strptime_l.c (__strptime_internal): Make %z accept
14225         [+-]HH:MM time zones.
14227 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14229         [BZ #17886]
14230         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
14231         valid time zone.
14233 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
14235         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
14236         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
14237         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14238         (__ASSUME_FDATASYNC): Delete.
14240 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14242         * conform/linknamespace.pl: Require weak undefined symbols to be
14243         in the standard namespace.
14244         (%strong_syms): Rename to %seen_syms.
14245         (%strong_seen): Rename to %seen_where.
14247 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
14249         [BZ #18970]
14250         * misc/error.c (error): Replace pthread_setcancelstate with
14251         __pthread_setcancelstate.
14252         (error_at_line): Likewise.
14253         * posix/wordexp.c (parse_comm): Likewise.
14254         * stdlib/fmtmsg.c (fmtmsg): Likewise.
14255         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
14256         (__pthread_setcancelstate): This.
14257         (pthread_setcancelstate): Add an alias.
14258         * nptl/nptl-init.c (pthread_functions): Replace
14259         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
14260         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
14261         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
14262         hidden_proto.
14263         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
14264         it with hidden_def.
14265         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
14266         (pthread_setcancelstate): Renamed to ...
14267         (__pthread_setcancelstate): This.
14268         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
14269         __libc_ptf_call with __pthread_setcancelstate.
14271 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14272             Andreas Schwab  <schwab@suse.de>
14274         [BZ #17118]
14275         * math/s_ctan.c (__ctan): Determine sign of zero real part of
14276         result when imaginary part of argument is infinite using sine and
14277         cosine.
14278         * math/s_ctanf.c (__ctanf): Likewise.
14279         * math/s_ctanl.c (__ctanl): Likewise.
14280         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
14281         of result when real part of argument is infinite using sine and
14282         cosine.
14283         * math/s_ctanhf.c (__ctanhf): Likewise.
14284         * math/s_ctanhl.c (__ctanhl): Likewise.
14285         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
14286         (ctanh_test_data): Add more tests of ctanh.
14288 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14290         [BZ #15384]
14291         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
14292         bit-mask as in subtraction.
14293         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
14294         Likewise.
14295         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
14296         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
14297         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
14299         [BZ #18951]
14300         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
14301         underflow exception for small results.
14302         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14303         Likewise.
14304         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14305         Likewise.
14306         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14307         Likewise.
14308         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14309         Likewise.
14310         * math/auto-libm-test-in: Add more tests of tgamma.
14311         * math/auto-libm-test-out: Regenerated.
14313 2015-09-17  Andreas Schwab  <schwab@suse.de>
14315         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
14317 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14319         [BZ #18977]
14320         * math/bits/mathcalls.h
14321         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
14322         not declare.
14323         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
14324         Likewise.
14325         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
14326         Likewise.
14327         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
14328         Likewise.
14329         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
14330         Likewise.
14331         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
14332         Likewise.
14333         * conform/data/math.h-data
14334         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
14335         function.
14336         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
14337         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
14338         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
14339         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
14340         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
14341         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
14342         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
14343         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
14344         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
14345         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
14346         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
14348         [BZ #6803]
14349         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
14350         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
14351         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
14352         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
14353         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
14354         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
14355         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
14356         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
14357         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14358         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
14359         Likewise.
14360         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14361         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
14362         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
14363         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
14364         long_double_symbol calls.
14365         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
14366         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
14367         strong alias of __ldexpl.
14368         (scalbnl): Define using long_double_symbol.
14369         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
14370         Remove alias.
14371         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
14372         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
14373         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
14374         (scalbln_test_data): Add more errno expectations.
14376 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
14378         Cache the host port like we cache the task port.  This way we do not
14379         need to call the kernel just to get the port.  Furthermore, we no
14380         longer increase the reference count on every invocation of
14381         `mach_host_self'.
14383         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
14384         Protect declarations against the macro expansion.
14385         * mach/mach_init.c (__mach_host_self_): New variable.
14386         (mach_init): Initialize `__mach_host_self_'.
14387         * mach/mach_init.h (__mach_host_self_): New declaration.
14388         (__mach_host_self, mach_host_self): New macros.
14389         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
14390         Release reference.
14392 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14394         [BZ #4404]
14395         * po/de.po: Update from Translation Project.
14397         [BZ #16415]
14398         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
14399         (__expm1l): Remove code to handle positive infinity and overflow.
14400         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
14401         variable.
14402         (__expm1l): Remove code to handle positive infinity and overflow.
14404 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
14405             Paul Pluzhnikov  <ppluzhnikov@google.com>
14407         [BZ #18872]
14408         * stdio-common/Makefile (tst-printf-bz18872): New test.
14409         (tst-printf-bz18872-mem.out): Likewise.
14410         * stdio-common/tst-printf-bz18872.sh: Generate new test.
14411         * stdio-common/vfprintf.c: Fix memory leaks.
14413 2015-09-16  Andreas Schwab  <schwab@suse.de>
14415         [BZ #17244]
14416         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
14417         Remove extra va_start/va_end calls.
14419         [BZ #17243]
14420         * posix/execl.c (execl): Add missing va_end.
14421         * posix/execle.c (execle): Likewise.
14422         * posix/execlp.c (execlp): Likewise.
14424 2015-09-15  Roland McGrath  <roland@hack.frob.com>
14426         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
14427         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
14429 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
14431         [BZ #18967]
14432         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
14433         undefine around includes of <bits/mathcalls.h>.
14434         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
14435         not declare function.
14436         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
14437         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
14438         (scalb): Likewise.
14439         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
14440         not define macro.
14441         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
14442         variable.
14443         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14444         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14445         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14447         [BZ #18857]
14448         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
14449         return non-finite argument without doing ordered comparisons on
14450         it.
14452         [BZ #16296]
14453         * math/fenv.h (fegetround): Use __attribute_pure__.
14454         * include/fenv.h (__fegetround): Likewise.
14456         [BZ #18595]
14457         * math/s_ctan.c (__ctan): Force underflow exception for results
14458         whose real or imaginary part has small absolute value.
14459         * math/s_ctanf.c (__ctanf): Likewise.
14460         * math/s_ctanh.c (__ctanh): Likewise.
14461         * math/s_ctanhf.c (__ctanhf): Likewise.
14462         * math/s_ctanhl.c (__ctanhl): Likewise.
14463         * math/s_ctanl.c (__ctanl): Likewise.
14464         * math/auto-libm-test-in: Do not allow missing underflow for ctan
14465         and ctanh.  Add more tests of ctan and ctanh.
14467         [BZ #15918]
14468         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
14469         handling of cases where one argument is an infinity.
14471         [BZ #18875]
14472         [BZ #18966]
14473         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
14474         (MO): New macro.
14475         (__ieee754_exp10): For small results, force underflow exception
14476         and remove excess range and precision from return value.
14477         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
14478         (MO): New macro.
14479         (__ieee754_exp10f): For small results, force underflow exception
14480         and remove excess range and precision from return value.
14481         * math/auto-libm-test-in: Add more tests of exp10.
14482         * math/auto-libm-test-out: Regenerated.
14484 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
14486         [BZ #18875]
14487         [BZ #18961]
14488         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
14489         (MO): New macro.
14490         (__ieee754_exp): For small results, force underflow exception and
14491         remove excess range and precision from return value.
14492         (__exp_finite): Likewise.
14493         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
14494         (MO): New macro.
14495         (__ieee754_expf): For small results, force underflow exception and
14496         remove excess range and precision from return value.
14497         (__expf_finite): Likewise.
14498         * math/auto-libm-test-in: Add more tests of exp.
14499         * math/auto-libm-test-out: Regenerated.
14501         [BZ #16521]
14502         [BZ #18875]
14503         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
14504         small results.
14505         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
14506         (MO): New macro.
14507         (__ieee754_exp2): For small results, force underflow exception and
14508         remove excess range and precision from return value.
14509         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
14510         (MO): New macro.
14511         (__ieee754_exp2f): For small results, force underflow exception
14512         and remove excess range and precision from return value.
14513         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
14514         (MO): New macro.
14515         (__ieee754_exp2l): Force underflow exception for small results.
14516         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14517         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14518         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
14519         (MO): New macro.
14520         (__ieee754_exp2l): Force underflow exception for small results.
14521         * math/auto-libm-test-in: Add more tests or exp2.
14522         * math/auto-libm-test-out: Regenerated.
14524 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
14526         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
14528         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
14529         /dev/null.
14531 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14533         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14534         io fs process)): Drop spurious backslash.
14536 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
14538         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
14539         Use sysinfo system call instead of parsing /proc/meminfo.
14540         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
14541         Likewise.
14543 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
14545         [BZ #16985]
14546         * programs/localedef.c (main): Display argv[remaining] when
14547         output_path is NULL.
14549 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
14551         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14552         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
14553         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
14554         tanh.
14555         * math/auto-libm-test-out: Regenerated.
14556         * sysdeps/i386/fpu/libm-test-ulps: Update.
14557         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14558         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14561 2015-09-11  Roland McGrath  <roland@hack.frob.com>
14563         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
14564         Use 'override' keyword to freeze the value here, preventing
14565         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
14567 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
14569         [BZ #14912]
14570         * sysdeps/aarch64/bits/atomic.h: Move to ...
14571         * sysdeps/aarch64/atomic-machine.h: ...here.
14572         (_AARCH64_BITS_ATOMIC_H): Rename macro to
14573         _AARCH64_ATOMIC_MACHINE_H.
14574         * sysdeps/alpha/bits/atomic.h: Move to ...
14575         * sysdeps/alpha/atomic-machine.h: ...here.
14576         * sysdeps/arm/bits/atomic.h: Move to ...
14577         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
14578         * bits/atomic.h: Move to ...
14579         * sysdeps/generic/atomic-machine.h: ...here.
14580         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14581         * sysdeps/i386/bits/atomic.h: Move to ...
14582         * sysdeps/i386/atomic-machine.h: ...here.
14583         * sysdeps/ia64/bits/atomic.h: Move to ...
14584         * sysdeps/ia64/atomic-machine.h: ...here.
14585         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
14586         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
14587         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14588         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
14589         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
14590         * sysdeps/microblaze/bits/atomic.h: Move to ...
14591         * sysdeps/microblaze/atomic-machine.h: ...here.
14592         * sysdeps/mips/bits/atomic.h: Move to ...
14593         * sysdeps/mips/atomic-machine.h: ...here.
14594         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
14595         * sysdeps/powerpc/bits/atomic.h: Move to ...
14596         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
14597         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
14598         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
14599         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
14600         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
14601         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
14602         <atomic-machine.h> instead of <bits/atomic.h>.
14603         * sysdeps/s390/bits/atomic.h: Move to ...
14604         * sysdeps/s390/atomic-machine.h: ...here.
14605         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
14606         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
14607         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14608         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
14609         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
14610         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
14611         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
14612         * sysdeps/tile/bits/atomic.h: Move to ...
14613         * sysdeps/tile/atomic-machine.h: ...here.
14614         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
14615         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
14616         <sysdeps/tile/atomic-machine.h> instead of
14617         <sysdeps/tile/bits/atomic.h>.
14618         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14619         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
14620         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
14621         <sysdeps/tile/atomic-machine.h> instead of
14622         <sysdeps/tile/bits/atomic.h>.
14623         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14624         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
14625         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
14626         <sysdeps/arm/atomic-machine.h> instead of
14627         <sysdeps/arm/bits/atomic.h>.
14628         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
14629         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
14630         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14631         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
14632         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
14633         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14634         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
14635         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
14636         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
14637         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
14638         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
14639         * sysdeps/x86_64/bits/atomic.h: Move to ...
14640         * sysdeps/x86_64/atomic-machine.h: ...here.
14641         * include/atomic.h: Include <atomic-machine.h> instead of
14642         <bits/atomic.h>.
14644         * sysdeps/mips/mips32/libm-test-ulps: Update.
14645         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14647         [BZ #18952]
14648         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
14649         not convert non-integer negative arguments to int to determine the
14650         value of signgam.
14651         * math/auto-libm-test-in: Add more tests of lgamma.
14652         * math/auto-libm-test-out: Regenerated.
14654         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
14655         cosh, csqrt, erfc, expm1 and lgamma.
14656         * math/auto-libm-test-out: Regenerated.
14657         * sysdeps/i386/fpu/libm-test-ulps: Update.
14658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14660 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
14662         [BZ #2542]
14663         [BZ #2543]
14664         [BZ #2558]
14665         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
14666         __lgamma_neg for arguments from -28.0 to -2.0.
14667         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
14668         __lgamma_negf for arguments from -15.0 to -2.0.
14669         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14670         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
14671         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
14672         Call __lgamma_negl for arguments from -33.0 to -2.0.
14673         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
14674         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
14675         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14676         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
14677         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
14678         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
14679         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
14680         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
14681         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
14682         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
14683         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
14684         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
14685         (__lgamma_neg): Likewise.
14686         (__lgamma_negl): Likewise.
14687         (__lgamma_product): Likewise.
14688         (__lgamma_productl): Likewise.
14689         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
14690         * math/auto-libm-test-in: Add more tests of lgamma.
14691         * math/auto-libm-test-out: Regenerated.
14692         * sysdeps/i386/fpu/libm-test-ulps: Update.
14693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14695 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
14697         [BZ #18675]
14698         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
14700 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
14702         [BZ #14912]
14703         * bits/libc-lock.h: Move to ...
14704         * sysdeps/generic/libc-lock.h: ...here.
14705         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14706         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
14707         * sysdeps/mach/hurd/libc-lock.h: ...here.
14708         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14709         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
14710         * sysdeps/mach/bits/libc-lock.h: Move to ...
14711         * sysdeps/mach/libc-lock.h: ...here.
14712         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14713         * sysdeps/nptl/bits/libc-lock.h: Move to ...
14714         * sysdeps/nptl/libc-lock.h: ...here.
14715         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14716         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
14717         * sysdeps/nptl/libc-lockP.h: ...here.
14718         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
14719         * crypt/crypt_util.c: Include <libc-lock.h> instead of
14720         <bits/libc-lock.h>.
14721         * dirent/scandir-tail.c: Likewise.
14722         * dlfcn/dlerror.c: Likewise.
14723         * elf/dl-close.c: Likewise.
14724         * elf/dl-iteratephdr.c: Likewise.
14725         * elf/dl-lookup.c: Likewise.
14726         * elf/dl-open.c: Likewise.
14727         * elf/dl-support.c: Likewise.
14728         * elf/dl-writev.h: Likewise.
14729         * elf/rtld.c: Likewise.
14730         * grp/fgetgrent.c: Likewise.
14731         * gshadow/fgetsgent.c: Likewise.
14732         * gshadow/sgetsgent.c: Likewise.
14733         * iconv/gconv_conf.c: Likewise.
14734         * iconv/gconv_db.c: Likewise.
14735         * iconv/gconv_dl.c: Likewise.
14736         * iconv/gconv_int.h: Likewise.
14737         * iconv/gconv_trans.c: Likewise.
14738         * include/link.h: Likewise.
14739         * inet/getnameinfo.c: Likewise.
14740         * inet/getnetgrent.c: Likewise.
14741         * inet/getnetgrent_r.c: Likewise.
14742         * intl/bindtextdom.c: Likewise.
14743         * intl/dcigettext.c: Likewise.
14744         * intl/finddomain.c: Likewise.
14745         * intl/gettextP.h: Likewise.
14746         * intl/loadmsgcat.c: Likewise.
14747         * intl/localealias.c: Likewise.
14748         * intl/textdomain.c: Likewise.
14749         * libidn/idn-stub.c: Likewise.
14750         * libio/libioP.h: Likewise.
14751         * locale/duplocale.c: Likewise.
14752         * locale/freelocale.c: Likewise.
14753         * locale/newlocale.c: Likewise.
14754         * locale/setlocale.c: Likewise.
14755         * login/getutent_r.c: Likewise.
14756         * login/getutid_r.c: Likewise.
14757         * login/getutline_r.c: Likewise.
14758         * login/utmp-private.h: Likewise.
14759         * login/utmpname.c: Likewise.
14760         * malloc/mtrace.c: Likewise.
14761         * misc/efgcvt.c: Likewise.
14762         * misc/error.c: Likewise.
14763         * misc/fstab.c: Likewise.
14764         * misc/getpass.c: Likewise.
14765         * misc/mntent.c: Likewise.
14766         * misc/syslog.c: Likewise.
14767         * nis/nis_call.c: Likewise.
14768         * nis/nis_callback.c: Likewise.
14769         * nis/nss-default.c: Likewise.
14770         * nis/nss_compat/compat-grp.c: Likewise.
14771         * nis/nss_compat/compat-initgroups.c: Likewise.
14772         * nis/nss_compat/compat-pwd.c: Likewise.
14773         * nis/nss_compat/compat-spwd.c: Likewise.
14774         * nis/nss_nis/nis-alias.c: Likewise.
14775         * nis/nss_nis/nis-ethers.c: Likewise.
14776         * nis/nss_nis/nis-grp.c: Likewise.
14777         * nis/nss_nis/nis-hosts.c: Likewise.
14778         * nis/nss_nis/nis-network.c: Likewise.
14779         * nis/nss_nis/nis-proto.c: Likewise.
14780         * nis/nss_nis/nis-pwd.c: Likewise.
14781         * nis/nss_nis/nis-rpc.c: Likewise.
14782         * nis/nss_nis/nis-service.c: Likewise.
14783         * nis/nss_nis/nis-spwd.c: Likewise.
14784         * nis/nss_nisplus/nisplus-alias.c: Likewise.
14785         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
14786         * nis/nss_nisplus/nisplus-grp.c: Likewise.
14787         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
14788         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
14789         * nis/nss_nisplus/nisplus-network.c: Likewise.
14790         * nis/nss_nisplus/nisplus-proto.c: Likewise.
14791         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
14792         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
14793         * nis/nss_nisplus/nisplus-service.c: Likewise.
14794         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
14795         * nis/ypclnt.c: Likewise.
14796         * nptl/libc_pthread_init.c: Likewise.
14797         * nss/getXXbyYY.c: Likewise.
14798         * nss/getXXent.c: Likewise.
14799         * nss/getXXent_r.c: Likewise.
14800         * nss/nss_db/db-XXX.c: Likewise.
14801         * nss/nss_db/db-netgrp.c: Likewise.
14802         * nss/nss_db/nss_db.h: Likewise.
14803         * nss/nss_files/files-XXX.c: Likewise.
14804         * nss/nss_files/files-alias.c: Likewise.
14805         * nss/nsswitch.c: Likewise.
14806         * posix/regex_internal.h: Likewise.
14807         * posix/wordexp.c: Likewise.
14808         * pwd/fgetpwent.c: Likewise.
14809         * resolv/res_hconf.c: Likewise.
14810         * resolv/res_libc.c: Likewise.
14811         * shadow/fgetspent.c: Likewise.
14812         * shadow/lckpwdf.c: Likewise.
14813         * shadow/sgetspent.c: Likewise.
14814         * socket/opensock.c: Likewise.
14815         * stdio-common/reg-modifier.c: Likewise.
14816         * stdio-common/reg-printf.c: Likewise.
14817         * stdio-common/reg-type.c: Likewise.
14818         * stdio-common/vfprintf.c: Likewise.
14819         * stdio-common/vfscanf.c: Likewise.
14820         * stdlib/abort.c: Likewise.
14821         * stdlib/cxa_atexit.c: Likewise.
14822         * stdlib/fmtmsg.c: Likewise.
14823         * stdlib/random.c: Likewise.
14824         * stdlib/setenv.c: Likewise.
14825         * string/strsignal.c: Likewise.
14826         * sunrpc/auth_none.c: Likewise.
14827         * sunrpc/bindrsvprt.c: Likewise.
14828         * sunrpc/create_xid.c: Likewise.
14829         * sunrpc/key_call.c: Likewise.
14830         * sunrpc/rpc_thread.c: Likewise.
14831         * sysdeps/arm/backtrace.c: Likewise.
14832         * sysdeps/generic/ldsodefs.h: Likewise.
14833         * sysdeps/generic/stdio-lock.h: Likewise.
14834         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
14835         * sysdeps/i386/backtrace.c: Likewise.
14836         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
14837         * sysdeps/m68k/backtrace.c: Likewise.
14838         * sysdeps/mach/hurd/cthreads.c: Likewise.
14839         * sysdeps/mach/hurd/dirstream.h: Likewise.
14840         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
14841         * sysdeps/nptl/malloc-machine.h: Likewise.
14842         * sysdeps/nptl/stdio-lock.h: Likewise.
14843         * sysdeps/posix/dirstream.h: Likewise.
14844         * sysdeps/posix/getaddrinfo.c: Likewise.
14845         * sysdeps/posix/system.c: Likewise.
14846         * sysdeps/pthread/aio_suspend.c: Likewise.
14847         * sysdeps/s390/s390-32/backtrace.c: Likewise.
14848         * sysdeps/s390/s390-64/backtrace.c: Likewise.
14849         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14850         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14851         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
14852         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
14853         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
14854         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
14855         * sysdeps/unix/sysv/linux/system.c: Likewise.
14856         * sysdeps/x86_64/backtrace.c: Likewise.
14857         * time/alt_digit.c: Likewise.
14858         * time/era.c: Likewise.
14859         * time/tzset.c: Likewise.
14860         * wcsmbs/wcsmbsload.c: Likewise.
14861         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
14862         instead of <bits/libc-lock.h> in comment.
14864 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
14866         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
14867         Only use .set mips2 if the current ISA is below mips2.
14868         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
14869         Likewise.
14870         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
14871         mips32r2 if the current ISA is below mips32r2.
14872         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
14873         (TLS_IE): Updated to use the TLD_RDHWR macro.
14874         (TLS_LE): Likewise.
14875         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
14876         __ASSEMBLER__ condition.
14878 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14880         Fix parallel build of before-compile targets.
14882         * sysdeps/mach/Makefile ($(patsubst
14883         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
14884         mach-before-compile target.
14885         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14886         io fs process)): Move rule to dedicated hurd-before-compile target.
14888 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14890         Fix rules generating headers in hurd/ and mach/ when initial make call
14891         has subdir= explicitly set.
14893         * sysdeps/mach/Makefile ($(patsubst
14894         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
14895         calling $(MAKE).
14896         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14897         io fs process)): Force subdir to hurd when calling $(MAKE).
14898         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
14899         subdir to mach when calling $(MAKE).
14901 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
14903         Check sysheaders when looking for Mach and Hurd headers
14905         * sysdeps/mach/configure.ac: Add sysheaders check.
14906         * sysdeps/mach/configure: Regenerate.
14907         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
14908         * sysdeps/mach/hurd/configure: Regenerate.
14910 2015-09-04  Roland McGrath  <roland@hack.frob.com>
14912         [BZ #18921]
14913         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
14914         Fix inverted sense of test of 'o_directory_works' value.
14915         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
14916         Bernhard Voelker <mail@bernhard-voelker.de>.
14918 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
14920         [BZ #14912]
14921         * bits/linkmap.h: Move to ...
14922         * sysdeps/generic/linkmap.h: ...here.
14923         * sysdeps/aarch64/bits/linkmap.h: Move to ...
14924         * sysdeps/aarch64/linkmap.h: ...here.
14925         * sysdeps/arm/bits/linkmap.h: Move to ...
14926         * sysdeps/arm/linkmap.h: ...here.
14927         * sysdeps/hppa/bits/linkmap.h: Move to ...
14928         * sysdeps/hppa/linkmap.h: ...here.
14929         * sysdeps/ia64/bits/linkmap.h: Move to ...
14930         * sysdeps/ia64/linkmap.h: ...here.
14931         * sysdeps/mips/bits/linkmap.h: Move to ...
14932         * sysdeps/mips/linkmap.h: ...here.
14933         * sysdeps/s390/bits/linkmap.h: Move to ...
14934         * sysdeps/s390/linkmap.h: ...here.
14935         * sysdeps/sh/bits/linkmap.h: Move to ...
14936         * sysdeps/sh/linkmap.h: ...here.
14937         * sysdeps/x86/bits/linkmap.h: Move to ...
14938         * sysdeps/x86/linkmap.h: ...here.
14939         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
14941 2015-09-04  Andreas Schwab  <schwab@suse.de>
14943         [BZ #18635]
14944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
14945         (__makecontext): Terminate FDE before return label.
14946         (__novec_makecontext): Likewise.
14948 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14950         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
14951         first member of struct sv in syscall macro.
14953 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
14955         [BZ #14912]
14956         * bits/stdio-lock.h: Move to ...
14957         * sysdeps/generic/stdio-lock.h: ...here.
14958         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
14959         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
14960         * sysdeps/nptl/stdio-lock.h: ...here.
14961         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
14962         * include/libio.h: Include <stdio-lock.h> instead of
14963         <bits/stdio-lock.h>.
14964         * sysdeps/nptl/fork.c: Likewise.
14965         * sysdeps/pthread/flockfile.c: Likewise.
14966         * sysdeps/pthread/ftrylockfile.c: Likewise.
14967         * sysdeps/pthread/funlockfile.c: Likewise.
14969         [BZ #14912]
14970         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
14971         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
14972         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
14973         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
14974         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
14975         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
14976         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
14978 2015-09-03  Roland McGrath  <roland@hack.frob.com>
14980         * elf/Makefile (test-xfail-tst-protected1a): New variable.
14981         (test-xfail-tst-protected1b): New variable.
14983 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
14985         [BZ #14912]
14986         * bits/libc-tsd.h: Move to ...
14987         * sysdeps/generic/libc-tsd.h: ...here.
14988         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
14989         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
14990         * sysdeps/mach/hurd/libc-tsd.h: ...here.
14991         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
14992         * include/ctype.h: Include <libc-tsd.h> instead of
14993         <bits/libc-tsd.h>.
14994         * include/rpc/rpc.h: Likewise.
14995         * locale/localeinfo.h: Likewise.
14996         * sunrpc/rpc_thread.c: Likewise.
14997         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
14998         * sysdeps/nptl/malloc-machine.h: Likewise.
15000         * Makefile (headers): Remove bits/libc-lock.h.
15001         * libio/Makefile (headers): Remove bits/stdio-lock.h.
15003         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
15004         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
15005         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
15006         <bits/stdio-lock.h>.
15007         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
15008         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
15010 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15012         [BZ #18757]
15013         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
15014         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
15015         BZ #18757.
15017 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15019         * malloc/mtrace.pl: Filter out NULL entries.
15021 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
15023         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
15024         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
15025         macro.
15027         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
15028         (TCP_CC_INFO): Likewise.
15029         (TCP_SAVE_SYN): Likewise.
15030         (TCP_SAVED_SYN): Likewise.
15032 2015-08-31  Brett Neumeier <brett@neumeier.us>
15034         [BZ #18870]
15035         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
15037 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
15039         [BZ #18873]
15040         Fix broken overflow check in posix_fallocate
15041         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
15042         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
15043         Fix parenthesization typo.
15045 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
15047         [BZ #18887]
15048         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
15049         tst-mntent-blank-passno.
15050         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
15051         * misc/tst-mntent-blank-corrupt.c: New test.
15052         * misc/tst-mntent-blank-passno.c: New test ripped from ...
15053         * misc/tst-mntent.c (do_test): ... here.
15055 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
15057         [BZ #4404]
15058         * po/de.po: Fix SIGALRM typo.
15060 2015-08-28  James Perkins  <james@loowit.net>
15062         * time/tst-strptime2.c (tests): Replace short list of test
15063         strings for strptime %z specifier with code which exhaustively
15064         tests every combination of sign and 0 to 5 digits. Tests for
15065         rejection of invalid strings.
15067 2015-08-28  James Perkins  <james@loowit.net>
15069         [BZ #16141]
15070         * time/strptime_l.c (__strptime_internal): Fix %z minutes
15071         calculation, removing incorrect decimal time rounding, so that
15072         all minute values result in a valid seconds value.
15073         * time/strptime_l.c (__strptime_internal): Extend %z time zone
15074         offset range limits to UTC-99:59 through UTC+99:59 to parse
15075         current and historical use cases.
15076         * time/tst-strptime2.c (tests): Modify and add tests for the
15077         strptime %z input field descriptor, specifically conversion of
15078         minutes to seconds and validating an offset range of -9959 to
15079         +9959.
15081 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15082             Dmitry V. Levin  <ldv@altlinux.org>
15084         [BZ #18877]
15085         * posix/Makefile (tests): Add tst-mmap-offset.
15086         * posix/tst-mmap.c: New file.
15087         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
15088         offset calculation for negative values.
15090 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15092         * sysdeps/i386/init-arch.h: New file.
15093         * sysdeps/i386/i586/init-arch.h: Likewise.
15094         * sysdeps/i386/i686/init-arch.h: Likewise.
15095         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
15096         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
15097         * sysdeps/x86/cpu-features.h (bit_I586): New.
15098         (bit_I686): Likewise.
15099         (bit_CX8): Likewise.
15100         (bit_CMOV): Likewise.
15101         (index_CX8): Likewise.
15102         (index_CMOV): Likewise.
15103         (index_I586): Likewise.
15104         (index_I686): Likewise.
15105         (reg_CX8): Likewise.
15106         (reg_CMOV): Likewise.
15107         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
15108         available at compile-time.
15109         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
15110         available at compile-time.
15111         * sysdeps/x86/init-arch.h (USE_I586): New macro.
15112         (USE_I686): Likewise.
15114 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15116         * sysdeps/i386/bcopy.S: New file.
15117         * sysdeps/i386/bzero.S: Likewise.
15118         * sysdeps/i386/memcpy.S: Likewise.
15119         * sysdeps/i386/memmove.S: Likewise.
15120         * sysdeps/i386/mempcpy.S: Likewise.
15121         * sysdeps/i386/memset.S: Likewise.
15122         * sysdeps/i386/bzero.c: Removed.
15123         * sysdeps/i386/memset.c: Likewise.
15124         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
15125         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
15126         * sysdeps/i386/i586/memset_chk.S: Likewise.
15127         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
15128         * sysdeps/i386/memcpy_chk.S: Here.
15129         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
15130         * sysdeps/i386/memmove_chk.S: Here.
15131         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
15132         * sysdeps/i386/mempcpy_chk.S: Likewise.
15133         * sysdeps/i386/i686/memset_chk.S: Moved to ...
15134         * sysdeps/i386/memset_chk.S: Likewise.
15136 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
15138         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
15139         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
15140         file, move DIAG_POP_NEEDS_COMMENT to end of file.
15141         * soft-fp/fmadf4.c: Ditto.
15142         * soft-fp/fmatf4.c: Ditto.
15144 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15146         * sysdeps/i386/i586/Implies: Removed.
15147         * sysdeps/i386/i686/Implies: Likewise.
15149 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15151         * sysdeps/i386/i486/strlen.S: Moved to ...
15152         * sysdeps/i386/strlen.S: Here.
15154 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15156         * sysdeps/i386/i486/strcat.S: Moved to ...
15157         * sysdeps/i386/strcat.S: Here.
15159 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15161         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
15162         * sysdeps/i386/pthread_spin_trylock.S: Here.
15163         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
15164         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
15166 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15168         * sysdeps/i386/i486/string-inlines.c: Moved to ...
15169         * sysdeps/i386/string-inlines.c: Here.
15171 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15173         * sysdeps/i386/i486/htonl.S: Moved ...
15174         * sysdeps/i386/htonl.S: here.
15176 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15178         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
15179         * sysdeps/i386/bits/atomic.h: Here.
15181 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15183         * sysdeps/i386/i486/Versions: Removed.
15185 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15187         [BZ #2898]
15188         * misc/mktemp.c: Add mkdtemp to the link_warning message.
15189         Based on patch by Aurelien Jarno.
15191 2015-08-26  Stan Shebs  <stanshebs@google.com>
15193         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
15194         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15196 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15198         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
15199         * sysdeps/powerpc/dl-procinfo.c:
15200         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
15201         feature so it shows when LD_SHOW_AUXV=1.
15203 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15205         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
15206         (__arch_compare_and_exchange_val_32_acq): Remove and use common
15207         definition.  ISA 2.07B no longer requires full sync.
15209 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
15211         [BZ #18863]
15212         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
15213         (si_call_addr): Define.
15214         (si_syscall): Define.
15215         (si_arch): Define.
15217 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
15219         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
15220         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
15221         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
15222         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15223         (__memset_zero_constant_len_parameter): New.
15224         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
15225         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15226         (__memset_zero_constant_len_parameter): Don't define if
15227         __memset_chk or USE_AS_BZERO are defined.
15229         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
15230         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
15231         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
15233         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
15234         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
15235         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
15236         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
15237         comments.
15238         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
15239         -mno-mmx for $(all-rtld-routines).
15240         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
15241         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
15242         i386.
15244 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
15246         * sysdeps/generic/unwind.h
15247         (_Unwind_Word): Use __mode__(__unwind_word__)
15248         instead of __mode__(__word__).
15249         (_Unwind_Sword): Likewise.
15251         * sysdeps/s390/s390-64/utf8-utf16-z9.c
15252         (MAX_NEEDED_INPUT): New define.
15253         (MAX_NEEDED_OUTPUT): New define.
15255         * NEWS: New item for IBM z13 string optimizations.
15257         * sysdeps/s390/multiarch/memrchr-c.c: New File.
15258         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
15259         * sysdeps/s390/multiarch/memrchr.c: Likewise.
15260         * sysdeps/s390/multiarch/Makefile
15261         (sysdep_routines): Add memrchr functions.
15262         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15263         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
15265         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
15266         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
15267         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
15268         * sysdeps/s390/multiarch/Makefile
15269         (sysdep_routines): Add wmemcmp functions.
15270         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15271         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
15272         * benchtests/bench-wmemcmp.c: New File.
15273         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
15275         * sysdeps/s390/multiarch/wmemset-c.c: New File.
15276         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
15277         * sysdeps/s390/multiarch/wmemset.c: Likewise.
15278         * sysdeps/s390/multiarch/Makefile
15279         (sysdep_routines): Add wmemset functions.
15280         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15281         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
15282         * wcsmbs/wmemset.c: Use WMEMSET if defined.
15283         * string/test-memset.c: Add wmemset support.
15284         * wcsmbs/test-wmemset.c: New File.
15285         * wcsmbs/Makefile (strop-tests): Add wmemset.
15286         * benchtests/bench-memset.c: Add wmemset support.
15287         * benchtests/bench-wmemset.c: New File.
15288         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
15290         * sysdeps/s390/multiarch/memccpy-c.c: New File.
15291         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
15292         * sysdeps/s390/multiarch/memccpy.c: Likewise.
15293         * sysdeps/s390/multiarch/Makefile
15294         (sysdep_routines): Add memccpy functions.
15295         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15296         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
15297         * string/memccpy.c: Use MEMCCPY if defined.
15299         * sysdeps/s390/multiarch/memchr-vx.S: New File.
15300         * sysdeps/s390/multiarch/memchr.c: Likewise.
15301         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
15302         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
15303         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15304         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
15305         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
15306         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
15307         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
15308         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
15309         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
15310         and rawmemchr functions.
15311         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15312         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
15313         and wmemchr.
15314         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
15315         * string/test-memchr.c: Add wmemchr support.
15316         * wcsmbs/test-wmemchr.c: New File.
15317         * wcsmbs/Makefile (strop-tests): Add wmemchr.
15318         * benchtests/bench-memchr.c: Add wmemchr support.
15319         * benchtests/bench-wmemchr.c: New File.
15320         * benchtests/Makefile (wcsmbs-bench): wmemchr.
15322         * sysdeps/s390/multiarch/strcspn-c.c: New File.
15323         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
15324         * sysdeps/s390/multiarch/strcspn.c: Likewise.
15325         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
15326         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
15327         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
15328         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
15329         wcscspn functions.
15330         * sysdeps/s390/multiarch/ifunc-impl-list.c
15331         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
15332         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
15333         * string/test-strcspn.c: Add wcscspn support.
15334         * wcsmbs/test-wcscspn.c: New File.
15335         * wcsmbs/Makefile (strop-tests): Add wcscspn.
15336         * benchtests/bench-strcspn.c: Add wcscspn support.
15337         * benchtests/bench-wcscspn.c: New File.
15338         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
15340         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
15341         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
15342         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
15343         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
15344         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
15345         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
15346         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
15347         wcspbrk functions.
15348         * sysdeps/s390/multiarch/ifunc-impl-list.c
15349         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
15350         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
15351         * string/test-strpbrk.c: Add wcspbrk support.
15352         * wcsmbs/test-wcspbrk.c: New File.
15353         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
15354         * benchtests/bench-strpbrk.c: Add wcspbrk support.
15355         * benchtests/bench-wcspbrk.c: New File.
15356         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
15358         * sysdeps/s390/multiarch/strspn-c.c: New File.
15359         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
15360         * sysdeps/s390/multiarch/strspn.c: Likewise.
15361         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
15362         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
15363         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
15364         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
15365         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
15366         wcsspn functions.
15367         * sysdeps/s390/multiarch/ifunc-impl-list.c
15368         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
15369         * string/test-strspn.c: Add wcsspn support.
15370         * wcsmbs/test-wcsspn.c: New File.
15371         * wcsmbs/Makefile (strop-tests): Add wcsspn.
15372         * benchtests/bench-strspn.c: Add wcsspn support.
15373         * benchtests/bench-wcsspn.c: New File.
15374         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
15376         * sysdeps/s390/multiarch/strrchr-c.c: New File.
15377         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
15378         * sysdeps/s390/multiarch/strrchr.c: Likewise.
15379         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
15380         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
15381         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
15382         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
15383         wcsrchr functions.
15384         * sysdeps/s390/multiarch/ifunc-impl-list.c
15385         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
15386         * benchtests/bench-wcsrchr.c: New File.
15387         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
15389         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
15390         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
15391         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
15392         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
15393         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
15394         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
15395         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
15396         wcschrnul functions.
15397         * sysdeps/s390/multiarch/ifunc-impl-list.c
15398         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
15399         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
15400         * string/test-strchr.c: Add wcschrnul support.
15401         * wcsmbs/test-wcschrnul.c: New File.
15402         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
15403         * benchtests/bench-strchr.c: Add wcschrnul support.
15404         * benchtests/bench-wcschrnul.c: New File.
15405         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
15407         * sysdeps/s390/multiarch/strchr-c.c: New File.
15408         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
15409         * sysdeps/s390/multiarch/strchr.c: Likewise.
15410         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
15411         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
15412         * sysdeps/s390/multiarch/wcschr.c: Likewise.
15413         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
15414         wcschr functions.
15415         * sysdeps/s390/multiarch/ifunc-impl-list.c
15416         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
15417         * string/strchr.c (STRCHR): Define and use macro.
15418         * benchtests/bench-wcschr.c: New File.
15419         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
15421         * sysdeps/s390/multiarch/strncmp-c.c: New File.
15422         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
15423         * sysdeps/s390/multiarch/strncmp.c: Likewise.
15424         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
15425         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
15426         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
15427         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
15428         wcsncmp functions.
15429         * sysdeps/s390/multiarch/ifunc-impl-list.c
15430         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
15431         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
15432         * benchtests/bench-strncmp.c: Add wcsncmp support.
15433         * benchtests/bench-wcsncmp.c: New File.
15434         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
15436         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
15437         * sysdeps/s390/multiarch/strcmp.c: Likewise.
15438         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
15439         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
15440         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
15441         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
15442         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
15443         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
15444         wcscmp functions.
15445         * sysdeps/s390/multiarch/ifunc-impl-list.c
15446         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
15447         * string/strcmp.c (STRCMP): Define and use macro.
15448         * benchtests/bench-wcscmp.c: New File.
15449         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
15450         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
15451         instead of _HAVE_STRING_ARCH_memchr.
15453         * sysdeps/s390/multiarch/strncat-c.c: New File.
15454         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
15455         * sysdeps/s390/multiarch/strncat.c: Likewise.
15456         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
15457         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
15458         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
15459         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
15460         wcsncat functions.
15461         * sysdeps/s390/multiarch/ifunc-impl-list.c
15462         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
15463         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
15464         * string/test-strncat.c: Add wcsncat support.
15465         * wcsmbs/test-wcsncat.c: New File.
15466         * wcsmbs/Makefile (strop-tests): Add wcsncat.
15467         * benchtests/bench-strncat.c: Add wcsncat support.
15468         * benchtests/bench-wcsncat.c: New File.
15469         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
15471         * sysdeps/s390/multiarch/strcat-c.c: New File.
15472         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
15473         * sysdeps/s390/multiarch/strcat.c: Likewise.
15474         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
15475         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
15476         * sysdeps/s390/multiarch/wcscat.c: Likewise.
15477         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
15478         wcscat functions.
15479         * sysdeps/s390/multiarch/ifunc-impl-list.c
15480         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
15481         * string/strcat.c (STRCAT): Define and use macro.
15482         * wcsmbs/wcscat.c: Use WCSCAT if defined.
15483         * string/test-strcat.c: Add wcscat support.
15484         * wcsmbs/test-wcscat.c: New File.
15485         * wcsmbs/Makefile (strop-tests): Add wcscat.
15486         * benchtests/bench-strcat.c: Add wcscat support.
15487         * benchtests/bench-wcscat.c: New File.
15488         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
15490         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
15491         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
15492         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
15493         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
15494         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
15495         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
15496         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
15497         wcpncpy functions.
15498         * sysdeps/s390/multiarch/ifunc-impl-list.c
15499         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
15500         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
15501         * string/test-stpncpy.c: Add wcpncpy support.
15502         * wcsmbs/test-wcpncpy.c: New File.
15503         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
15504         * benchtests/bench-stpncpy.c: Add wcpncpy support.
15505         * benchtests/bench-wcpncpy.c: New File.
15506         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
15508         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
15509         * sysdeps/s390/multiarch/strncpy.c: Likewise.
15510         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
15511         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
15512         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
15513         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
15514         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
15515         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
15516         wcsncpy functions.
15517         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
15518         * sysdeps/s390/multiarch/ifunc-impl-list.c
15519         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
15520         * string/test-strncpy.c: Add wcsncpy support.
15521         * wcsmbs/test-wcsncpy.c: New File.
15522         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
15523         * benchtests/bench-strncpy.c: Add wcsncpy support.
15524         * benchtests/bench-wcsncpy.c: New File.
15525         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
15527         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
15528         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
15529         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
15530         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
15531         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
15532         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
15533         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
15534         wcpcpy functions.
15535         * string/stpcpy.c: Use STPCPY if defined.
15536         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
15537         * sysdeps/s390/multiarch/ifunc-impl-list.c
15538         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
15539         * string/test-stpcpy.c: Add wcpcpy support.
15540         * wcsmbs/test-wcpcpy.c: New File.
15541         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
15542         * benchtests/bench-stpcpy.c: Add wcpcpy support.
15543         * benchtests/bench-wcpcpy.c: New File.
15544         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
15546         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
15547         * sysdeps/s390/multiarch/strcpy.c: Likewise.
15548         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
15549         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
15550         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
15551         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
15552         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
15553         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
15554         wcscpy functions.
15555         * sysdeps/s390/multiarch/ifunc-impl-list.c
15556         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
15557         * benchtests/bench-wcscpy.c: New File.
15558         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
15560         * sysdeps/s390/multiarch/strnlen-c.c: New File.
15561         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
15562         * sysdeps/s390/multiarch/strnlen.c: Likewise.
15563         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
15564         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
15565         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
15566         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
15567         wcsnlen functions.
15568         * sysdeps/s390/multiarch/ifunc-impl-list.c
15569         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
15570         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
15571         * string/test-strnlen.c: Add wcsnlen support.
15572         * wcsmbs/test-wcsnlen.c: New File.
15573         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
15574         * benchtests/bench-strnlen.c: Add wcsnlen support.
15575         * benchtests/bench-wcsnlen.c: New File.
15576         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
15578         * sysdeps/s390/multiarch/Makefile: New File.
15579         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
15580         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
15581         * sysdeps/s390/multiarch/strlen.c: Likewise.
15582         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
15583         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
15584         * sysdeps/s390/multiarch/wcslen.c: Likewise.
15585         * string/strlen.c (STRLEN): Define and use macro.
15586         * sysdeps/s390/multiarch/ifunc-impl-list.c
15587         (IFUNC_VX_IMPL): New macro function.
15588         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
15589         * benchtests/Makefile (wcsmbs-bench): New variable.
15590         (string-bench-all): Added wcsmbs-bench.
15591         * benchtests/bench-wcslen.c: New File.
15593         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
15594         s390_vx_libc_ifunc2): New macro function.
15596         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
15597         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
15598         assembler support.
15599         * sysdeps/s390/configure: Regenerated.
15601         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
15602         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
15604         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
15605         * sysdeps/s390/dl-procinfo.h: Add vector capability.
15606         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
15608         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
15609         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
15610         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
15611         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
15612         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
15613         (memcmp, bcmp): Use __memcmp_default as alias source.
15614         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
15615         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
15616         Rename to __memcmp_default.
15617         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
15618         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
15619         (memcpy): Use __memcpy_default as alias source.
15620         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
15621         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
15622         Rename to __memcpy_default.
15623         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
15624         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
15625         (memset): Use __memset_default as alias source.
15626         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
15627         * sysdeps/s390/s390-32/memset.S (__memset_g5):
15628         Rename to __memset_default.
15629         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
15630         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
15631         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
15632         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
15633         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
15634         (memcmp, bcmp): Use __memcmp_default as alias source.
15635         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
15636         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
15637         Rename to __memcmp_default.
15638         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
15639         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
15640         (memcpy): Use __memcpy_default as alias source.
15641         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
15642         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
15643         Rename to __memcpy_default.
15644         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
15645         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
15646         (memset): Use __memset_default as alias source.
15647         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
15648         * sysdeps/s390/s390-64/memset.S (__memset_z900):
15649         Rename to __memset_default.
15650         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
15651         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
15653         [BZ #18610]
15654         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
15655         __ieee_instruction_pointer to __unused.
15656         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
15657         __ieee_instruction_pointer.
15658         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
15659         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
15660         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15661         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15662         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
15663         Mark dxc-field as reserved.
15665 2015-08-25  Roland McGrath  <roland@hack.frob.com>
15667         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
15668         if the weak reference is not null.
15670 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15672         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
15674         [BZ #11214]
15675         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
15677 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15679         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
15680         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
15681         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
15682         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
15683         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
15684         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
15685         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
15686         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
15687         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
15688         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
15689         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
15690         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
15691         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
15692         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
15693         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
15694         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
15695         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
15696         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
15698 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15700         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
15701         register other than r0 for tabort, it has special meaning.
15702         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
15703         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
15704         transaction before starting syscall.
15706 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15708         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
15710 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15712         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
15714         * sysdeps/x86_64/rtld-memcmp.c: Removed.
15715         * sysdeps/x86_64/rtld-memset.S: Likewise.
15716         * sysdeps/x86_64/rtld-strchr.S: Likewise.
15717         * sysdeps/x86_64/rtld-strlen.S: Likewise.
15718         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
15719         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15721         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
15723 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
15725         * debug/strcpy_chk.c: Improve performance.
15726         * debug/stpcpy_chk.c: Likewise.
15727         * sysdeps/x86_64/strcpy_chk.S: Remove.
15728         * sysdeps/x86_64/stpcpy_chk.S: Remove.
15730         [BZ #18240]
15731         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
15733 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15735         [BZ #15128]
15736         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
15737         ifuncmain8.
15738         (modules-names): Add ifuncmod8.
15739         ($(objpfx)ifuncmain8): New rule.
15740         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
15741         <cpuid.h>.
15742         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
15743         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
15744         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
15745         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
15746         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
15747         * sysdeps/x86_64/dl-trampoline.h: Likewise.
15748         * sysdeps/x86_64/ifuncmain8.c: New file.
15749         * sysdeps/x86_64/ifuncmod8.c: Likewise.
15750         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
15751         Removed.
15752         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
15753         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
15754         Change rtld_savespace_sse to __glibc_unused2.
15755         (RTLD_CHECK_FOREIGN_CALL): Removed.
15756         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
15757         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
15758         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
15760 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
15762         * sysdeps/aarch64/bzero.S (__bzero): Remove.
15764 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
15766         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
15767         Unconditionally set __fpcr to avoid uninialized warning.
15768         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
15770 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15772         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
15773         is corrupt.
15775         * malloc/arena.c (arena_get2): Drop unused argument.
15776         (arena_lock): Adjust.
15777         (arena_get_retry): Likewise.
15779 2015-08-24  Andreas Schwab  <schwab@suse.de>
15781         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
15782         Don't define.
15783         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15784         (__ASSUME_IPC64): Don't undef.
15785         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
15786         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15787         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15788         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
15789         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
15790         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
15791         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
15792         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
15793         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
15794         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
15795         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
15796         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
15797         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
15798         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
15799         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
15800         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
15801         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
15802         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
15803         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
15804         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
15805         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
15807 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
15809         * manual/Makefile (install): Only build manual when perl is available.
15811 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15813         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
15814         '#undef memcpy' by '#undef memchr'.
15816 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15818         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
15819         memchr not point to the internal __GI_memchr implementation.
15821 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
15823         * timezone/Makefile (CFLAGS-zdump.c): Remove
15824         -Wno-strict-prototypes.
15825         (CFLAGS-zic.c): Likewise.
15826         (CFLAGS-ialloc.c): Likewise.
15827         (CFLAGS-scheck.c): Likewise.
15829         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
15830         -Wno-error=undef.
15832 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
15834         * i386/i686/multiarch/strcasestr-c.c: Removed.
15835         * x86_64/multiarch/strcasestr.c: Likewise.
15836         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15837         Remove strcasestr.
15839 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
15841         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
15843         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
15844         variables for high and low parts before possibly modifying them.
15846 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
15848         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
15849         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
15850         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
15851         of "multiarch/init-arch.h".
15852         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
15853         * sysdeps/x86/init-arch.h: This.
15855 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
15857         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
15858         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
15860 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
15862         [BZ #17787]
15863         * manual/macros.texi: Add twoexp macro.
15864         * manual/filesys.texi: Fix exponents.
15865         * manual/llio.texi: Likewise.
15866         * manual/stdio.texi: Likewise.
15868 2015-08-20  Florian Weimer  <fweimer@redhat.com>
15870         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
15871         incorrect use.
15873 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
15875         [BZ #18370]
15876         * math/s_csqrt.c (__csqrt): Force underflow exception for results
15877         whose real or imaginary part has small absolute value.
15878         * math/s_csqrtf.c (__csqrtf): Likewise.
15879         * math/s_csqrtl.c (__csqrtl): Likewise.
15880         * math/auto-libm-test-in: Add more tests of csqrt.
15881         * math/auto-libm-test-out: Regenerated.
15882         * sysdeps/i386/fpu/libm-test-ulps: Update.
15884 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15886         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
15887         __ppc_set_ppr_very_low): New functions.
15888         * manual/platform.texi: Add documentation about
15889         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
15891 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
15893         * string/stpncpy.c (stpncpy): Improve performance using
15894         __strnlen/memcpy/memset.
15896 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
15898         [BZ #18796]
15899         * scripts/test-installation.pl: Don't add -lmvec to build options if
15900         libmvec wasn't built.
15902 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
15904         [BZ #14341]
15905         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
15906         case when there is a gap between DT_REL and DT_JMPREL sections.
15907         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
15908         (LDFLAGS-tst-split-dynreloc): New.
15909         (tst-split-dynreloc-ENV): Likewise.
15910         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
15911         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
15913 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15915         [BZ #18822]
15916         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
15917         attribute_hidden.
15918         (__xstat64_conv): Likewise.
15919         (__xstat32_conv): Likewise.
15921 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15923         [BZ #18822]
15924         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
15925         Don't load %ebx when calling __setcontext.  Call __setcontext
15926         with HIDDEN_JUMPTARGET.
15927         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
15928         libc_hidden_def.
15930 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15932         * sysdeps/i386/i686/Makefile
15933         [$(subdir) == string] (sysdep_routines): Moved to ...
15934         * sysdeps/i386/Makefile: Here.
15935         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
15936         * sysdeps/i386/cacheinfo.c: Here.
15937         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
15938         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
15939         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
15940         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
15942 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15944         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
15945         __i586__ is defined.
15946         (HAS_I686): Defined to 1 if __i686__ is defined.
15948 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
15950         * elf/Makefile [$(have-z-execstack) = yes]
15951         (CPPFLAGS-tst-execstack.c): New variable.
15953         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
15954         conditional to [defined UTMPX || _HAVE_UT_TYPE].
15955         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
15956         UTMPX || _HAVE_UT_TV].
15957         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
15958         UTMPX || _HAVE_UT_TV - 0].
15960 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
15962         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
15963         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
15964         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
15966 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15968         * sysdeps/powerpc/dl-procinfo.c:
15969         (_dl_powerpc_cap_flags): Added missing strings for some
15970         hwcap features.
15971         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
15973 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
15975         Port the 0x7efe...feff pattern to GCC 6.
15976         See Steve Ellcey's bug report in:
15977         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
15978         * string/memrchr.c (MEMRCHR):
15979         * string/rawmemchr.c (RAWMEMCHR):
15980         * string/strchr.c (strchr):
15981         * string/strchrnul.c (STRCHRNUL):
15982         Rewrite code to avoid issues with signed shift overflow.
15984 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
15986         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
15987         whether cpuid is available only if HAS_CPUID is 0.
15988         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
15989         (HAS_I586): Likewise.
15990         (HAS_I686): Likewise.
15992 2015-08-18  Zack Weinberg  <zackw@panix.com>
15994         * misc/Versions (libc): Add GLIBC_2.23.
15996 2015-08-18  Alan Modra  <amodra@gmail.com>
15998         [BZ #18421]
15999         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
16000         .Lp__global.
16001         (_start): Load %dp via .Lp__global.
16002         [!SHARED]: Use .section .rodata.
16004 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16006         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
16007         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
16009 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16011         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
16012         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
16014 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16016         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
16017         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
16019 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16021         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
16022         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
16024 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16026         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
16027         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
16029 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16031         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
16032         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
16034 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16036         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
16038 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16040         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
16041         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
16042         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16043         (__ASSUME_LWS_CAS): Delete.
16045 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16047         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
16048         * sysdeps/hppa/configure: Regenerated.
16049         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
16050         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
16051         * sysdeps/hppa/nptl/tls.h: Likewise.
16053 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
16055         [BZ #18823]
16056         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
16057         for scaling up small arguments.
16058         * math/s_csqrtf.c (__csqrtf): Likewise.
16059         * math/s_csqrtl.c (__csqrtl): Likewise.
16060         * math/auto-libm-test-in: Add more tests of csqrt.
16061         * math/auto-libm-test-out: Regenerated.
16063 2015-08-17  Andreas Schwab  <schwab@suse.de>
16065         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
16066         version set GLIBC_2.19.
16068 2015-08-16  Zack Weinberg  <zackw@panix.com>
16070         [BZ #18681]
16071         * misc/regexp.h: This interface is no longer supported.
16072         Remove all contents, leaving only an #error directive.
16073         * misc/regexp.c (loc1, loc2, locs, step, advance):
16074         Demote to compatibility symbols.
16076 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
16078         [BZ #18084]
16079         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
16080         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
16081         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
16082         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
16083         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
16084         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
16085         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
16086         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
16087         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
16089 2015-08-15  Zack Weinberg  <zackw@panix.com>
16091         [BZ #18795]
16092         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
16093         buffer length is known to be too large, not if it's known to be
16094         small enough.
16095         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
16096         overflow at runtime, involving a length parameter, twice: once
16097         with a compile-time constant length parameter, once without.
16099 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
16101         [BZ #18824]
16102         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
16103         scaling x * y up instead of down.
16104         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16105         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16106         * math/auto-libm-test-in: Add more tests of fma.
16107         * math/auto-libm-test-out: Regenerated.
16109 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
16111         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16113 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16115         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
16116         unnecessary movq.
16117         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
16118         Likewise.
16120 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
16122         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16123         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
16124         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
16125         and tgamma.
16126         * math/auto-libm-test-out: Regenerated.
16127         * sysdeps/i386/fpu/libm-test-ulps: Update.
16128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16130         [BZ #16520]
16131         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
16132         (__tanh): Force underflow exception for arguments with small
16133         absolute value.
16134         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
16135         (__tanhf): Force underflow exception for arguments with small
16136         absolute value.
16137         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
16138         (__tanhl): Force underflow exception for arguments with small
16139         absolute value.
16140         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
16141         (__tanhl): Force underflow exception for arguments with small
16142         absolute value.
16143         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
16144         (__tanhl): Force underflow exception for arguments with small
16145         absolute value.
16146         * math/auto-libm-test-in: Add more tests of tanh.
16147         * math/auto-libm-test-out: Regenerated.
16148         * sysdeps/i386/fpu/libm-test-ulps: Update.
16150 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16152         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
16153         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
16155 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16157         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
16158         <cpuid.h>.
16160 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16162         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
16163         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
16165 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16167         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
16168         Remove $(objpfx)init-arch.o.
16169         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
16170         init-arch.
16171         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
16172         (INIT_ARCH_EXT): Defined as empty.
16173         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
16174         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
16175         __init_cpu_features call.  Replace HAS_XXX with
16176         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16177         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
16178         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
16179         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
16180         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
16181         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
16182         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
16183         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
16184         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
16185         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
16186         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
16187         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
16188         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
16189         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
16190         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
16191         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
16192         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
16193         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
16194         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
16195         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
16196         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
16197         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
16198         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
16199         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
16200         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
16201         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
16202         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
16203         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
16204         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
16205         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
16206         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
16207         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
16208         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
16209         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
16210         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
16211         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
16213 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16215         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
16216         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16217         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16218         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16219         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
16220         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
16221         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
16222         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
16223         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
16224         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
16225         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
16226         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
16227         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16228         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16229         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16230         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16231         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16232         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16233         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16234         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16235         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16236         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16237         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16238         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16239         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16240         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16241         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16242         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16243         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16244         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16245         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16246         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16247         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16248         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16249         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16250         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16251         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16252         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16253         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16254         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16255         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16256         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16257         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16259 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16261         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
16262         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16263         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16264         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16265         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16266         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
16267         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16268         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
16269         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16270         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16271         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16272         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
16273         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
16274         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
16275         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
16276         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
16277         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
16278         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
16279         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
16280         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
16281         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
16282         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
16283         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
16284         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16285         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16286         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
16287         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
16288         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
16289         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16290         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16291         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16292         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16293         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16294         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16295         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16296         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16297         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16298         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16299         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16300         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16301         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16302         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16303         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16305 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16307         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
16308         (dl_platform_init): Call init_cpu_features.
16309         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
16310         * sysdeps/i386/i686/cacheinfo.c
16311         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
16312         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
16313         * sysdeps/i386/i686/multiarch/Versions: Removed.
16314         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
16315         Removed.
16316         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
16317         * sysdeps/unix/sysv/linux/x86/Makefile
16318         (libpthread-sysdep_routines): Remove init-arch.
16319         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
16320         <sysdeps/x86_64/dl-procinfo.c> instead of
16321         sysdeps/generic/dl-procinfo.c>.
16322         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
16323         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
16324         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
16325         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
16326         [$(subdir) == elf] (tests-static): Add
16327         tst-get-cpu-features-static.
16328         * sysdeps/x86/Versions: New file.
16329         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
16330         * sysdeps/x86/cpu-features.c: Likewise.
16331         * sysdeps/x86/cpu-features.h: Likewise.
16332         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
16333         * sysdeps/x86/libc-start.c: Likewise.
16334         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
16335         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
16336         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
16337         * sysdeps/x86_64/dl-procinfo.c: Likewise.
16338         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
16339         Assume USE_MULTIARCH is defined and don't check it.
16340         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
16341         (is_amd): Likewise.
16342         (max_cpuid): Likewise.
16343         (intel_check_word): Likewise.
16344         (__cache_sysconf): Don't call __init_cpu_features.
16345         (__x86_preferred_memory_instruction): Removed.
16346         (init_cacheinfo): Don't call __init_cpu_features. Replace
16347         __cpu_features with GLRO(dl_x86_cpu_features).
16348         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
16349         (dl_platform_init): Call init_cpu_features.
16350         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
16351         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
16352         * sysdeps/x86_64/multiarch/Versions: Removed.
16353         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
16354         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
16355         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
16356         Removed.
16357         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
16359 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16361         [BZ #18820]
16362         * libio/Makefile (test-fmemopen-mem): New test.
16363         * libio/test-fmemopen.c (do_bz18820): New test.
16364         * libio/fmemopen.c (__fmemopen): Fix memory leak.
16365         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
16367 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16369         [BZ #16734]
16370         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
16371         (FREE_BUF): Delete.
16372         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
16373         * libio/genops.c (_IO_setb): Use malloc and free directly.
16374         (_IO_default_doallocate, _IO_default_finish): Likewise.
16375         ( _IO_unbuffer_all): Likewise.
16376         ( libc_freeres_fn): Likewise.
16377         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16378         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
16379         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
16380         (_IO_wdefault_doallocate): Likewise.
16382 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16384         [BZ #18086]
16385         * sysdeps/posix/nice.c (nice): Restore old errno.
16386         * posix/tst-nice.c (do_test): Add test for BZ #18086.
16388 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
16390         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
16392 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16394         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
16395         __bcopy and add a weak_alias to bcopy.
16396         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
16397         for static build.
16399         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
16400         cleanup macro usage.
16401         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
16402         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
16403         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
16404         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
16405         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
16406         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
16407         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
16408         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16409         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16410         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
16411         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16412         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
16413         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16414         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
16415         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16416         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
16417         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
16418         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
16419         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16421         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
16422         libc_hidden_def.
16423         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
16425         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
16426         (sysdep_routines): Add strstr-ppc64.
16427         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
16429 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
16431         [BZ #18778]
16432         * elf/Makefile (tests): Add Add tst-nodelete2.
16433         (modules-names): Add tst-nodelete2mod.
16434         (tst-nodelete2mod.so-no-z-defs): New.
16435         ($(objpfx)tst-nodelete2): Likewise.
16436         ($(objpfx)tst-nodelete2.out): Likewise.
16437         (LDFLAGS-tst-nodelete2): Likewise.
16438         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
16439         out of loop through all loaded libraries.
16440         * elf/tst-nodelete2.c: New file.
16441         * elf/tst-nodelete2mod.c: Likewise.
16442         * elf/tst-znodelete-zlib.cc: Delete.
16444 2015-08-11  Andreas Schwab  <schwab@suse.de>
16446         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
16447         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
16448         (__openat64_nocancel): Likewise.
16450 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
16452         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
16453         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
16454         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
16455         * math/auto-libm-test-out: Regenerated.
16456         * sysdeps/i386/fpu/libm-test-ulps: Update.
16457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16459 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
16461         [BZ #18790]
16462         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
16463         threshold for returning +/- 1.
16464         * math/auto-libm-test-in: Add more tests of tanh.
16465         * math/auto-libm-test-out: Regenerated.
16466         * sysdeps/i386/fpu/libm-test-ulps: Update.
16468 2015-08-10  Andreas Schwab  <schwab@suse.de>
16470         [BZ #18781]
16471         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
16472         MORE_OFLAGS to oflag.
16473         * io/test-lfs.c (do_test): Test openat64.
16475 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
16477         [BZ #18789]
16478         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
16479         smaller threshold for returning the argument.
16480         * math/auto-libm-test-in: Add more tests of sinh.
16481         * math/auto-libm-test-out: Regenerated.
16482         * sysdeps/i386/fpu/libm-test-ulps: Update.
16484 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
16486         [BZ #18674]
16487         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
16488         break.
16490 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
16492         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
16493         (generated): Don't add $(addprefix z.,$(tzfiles)).
16495 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16497         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
16498         * scripts/sysd-rules.awk: Likewise.
16500 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16502         * iconvdata/tst-tables.sh: Change echo -n to printf.
16503         * nss/db-Makefile: Likewise.
16504         * posix/tst-getconf.sh: Likewise.
16505         * stdio-common/tst-unbputc.sh: Likewise.
16507 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16509         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
16510         MADV_*_PAGES defines behind this feature check.
16512 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
16514         [BZ #18480]
16515         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
16516         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
16517         Define.
16518         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
16519         LOAD_REGS_5, LOAD_REGS_6): Update.
16520         (INTERNAL_SYSCALL): Update using new LOAD defines.
16521         (INTERNAL_SYSCALL_NCS): Likewise.
16522         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
16524 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16526         [BZ #16734]
16527         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
16529 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16531         [BZ #17905]
16532         * catgets/Makefile (tst-catgets-mem): New test.
16533         * catgets/catgets.c (catopen): Don't use unbounded alloca.
16534         * catgets/open_catalog.c (__open_catalog): Likewise.
16535         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
16537 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
16539         [BZ #18787]
16540         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
16541         clobber registers.
16542         (atomic_compare_and_exchange_val_acq): Use register asms to assign
16543         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
16544         Cast return to __typeof (oldval).
16546 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
16548         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
16549         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
16550         and delete sys/syscall.h include.
16552 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
16554         [BZ #16517]
16555         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
16556         (tan): Force underflow exception for arguments with small absolute
16557         value.
16558         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
16559         (__kernel_tanf): Force underflow exception for arguments with
16560         small absolute value.
16561         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
16562         (__kernel_tanl): Force underflow exception for arguments with
16563         small absolute value.
16564         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
16565         (__kernel_tanl): Force underflow exception for arguments with
16566         small absolute value.
16567         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
16568         (__kernel_tanl): Force underflow exception for arguments with
16569         small absolute value.
16570         * math/auto-libm-test-in: Add more tests of tan.
16571         * math/auto-libm-test-out: Regenerated.
16573 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16575         Fix sysdeps/i386/fpu/s_scalbn.S build
16577         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
16579 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
16581         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
16583 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16585         Fix gcrt0.o compilation
16587         When static-start-installed-name is different from
16588         start-installed-name, we must not use the shared objects.
16590         * csu/Makefile
16591         (extra-objs): Add gmon-start.o when building shared library and
16592         $(static-start-installed-name) is different from
16593         $(start-installed-name).
16594         $(objpfx)g$(static-start-installed-name): When building shared
16595         library and $(static-start-installed-name) is different from
16596         $(static-start-installed-name), revert to non-shared rule,
16597         i.e. using $(objpfx)% and gmon-start.o.
16599 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
16601         [BZ #16519]
16602         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
16603         (__ieee754_sinh): Force underflow exception for arguments with
16604         small absolute value.
16605         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
16606         (__ieee754_sinhf): Force underflow exception for arguments with
16607         small absolute value.
16608         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
16609         (__ieee754_sinhl): Force underflow exception for arguments with
16610         small absolute value.
16611         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
16612         (__ieee754_sinhl): Force underflow exception for arguments with
16613         small absolute value.
16614         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
16615         (__ieee754_sinhl): Force underflow exception for arguments with
16616         small absolute value.
16617         * math/auto-libm-test-in: Add more tests of sinh.
16618         * math/auto-libm-test-out: Regenerated.
16619         * sysdeps/i386/fpu/libm-test-ulps: Update.
16621 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16623         * libio/oldfileops.c: Include unistd.h.
16625 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
16627         * stdlib/isomac.c: Include ctype.h.
16629 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
16631         * dirent/tst-seekdir.c (main): Converted to ...
16632         (do_test): ... this.
16633         (TEST_FUNCTION): New macro.
16634         Include test-skeleton.c.
16635         * elf/tst-dlmodcount.c (main): Converted to ...
16636         (do_test): ... this.
16637         (TEST_FUNCTION): New macro.
16638         Include test-skeleton.c.
16639         * elf/tst-order-main.c (main): Converted to ...
16640         (do_test): ... this.
16641         (TEST_FUNCTION): New macro.
16642         Include test-skeleton.c.
16643         * elf/tst-pie2.c (main): Converted to ...
16644         (do_test): ... this.
16645         (TEST_FUNCTION): New macro.
16646         Include test-skeleton.c.
16647         * inet/tst-ether_aton.c (main): Converted to ...
16648         (do_test): ... this.
16649         (TEST_FUNCTION): New macro.
16650         Include test-skeleton.c.
16651         * misc/tst-mntent.c (main): Converted to ...
16652         (do_test): ... this.
16653         (TEST_FUNCTION): New macro.
16654         Include test-skeleton.c.
16655         * misc/tst-tsearch.c (main): Converted to ...
16656         (do_test): ... this.
16657         (TEST_FUNCTION): New macro.
16658         Include test-skeleton.c.
16659         * posix/tst-regexloc.c (main): Converted to ...
16660         (do_test): ... this.
16661         (TEST_FUNCTION): New macro.
16662         Include test-skeleton.c.
16663         * resolv/tst-aton.c (main): Converted to ...
16664         (do_test): ... this.
16665         (TEST_FUNCTION): New macro.
16666         Include test-skeleton.c.
16667         * stdio-common/test-fwrite.c (main): Converted to ...
16668         (do_test): ... this.
16669         (TEST_FUNCTION): New macro.
16670         Include test-skeleton.c.
16671         * stdio-common/tst-ferror.c (main): Converted to ...
16672         (do_test): ... this.
16673         (TEST_FUNCTION): New macro.
16674         Include test-skeleton.c.
16675         * stdio-common/tst-printf.c (main): Converted to ...
16676         (do_test): ... this.
16677         (TEST_FUNCTION): New macro.
16678         Include test-skeleton.c.
16679         * stdio-common/tst-printfsz.c (main): Converted to ...
16680         (do_test): ... this.
16681         (TEST_FUNCTION): New macro.
16682         Include test-skeleton.c.
16683         * stdlib/tst-strtod.c (main): Converted to ...
16684         (do_test): ... this.
16685         (TEST_FUNCTION): New macro.
16686         Include test-skeleton.c.
16687         * string/tst-strlen.c (main): Converted to ...
16688         (do_test): ... this.
16689         (TEST_FUNCTION): New macro.
16690         Include test-skeleton.c.
16691         * string/tst-svc.c (main): Converted to ...
16692         (do_test): ... this.
16693         (TEST_FUNCTION): New macro.
16694         Include test-skeleton.c.
16695         * time/tst-strptime.c (main): Converted to ...
16696         (do_test): ... this.
16697         (TEST_FUNCTION): New macro.
16698         Include test-skeleton.c.
16699         * timezone/tst-timezone.c (main): Converted to ...
16700         (do_test): ... this.
16701         (TEST_FUNCTION): New macro.
16702         Include test-skeleton.c.
16704 2015-08-05  Zack Weinberg  <zackw@panix.com>
16706         * misc/regexp.h: Update comments.
16708 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
16710         [BZ #18635]
16711         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
16712         before return label.
16714 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16716         [BZ #18661]
16717         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
16718         when calling __errno_location.
16719         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
16720         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
16722 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16724         [BZ #18661]
16725         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
16726         (__lll_timedwait_tid): Align stack to 16 bytes when calling
16727         __gettimeofday.
16729 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16731         [BZ #18661]
16732         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16733         (__start_context): Don't use pop to restore %rdi so that stack
16734         is aligned to 16 bytes when calling __setcontext.
16736 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16738         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
16739         only for libc.
16740         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16742 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16744         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
16745         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
16746         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
16748 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16750         * string/memccpy.c (memccpy):
16751         Improve performance by using memchr/memcpy/__mempcpy.
16753 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16755         * string/strncpy.c (strncpy):
16756         Improve performance by using __strnlen/memcpy.
16758 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16760         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
16761         Optimize to avoid an unnecessary FPCR read.
16763 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16765         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
16766         Optimize to reduce FPCR/FPSR accesses.
16768 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16770         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
16771         dead->data[category] != NULL.
16773 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
16775         [BZ #18647]
16776         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
16777         and |x| close to 1, use absolute value of x when computing log.
16778         * math/auto-libm-test-in: Add more tests of pow.
16779         * math/auto-libm-test-out: Regenerated.
16781 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16783         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
16784         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
16785         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
16787 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
16789         [BZ #18525]
16790         * locales/km_KH: Remove timezone definition.
16791         * locales/lo_LA: Likewise.
16792         * locales/my_MM: Likewise.
16793         * locales/nan_TW@latin: Likewise.
16794         * locales/th_TH: Likewise.
16795         * locales/uk_UA: Likewise.
16797 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
16799         [BZ #18265]
16800         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
16801         (wcsncat): Likewise.
16802         (wcscmp): Likewise.
16803         (wcsncmp): Likewise.
16805 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
16807         * test-skeleton.c (usage): New function.
16808         (main): Call usage when opt is '?'.
16810 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
16812         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
16813         before first use.
16815 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
16817         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
16818         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
16819         in there too.
16821 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
16823         * version.h (RELEASE): Set to "development".
16824         (VERSION): Set to "2.22.90"
16826         * version.h (RELEASE): Set to "stable".
16827         (VERSION): Set to "2.22"
16828         * include/features.h (__GLIBC_MINOR__): Set to 22.
16830 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
16832         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
16833         Restructure macro to avoid "value computed is not used" warning.
16834         (atomic_compare_and_exchange_val_acq): Likewise.
16836 2015-08-04  Andreas Schwab  <schwab@suse.de>
16838         [BZ #18635]
16839         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
16840         ret.
16841         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
16843 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
16845         * po/pl.po: Updated translation.
16846         * po/uk.po: Likewise.
16847         * po/fi.po: Likewise.
16848         * po/ko.po: Likewise.
16849         * po/ru.po: Likewise.
16850         * po/vi.po: Likewise.
16852 2015-07-31  Zack Weinberg  <zackw@panix.com>
16854         [BZ #18681]
16855         * regexp.h: Add unconditional #warning stating that this header
16856         will be removed soon.  Revise banner comment to match.
16857         (compile): Consistently use ERROR instead of RETURN to report
16858         errors (partial fix for bz#18681).
16859         * regexp.c: Don't include regexp.h. Remove some unnecessary
16860         declarations.
16862 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
16864         * po/libc.pot: Regenerated.
16866 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
16868         [BZ #18740]
16869         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
16870         float-vlen4-arch-ext-cflags): Removed.
16871         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
16872         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
16874 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16876         [BZ #14113]
16877         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
16878         aligned to __aligned__.
16879         (pthread_cond_t, pthread_rwlock_t): Likewise.
16881 2015-07-30  Torvald Riegel  <triegel@redhat.com>
16883         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
16885 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16887         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
16888         (struct sigaction): Change sa_flags from a long to an int, and add
16889         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
16891 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16893         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
16894         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
16895         sysdeps/generic/sysdep.h include.
16896         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
16897         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
16898         sysdeps/hppa/sysdep.h.
16899         (ENTRY, PSEUDO): Undefine before defining.
16901 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16903         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
16904         from scratch to use INTERNAL_SYSCALL.
16906 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
16908         [BZ #18078]
16909         * scripts/check-localplt.awk: Support alternate relocations.
16910         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
16911         sections.
16912         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
16913         malloc entries with + REL R_386_GLOB_DAT.
16914         * sysdeps/x86_64/localplt.data: New file.
16916 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
16918         [BZ #18731]
16919         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
16920         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16921         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16923 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16925         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
16927 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16929         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
16930         directly in terms of __sync_fetch_and_add and delete (int) cast.
16932 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16934         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
16935         the -D_ASM_IA64_CURRENT_H flag.
16937 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16939         [BZ #18641]
16940         * pwd/pwd.h (putpwent): Delete __nonnull markings.
16942 2015-07-27  Andreas Schwab  <schwab@suse.de>
16944         * conform/conformtest.pl (checknamespace): Filter out string
16945         literals while tokenizing.
16947 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
16949         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16950         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
16951         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16953 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
16955         * nptl/tst-join7mod.c: Add #include <string.h>.
16957 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
16959         * sysdeps/nios2/libm-test-ulps: Update.
16961 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
16963         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
16964         Fix order of arguments to the rt_sigprocmask syscall.
16965         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
16966         Likewise.
16968 2015-07-24  Roland McGrath  <roland@hack.frob.com>
16970         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
16972 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16974         [BZ #18457]
16975         * nptl/Makefile (tests): New test case tst-join7.
16976         (modules-names): New test case module tst-join7mod.
16977         * nptl/tst-join7.c: New file.
16978         * nptl/tst-join7mod.c: New file.
16979         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
16980         all translation units in libc.so, libpthread.so and rtld.
16982 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16984         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16986 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
16988         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
16989         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
16990         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
16991         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
16992         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
16993         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
16994         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
16995         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
16996         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
16997         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
16998         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
16999         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17000         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
17001         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
17002         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
17003         implementation.
17005 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17007         [BZ #17711]
17008         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17009         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
17010         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17011         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17012         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
17013         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17015 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17017         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
17018         instead of just saying load lock in the comments.
17020 2015-07-23  Roland McGrath  <roland@hack.frob.com>
17022         * sysdeps/unix/Subdirs: Moved ...
17023         * sysdeps/posix/Subdirs: ... here.
17024         * login/pty.h (struct termios, struct winsize): Add forward decls.
17025         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
17026         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
17027         * sysdeps/arm/nacl/libc.abilist: Updated.
17028         * sysdeps/nacl/libutil.abilist: New file.
17030         * bits/signum.h: Update comments to mention 1003.1-2013 too.
17031         (SIGWINCH): New macro.
17033         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
17034         * sysdeps/arm/nacl/libc.abilist: Add it.
17036 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17038         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
17040 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17042         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17043         Swap __glibc_reserved0 and sa_flags order.
17045 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17047         [BZ #18657]
17048         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
17049         are pending TLS destructor calls.
17050         * include/link.h (struct link_map): Add concurrency note for
17051         L_TLS_DTOR_COUNT.
17052         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17053         Don't touch the link map flag.  Atomically increment
17054         l_tls_dtor_count.
17055         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
17056         Avoid taking the load lock and don't touch the link map flag.
17057         * stdlib/tst-tls-atexit-nodelete.c: New test case.
17058         * stdlib/Makefile (tests): Use it.
17059         * stdlib/tst-tls-atexit.c (do_test): dlopen
17060         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
17061         to allow tst-tls-atexit-nodelete test case to use it.
17063 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17065         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
17066         to bits/types.h.
17067         (msgqnum_t): New typedef.
17068         (msglen_t): Likewise.
17069         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
17070         and msg_qbytes type to msglen_t.
17072 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17074         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
17075         pad0 to __glibc_reserved0.
17076         (struct stat64): Likewise.
17078 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17080         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17081         Change sa_flags from a long to an int and add __glibc_reserved0 before
17082         it for padding.
17084 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17086         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
17087         anonymous by deleting "siginfo" name.
17089 2015-07-21  Roland McGrath  <roland@hack.frob.com>
17091         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
17092         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
17093         rather than __nacl_irt_filename.
17094         * sysdeps/nacl/xstat.c (__xstat): Likewise.
17096         * NEWS: New item for arm-nacl port.
17097         * sysdeps/arm/nacl/libc.abilist: New file.
17098         * sysdeps/nacl/ld.abilist: New file.
17099         * sysdeps/nacl/libBrokenLocale.abilist: New file.
17100         * sysdeps/nacl/libanl.abilist: New file.
17101         * sysdeps/nacl/libcrypt.abilist: New file.
17102         * sysdeps/nacl/libdl.abilist: New file.
17103         * sysdeps/nacl/libm.abilist: New file.
17104         * sysdeps/nacl/libpthread.abilist: New file.
17105         * sysdeps/nacl/libresolv.abilist: New file.
17106         * sysdeps/nacl/librt.abilist: New file.
17108 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
17110         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
17111         __startcontext to initialize the new context.
17112         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
17113         up CFI directive to forbid further backtracing.
17115 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
17117         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
17118         reference.
17119         * charmaps/ANSI_X3.4-1968: Likewise.
17120         * charmaps/BS_4730: Likewise.
17121         * charmaps/BS_VIEWDATA: Likewise.
17122         * charmaps/CP1250: Likewise.
17123         * charmaps/CP1251: Likewise.
17124         * charmaps/CP1252: Likewise.
17125         * charmaps/CP1253: Likewise.
17126         * charmaps/CP1254: Likewise.
17127         * charmaps/CP1255: Likewise.
17128         * charmaps/CP1256: Likewise.
17129         * charmaps/CSN_369103: Likewise.
17130         * charmaps/EBCDIC-DK-NO: Likewise.
17131         * charmaps/GB_1988-80: Likewise.
17132         * charmaps/GREEK-CCITT: Likewise.
17133         * charmaps/GREEK7: Likewise.
17134         * charmaps/INIS-8: Likewise.
17135         * charmaps/ISIRI-3342: Likewise.
17136         * charmaps/ISO_2033-1983: Likewise.
17137         * charmaps/ISO_5427-EXT: Likewise.
17138         * locales/POSIX: Likewise.
17139         * locales/ar_SA: Likewise.
17140         * locales/be_BY: Likewise.
17141         * locales/be_BY@latin: Likewise.
17142         * locales/ca_ES: Likewise.
17143         * locales/cs_CZ: Likewise.
17144         * locales/da_DK: Likewise.
17145         * locales/de_BE: Likewise.
17146         * locales/de_CH: Likewise.
17147         * locales/de_LU: Likewise.
17148         * locales/en_AU: Likewise.
17149         * locales/en_BW: Likewise.
17150         * locales/en_CA: Likewise.
17151         * locales/en_DK: Likewise.
17152         * locales/en_GB: Likewise.
17153         * locales/en_IE: Likewise.
17154         * locales/en_NZ: Likewise.
17155         * locales/en_ZA: Likewise.
17156         * locales/en_ZW: Likewise.
17157         * locales/es_AR: Likewise.
17158         * locales/es_BO: Likewise.
17159         * locales/es_CL: Likewise.
17160         * locales/es_CO: Likewise.
17161         * locales/es_DO: Likewise.
17162         * locales/es_EC: Likewise.
17163         * locales/es_ES: Likewise.
17164         * locales/es_HN: Likewise.
17165         * locales/es_MX: Likewise.
17166         * locales/es_PA: Likewise.
17167         * locales/es_PE: Likewise.
17168         * locales/es_PY: Likewise.
17169         * locales/es_SV: Likewise.
17170         * locales/es_US: Likewise.
17171         * locales/es_UY: Likewise.
17172         * locales/es_VE: Likewise.
17173         * locales/et_EE: Likewise.
17174         * locales/fa_IR: Likewise.
17175         * locales/fo_FO: Likewise.
17176         * locales/fr_CA: Likewise.
17177         * locales/fr_CH: Likewise.
17178         * locales/gv_GB: Likewise.
17179         * locales/he_IL: Likewise.
17180         * locales/hr_HR: Likewise.
17181         * locales/id_ID: Likewise.
17182         * locales/is_IS: Likewise.
17183         * locales/it_CH: Likewise.
17184         * locales/iw_IL: Likewise.
17185         * locales/kl_GL: Likewise.
17186         * locales/ko_KR: Likewise.
17187         * locales/kw_GB: Likewise.
17188         * locales/lg_UG: Likewise.
17189         * locales/lt_LT: Likewise.
17190         * locales/lv_LV: Likewise.
17191         * locales/mi_NZ: Likewise.
17192         * locales/nhn_MX: Likewise.
17193         * locales/nl_BE: Likewise.
17194         * locales/pl_PL: Likewise.
17195         * locales/sk_SK: Likewise.
17196         * locales/sl_SI: Likewise.
17197         * locales/sv_FI: Likewise.
17198         * locales/tl_PH: Likewise.
17199         * locales/tr_TR: Likewise.
17200         * locales/vi_VN: Likewise.
17202 2015-07-21  Khem Raj  <raj.khem@gmail.com>
17204         [BZ #17475]
17205         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
17206         of tu_IN and bh_IN.
17208 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
17210         [BZ #18694]
17211         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
17212         bits/wordsize.h.
17213         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
17215 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17217         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
17218         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
17219         (spawn_thread): New function.
17220         (load): Rename to reg_dtor_and_close.  Move dlopen to...
17221         (do_test): ... here.  Use IS_LOADED to test for its
17222         availability.
17224 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
17226         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17228 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
17230         [BZ #18696]
17231         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
17232         si_addr_bnd.
17233         (si_lower): New.
17234         (si_upper): Likewise.
17236 2015-07-16  David S. Miller  <davem@davemloft.net>
17238         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
17240 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17242         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
17243         buffer.
17244         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
17245         fail output information.
17247 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17249         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
17250         and strstr-ppc64..
17251         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17252         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
17253         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
17254         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
17255         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
17257 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17259         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17260         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17261         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17262         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17264 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17266         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17267         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
17268         rtld_hidden_proto.
17269         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
17271 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17273         * tst-nodelete-opened.c (do_test): Add comment to clarify how
17274         the test can fail.
17276         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
17278         [BZ #18676]
17279         * elf/tst-nodelete-opened.c: New test case.
17280         * elf/tst-nodelete-opened-lib.c: New test case module.
17281         * elf/Makefile (tests, modules-names): Use them.
17282         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
17283         early.
17285 2015-07-15  David S. Miller  <davem@davemloft.net>
17287         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
17288         futex-intenal.h
17289         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
17290         * sysdeps/sparc/sparc64/Makefile: Likewise.
17291         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17292         Remove space from macro define.
17293         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
17295 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
17297         [BZ #17475]
17298         * locale/iso-639.def: Update Bhili and Tulu language codes as
17299         per iso639-3.
17301 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
17303         * elf/tst-leaks1.c (main): Converted to ...
17304         (do_test): ... this.
17305         (TEST_FUNCTION): New macro.
17306         Include test-skeleton.c.
17307         * localedata/tst-langinfo.c (main): Converted to ...
17308         (do_test): ... this.
17309         (TEST_FUNCTION): New macro.
17310         Include test-skeleton.c.
17311         * math/test-fpucw.c (main): Converted to ...
17312         (do_test): ... this.
17313         (TEST_FUNCTION): New macro.
17314         Include test-skeleton.c.
17315         * math/test-tgmath.c (main): Converted to ...
17316         (do_test): ... this.
17317         (TEST_FUNCTION): New macro.
17318         Include test-skeleton.c.
17319         * math/test-tgmath2.c (main): Converted to ...
17320         (do_test): ... this.
17321         (TEST_FUNCTION): New macro.
17322         Include test-skeleton.c.
17323         * setjmp/tst-setjmp.c (main): Converted to ...
17324         (do_test): ... this.
17325         (TEST_FUNCTION): New macro.
17326         Include test-skeleton.c.
17327         * stdio-common/tst-sscanf.c (main): Converted to ...
17328         (do_test): ... this.
17329         (TEST_FUNCTION): New macro.
17330         Include test-skeleton.c.
17331         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
17332         (do_test): ... this.
17333         (TEST_FUNCTION): New macro.
17334         Include test-skeleton.c.
17336         * elf/tst-audit9.c (main): Converted to ...
17337         (do_test): ... this.
17338         (TEST_FUNCTION): New macro.
17339         Include test-skeleton.c.
17341 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
17343         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
17345 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17347         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
17348         New variable.
17350 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17352         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17354 2015-07-14  Roland McGrath  <roland@hack.frob.com>
17356         * sysdeps/generic/dl-fileid.h: New file.
17357         * sysdeps/posix/dl-fileid.h: New file.
17358         * sysdeps/nacl/dl-fileid.h: New file.
17359         * include/link.h: Include <dl-fileid.h>.
17360         (struct link_map): Replace l_dev and l_ino with l_file_id.
17361         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
17362         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
17363         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
17365 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17367         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
17369 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17371         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
17372         Add iff $CXX is set.
17373         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
17374         Likewise.
17375         (tst-nodelete-zmodiff): Likewise.
17376         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
17378 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17380         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
17382 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17384         * sysdeps/aarch64/fpu/math_private.h
17385         (define math_opt_barrier): Add AArch64 version.
17386         (math_force_eval): Likewise.
17388 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17390         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
17392 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
17394         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
17395         %ld with %jd and cast to intmax_t.
17396         (do_test_length_zero): Likewise.
17398 2015-07-10  Roland McGrath  <roland@hack.frob.com>
17400         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
17402 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
17404         * sysdeps/tile/libm-test-ulps: Regenerated.
17406         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
17407         Comment out the whole function, not just its body.
17409 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17411         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
17412         locks.
17414         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
17416 2015-07-10  Torvald Riegel  <triegel@redhat.com>
17418         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
17419         (sem_assume_only_signals_cause_futex_EINTR): Remove.
17421 2015-07-10  Torvald Riegel  <triegel@redhat.com>
17423         * sysdeps/nptl/futex-internal.h: New file.
17424         * sysdeps/nacl/futex-internal.h: New file.
17425         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
17426         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
17427         error checking.
17428         (setxid_unmark_thread): Likewise.
17429         (__nptl_setxid): Likewise.
17430         (__wait_lookup_done): Likewise.
17431         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
17432         * nptl/nptl-init.c (sighandler_setxid): Likewise.
17433         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
17434         * nptl/pthread_once.c (clear_once_control): Likewise.
17435         (__pthread_once_slow): Likewise.
17436         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
17437         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
17438         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
17439         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17440         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
17441         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
17442         Likewise.
17443         (__pthread_rwlock_rdlock): Likewise.
17444         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17445         Likewise.
17446         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17447         Likewise.
17448         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17449         Likewise.
17450         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
17451         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
17452         Likewise.
17453         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
17454         __ASSUME_PRIVATE_FUTEX check.
17455         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
17456         Check that shared futexes are supported.
17457         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
17458         wrappers with error checking.
17459         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
17460         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
17461         * nptl/pthread_barrierattr_setpshared.c
17462         (pthread_barrierattr_setpshared): Check that shared futexes are
17463         supported.
17464         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
17465         Likewise.
17466         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
17467         Likewise.
17468         * nptl/sem_init.c (futex_private_if_supported): Remove.
17469         (__new_sem_init): Adapt and check that shared futexes are supported.
17470         * nptl/sem_open.c (sem_open): Likewise.
17471         * nptl/sem_post.c (futex_wake): Remove.
17472         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
17473         (do_futex_wait): Use futex wrappers with error checking.
17474         * nptl/sem_wait.c: Include lowlevellock.h.
17475         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
17476         Use futex_supports_pshared.
17477         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
17478         Use futex wrappers with error checking.
17479         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
17480         Likewise.
17481         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
17482         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
17483         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
17484         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
17485         (futex_wake): Likewise.
17486         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
17487         (do_futex_wait): Use futex wrappers with error checking.
17488         (__new_sem_wait_slow): Update EINTR handling.
17489         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
17491 2015-07-09  Martin Sebor  <msebor@redhat.com>
17493         [BZ #18435]
17494         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
17495         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
17496         * nptl/Makefile (test-xfail-tst-once5): Define.
17498 2015-07-09  Roland McGrath  <roland@hack.frob.com>
17500         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
17501         * elf/dl-minimal.c: For readability, reorder some definitions and
17502         introduce more page breaks.  Include <stdio.h>.
17503         (__libc_fatal): New function.
17505         * include/unistd.h: Add rtld_hidden_proto for _exit.
17506         * posix/_exit.c: Add rtld_hidden_def.
17507         * sysdeps/mach/hurd/_exit.c: Likewise.
17508         * sysdeps/nacl/_exit.c: Likewise.
17509         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
17510         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
17512 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
17514         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
17515         bndmov encoding with zero displacement.
17517 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
17518             H.J. Lu  <hongjiu.lu@intel.com>
17520         [BZ #18134]
17521         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
17522         * sysdeps/i386/configure: Regenerated.
17523         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
17524         (_dl_runtime_profile): Save and restore Intel MPX return bound
17525         registers when calling _dl_call_pltexit.  Add
17526         PRESERVE_BND_REGS_PREFIX before return.
17527         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
17528         (LRV_BND1_OFFSET): Likewise.
17529         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
17530         lrv_bnd1.
17531         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
17532         typo in bndmov encoding.
17533         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
17534         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
17535         branch instructions to preserve bounds.
17537 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
17540         [GLIBC_2.22]: Add fmemopen.
17542 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17544         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
17545         returns an error, also try to use host port from __mach_host_self for
17546         the __vm_wire call.
17547         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
17549 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17551         [BZ #18400]
17552         [BZ #18648]
17553         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
17554         Fix pr_uid and pr_gid members.
17555         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
17556         definition to elf_greg_t.
17558 2015-07-08  Roland McGrath  <roland@hack.frob.com>
17560         [BZ #18383]
17561         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
17562         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
17563         * sysdeps/arm/configure: Regenerated.
17564         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
17565         (test-xfail-tst-tlsalign-static): Variable removed.
17567         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
17568         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
17569         rather than explicit 'ln -s'.
17571         * resolv/rpc/netdb.h: New file.
17572         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
17574 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17576         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
17577         length buffers.
17578         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
17579         test-skeleton.c.
17581         [BZ #6544]
17582         [BZ #11216]
17583         [BZ #12836]
17584         [BZ #13151]
17585         [BZ #13152]
17586         [BZ #14292]
17587         * include/stdio.h (fmemopen): Remove hidden prototype.
17588         (__fmemopen): Add new hidden prototype.
17589         * libio/Makefile: Add oldfmemopen object.
17590         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
17591         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
17592         compliance.
17593         * libio/oldfmemopen.c: New file: old fmemopen implementation for
17594         symbol compatibility.
17595         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
17596         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
17597         fmemopen.
17598         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
17599         on append and read mode.
17600         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
17601         fmemopen.
17602         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
17603         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
17604         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
17605         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
17606         Likewise.
17607         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
17608         [GLIBC_2.22]: Likewise.
17609         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
17610         Likewise.
17611         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
17612         Likewise.
17613         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
17614         [GLIBC_2.22]: Likewise.
17615         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
17616         [GLIBC_2.22]: Likewise.
17617         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
17618         [GLIBC_2.22]: Likewise.
17619         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
17620         [GLIBC_2.22]: Likewise.
17621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
17622         [GLIBC_2.22]: Likewise.
17623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
17624         [GLIBC_2.22]: Likewise.
17625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
17626         [GLIBC_2.22]: Likewise.
17627         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
17628         Likewise.
17629         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
17630         Likewise.
17631         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
17632         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
17633         [GLIBC_2.22]: Likewise.
17634         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
17635         [GLIBC_2.22]: Likewise.
17636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
17637         [GLIBC_2.22]: Likewise.
17638         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
17639         [GLIBC_2.22]: Likewise.
17640         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
17641         Likewise.
17642         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
17643         Likewise.
17644         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
17645         Likewise.
17646         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
17647         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
17649 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
17651         [BZ #18643]
17652         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
17653         IPV6_PATHMTU, and IPV6_DONTFRAG.
17655 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
17657         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
17658         and _IO_UNBUFFERED.
17659         * libio/oldfileops.c: Likewise.
17660         * libio/wfileops.c: Likewise.
17662 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
17664         * nscd/selinux.c: Delete selinux/flask.h include.
17666 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
17668         [BZ #18641]
17669         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
17670         (putpwent): Likewise.
17671         (getpwnam): Likewise.
17672         (getpwent_r): Likewise.
17673         (getpwuid_r): Likewise.
17674         (getpwnam_r): Likewise.
17675         (fgetpwent_r): Likewise.
17677 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
17679         [BZ #18557]
17680         * inet/rcmd.c (__validuser2_sa): Check user first to
17681         short-circuit host check.
17683 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
17684             Mikhail Ilin  <m.ilin@samsung.com>
17686         [BZ #17833]
17687         * elf/Makefile (tests): Add tst-nodelete.
17688         (modules-names): Add tst-nodelete-uniquemod.
17689         (tst-nodelete-uniquemod.so-no-z-defs): New.
17690         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
17691         (tst-nodelete-zmod.so-no-z-defs): Likewise.
17692         ($(objpfx)tst-nodelete): Likewise.
17693         ($(objpfx)tst-nodelete.out): Likewise.
17694         (LDFLAGS-tst-nodelete): Likewise.
17695         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
17696         * elf/dl-close.c (_dl_close_worker): Add a parameter to
17697         implement forced object deletion.
17698         (_dl_close): Pass false to _dl_close_worker.
17699         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
17700         * elf/tst-nodelete.cc: New file.
17701         * elf/tst-nodeletelib.cc: Likewise.
17702         * elf/tst-znodeletelib.cc: Likewise.
17703         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
17705 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17707         [BZ #18508]
17708         * stdlib/Makefile ($(objpfx)tst-makecontext3):
17709         Depend on $(libdl).
17710         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
17711         is not called infinitely times.
17712         (backtrace_helper): New function.
17713         (trace_arg): New struct.
17714         (st1): Enlarge stack size.
17715         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17716         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
17717         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17718         Likewise.
17720 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17722         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17724 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17726         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
17727         Include sys/types.h instead of bits/types.h.
17728         Remove inclusion of bits/wordsize.h.
17730 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
17732         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
17733         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
17734         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
17735         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
17736         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
17737         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
17739 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
17741         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
17742         link-defines.sym.
17743         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
17744         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
17745         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
17746         and LR_SIZE.
17747         * sysdeps/i386/link-defines.sym: New file.
17749 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
17751         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
17752         (modules-names): Add tst-auditmod3a tst-auditmod3b.
17753         ($(objpfx)tst-audit3): New rule.
17754         ($(objpfx)tst-audit3.out): Likewise.
17755         * sysdeps/i386/tst-audit3.c: New file.
17756         * sysdeps/i386/tst-audit3.h: Likewise.
17757         * sysdeps/i386/tst-auditmod3a.c: Likewise.
17758         * sysdeps/i386/tst-auditmod3b.c: Likewise.
17760 2015-07-07  Torvald Riegel  <triegel@redhat.com>
17762         [BZ #18633]
17763         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
17764         pointer in C code.
17765         (__strcat_c): Likewise.
17766         (__strcat_g): Likewise.
17768 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
17770         [BZ #18592]
17771         * misc/sbrk.c: Set errno to ENOMEM on overflow.
17773 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
17775         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
17776         New function.  (__ieee754_sqrtf): New function.
17777         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
17778         New function.
17779         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
17780         New function.
17782 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
17784         * sysdeps/ieee754/support.c: Remove unused file.
17786 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17788         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
17789         registers instead of d ones so the layout is kernel abi compatible.
17790         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
17791         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
17792         Likewise.
17794 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17796         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17798 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
17800         [BZ #18619]
17801         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
17802         and return argument in case of subnormal argument.
17804 2015-07-01  Martin Sebor  <msebor@redhat.com>
17806         [BZ #18435]
17807         * nptl/Makefile: Add tst-once5.cc.
17808         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
17809         Remove macro redefinitions.
17810         * nptl/tst-once5.cc: New test.
17812 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
17814         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17816         * sysdeps/arm/libm-test-ulps: Regenerated.
17818         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17819         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17821 2015-06-30  Torvald Riegel  <triegel@redhat.com>
17823         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
17824         lll_lock_wait_private and lll_futex_wake probes.
17826         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
17827         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
17828         Likewise.
17829         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
17830         atomic_spin_nop.
17831         * sysdeps/x86_64/bits/atomic.h: Likewise.
17832         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
17833         to atomic_spin_nop and move ...
17834         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17835         ... here and ...
17836         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
17837         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
17838         atomic_spin_nop instead of BUSY_WAIT_NOP.
17839         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
17840         Likewise.
17841         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
17842         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
17843         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
17844         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
17845         instead of atomic_delay.
17847 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
17849         [BZ #18613]
17850         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
17851         X_ADJ not X when adjusting exponent.
17852         (__ieee754_gamma_r): Do intermediate computations in
17853         round-to-nearest then adjust overflowing and underflowing results
17854         as needed.
17855         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
17856         of X_ADJ not X when adjusting exponent.
17857         (__ieee754_gammaf_r): Do intermediate computations in
17858         round-to-nearest then adjust overflowing and underflowing results
17859         as needed.
17860         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
17861         log of X_ADJ not X when adjusting exponent.
17862         (__ieee754_gammal_r): Do intermediate computations in
17863         round-to-nearest then adjust overflowing and underflowing results
17864         as needed.  Use 1.0L not 1.0f as numerator of division.
17865         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
17866         log of X_ADJ not X when adjusting exponent.
17867         (__ieee754_gammal_r): Do intermediate computations in
17868         round-to-nearest then adjust overflowing and underflowing results
17869         as needed.  Use 1.0L not 1.0f as numerator of division.
17870         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
17871         of X_ADJ not X when adjusting exponent.
17872         (__ieee754_gammal_r): Do intermediate computations in
17873         round-to-nearest then adjust overflowing and underflowing results
17874         as needed.  Use 1.0L not 1.0f as numerator of division.
17875         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
17876         to auto-libm-test-in.
17877         (tgamma_test): Use ALL_RM_TEST.
17878         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
17879         tests of tgamma with spurious-overflow.
17880         * math/auto-libm-test-out: Regenerated.
17881         * math/gen-libm-have-vector-test.sh: Do not check for START.
17882         * sysdeps/i386/fpu/libm-test-ulps: Update.
17883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17885         [BZ #18612]
17886         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
17887         arguments, just return 0.5 times the argument, with underflow
17888         forced as needed.
17889         * math/auto-libm-test-in: Add more tests of j1.
17890         * math/auto-libm-test-out: Regenerated.
17892         [BZ #16559]
17893         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
17894         (__ieee754_j1): Force underflow exception for small results.
17895         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17896         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
17897         (__ieee754_j1f): Force underflow exception for small results.
17898         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17899         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17900         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17901         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
17902         (__ieee754_j1l): Force underflow exception for small results.
17903         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17904         * math/auto-libm-test-in: Add more tests of j1 and jn.
17905         * math/auto-libm-test-out: Regenerated.
17907         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
17908         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
17909         (PF_MPLS): Likewise.
17910         (AF_IB): Likewise.
17911         (AF_MPLS): Likewise.
17912         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
17913         value and macro.
17914         (MS_RMT_MASK): Include MS_LAZYTIME.
17916 2015-06-26  Mel Gorman  <mgorman@suse.de>
17918         [BZ #18502]
17919         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
17920         already minimal.
17922 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
17924         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
17925         (DT_MIPS_NUM): Update.
17926         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
17927         DT_MIPS_RLD_MAP_REL.
17929 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
17931         [BZ #16559]
17932         [BZ #18602]
17933         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
17934         round-to-nearest internally then recompute results that
17935         underflowed to zero in the original rounding mode.
17936         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17937         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17938         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17939         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17940         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
17941         * sysdeps/i386/fpu/libm-test-ulps: Update.
17942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17944 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
17946         * NEWS: Fixed description of link with vector math library.
17948 2015-06-25  Andreas Schwab  <schwab@suse.de>
17950         [BZ #18549]
17951         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
17952         * libio/test-fmemopen.c (do_test): Add test for it.
17954 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
17956         [BZ #17841]
17957         * Makeconfig (no-pie-ldflag): New.
17958         (+link): Set to $(+link-pie) if default to PIE.
17959         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
17960         * config.make.in (build-pie-default): New.
17961         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
17962         is default.  AC_SUBST.
17963         * configure: Regenerated.
17964         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
17966 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17968         * nptl/descr.h (struct pthread): Change type of field setxid_futex
17969         to 'unsigned int'.
17971         * resolv/gai_misc.h (struct waitlist): Change type of field
17972         counterp to 'volatile unsigned int *'.
17973         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
17974         FUTEXADDR and OLDVAL.
17975         * resolv/getaddrinfo_a.c (getaddrinfo_a):
17976         Give local variable TOTAL type 'volatile unsigned int'.
17977         (struct async_waitlist): Change type of field counter to 'unsigned int'.
17978         * resolv/gai_suspend.c (gai_suspend):
17979         Give local variable CNTR type 'unsigned int'.
17981         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
17982         counterp to 'volatile unsigned int *'.
17983         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
17984         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
17985         (aio_suspend): Give local variable CNTR type 'unsigned int'.
17986         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
17987         Give local variable TOTAL type 'volatile unsigned int'.
17988         (struct async_waitlist): Change type of field counter to 'unsigned int'.
17990 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
17992         [BZ #18383]
17993         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
17994         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
17995         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
17996         comment for i386/x86-64.
17997         (test-xfail-tst-tlsalign-extern-static): Removed.
17999 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18001         * math/test-double.h: New file.
18002         * math/test-float.h: Likewise.
18003         * math/test-ldouble.h: Likewise.
18004         * math/test-math-inline.h: Likewise.
18005         * math/test-math-no-inline.h: Likewise.
18006         * math/test-math-scalar.h: Likewise.
18007         * math/test-math-vector.h: Likewise.
18008         * math/test-vec-loop.h: Remove file.  Contents moved into
18009         test-math-vector.h.
18010         * math/libm-test.inc (MATHCONST): Do not document macro.
18011         * math/test-double.c: Include test-double.h, test-math-no-inline.h
18012         and test-math-scalar.h.
18013         (FUNC): Remove macro.
18014         (FUNC_TEST): Likewise.
18015         (FLOAT): Likewise.
18016         (MATHCONST): Likewise.
18017         (PRINTF_EXPR): Likewise.
18018         (PRINTF_XEXPR): Likewise.
18019         (PRINTF_NEXPR): Likewise.
18020         (TEST_DOUBLE): Likewise.
18021         (TEST_MATHVEC): Likewise.
18022         (__NO_MATH_INLINES): Likewise.
18023         * math/test-float.c: Include test-float.h, test-math-no-inline.h
18024         and test-math-scalar.h.
18025         (FUNC): Remove macro.
18026         (FUNC_TEST): Likewise.
18027         (FLOAT): Likewise.
18028         (MATHCONST): Likewise.
18029         (PRINTF_EXPR): Likewise.
18030         (PRINTF_XEXPR): Likewise.
18031         (PRINTF_NEXPR): Likewise.
18032         (TEST_FLOAT): Likewise.
18033         (TEST_MATHVEC): Likewise.
18034         (__NO_MATH_INLINES): Likewise.
18035         * math/test-idouble.c: Include test-double.h, test-math-inline.h
18036         and test-math-scalar.h.
18037         (FUNC): Remove macro.
18038         (FUNC_TEST): Likewise.
18039         (FLOAT): Likewise.
18040         (MATHCONST): Likewise.
18041         (PRINTF_EXPR): Likewise.
18042         (PRINTF_XEXPR): Likewise.
18043         (PRINTF_NEXPR): Likewise.
18044         (TEST_DOUBLE): Likewise.
18045         (TEST_MATHVEC): Likewise.
18046         (TEST_INLINE): Likewise.
18047         (__NO_MATH_INLINES): Likewise.
18048         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
18049         test-math-scalar.h.
18050         (FUNC): Remove macro.
18051         (FUNC_TEST): Likewise.
18052         (FLOAT): Likewise.
18053         (MATHCONST): Likewise.
18054         (PRINTF_EXPR): Likewise.
18055         (PRINTF_XEXPR): Likewise.
18056         (PRINTF_NEXPR): Likewise.
18057         (TEST_FLOAT): Likewise.
18058         (TEST_MATHVEC): Likewise.
18059         (TEST_INLINE): Likewise.
18060         (__NO_MATH_INLINES): Likewise.
18061         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
18062         and test-math-scalar.h.
18063         (FUNC): Remove macro.
18064         (FUNC_TEST): Likewise.
18065         (FLOAT): Likewise.
18066         (MATHCONST): Likewise.
18067         (PRINTF_EXPR): Likewise.
18068         (PRINTF_XEXPR): Likewise.
18069         (PRINTF_NEXPR): Likewise.
18070         (TEST_LDOUBLE): Likewise.
18071         (TEST_MATHVEC): Likewise.
18072         (TEST_INLINE): Likewise.
18073         (__NO_MATH_INLINES): Likewise.
18074         * math/test-ldouble.c: Include test-ldouble.h,
18075         test-math-no-inline.h and test-math-scalar.h.
18076         (FUNC): Remove macro.
18077         (FUNC_TEST): Likewise.
18078         (FLOAT): Likewise.
18079         (MATHCONST): Likewise.
18080         (PRINTF_EXPR): Likewise.
18081         (PRINTF_XEXPR): Likewise.
18082         (PRINTF_NEXPR): Likewise.
18083         (TEST_LDOUBLE): Likewise.
18084         (TEST_MATHVEC): Likewise.
18085         (__NO_MATH_INLINES): Likewise.
18086         * math/test-double-vlen2.h: Include test-double.h,
18087         test-math-no-inline.h and test-math-vector.h.
18088         (FLOAT): Remove macro.
18089         (FUNC): Likewise.
18090         (MATHCONST): Likewise.
18091         (PRINTF_EXPR): Likewise.
18092         (PRINTF_XEXPR): Likewise.
18093         (PRINTF_NEXPR): Likewise.
18094         (TEST_DOUBLE): Likewise.
18095         (TEST_MATHVEC): Likewise.
18096         (__NO_MATH_INLINES): Likewise.
18097         (CNCT): Likewise.
18098         (CONCAT): Likewise.
18099         (WRAPPER_NAME): Likewise.
18100         (WRAPPER_DECL): Likewise.
18101         (WRAPPER_DECL_ff): Likewise.
18102         (WRAPPER_DECL_fFF): Likewise.
18103         (VECTOR_WRAPPER): Likewise.
18104         (VECTOR_WRAPPER_ff): Likewise.
18105         (VECTOR_WRAPPER_fFF): Likewise.
18106         (VEC_LEN): New macro.
18107         * math/test-double-vlen4.h: Include test-double.h,
18108         test-math-no-inline.h and test-math-vector.h.
18109         (FLOAT): Remove macro.
18110         (FUNC): Likewise.
18111         (MATHCONST): Likewise.
18112         (PRINTF_EXPR): Likewise.
18113         (PRINTF_XEXPR): Likewise.
18114         (PRINTF_NEXPR): Likewise.
18115         (TEST_DOUBLE): Likewise.
18116         (TEST_MATHVEC): Likewise.
18117         (__NO_MATH_INLINES): Likewise.
18118         (CNCT): Likewise.
18119         (CONCAT): Likewise.
18120         (WRAPPER_NAME): Likewise.
18121         (WRAPPER_DECL): Likewise.
18122         (WRAPPER_DECL_ff): Likewise.
18123         (WRAPPER_DECL_fFF): Likewise.
18124         (VECTOR_WRAPPER): Likewise.
18125         (VECTOR_WRAPPER_ff): Likewise.
18126         (VECTOR_WRAPPER_fFF): Likewise.
18127         (VEC_LEN): New macro.
18128         * math/test-double-vlen8.h: Include test-double.h,
18129         test-math-no-inline.h and test-math-vector.h.
18130         (FLOAT): Remove macro.
18131         (FUNC): Likewise.
18132         (MATHCONST): Likewise.
18133         (PRINTF_EXPR): Likewise.
18134         (PRINTF_XEXPR): Likewise.
18135         (PRINTF_NEXPR): Likewise.
18136         (TEST_DOUBLE): Likewise.
18137         (TEST_MATHVEC): Likewise.
18138         (__NO_MATH_INLINES): Likewise.
18139         (CNCT): Likewise.
18140         (CONCAT): Likewise.
18141         (WRAPPER_NAME): Likewise.
18142         (WRAPPER_DECL): Likewise.
18143         (WRAPPER_DECL_ff): Likewise.
18144         (WRAPPER_DECL_fFF): Likewise.
18145         (VECTOR_WRAPPER): Likewise.
18146         (VECTOR_WRAPPER_ff): Likewise.
18147         (VECTOR_WRAPPER_fFF): Likewise.
18148         (VEC_LEN): New macro.
18149         * math/test-float-vlen4.h: Include test-float.h,
18150         test-math-no-inline.h and test-math-vector.h.
18151         (FLOAT): Remove macro.
18152         (FUNC): Likewise.
18153         (MATHCONST): Likewise.
18154         (PRINTF_EXPR): Likewise.
18155         (PRINTF_XEXPR): Likewise.
18156         (PRINTF_NEXPR): Likewise.
18157         (TEST_FLOAT): Likewise.
18158         (TEST_MATHVEC): Likewise.
18159         (__NO_MATH_INLINES): Likewise.
18160         (CNCT): Likewise.
18161         (CONCAT): Likewise.
18162         (WRAPPER_NAME): Likewise.
18163         (WRAPPER_DECL): Likewise.
18164         (WRAPPER_DECL_ff): Likewise.
18165         (WRAPPER_DECL_fFF): Likewise.
18166         (VECTOR_WRAPPER): Likewise.
18167         (VECTOR_WRAPPER_ff): Likewise.
18168         (VECTOR_WRAPPER_fFF): Likewise.
18169         (VEC_LEN): New macro.
18170         * math/test-float-vlen8.h: Include test-float.h,
18171         test-math-no-inline.h and test-math-vector.h.
18172         (FLOAT): Remove macro.
18173         (FUNC): Likewise.
18174         (MATHCONST): Likewise.
18175         (PRINTF_EXPR): Likewise.
18176         (PRINTF_XEXPR): Likewise.
18177         (PRINTF_NEXPR): Likewise.
18178         (TEST_FLOAT): Likewise.
18179         (TEST_MATHVEC): Likewise.
18180         (__NO_MATH_INLINES): Likewise.
18181         (CNCT): Likewise.
18182         (CONCAT): Likewise.
18183         (WRAPPER_NAME): Likewise.
18184         (WRAPPER_DECL): Likewise.
18185         (WRAPPER_DECL_ff): Likewise.
18186         (WRAPPER_DECL_fFF): Likewise.
18187         (VECTOR_WRAPPER): Likewise.
18188         (VECTOR_WRAPPER_ff): Likewise.
18189         (VECTOR_WRAPPER_fFF): Likewise.
18190         (VEC_LEN): New macro.
18191         * math/test-float-vlen16.h: Include test-float.h,
18192         test-math-no-inline.h and test-math-vector.h.
18193         (FLOAT): Remove macro.
18194         (FUNC): Likewise.
18195         (MATHCONST): Likewise.
18196         (PRINTF_EXPR): Likewise.
18197         (PRINTF_XEXPR): Likewise.
18198         (PRINTF_NEXPR): Likewise.
18199         (TEST_FLOAT): Likewise.
18200         (TEST_MATHVEC): Likewise.
18201         (__NO_MATH_INLINES): Likewise.
18202         (CNCT): Likewise.
18203         (CONCAT): Likewise.
18204         (WRAPPER_NAME): Likewise.
18205         (WRAPPER_DECL): Likewise.
18206         (WRAPPER_DECL_ff): Likewise.
18207         (WRAPPER_DECL_fFF): Likewise.
18208         (VECTOR_WRAPPER): Likewise.
18209         (VECTOR_WRAPPER_ff): Likewise.
18210         (VECTOR_WRAPPER_fFF): Likewise.
18211         (VEC_LEN): New macro.
18212         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
18213         test-vec-loop.h.
18214         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18215         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18216         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18217         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18218         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18219         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18220         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18222 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18224         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
18225         (__getlogin_r): ... this.
18227 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18229         [BZ #18594]
18230         * math/s_ccosh.c (__ccosh): Compare with least normal value
18231         instead of comparing class with FP_SUBNORMAL.
18232         * math/s_ccoshf.c (__ccoshf): Likewise.
18233         * math/s_ccoshl.c (__ccoshl): Likewise.
18234         * math/s_cexp.c (__cexp): Likewise.
18235         * math/s_cexpf.c (__cexpf): Likewise.
18236         * math/s_cexpl.c (__cexpl): Likewise.
18237         * math/s_csin.c (__csin): Likewise.
18238         * math/s_csinf.c (__csinf): Likewise.
18239         * math/s_csinh.c (__csinh): Likewise.
18240         * math/s_csinhf.c (__csinhf): Likewise.
18241         * math/s_csinhl.c (__csinhl): Likewise.
18242         * math/s_csinl.c (__csinl): Likewise.
18243         * math/s_ctan.c (__ctan): Likewise.
18244         * math/s_ctanf.c (__ctanf): Likewise.
18245         * math/s_ctanh.c (__ctanh): Likewise.
18246         * math/s_ctanhf.c (__ctanhf): Likewise.
18247         * math/s_ctanhl.c (__ctanhl): Likewise.
18248         * math/s_ctanl.c (__ctanl): Likewise.
18249         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
18250         csin, csinh, ctan and ctanh.
18251         * math/auto-libm-test-out: Regenerated.
18252         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
18253         * sysdeps/i386/fpu/libm-test-ulps: Update.
18254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18256 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18258         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
18259         return value is wrong, print the expected value too.
18261 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18263         [BZ #18585]
18264         * elf/readlib.c (is_gdb_python_file): New.
18265         (process_file): Don't issue errors on filenames with -gdb.py
18266         suffix.
18268 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18270         * math/auto-libm-test-in: Add more tests of csin and csinh.
18271         * math/auto-libm-test-out: Regenerated.
18272         * math/libm-test.inc (csin_test_data): Remove tests moved to
18273         auto-libm-test-in.
18274         (csinh_test_data): Likewise.
18276         [BZ #18593]
18277         * math/s_csin.c (__csin): Negate before rather than after possibly
18278         overflowing multiplication.
18279         * math/s_csinf.c (__csinf): Likewise.
18280         * math/s_csinh.c (__csinh): Likewise.
18281         * math/s_csinhf.c (__csinhf): Likewise.
18282         * math/s_csinhl.c (__csinhl): Likewise.
18283         * math/s_csinl.c (__csinl): Likewise.
18284         * math/auto-libm-test-in: Add some tests of csin and csinh.
18285         * math/auto-libm-test-out: Regenerated.
18286         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
18287         (csinh_test_data): Likewise.
18288         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18290         [BZ #18586]
18291         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
18292         underflow exception for small results.
18294 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18296         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18297         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
18298         variable and included header.
18299         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
18300         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
18301         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
18302         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
18303         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
18304         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
18305         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
18306         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
18307         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
18308         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
18309         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
18310         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
18311         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
18312         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
18313         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
18314         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
18316 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18318         [BZ #16526]
18319         [BZ #16538]
18320         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
18321         (__sin): Force underflow exception for arguments with small
18322         absolute value.
18323         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
18324         (__kernel_sinf): Force underflow exception for arguments with
18325         small absolute value.
18326         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
18327         (__kernel_sincosl): Force underflow exception for arguments with
18328         small absolute value.
18329         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
18330         (__kernel_sinl): Force underflow exception for arguments with
18331         small absolute value.
18332         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
18333         (__kernel_sincosl): Force underflow exception for arguments with
18334         small absolute value.
18335         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
18336         (__kernel_sinl): Force underflow exception for arguments with
18337         small absolute value.
18338         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
18339         (__kernel_sinl): Force underflow exception for arguments with
18340         small absolute value.
18341         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
18342         (__kernel_sinf): Force underflow exception for arguments with
18343         small absolute value.
18344         * math/auto-libm-test-in: Add more tests of sin and sincos.
18345         * math/auto-libm-test-out: Regenerated.
18347         [BZ #18245]
18348         [BZ #18583]
18349         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
18350         (__kernel_standard_l): Use feholdexcept and fesetenv around
18351         conversion to double instead of special-casing overflow and
18352         underflow.
18353         * math/libm-test.inc (fmod_test_data): Add more tests.
18354         (remainder_test_data): Likewise.
18355         (sqrt_test_data): Likewise.
18357 2015-06-23  Torvald Riegel  <triegel@redhat.com>
18359         [BZ #17403]
18360         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
18361         atomic_read_barrier, atomic_write_barrier): Define.
18362         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
18363         atomic_read_barrier, atomic_write_barrier): Define.
18365 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18367         * math/Makefile [$(PERL) != no]
18368         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
18369         dependency on libm-test.stmp below the inclusion of Rules.
18371 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
18373         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18374         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
18375         and included header.
18376         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
18377         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
18378         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
18379         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
18380         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
18381         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
18382         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
18383         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
18384         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
18385         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
18386         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
18387         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
18388         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
18389         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
18390         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
18391         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
18392         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
18393         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
18394         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
18396 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18398         [BZ #18371]
18399         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
18400         intermediate but not final result might underflow.
18401         * math/s_csqrtf.c (__csqrtf): Likewise.
18402         * math/s_csqrtl.c (__csqrtl): Likewise.
18403         * math/auto-libm-test-in: Add more tests of csqrt.
18404         * math/auto-libm-test-out: Regenerated.
18405         * sysdeps/i386/fpu/libm-test-ulps: Update.
18407         [BZ #18219]
18408         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
18409         threshold on absolute value of exponent for which scaling is used.
18410         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18411         * math/auto-libm-test-in: Add more tests of exp2.
18412         * math/auto-libm-test-out: Regenerated.
18414 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
18416         [BZ #17977]
18417         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
18418         when initializing interface list, based on the bug analysis
18419         and the patch proposed by Eric Newton.
18420         * resolv/tst-res_hconf_reorder.c: New test.
18421         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
18422         tst-res_hconf_reorder.
18423         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
18424         and $(shared-thread-library).
18425         (tst-res_hconf_reorder-ENV): New variable.
18427         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
18428         in comment.
18430 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
18432         [BZ #16353]
18433         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
18434         (__expm1): Force underflow exception for arguments with small
18435         absolute value.
18436         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
18437         (__expm1f): Force underflow exception for arguments with small
18438         absolute value.
18439         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
18440         (__expm1): Force underflow exception for arguments with small
18441         absolute value.
18442         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
18443         (__expm1f): Force underflow exception for arguments with small
18444         absolute value.
18445         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18446         Check for small arguments before calling __expm1.
18447         * math/auto-libm-test-in: Do not mark underflow exceptions as
18448         possibly missing for bug 16353.
18449         * math/auto-libm-test-out: Regenerated.
18451 2015-06-22  Andreas Schwab  <schwab@suse.de>
18453         [BZ #18513]
18454         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
18455         PTR queries.
18457 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
18459         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
18461         * string/strcoll_l.c: Remove unused struct element idxnow.
18463 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
18465         [BZ #18569]
18466         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
18467         underflow and return argument in case of subnormal argument.
18468         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18469         Likewise.
18470         * math/auto-libm-test-in: Add more tests of expm1.
18471         * math/auto-libm-test-out: Regenerated.
18473         [BZ #16361]
18474         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
18475         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
18476         tiny results.
18477         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
18478         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
18479         tiny results.
18480         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
18481         mark underflow exceptions as possibly missing for bug 16361.
18482         * math/auto-libm-test-out: Regenerated.
18484 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
18486         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
18487         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
18488         Remove variable.
18489         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
18490         (test-xfail-XOPEN2K8/utmpx.h/conform).
18492         * conform/conformtest.pl ($xerrors): New variable.
18493         (note_error): New function.
18494         (compiletest): New argument $xfail.  Use not_error.
18495         (runtest): Likewise.
18496         (top level): Handle xfail- lines.  Update calls to compiletest and
18497         runtest.  Handle xfail- and optional- in headers listed with
18498         allow-header.
18499         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
18500         (O_EXEC): Likewise.
18501         (O_SEARCH): Likewise.
18502         * conform/data/stropts.h-data (ioctl): Likewise.
18503         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
18504         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
18505         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
18506         (msghdr.msg_controllen): Likewise.
18507         (cmsghdr.cmsg_len): Likewise.
18508         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
18509         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
18510         variable.
18511         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
18512         (test-xfail-XPG4/stropts.h/conform): Likewise.
18513         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
18514         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
18515         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
18516         (test-xfail-UNIX98/stropts.h/conform): Likewise.
18517         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
18518         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
18519         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
18520         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
18521         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
18522         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
18523         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
18524         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
18525         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
18526         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
18527         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
18528         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
18529         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
18530         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
18531         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
18533 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18535         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
18536         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
18537         definitions for proper unfolding of __MATHDECL_VEC.
18539 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18541         * benchtests/bench-strcoll.c:
18542         Include string.h.
18543         (main): Remove unused variable res.
18545 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18547         * timezone/Makefile (%/UTC %/Universal):
18548         Generate test-result files for UTC and Universal.
18550 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18552         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18554 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
18556         [BZ #16350]
18557         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
18558         for arguments with small absolute value.
18559         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
18560         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
18561         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
18562         (__asinh): Force underflow exception for arguments with small
18563         absolute value.
18564         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
18565         (__asinhf): Force underflow exception for arguments with small
18566         absolute value.
18567         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
18568         (__asinhl): Force underflow exception for arguments with small
18569         absolute value.
18570         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
18571         (__asinhl): Force underflow exception for arguments with small
18572         absolute value.
18573         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
18574         (__asinhl): Force underflow exception for arguments with small
18575         absolute value.
18576         * math/auto-libm-test-in: Do not mark underflow exceptions as
18577         possibly missing for bug 16350.
18578         * math/auto-libm-test-out: Regenerated.
18580         * include/bits/ipc.h: Remove file.
18581         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
18582         variable.
18583         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
18584         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
18585         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
18586         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
18587         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
18588         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
18589         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
18590         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
18591         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
18593         * math/auto-libm-test-in: Remove spurious underflow allowance for
18594         tests of cexp.
18595         * math/auto-libm-test-out: Regenerated.
18597         [BZ #18558]
18598         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
18599         unconditional definition.
18600         (MCAST_BLOCK_SOURCE): Likewise.
18601         (MCAST_UNBLOCK_SOURCE): Likewise.
18602         (MCAST_LEAVE_GROUP): Likewise.
18603         (MCAST_JOIN_SOURCE_GROUP): Likewise.
18604         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18605         (MCAST_MSFILTER): Likewise.
18606         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
18607         Remove variable.
18608         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
18609         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
18610         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
18611         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
18612         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
18614 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
18616         * NEWS: Mention addition of x86_64 vector sincosf.
18617         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
18618         * math/test-float-vlen4.h: Likewise.
18619         * math/test-float-vlen8.h: Likewise.
18620         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18621         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
18622         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18623         * sysdeps/x86_64/fpu/Versions: New versions added.
18624         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18625         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18626         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18627         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
18628         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
18629         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
18630         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
18631         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
18632         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
18633         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
18634         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
18635         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
18636         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
18637         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
18638         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
18639         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
18640         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
18641         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18642         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18643         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18644         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18645         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18646         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18647         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18649         * NEWS: Mention addition of x86_64 vector sincos.
18650         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
18651         * math/math.h (__MATHDECL_VEC): New macro.
18652         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
18653         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
18654         declaration under condition.
18655         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
18656         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
18657         TEST_VEC_LOOP change.
18658         * math/test-double-vlen4.h: Likewise.
18659         * math/test-double-vlen8.h: Likewise.
18660         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
18661         * math/test-float-vlen4.h: Likewise.
18662         * math/test-float-vlen8.h: Likewise.
18663         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18664         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
18665         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18666         * sysdeps/x86_64/fpu/Versions: New versions added.
18667         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18668         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18669         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18670         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
18671         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
18672         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
18673         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
18674         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
18675         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
18676         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
18677         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
18678         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
18679         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
18680         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
18681         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
18682         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
18683         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
18684         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18685         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18686         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18687         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18688         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18689         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18690         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18692         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18693         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18694         redirections for powf.
18695         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18696         * sysdeps/x86_64/fpu/Versions: New versions added.
18697         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18698         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18699         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18700         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
18701         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
18702         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
18703         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
18704         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
18705         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
18706         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
18707         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
18708         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
18709         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
18710         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
18711         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
18712         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
18713         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
18714         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18715         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18716         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18717         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18718         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18719         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18720         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18721         * math/test-float-vlen16.h: Fixed 2 argument macro.
18722         * math/test-float-vlen4.h: Likewise.
18723         * math/test-float-vlen8.h: Likewise.
18724         * NEWS: Mention addition of x86_64 vector powf.
18726 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
18728         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18729         and redefine.
18730         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18731         and redefine.
18732         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
18733         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18734         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18736         [BZ #18553]
18737         * resource/getpriority.c (getpriority): Rename to __getpriority
18738         and define as weak alias of __getpriority.
18739         * resource/setpriority.c (setpriority): Rename to __setpriority
18740         and define as weak alias of __setpriority.
18741         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
18742         __getpriority and define as weak alias of __getpriority.
18743         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
18744         __setpriority and define as weak alias of __setpriority.
18745         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
18746         strong name.
18747         (setpriority): Use __setpriority as strong name.
18748         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
18749         __getpriority and define as weak alias of __getpriority.
18750         * include/sys/resource.h (__getpriority): Declare.  Use
18751         libc_hidden_proto.
18752         (__setpriority): Likewise.
18753         (getpriority): Don't use libc_hidden_proto.
18754         (setpriority): Likewise.
18755         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
18756         getpriority.  Call __setpriority instead of setpriority.
18757         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
18758         Remove variable.
18760         [BZ #18547]
18761         * misc/getttyent.c (getttynam): Rename to __getttynam and define
18762         as weak alias of __getttynam.  Use prototype function definition.
18763         Call __setttyent, __getttyent and __endttyent instead of
18764         setttyent, getttyent and endttyent.
18765         (getttyent): Rename to __getttyent and define as weak alias of
18766         __getttyent.  Call __setttyent instead of setttyent.  Call
18767         __fgets_unlocked instead of fgets_unlocked.
18768         (setttyent): Rename to __setttyent and define as weak alias of
18769         __setttyent.
18770         (endttyent): Rename to __endttyent and define as weak alias of
18771         __endttyent.
18772         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
18773         (__setttyent): Likewise.
18774         (__endttyent): Likewise.
18775         (getttyent): Don't use libc_hidden_proto.
18776         (setttyent): Likewise.
18777         (endttyent): Likewise.
18778         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
18779         __endttyent instead of setttyent, getttyent and endttyent.
18780         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
18781         Remove variable.
18783         [BZ #18546]
18784         * socket/recv.c (__recv): Use libc_hidden_def.
18785         * socket/socket.c (__socket): Likewise.
18786         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
18787         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
18788         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
18789         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
18790         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
18791         libc_hidden_def.
18792         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
18793         libc_hidden_weak.
18794         * include/sys/socket.h (__socket): Do not use attribute_hidden.
18795         Use libc_hidden_proto.
18796         (__recv): Likewise.
18797         * socket/Versions (libc): Export __recv and __socket at version
18798         GLIBC_PRIVATE.
18799         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
18800         instead of recv.
18801         (init_mq_netlink): Call __socket instead of socket.
18802         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
18803         Remove variable.
18805         [BZ #18545]
18806         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
18807         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
18808         hidden_weak.
18809         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
18810         define as alias of __mq_timedsend.  Use hidden_weak.
18811         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
18812         __mq_timedsend as strong name.
18813         (mq_timedreceive): Use __mq_timedreceive as strong name.
18814         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
18815         (__mq_timedreceive): Likewise.
18816         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
18817         __mq_timedreceive instead of mq_timedreceive.
18818         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
18819         instead of mq_timedsend.
18820         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
18821         Remove variable.
18823         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
18824         hidden_def and hidden_weak instead of libc_hidden_def and
18825         libc_hidden_weak.
18826         (top level): Refer to hidden_def in comment.
18827         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
18828         macro.  Use it instead of libc_hidden_def.
18829         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
18830         specify __GI_* name explicitly.
18831         (mq_timedreceive): Likewise.
18832         (mq_setattr): Likewise.
18834         [BZ #18544]
18835         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
18836         __pthread_barrier_init and define as weak alias of
18837         __pthread_barrier_init.
18838         * sysdeps/sparc/nptl/pthread_barrier_init.c
18839         (pthread_barrier_init): Likewise.
18840         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
18841         __pthread_barrier_wait and define as weak alias of
18842         __pthread_barrier_wait.
18843         * sysdeps/sparc/nptl/pthread_barrier_wait.c
18844         (pthread_barrier_wait): Likewise.
18845         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
18846         (pthread_barrier_wait): Likewise.
18847         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
18848         (pthread_barrier_wait): Likewise.
18849         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
18850         (pthread_barrier_wait): Likewise.
18851         * nptl/Versions (libpthread): Export __pthread_barrier_init and
18852         __pthread_barrier_wait at version GLIBC_PRIVATE.
18853         * include/pthread.h (__pthread_barrier_init): Declare.
18854         (__pthread_barrier_wait): Likewise.
18855         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
18856         Call __pthread_barrier_wait instead of pthread_barrier_wait.
18857         (helper_thread): Likewise.
18858         (init_mq_netlink): Call __pthread_barrier_init instead of
18859         pthread_barrier_init.
18861         [BZ #18542]
18862         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
18863         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
18864         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
18865         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
18866         vswscanf.
18867         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
18868         Remove variable.
18870         [BZ #18540]
18871         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
18872         strong alias of _IO_fflush.  Use libc_hidden_def.
18873         * libio/iofflush_u.c (fflush_unlocked): Rename to
18874         __fflush_unlocked and define as weak alias of __fflush_unlocked.
18875         Use libc_hidden_weak.
18876         * include/stdio.h (__fflush_unlocked): Declare.  Use
18877         libc_hidden_proto.
18878         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
18879         fflush_unlocked.
18880         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
18881         Remove variable.
18883         [BZ #18539]
18884         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
18885         define as weak alias of __addseverity.
18886         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
18887         Remove variable.
18888         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
18889         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
18890         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
18892         [BZ #18536]
18893         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
18894         (__tfind): Likewise.
18895         (__tdelete): Likewise.
18896         (__twalk): Likewise.
18897         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
18898         __twalk to GLIBC_PRIVATE.
18899         * include/search.h (__tsearch): Use libc_hidden_proto.
18900         (__tfind): Likewise.
18901         (__tdelete): Likewise.
18902         (__twalk): Likewise.
18903         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
18904         Call __tdelete instead of tdelete.
18905         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
18906         tfind.  Call __tsearch instead of tsearch.
18907         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
18908         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
18909         Remove variable.
18910         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
18912         [BZ #18534]
18913         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
18914         (dprintf): Define as a weak alias of __dprintf, not a strong
18915         alias.
18916         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
18917         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
18918         dprintf.
18919         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
18920         Remove variable.
18921         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
18922         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
18924         [BZ #18533]
18925         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
18926         not a strong alias.
18927         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
18928         Remove variable.
18930         [BZ #18532]
18931         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
18932         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
18933         (in6addr_loopback): Rename to __in6addr_loopback and define as
18934         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
18935         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
18936         libc_hidden_proto.
18937         (__in6addr_any): Likewise.
18938         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
18939         in6addr_any.
18940         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
18941         variable.
18942         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
18944 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
18946         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
18947         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
18948         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18949         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18950         redirections for pow.
18951         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18952         * sysdeps/x86_64/fpu/Versions: New versions added.
18953         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18954         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18955         build of SSE, AVX2 and AVX512 IFUNC versions.
18956         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
18957         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
18958         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
18959         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
18960         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
18961         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
18962         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
18963         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
18964         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
18965         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
18966         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
18967         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
18968         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
18969         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
18970         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18971         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18972         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18973         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18974         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18975         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18976         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18977         * NEWS: Mention addition of x86_64 vector pow.
18979         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18980         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18981         redirections for expf.
18982         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18983         * sysdeps/x86_64/fpu/Versions: New versions added.
18984         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18985         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18986         build of SSE, AVX2 and AVX512 IFUNC versions.
18987         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
18988         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
18989         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
18990         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
18991         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
18992         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
18993         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
18994         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
18995         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
18996         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
18997         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
18998         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
18999         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
19000         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19001         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19002         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19003         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19004         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19005         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19006         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19007         * NEWS: Mention addition of x86_64 vector expf.
19009         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
19010         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
19011         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19012         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19013         redirections for exp.
19014         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19015         * sysdeps/x86_64/fpu/Versions: New versions added.
19016         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19017         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19018         build of SSE, AVX2 and AVX512 IFUNC versions.
19019         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
19020         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
19021         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
19022         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
19023         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
19024         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
19025         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
19026         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
19027         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
19028         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
19029         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
19030         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
19031         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
19032         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19033         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19034         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19035         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19036         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19037         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19038         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19039         * NEWS: Mention addition of x86_64 vector exp.
19041         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19042         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19043         redirections for logf.
19044         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19045         * sysdeps/x86_64/fpu/Versions: New versions added.
19046         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19047         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19048         build of SSE, AVX2 and AVX512 IFUNC versions.
19049         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
19050         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
19051         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
19052         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
19053         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
19054         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
19055         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
19056         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
19057         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
19058         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
19059         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
19060         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
19061         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
19062         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19063         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19064         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19065         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19066         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19067         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19068         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19069         * NEWS: Mention addition of x86_64 vector logf.
19071         * bits/libm-simd-decl-stubs.h: Added stubs for log.
19072         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
19073         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19074         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19075         redirections for log.
19076         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19077         * sysdeps/x86_64/fpu/Versions: New versions added.
19078         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19079         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19080         build of SSE, AVX2 and AVX512 IFUNC versions.
19081         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
19082         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
19083         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
19084         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
19085         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
19086         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
19087         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
19088         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
19089         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
19090         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
19091         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
19092         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
19093         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
19094         test.
19095         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19096         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19097         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19098         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19099         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19100         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19101         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19102         * NEWS: Mention addition of x86_64 vector log.
19104 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19106         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
19107         cfi_adjust_cfa_offset argument.
19108         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
19109         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
19111         [BZ #18034]
19112         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
19113         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
19114         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
19115         ordering using ldar.
19116         (_dl_tlsdesc_dynamic): Likewise.
19117         (_dl_tlsdesc_return_lazy): Likewise.
19118         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
19119         relaxed atomics instead of volatile and synchronize with release store.
19120         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
19121         volatile.
19122         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19124 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
19126         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19127         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
19128         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19129         * sysdeps/x86_64/fpu/Versions: New versions added.
19130         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19131         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19132         build of SSE, AVX2 and AVX512 IFUNC versions.
19133         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
19134         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
19135         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
19136         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
19137         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
19138         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
19139         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
19140         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
19141         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
19142         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
19143         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
19144         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
19145         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
19146         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19147         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19148         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19149         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19150         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19151         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19152         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19153         * NEWS: Mention addition of x86_64 vector sinf.
19155 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
19157         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
19158         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
19159         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
19160         Remove variable.
19161         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
19162         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
19164 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19166         [BZ #18530]
19167         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
19168         strong alias of _IO_fputs.  Use libc_hidden_def.
19169         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
19170         and define as weak alias of __fputs_unlocked.  Use
19171         libc_hidden_weak.
19172         * include/stdio.h (__fputs_unlocked): Declare.  Use
19173         libc_hidden_proto.
19174         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
19175         fputs_unlocked.
19177         [BZ #18529]
19178         * resolv/netdb.h [__USE_POSIX]: Change condition to
19179         [__USE_XOPEN2K].
19180         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
19181         not expect.
19182         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
19183         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
19184         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
19185         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
19186         [XPG4 || UNIX98] (AI_ALL): Likewise.
19187         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
19188         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
19189         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
19190         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
19191         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
19192         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
19193         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
19194         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
19195         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
19196         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
19197         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
19198         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
19199         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
19200         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
19201         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
19202         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19203         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19204         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
19205         [XPG4 || UNIX98] (gai_strerror): Likewise.
19206         [XPG4 || UNIX98] (getaddrinfo): Likewise.
19207         [XPG4 || UNIX98] (getnameinfo): Likewise.
19209         [BZ #18528]
19210         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
19211         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
19212         __USE_XOPEN2K8].
19213         (getgrent): Likewise.
19214         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
19215         expect.
19216         [XPG3 || POSIX2008] (endgrent): Likewise.
19217         [XPG3] (setgrent): Likewise.
19218         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
19219         variable.
19220         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
19222         [BZ #18527]
19223         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
19224         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
19225         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
19226         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
19227         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
19228         * include/unistd.h (__getlogin_r): Declare.  Use
19229         libc_hidden_proto.
19230         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
19231         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
19232         variable.
19233         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
19234         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
19235         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
19237 2015-06-12  Martin Sebor  <msebor@redhat.com>
19239         [BZ #18512]
19240         * Makerules (check-install-supported): New target.
19241         (install): Add check-install-supported as a dependency.
19242         * manual/install.texi (Installing the C Library): Document
19243         that overriding prefix and exec_prefix is not supported.
19244         Mention DESTDIR.
19245         * INSTALL: Regenerate from the above.
19247 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19249         [BZ #18519]
19250         * posix/Versions (libc): Export __libc_pread at version
19251         GLIBC_PRIVATE.
19252         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
19253         instead of pread.
19254         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
19255         variable.
19257         [BZ #18522]
19258         * misc/efgcvt_r.c
19259         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
19260         (cvt_symbol): Use weak_alias instead of strong_alias.
19261         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
19262         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
19263         Remove variable.
19264         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
19265         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
19267         [BZ #18520]
19268         * inet/herrno.c (h_errno): Rename to __h_errno.
19269         (__libc_h_errno): Define as alias of __h_errno not h_errno.
19270         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
19271         to __h_errno instead of h_errno.
19272         * nptl/herrno.c (h_errno): Rename to __h_errno.
19273         (__h_errno_location): Refer to __h_errno not h_errno.
19274         * resolv/Versions (h_errno): Rename to __h_errno.
19275         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
19276         Remove variable.
19277         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
19279 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
19281         * configure.ac: More strict check for AVX512 assembler support.
19282         * configure: Regenerated.
19284         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
19285         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
19286         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19287         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
19288         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19289         * sysdeps/x86_64/fpu/Versions: New versions added.
19290         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19291         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19292         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19293         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
19294         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
19295         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
19296         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
19297         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
19298         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
19299         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
19300         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
19301         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
19302         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
19303         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
19304         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
19305         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
19306         test.
19307         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19308         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19309         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19310         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19311         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19312         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19313         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19314         * NEWS: Mention addition of x86_64 vector sin.
19316 2015-06-11  Florian Weimer  <fweimer@redhat.com>
19318         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
19319         comment.
19321 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19323         [BZ #18479]
19324         * nptl/pt-interp.c: New file.
19325         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
19326         Add pt-interp.
19327         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
19328         $(common-objpfx)runtime-linker.h.
19330 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
19332         * Makeconfig (+interp): Remove unused variable.
19333         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
19334         only.  Depend on $(common-objpfx)runtime-linker.h instead of
19335         $(elf-objpfx)runtime-linker.h.
19336         ($(elf-objpfx)runtime-linker.h): Rename to
19337         $(common-objpfx)runtime-linker.h and move ...
19338         * Makerules [$(build-shared) = yes]: ... here.
19339         * elf/interp.c: Include <runtime-linker.h> instead of
19340         <elf/runtime-linker.h>.
19342 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19344         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
19345         (__gettimeofday_syscall): Remove vsyscall fallback.
19346         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
19347         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
19348         Add syscall fallback function.
19349         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
19350         if vDSO is not present.
19351         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
19352         fallback function.
19353         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
19354         present.
19355         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
19356         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19358 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
19360         [BZ #18497]
19361         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
19362         of wcscmp.
19363         (wcscmp): Define as weak alias of WCSCMP.
19364         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
19365         wcscoll.
19366         (USE_HIDDEN_DEF): Define.
19367         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
19368         __wcscoll.  Don't use libc_hidden_weak.
19369         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
19370         wcscmp.
19371         * sysdeps/i386/i686/multiarch/wcscmp-c.c
19372         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
19373         __GI_wcscmp.
19374         (weak_alias): Undefine and redefine.
19375         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
19376         __wcscmp and define as weak alias of __wcscmp.
19377         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
19378         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
19379         (__wcscoll): Likewise.
19380         (wcscmp): Don't use libc_hidden_proto.
19381         (wcscoll): Likewise.
19382         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
19383         wcscoll.
19384         * posix/regexec.c (check_node_accept_bytes): Likewise.
19385         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
19386         variable.
19387         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
19388         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
19390         [BZ #18507]
19391         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
19392         __fstatvfs and define as weak alias of __fstatvfs.  Use
19393         libc_hidden_weak.
19394         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
19395         and define as weak alias of __statvfs.  Use libc_hidden_weak.
19396         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
19397         Define as alias of __fstatvfs, not fstatvfs.
19398         (fstatvfs64): Likewise.
19399         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
19400         Define as alias of __statvfs, not statvfs.
19401         (statvfs64): Likewise.
19402         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
19403         Remove variable.
19405 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19408         (HAVE_GETCPU_VSYSCALL): Define.
19409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19410         (HAVE_GETCPU_VSYSCALL): Likewise.
19411         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
19412         * sysdeps/unix/sysv/linux/sched_getcpu.c
19413         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
19414         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
19415         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
19416         prototype.
19417         * sysdeps/unix/sysv/linux/x86_64/init-first.c
19418         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
19419         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
19420         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
19421         Define.
19422         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
19423         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19424         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
19425         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19427 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
19429         * sysdeps/x86_64/fpu/Makefile: New file.
19430         * sysdeps/x86_64/fpu/Versions: New file.
19431         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
19432         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
19433         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
19434         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
19435         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
19436         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
19437         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
19438         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
19439         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
19440         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
19441         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
19442         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
19443         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
19444         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19445         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19446         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
19447         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
19448         * sysdeps/x86_64/configure.ac: Options for libmvec build.
19449         * sysdeps/x86_64/configure: Regenerated.
19450         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
19451         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
19452         * manual/install.texi (Configuring and compiling): Document
19453         --disable-mathvec.
19454         * INSTALL: Regenerated.
19455         * NEWS: Mention addition of libmvec and x86_64 vector cos.
19457         * math/Makefile: Added rules for vector tests.
19458         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
19459         declaration under condition.
19460         * math/test-double-vlen2.h: New file.
19461         * math/test-double-vlen4.h: New file.
19462         * math/test-double-vlen8.h: New file.
19463         * math/test-vec-loop.h: Added initialization macro.
19464         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
19465         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
19466         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
19467         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
19468         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
19469         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
19470         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
19471         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
19472         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
19473         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
19474         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
19476         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19477         * sysdeps/x86_64/fpu/Versions: New versions added.
19478         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
19479         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
19480         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
19481         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
19482         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
19483         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
19484         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
19485         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
19486         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
19487         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
19488         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
19489         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
19490         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
19491         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19492         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19493         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19494         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
19495         * NEWS: Mention addition of x86_64 vector cosf.
19497         * math/Makefile: Added CFLAGS for new tests.
19498         * math/test-float-vlen16.h: New file.
19499         * math/test-float-vlen4.h: New file.
19500         * math/test-float-vlen8.h: New file.
19501         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
19502         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
19503         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19504         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
19505         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
19506         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
19507         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
19508         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
19509         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
19510         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
19511         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
19513 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
19515         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
19516         * locale/programs/ld-ctype.c: Likewise.
19518 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
19520         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
19521         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
19522         bit_ZMM16_31_state): New macro.
19523         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19524         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
19526 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
19528         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
19530 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
19532         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
19534 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
19536         [BZ #18498]
19537         * libio/memstream.c (open_memstream): Rename to __open_memstream
19538         and define as weak alias of __open_memstream.
19539         * include/stdio.h (__open_memstream): Declare.  Use
19540         libc_hidden_proto.
19541         (open_memstream): Don't use libc_hidden_proto.
19542         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
19543         open_memstream.
19544         * posix/getopt.c (_getopt_internal_r): Likewise.
19545         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
19546         variable.
19547         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
19548         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
19549         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
19551         [BZ #18496]
19552         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
19553         instead of wcrtomb.
19555         [BZ #18483]
19556         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
19557         [__USE_XOPEN2K8].  Remove redundant #endif.
19558         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
19559         Remove redundant #if.
19560         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
19561         Remove variable.
19562         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
19563         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
19565         [BZ #18495]
19566         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
19567         (__iswlower): Likewise.
19568         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
19569         (__iswlower): Likewise.
19570         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
19571         instead of towlower.
19572         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
19573         instead of iswlower.  Call __towupper instead of towupper.
19574         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
19575         instead of iswalnum.
19577 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19579         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
19580         errors to stderr.
19582 2015-06-05  Florian Weimer  <fweimer@redhat.com>
19584         [BZ #15661]
19585         [BZ #17322]
19586         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
19587         Check for overflow properly.  Check for O_APPEND.  Ignore large
19588         file system block sizes.  Add comments about problems.
19589         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
19590         * manual/filesys.texi (Storage Allocation): New node.
19592 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19594         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
19595         cancellable syscalls.
19596         (SYS_ify): Add guard to no redefine it.
19597         (INLINE_SYSCALL): Likewise.
19598         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
19599         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
19600         SYSCALL_CANCEL instead.
19601         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
19602         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
19603         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
19604         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
19605         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
19606         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
19607         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
19608         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
19609         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
19610         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
19611         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
19612         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
19613         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
19614         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
19615         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
19616         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
19617         Likewise.
19618         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
19619         (__libc_pread64): Likewise.
19620         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
19621         (__libc_preadv): Likewise.
19622         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
19623         (__libc_readv64): Likewise.
19624         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
19625         (__libc_pwrite): Likewise.
19626         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
19627         (__libc_pwrite64): Likewise.
19628         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
19629         (__libc_pwritev): Likewise.
19630         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
19631         (__libc_pwritev64): Likewise.
19632         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
19633         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
19634         (sync_file_range): Likewise.
19635         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
19636         Likewise.
19637         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
19638         Likewise.
19639         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
19640         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
19641         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
19642         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
19643         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
19644         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
19645         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
19646         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
19647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
19648         Likewise.
19649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19650         (__libc_read64): Likewise.
19651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
19652         Likewise.
19653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
19654         Likewise.
19655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
19656         Likewise.
19657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
19658         Likewise.
19659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19660         (__libc_pread64): Likewise.
19661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
19662         Likewise.
19663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19664         (__libc_pwrite64): Likewise.
19665         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
19666         (sync_file_range): Likewise.
19667         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
19668         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
19669         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
19670         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
19671         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
19672         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
19673         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
19674         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
19675         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
19676         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19677         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19678         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
19679         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
19680         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
19681         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
19682         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
19683         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
19684         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
19685         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
19686         Likewise.
19687         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
19688         Likewise.
19689         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
19690         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
19691         Likewise.
19692         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
19693         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
19694         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
19695         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
19696         Likewise.
19697         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
19698         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
19699         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
19700         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
19701         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
19703 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
19705         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
19706         Include dl-vdso.
19707         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
19708         Use VDSO routines for gettimeofday, clock_gettime if
19709         available.
19710         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
19711         Declare VDSO symbols.
19712         * sysdeps/unix/sysv/linux/arm/sysdep.h:
19713         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
19714         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19715         * sysdeps/unix/sysv/linux/arm/Versions: Add
19716         __vdso_clock_gettime.
19718 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19720         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
19721         be an inline implementation regardless of library is built within.
19722         (open_not_cancel_2): Likewise.
19723         (__read_nocancel): Likewise.
19724         (__write_nocancel): Likewise.
19725         (openat_not_cancel): Likewise.
19726         (openat_not_cancel_3): Likewise.
19727         (openat64_not_cancel): Likewise.
19728         (openat64_not_cancel_3): Likewise.
19729         (__close_nocancel): Likewise.
19730         (pause_not_cancel): Likewise.
19731         (nanosleep_not_cancel): Likewise.
19732         (sigsuspend_not_cancel): Likewise.
19734 2015-06-04  Torvald Riegel  <triegel@redhat.com>
19736         [BZ #14958]
19737         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
19738         wake-up.
19739         (__pthread_rwlock_rdlock_slow): Likewise.
19740         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19741         Likewise.
19742         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
19743         Likewise.
19744         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
19745         * nptl/tst-rwlock16.c: New file.
19746         * nptl/Makefile (tests): Add new test.
19748 2015-06-04  Torvald Riegel  <triegel@redhat.com>
19750         [BZ #18324]
19751         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
19752         missing wake-up of readers.
19753         * nptl/tst-rwlock15.c: New file.
19754         * nptl/Makefile (tests): Add new test.
19756 2015-06-03  Roland McGrath  <roland@hack.frob.com>
19758         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
19759         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
19760         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
19761         and __nacl_supply_interface_rtld.
19762         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
19763         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
19764         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
19765         Add __nacl_supply_interface_rtld.
19766         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
19768 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
19770         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
19771         isfinite.
19772         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19773         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
19775 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
19777         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
19778         __signbit* with standard C99 macros.
19779         * math/e_exp10l.c: Likewise.
19780         * math/e_exp2l.c: Likewise.
19781         * math/e_scalb.c: Likewise.
19782         * math/e_scalbf.c: Likewise.
19783         * math/e_scalbl.c: Likewise.
19784         * math/s_ldexp.c: Likewise.
19785         * math/s_ldexpf.c: Likewise.
19786         * math/s_ldexpl.c: Likewise.
19787         * math/w_atan2.c: Likewise.
19788         * math/w_atan2f.c: Likewise.
19789         * math/w_atan2l.c: Likewise.
19790         * math/w_cosh.c: Likewise.
19791         * math/w_coshf.c: Likewise.
19792         * math/w_coshl.c: Likewise.
19793         * math/w_exp10.c: Likewise.
19794         * math/w_exp10f.c: Likewise.
19795         * math/w_exp10l.c: Likewise.
19796         * math/w_exp2.c: Likewise.
19797         * math/w_exp2f.c: Likewise.
19798         * math/w_exp2l.c: Likewise.
19799         * math/w_fmod.c: Likewise.
19800         * math/w_fmodf.c: Likewise.
19801         * math/w_fmodl.c: Likewise.
19802         * math/w_hypot.c: Likewise.
19803         * math/w_hypotf.c: Likewise.
19804         * math/w_hypotl.c: Likewise.
19805         * math/w_jnl.c: Likewise.
19806         * math/w_lgamma.c: Likewise.
19807         * math/w_lgamma_r.c: Likewise.
19808         * math/w_lgammaf.c: Likewise.
19809         * math/w_lgammaf_r.c: Likewise.
19810         * math/w_lgammal.c: Likewise.
19811         * math/w_lgammal_r.c: Likewise.
19812         * math/w_pow.c: Likewise.
19813         * math/w_powf.c: Likewise.
19814         * math/w_powl.c: Likewise.
19815         * math/w_remainder.c: Likewise.
19816         * math/w_remainderf.c: Likewise.
19817         * math/w_remainderl.c: Likewise.
19818         * math/w_scalb.c: Likewise.
19819         * math/w_scalbf.c: Likewise.
19820         * math/w_scalbl.c: Likewise.
19821         * math/w_scalbln.c: Likewise.
19822         * math/w_scalblnf.c: Likewise.
19823         * math/w_scalblnl.c: Likewise.
19824         * math/w_sinh.c: Likewise.
19825         * math/w_sinhf.c: Likewise.
19826         * math/w_sinhl.c: Likewise.
19827         * math/w_tgamma.c: Likewise.
19828         * math/w_tgammaf.c: Likewise.
19829         * math/w_tgammal.c: Likewise.
19830         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19831         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
19832         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19833         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19834         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19835         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19836         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19837         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19838         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19839         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19840         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19841         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19842         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19843         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19844         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19845         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19846         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19847         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19848         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19849         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19850         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19851         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19852         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19853         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19854         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19855         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19856         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
19857         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19858         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19859         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19860         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
19861         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
19862         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
19863         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
19864         * stdio-common/printf_fp.c: Likewise.
19865         * stdio-common/printf_fphex.c: Likewise.
19866         * stdio-common/printf_size.c: Likewise.
19868 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
19870         [BZ #18470]
19871         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
19872         strnlen.
19873         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
19874         Remove variable.
19875         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
19876         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
19877         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
19878         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
19879         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
19880         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
19881         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
19882         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
19883         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
19884         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
19886         [BZ #18468]
19887         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
19888         weak alias of __wmemchr.  Use libc_hidden_weak.
19889         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
19890         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
19891         instead of wmemchr.
19893 2015-06-02  Roland McGrath  <roland@hack.frob.com>
19895         [BZ #18383]
19896         * elf/tst-tlsalign-extern.c: New file.
19897         * elf/tst-tlsalign-extern-static.c: New file.
19898         * elf/tst-tlsalign-vars.c: New file.
19899         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
19900         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
19901         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
19902         ($(objpfx)tst-tlsalign-extern-static): Likewise.
19903         (test-xfail-tst-tlsalign-extern-static): New variable.
19905 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
19907         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
19908         Use variable name _sc_err instead of err.
19909         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
19910         instead of ret.
19911         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
19912         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
19913         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
19914         (INLINE_SYSCALL): Likewise.
19916         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
19917         * include/string.h (__strnlen): Use libc_hidden_proto.
19918         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
19919         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
19920         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
19921         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
19922         (libc_hidden_def): Undefine and redefine.
19923         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
19924         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
19925         __GI_strnlen.
19926         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
19927         libc_hidden_def.
19928         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
19930         [BZ #18469]
19931         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
19932         weak alias of __towlower.  Use libc_hidden_weak.
19933         (towupper): Rename to __towupper and define as weak alias of
19934         __towupper.  Use libc_hidden_weak.
19935         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
19936         (__towupper): Likewise.
19937         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
19938         __towlower instead of towlower.
19940 2015-06-02  Roland McGrath  <roland@hack.frob.com>
19942         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
19943         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
19945 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19947         * sysdeps/aarch64/libm-test-ulps: Update.
19949 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19951         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
19952         Define.
19953         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19954         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
19955         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
19956         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19957         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
19958         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
19959         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
19961 2015-06-01  Martin Sebor  <msebor@redhat.com>
19963         [BZ #18116]
19964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19965         (__setcontext): Use extended four-operand version of mtsf whenever
19966         possible.
19967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19968         (__novec_swapcontext): Likewise.
19970 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19972         * benchtests/scripts/compare_bench.py: New file.
19973         * benchtests/scripts/import_bench.py (mean): New function.
19974         (split_list): Likewise.
19975         (do_for_all_timings): Likewise.
19976         (compress_timings): Likewise.
19978         * benchtests/scripts/import_bench.py: New file.
19979         * benchtests/scripts/validate_benchout.py: Import import_bench
19980         instead of jsonschema.
19981         (validate_bench): Remove function.
19982         (main): Use import_bench.
19984 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
19986         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
19987         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
19989 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19991         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19993 2015-05-28  Roland McGrath  <roland@hack.frob.com>
19995         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
19996         set THREAD_SELF->tid to a magic value and futex-wake it.
19997         Pass its address to the thread_exit system call.
19998         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
19999         bit is clear.
20000         * sysdeps/nacl/lowlevellock.h: New file.
20001         * sysdeps/nacl/lll_timedwait_tid.c: New file.
20003         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
20004         Add TIMEOUT to current time, don't subtract it.
20006 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
20008         [BZ #2981]
20009         [BZ #18422]
20010         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
20011         ($(objpfx)tst-audit2.out): Also depend on
20012         $(objpfx)tst-auditmod9b.so.
20013         * elf/tst-audit2.c: Include <dlfcn.h>.
20014         (calloc_called): New.
20015         (calloc): Allow to be called more than once.
20016         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
20018 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
20020         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
20021         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
20023 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
20025         * stdlib/monetary.h: Fix comment.
20027 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
20029         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
20030         Avoid using variables in #defines that might cause shadowing.
20031         (INTERNAL_VSYSCALL_CALL): Likewise.
20033 2015-05-26  Roland McGrath  <roland@hack.frob.com>
20035         * sysdeps/nacl/lll_timedlock_wait.c: New file.
20037         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
20038         * nptl/lll_timedlock_wait.c: ... to this new file.
20039         * nptl/Makefile (libpthread-routines): Add it.
20040         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
20041         * nptl/lll_timedwait_tid.c: ... to this new file.
20042         * nptl/Makefile (libpthread-routines): Add it.
20043         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
20044         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
20045         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
20046         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
20047         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
20048         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
20049         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
20050         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
20051         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
20052         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
20054 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20056         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
20057         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20058         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
20059         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
20060         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
20061         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20062         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20063         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20064         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20065         * sysdeps/unix/sysv/linux/tile/sysdep.h
20066         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20067         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
20068         using vDSO syscall macro.
20070 2015-05-26  Andriy Rysin  <arysin@gmail.com>
20072         [BZ #17293]
20073         * uk_UA: Fix sorting order for Ukrainian locale
20075 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
20077         * stdlib/monetary.h: Fix comment.
20079 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20081         [BZ #18234]
20082         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
20083         st_mtim and st_ctim members.
20084         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
20085         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
20086         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
20087         (struct stat64): Likewise.
20088         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
20089         (struct stat64): Likewise.
20090         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
20091         (struct stat64): Likewise.
20093 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20095         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
20096         Define and include sysdep-vdso.h.
20097         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
20098         Likewise.
20099         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
20100         Likewise.
20101         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
20102         Define with VDSO_SYMBOL and use PTR_MANGLE.
20103         (__vdso_clock_gettime): Likewise.
20104         (__vdso_clock_getres): Likewise.
20105         (_libc_vdso_platform_setup): Likewise.
20106         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
20107         Likewise.
20108         (_libc_vdso_platform_setup): Likewise.
20109         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
20110         Likewise.
20111         (__vdso_clock_gettime): Likewise.
20112         (__vdso_clock_getres): Likewise.
20113         (__vdso_get_tbfreq): Likewise.
20114         (__vdso_getcpu): Likewise.
20115         (__vdso_time): Likewise.
20116         (__vdso_sigtramp_rt64): Likewise.
20117         (__vdso_signtramp32): Likewise.
20118         (__vdso_sigtramp_rt32): Likewise.
20119         (_libc_vdso_platform_setup): Likewise.
20120         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
20121         Likewise.
20122         (__vdso_clock_gettime): Likewise.
20123         (__vdso_clock_getres): Likewise.
20124         (_libc_vdso_platform_setup): Likewise.
20125         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
20126         Likewise.
20127         (__vdso_clock_gettime): Likewise.
20128         (_libc_vdso_platform_setup): Likewise.
20129         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
20130         Likewise.
20131         (__vdso_getcpu): Likewise.
20132         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
20133         Use VDSO_SYMBOL macro to define.
20134         (__vdso_clock_gettime): Likewise.
20135         (__vdso_clock_getres): Likewise.
20136         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
20137         Likewise.
20138         (__vdso_clock_gettime): Likewise.
20139         (__vdso_clock_getres): Likewise.
20140         (__vdso_get_tbfreq): Likewise.
20141         (__vdso_getcpu): Likewise.
20142         (__vdso_time): Likewise.
20143         (__vdso_sigtramp_rt64): Likewise.
20144         (__vdso_signtramp32): Likewise.
20145         (__vdso_sigtramp_rt32): Likewise.
20146         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
20147         Likewise.
20148         (__vdso_clock_gettime): Likewise.
20149         (__vdso_clock_getres): Likewise.
20150         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
20151         Likewise.
20152         (__vdso_clock_gettime): Likewise.
20153         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
20154         Likewise.
20155         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
20156         macro.
20157         (INTERNAL_VSYSCALL): Likewise.
20158         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
20159         Remove macro.
20160         (INTERNAL_VSYSCALL): Likewise.
20161         (INTERNAL_VSYSCALL_NCS): Likewise.
20162         (INTERNAL_VSYSCALL_CALL): New macro.
20163         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20164         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
20165         Likewise.
20166         (INTERNAL_VSYSCALL): Likewise.
20167         (INTERNAL_VSYSCALL_NCS): Likewise.
20168         (INTERNAL_VSYSCALL_CALL): New macro.
20169         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20171         (INLINE_VSYSCALL): Remove macro.
20172         (INTERNAL_VSYSCALL): Remove macro.
20173         (INTERNAL_VSYSCALL_NCS): Remove macro.
20174         (INTERNAL_VSYSCALL_CALL): New macro.
20175         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
20176         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
20177         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20178         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
20179         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20181         (INLINE_VSYSCALL): Remove macro.
20182         (INTERNAL_VSYSCALL): Likewise.
20183         (INTERNAL_VSYSCALL_NCS): Likewise.
20184         (INTERNAL_VSYSCALL_CALL): New macro.
20185         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
20186         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
20187         PTR_DEMANGLE on vDSO pointer.
20188         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20189         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
20190         macro.
20191         (INTERNAL_SYSCALL): Likewise.
20192         (INTERNAL_VSYSCALL_NCS): Remove macro.
20193         (INTERNAL_VSYSCALL_CALL): New macro.
20194         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
20195         Remove macro.
20196         (INTERNAL_VSYSCALL): Likewise.
20197         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
20198         sysdep-vdso.h instead of libc-vdso.h.
20199         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
20200         definition.
20201         (INLINE_VSYSCALL): Likewise.
20202         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
20203         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
20204         definition.
20205         (INLINE_VSYSCALL): Likewise.
20206         (INTERNAL_VSYSCALL): Likewise.
20207         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20208         * sysdeps/unix/sysv/linux/timespec_get.c
20209         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20210         (timespec_get): Use ANSI prototype.
20211         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
20212         and definition for Linux.
20214 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
20216         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
20217         * include/libc-symbols.h: libmvec_hidden_* macro series added.
20219 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20221         [BZ #2981]
20222         [BZ #18410]
20223         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
20224         for missing DT_PLTRELSZ.
20226 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
20228         Remove obsolete aliases that broke 'locale -a'
20229         [BZ #18412]
20230         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
20231         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
20232         breaking some applications that use 'locale -a' output.
20233         Change the encoding of this file from Latin-1 to ASCII to avoid
20234         other potential problems with people grepping this file.
20236 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20238         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
20239         -fasynchronous-unwind-tables.
20240         (CFLAGS-sendto.c): Likewise.
20241         (CFLAGS-sendmsg.c): Likewise.
20242         (CFLAGS-connect.c): Likewise.
20243         (CFLAGS-recvmsg.c): Likewise.
20244         (CFLAGS-recvfrom.c): Likewise.
20245         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
20246         (SOCKETCALL): New macro: non-cancellable socketcall.
20247         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
20248         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
20249         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
20250         * sysdeps/unix/sysv/linux/accept.c: New file.
20251         * sysdeps/unix/sysv/linux/bind.c: Likewise.
20252         * sysdeps/unix/sysv/linux/connect.c: Likewise.
20253         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
20254         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
20255         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
20256         * sysdeps/unix/sysv/linux/listen.c: Likewise.
20257         * sysdeps/unix/sysv/linux/recv.c: Likewise.
20258         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
20259         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
20260         * sysdeps/unix/sysv/linux/send.c: Likewise.
20261         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
20262         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
20263         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
20264         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
20265         * sysdeps/unix/sysv/linux/socket.c: Likewise.
20266         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
20267         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
20268         prototype.
20269         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
20270         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20271         instead of __internal_xxx function.
20272         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
20273         prototype.
20274         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
20275         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20276         instead of __internal_xxx function.
20277         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
20278         prototype.
20279         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
20280         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20281         instead of __internal_xxx function.
20282         * sysdeps/unix/sysv/linux/accept.S: Remove file.
20283         * sysdeps/unix/sysv/linux/bind.S: Likewise.
20284         * sysdeps/unix/sysv/linux/connect.S: Likewise.
20285         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
20286         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
20287         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
20288         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
20289         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
20290         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
20291         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
20292         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
20293         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20294         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
20295         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
20296         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
20297         * sysdeps/unix/sysv/linux/listen.S: Likewise.
20298         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
20299         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
20300         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
20301         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
20302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
20303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
20304         * sysdeps/unix/sysv/linux/recv.S: Likewise.
20305         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
20306         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
20307         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
20308         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20309         * sysdeps/unix/sysv/linux/send.S: Likewise.
20310         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
20311         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
20312         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
20313         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
20314         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
20315         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
20316         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
20317         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
20318         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
20319         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
20320         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
20321         socketcall is implemented in GLIBC.
20323 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20325         * soft-fp/fmadf4.c: Include <libc-internal.h>.
20326         (__fma): Ignore uninitialized warnings around packing.
20327         * soft-fp/fmasf4.c: Include <libc-internal.h>.
20328         (__fmaf): Ignore uninitialized warnings around packing.
20329         * soft-fp/fmatf4.c: Include <libc-internal.h>.
20330         (__fmal): Ignore uninitialized warnings around packing.
20332         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
20333         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20334         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
20335         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20337         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
20338         switch statement into default case.
20339         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
20341         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
20342         a conditional in forcing "inexact".
20343         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20344         Likewise.
20346 2015-05-22  Roland McGrath  <roland@hack.frob.com>
20348         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20349         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
20350         for each INTERNAL_SYSCALL use.
20352 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20354         [BZ #438]
20355         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
20356         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
20357         variable.
20359         [BZ #18444]
20360         * string/basename.c (basename): Rename to __basename and define as
20361         weak alias of __basename.  Use libc_hidden_weak.
20362         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
20363         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
20364         __basename instead of basename.
20365         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
20366         Remove variable.
20367         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
20369 2015-05-18  Florian Weimer  <fweimer@redhat.com>
20371         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
20372         (_IO_JUMPS_FILE_plus): New.
20373         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
20374         _IO_CAST_FIELD_ACCESS.
20375         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
20376         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
20377         * libio/freopen.c (freopen): Likewise.
20378         * libio/freopen64.c (freopen64): Likewise.
20379         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
20380         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
20381         * libio/iofwide.c (_IO_fwide): Likewise.
20382         * libio/memstream.c (open_memstream): Likewise.
20383         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20384         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
20385         * libio/oldiopopen.c (_IO_old_popen): Likewise.
20387 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
20389         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
20390         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
20391         NADJ.
20392         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
20393         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
20394         NADJ.
20395         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
20396         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
20397         NADJ.
20399         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
20400         (p == 4) case.
20402         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
20403         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
20404         Remove variable.
20405         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
20406         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
20407         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
20409 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20411         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
20412         Adjust jump table label generation macros.
20414 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20416         * stdio-common/vfprintf.c (vfprintf): Move local variables
20417         args_malloced, specs, specs_malloced, and the code after
20418         do_positional to the printf_positional function.
20419         (printf_positional): New function.
20421 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20423         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
20424         function.
20425         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
20426         STEP4_TABLE, process_arg): Move macro definitions
20427         out of the vfprintf function.  (Cosmetic change only.)
20429 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
20431         * benchtests/Makefile (stdio-common-bench): Define.
20432         (benchset): Add stdio-common-bench.
20433         * sprintf-inputs: New file.
20434         * sprintf-source.c: New file.
20436 2015-05-21  Andreas Schwab  <schwab@suse.de>
20438         [BZ #13028]
20439         [BZ #17053]
20440         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
20441         of struct __res_state.
20442         * resolv/res_send.c (__libc_res_nsend): Likewise.
20443         (get_nsaddr): New function.
20444         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
20445         statp directly.
20447 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
20449         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
20450         -D_POSIX_C_SOURCE=199506L.
20452         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
20454         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
20455         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
20456         Do not mention otherwise.
20457         [POSIX] (_XOPEN_VERSION): Do not expect.
20458         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
20459         [POSIX] (_POSIX2_C_BIND): Likewise.
20460         [POSIX] (_POSIX2_VERSION): Likewise.
20461         [POSIX] (_XOPEN_XPG2): Likewise.
20462         [POSIX] (_XOPEN_XPG3): Likewise.
20463         [POSIX] (_XOPEN_XPG4): Likewise.
20464         [POSIX] (_XOPEN_UNIX): Likewise.
20465         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
20466         [POSIX] (_POSIX_BARRIERS): Likewise.
20467         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
20468         [POSIX] (_POSIX_CPUTIME): Likewise.
20469         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
20470         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
20471         [POSIX] (_POSIX_SHELL): Likewise.
20472         [POSIX] (_POSIX_SPAWN): Likewise.
20473         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
20474         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
20475         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
20476         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
20477         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
20478         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
20479         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
20480         [POSIX] (_XBS5_LP64_OFF64): Likewise.
20481         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
20482         [POSIX] (_POSIX_TIMEOUTS): Likewise.
20483         [POSIX] (_POSIX2_PBS): Likewise.
20484         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
20485         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
20486         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
20487         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
20488         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
20489         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
20490         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
20491         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
20492         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
20493         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
20494         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
20495         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
20496         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
20497         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
20498         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
20499         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
20500         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
20501         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
20502         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
20503         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
20504         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
20505         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
20506         [POSIX] (_SC_2_C_BIND): Likewise.
20507         [POSIX] (_SC_2_C_VERSION): Likewise.
20508         [POSIX] (_SC_2_PBS): Likewise.
20509         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
20510         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
20511         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
20512         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
20513         [POSIX] (_SC_2_PBS_TRACK): Likewise.
20514         [POSIX] (_SC_ATEXIT_MAX): Likewise.
20515         [POSIX] (_SC_BARRIERS): Likewise.
20516         [POSIX] (_SC_BASE): Likewise.
20517         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
20518         [POSIX] (_SC_DEVICE_IO): Likewise.
20519         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
20520         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
20521         [POSIX] (_SC_FD_MGMT): Likewise.
20522         [POSIX] (_SC_FIFO): Likewise.
20523         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
20524         [POSIX] (_SC_FILE_LOCKING): Likewise.
20525         [POSIX] (_SC_FILE_SYSTEM): Likewise.
20526         [POSIX] (_SC_IOV_MAX): Likewise.
20527         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
20528         [POSIX] (_SC_NETWORKING): Likewise.
20529         [POSIX] (_SC_PAGE_SIZE): Likewise.
20530         [POSIX] (_SC_PASS_MAX): Likewise.
20531         [POSIX] (_SC_PIPE): Likewise.
20532         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
20533         [POSIX] (_SC_REGEXP): Likewise.
20534         [POSIX] (_SC_SHELL): Likewise.
20535         [POSIX] (_SC_SIGNALS): Likewise.
20536         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
20537         [POSIX] (_SC_SPIN_LOCKS): Likewise.
20538         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
20539         [POSIX] (_SC_USER_GROUPS): Likewise.
20540         [POSIX] (_SC_USER_GROUPS_R): Likewise.
20541         [POSIX] (_SC_STREAMS): Likewise.
20542         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
20543         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
20544         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
20545         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
20546         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
20547         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
20548         [POSIX] (_PC_FILESIZEBITS): Likewise.
20549         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
20550         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
20551         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
20552         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
20553         [POSIX] (uid_t): Likewise.
20554         [POSIX] (gid_t): Likewise.
20555         [POSIX] (off_t): Likewise.
20556         [POSIX] (pid_t): Likewise.
20557         [POSIX] (cuserid): Allow.
20558         (_SC_2_CHAR_TERM): Require constant.
20559         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
20560         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
20561         variable.
20563 2015-05-20  Roland McGrath  <roland@hack.frob.com>
20565         * sysdeps/nacl/pthread-pids.h: New file.
20566         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
20567         (create_thread): Use __nacl_get_tid to initialize PD->tid.
20569         * nptl/pthread-pids.h: New file.
20570         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
20571         * nptl/nptl-init.c: Include <pthread-pids.h>.
20572         (__pthread_initialize_minimal_internal):
20573         Call __pthread_initialize_pids instead of set_tid_address syscall.
20575         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
20576         * sysdeps/posix/usleep.c: ... here.
20578 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20580         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
20581         call_pselect6 object.
20582         [$(subdir) = io]: Remove call_sync_file_range object.
20583         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
20584         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
20585         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
20586         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
20588 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
20590         * math/s_cproj.c: Add include "math_private.h".
20591         * math/s_cprojf.c: Likewise.
20592         * math/s_cprojl.c: Likewise.
20594 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
20596         [BZ #18244]
20597         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
20598         high mantissa bit when testing whether P is a NaN.
20599         * math/libm-test.inc (remainder_test_data): Add more tests.
20600         (remquo_test_data): Likewise.
20602         [BZ #18049]
20603         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
20604         below -32, return the argument, with underflow if subnormal.
20605         * math/auto-libm-test-in: Add more tests of atanh.
20606         * math/auto-libm-test-out: Regenerated.
20608 2015-05-19  Roland McGrath  <roland@hack.frob.com>
20610         [BZ #18434]
20611         * nptl/tst-sem15.c: New file.
20612         * nptl/Makefile (tests): Add it.
20613         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
20614         s/<</>>/ to fix typo in EOVERFLOW check.
20615         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
20617 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20619         * manual/strings.texi (envz_remove): Fix typo in safety
20620         annotations.
20622 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
20623             Steve Ellcey  <sellcey@imgtec.com>
20625         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
20626         in order to avoid strict alias warnings.
20627         (iruserok_af): Ditto for ra.
20629 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
20631         [BZ #17581]
20632         * malloc/hooks.c
20633         (magicbyte): Convert to a function and avoid returning 0x01.
20634         (mem2mem_check): Avoid using a length byte equal to the magic byte.
20635         (mem2chunk_check): Fix unsigned comparisons to zero.
20636         Hoist defs of sz and magic.
20638 2015-05-19  Richard Henderson  <rth@redhat.com>
20640         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
20642         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20644 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20646         [BZ #16159]
20647         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
20648         * malloc/arena.c (arena_lock): Check if arena is corrupt.
20649         (reused_arena): Find a non-corrupt arena.
20650         (heap_trim): Pass arena to unlink.
20651         * malloc/hooks.c (malloc_check_get_size): Pass arena to
20652         malloc_printerr.
20653         (top_check): Likewise.
20654         (free_check): Likewise.
20655         (realloc_check): Likewise.
20656         * malloc/malloc.c (malloc_printerr): Add arena argument.
20657         (unlink): Likewise.
20658         (munmap_chunk): Adjust.
20659         (ARENA_CORRUPTION_BIT): New macro.
20660         (arena_is_corrupt): Likewise.
20661         (set_arena_corrupt): Likewise.
20662         (sysmalloc): Use mmap if there are no usable arenas.
20663         (_int_malloc): Likewise.
20664         (__libc_malloc): Don't fail if arena_get returns NULL.
20665         (_mid_memalign): Likewise.
20666         (__libc_calloc): Likewise.
20667         (__libc_realloc): Adjust for additional argument to
20668         malloc_printerr.
20669         (_int_free): Likewise.
20670         (malloc_consolidate): Likewise.
20671         (_int_realloc): Likewise.
20672         (_int_memalign): Don't touch corrupt arenas.
20673         * malloc/tst-malloc-backtrace.c: New test case.
20675         * Makefile (summarize-tests): Fix return value on success.
20677         * manual/string.texi (Envz Functions): Add envz_remove.
20679 2015-05-18  Roland McGrath  <roland@hack.frob.com>
20681         * sysdeps/posix/opendir.c: Include <stdbool.h>.
20682         (invalid_name): New function, broken out of ...
20683         (__opendirat): ... here.  Call it.
20684         (need_isdir_precheck): New function, broken out of ...
20685         (__opendirat): ... here.  Call it.
20686         Use __fxstatat64, not __xstatat64.
20687         (opendir_oflags): New function, broken out of ...
20688         (__opendirat): ... here.  Call it.
20689         (opendir_tail): New function, broken out of ...
20690         (__opendirat): ... here.  Call it.
20691         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
20692         opendir_tail, rather than punting to __opendirat.
20693         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
20695 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20697         * .gitignore: Ignore generated *.pyc.
20699 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
20701         * include/stdio.h: Define __need_wint_t.
20702         * test-skeleton.c: Avoid `for' loop initial declaration.
20703         * nptl/tst-initializers1.c: Use test-skeleton.c.
20705 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20707         [BZ #18418]
20708         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
20710 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
20712         [BZ #16352]
20713         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
20714         (__ieee754_atanh): Force underflow exception for results with
20715         small absolute value.
20716         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
20717         (__ieee754_atanhf): Force underflow exception for results with
20718         small absolute value.
20719         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
20720         (__ieee754_atanh): Force underflow exception for results with
20721         small absolute value.
20722         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
20723         (__ieee754_atanhf): Force underflow exception for results with
20724         small absolute value.
20725         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
20726         (__ieee754_atanhl): Force underflow exception for results with
20727         small absolute value.
20728         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
20729         (__ieee754_atanhl): Force underflow exception for results with
20730         small absolute value.
20731         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
20732         (__ieee754_atanhl): Force underflow exception for results with
20733         small absolute value.
20734         * math/auto-libm-test-in: Do not allow missing underflow
20735         exceptions from atanh.
20736         * math/auto-libm-test-out: Regenerated.
20738         [BZ #18221]
20739         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
20740         2**-28 as threshold for returning x or +/- 1/x.
20741         * math/auto-libm-test-in: Add more tests of tan.
20742         * math/auto-libm-test-out: Regenerated.
20744         [BZ #18220]
20745         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20746         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
20747         * math/auto-libm-test-in: Add another test of lgamma.
20748         * math/auto-libm-test-out: Regenerated.
20750 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
20752         * stdio-common/printf_fp.c (___printf_fp): Use abs.
20753         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
20754         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
20755         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
20756         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
20757         (ADD2A): Use fabs.  (SUB2A): Use fabs.
20758         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
20759         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
20760         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
20761         (log1): Use fabs.  (my_log2): Use fabs.
20762         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
20763         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
20764         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
20765         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
20766         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
20767         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
20768         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
20769         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
20770         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
20771         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
20772         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
20774 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
20776         [BZ #18217]
20777         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
20778         as threshold for returning 1 - x.
20779         * math/auto-libm-test-in: Add more tests of erfc.
20780         * math/auto-libm-test-out: Regenerated.
20782 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
20784         [BZ #18196]
20785         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
20786         threshold for large arguments.
20787         * math/auto-libm-test-in: Add another test of atan.
20788         * math/auto-libm-test-out: Regenerated.
20790         [BZ #16339]
20791         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
20792         (__log1p): Force underflow exception for results with small
20793         absolute value.
20794         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
20795         (__log1pf): Force underflow exception for results with small
20796         absolute value.
20797         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
20798         (__log1p): Force underflow exception for results with small
20799         absolute value.
20800         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
20801         (__log1pf): Force underflow exception for results with small
20802         absolute value.
20803         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
20804         (__log1pl): Force underflow exception for results with small
20805         absolute value.
20806         * math/auto-libm-test-in: Do not allow missing underflow
20807         exceptions from log1p.
20808         * math/auto-libm-test-out: Regenerated.
20810 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
20811             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20813         [BZ #16704]
20814         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
20816 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
20818         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
20819         (libmvec): New variable.
20820         * configure.ac: Added option for mathvec build.
20821         * configure: Regenerated.
20822         * mathvec/Depend: New file.
20823         * mathvec/Makefile: New file.
20824         * shlib-versions: Added libmvec.
20825         * math/Makefile: Added rule for libm.so installation.
20827         * bits/math-vector.h: New file.
20828         * bits/libm-simd-decl-stubs.h: New header.
20829         * math/Makefile (headers): Added new header
20830         libm-simd-decl-stubs.h.
20831         * math/math.h (__MATHCALL_VEC): New macro.
20833         * math/gen-libm-have-vector-test.sh: Script generates series of macros
20834         for conditions in testing functions.
20835         * math/Makefile: Added call of libm-have-vector-test.sh.
20836         * math/libm-test.inc (HAVE_VECTOR): New macros.
20838         * math/libm-test.inc: START refactored.
20839         * math/test-double.c (TEST_MATHVEC): Add define.
20840         * math/test-float.c: Likewise.
20841         * math/test-idouble.c: Likewise.
20842         * math/test-ifloat.c: Likewise.
20843         * math/test-ildoubl.c: Likewise.
20844         * math/test-ldouble.c: Likewise.
20845         * sysdeps/generic/math-tests-arch.h
20846         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
20847         architecture check.
20849         * math/test-double.c (FUNC_TEST): New macro.
20850         * math/test-float.c: Likewise.
20851         * math/test-idouble.c: Likewise.
20852         * math/test-ifloat.c: Likewise.
20853         * math/test-ildoubl.c: Likewise.
20854         * math/test-ldouble.c: Likewise.
20855         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
20857 2015-05-13  Roland McGrath  <roland@hack.frob.com>
20859         * sysdeps/nacl/fdopendir.c: New file.
20861         * dirent/scandir-tail.c: New file.
20862         * dirent/scandir64-tail.c: New file.
20863         * dirent/Makefile (routines): Add them.
20864         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
20865         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
20866         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
20867         [!SCANDIR] (SCANDIR_TAIL): New macro.
20868         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
20869         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
20870         (SCANDIRAT): Macro removed.
20871         (SCANDIR_TAIL): New macro.
20872         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
20873         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
20874         (SCANDIRAT): Just call __opendirat and __scandir_tail.
20875         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
20876         (READDIR): Macro removed.
20877         (SCANDIR_TAIL): New macro.
20878         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
20879         (SCANDIR_TAIL): New macro.
20881         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
20882         * dirent/scandir-cancel.c: ... to this new file.
20883         * dirent/Makefile (routines): Add it.
20884         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
20885         * sysdeps/unix/sysv/linux/i386/scandir64.c
20886         (SKIP_SCANDIR_CANCEL): Macro removed.
20887         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
20889         * dirent/tst-scandir.c: New file.
20890         * dirent/tst-scandir64.c: New file.
20891         * dirent/Makefile (tests): Add them.
20893 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
20895         [BZ #18409]
20896         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
20898 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20900         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
20901         list.
20903 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
20905         * benchtests/bench-strcoll.c: New benchmark.
20906         * benchtests/Makefile: Generate locales and run benchmark.
20907         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
20908         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
20909         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
20910         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
20911         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
20912         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
20913         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
20914         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
20915         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
20916         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
20917         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
20918         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
20919         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
20920         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
20921         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
20922         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
20923         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
20924         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
20925         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
20926         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
20927         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
20928         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
20929         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
20930         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
20932 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
20934         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
20935         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20937 2015-05-12  Roland McGrath  <roland@hack.frob.com>
20939         * posix/uname-values.h: New file.
20940         * posix/uname.c: Include that instead of <config-name.h>.
20941         * sysdeps/nacl/uname-values.h: New file.
20942         * sysdeps/arm/nacl/uname-values.h: New file.
20944 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
20946         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
20947         splitting into fields.
20949 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
20951         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
20952         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
20953         * locale/localeinfo.h: Add enum collation_encoding_type.
20954         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
20955         * programs/ld-collate.c (collate_output): Add encoding type info.
20956         * string/strcoll_l.c (STRDIFF): New function.
20957         * (STRCOLL): Use STRDIFF to skip over equal prefix.
20958         * wcsmbs/wcscoll_l.c: Define STRDIFF.
20960 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
20962         [BZ #18397]
20963         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
20964         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
20965         <fpu_control.h> instead of <math/fpu_control.c>.
20966         * sysdeps/mips/mips32/fpu/Makefile: New file.
20968 2015-05-11  Andreas Schwab  <schwab@suse.de>
20970         [BZ #18007]
20971         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
20972         nss_endgrent.
20973         (_nss_compat_endgrent): Call nss_endgrent.
20974         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
20975         nss_endpwent.
20976         (_nss_compat_endpwent): Call nss_endpwent.
20977         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
20978         needent, call nss_setspent only if non-zero.
20979         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
20980         (internal_endspent): Don't call nss_endspent.
20981         (_nss_compat_endspent): Call nss_endspent.
20982         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
20983         Remove.  All uses removed.
20984         (internal_setent): Remove parameter stayopen, add parameter
20985         stream.  Use it instead of global variable.
20986         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
20987         (internal_endent, internal_getent): Add parameter stream.  Use it
20988         instead of global variable.
20989         (CONCAT(_nss_files_end,ENTNAME))
20990         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
20991         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
20992         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
20993         uses removed.
20994         (internal_setent, internal_endent): Add parameter stream.  Use it
20995         instead of global variable.
20996         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
20997         stream.
20998         (get_next_alias): Add parameter stream.
20999         (_nss_files_getaliasent_r): Pass global stream.
21000         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
21001         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
21002         (_nss_files_gethostbyname4_r): Pass local stream to
21003         internal_setent, internal_getent and internal_endent.  Remove
21004         locking.
21006 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21008         * tst-strfmon1.c (tests): Update expected currency symbol.
21010 2015-05-08  Roland McGrath  <roland@hack.frob.com>
21012         * sysdeps/nacl/gethostname.c: New file.
21014 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
21016         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
21017         and sinh.
21018         * math/auto-libm-test-out: Regenerated.
21019         * sysdeps/i386/fpu/libm-test-ulps: Update.
21020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21022 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
21024         [BZ #18125]
21025         * stdlib/tst-setcontext3.c: New file.
21026         * stdlib/tst-setcontext3.sh: New file.
21027         * stdlib/Makefile (tests): Add tst-setcontext3.
21028         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
21029         to verify test program created output file.
21030         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
21031         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
21032         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
21033         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
21035 2015-05-06  Roland McGrath  <roland@hack.frob.com>
21037         [BZ #18383]
21038         * elf/tst-tlsalign.c: New file.
21039         * elf/tst-tlsalign-static.c: New file.
21040         * elf/tst-tlsalign-lib.c: New file.
21041         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
21042         (tests-static): Add tst-tlsalign-static.
21043         (modules-names): Add tst-tlsalign-lib.
21044         (test-xfail-tst-tlsalign): New variable.
21045         (test-xfail-tst-tlsalign-static): New variable.
21047         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
21048         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
21050 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
21052         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
21053         csqrt, erfc, sin and sincos.
21054         * math/auto-libm-test-out: Regenerated.
21055         * sysdeps/i386/fpu/libm-test-ulps: Update.
21056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21058 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21060         * sysdeps/aarch64/libm-test-ulps: Update.
21062 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
21064         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
21065         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
21066         * math/auto-libm-test-out: Regenerated.
21067         * sysdeps/i386/fpu/libm-test-ulps: Update.
21068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21070 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
21072         [BZ #18265]
21073         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
21074         (wcsncpy): Likewise.
21076 2015-05-05  Florian Weimer  <fweimer@redhat.com>
21078         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21079         Assume __ASSUME_FALLOCATE is always true.
21080         * sysdeps/unix/sysv/linux/posix_fallocate64.c
21081         (__posix_fallocate64_l64): Likweise.
21082         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
21083         (posix_fallocate): Likewise.
21084         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
21085         (__posix_fallocate64_l64): Likewise.
21086         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21087         [!__ASSUME_FALLOCATE]: Add comment.
21089 2015-05-05  Florian Weimer  <fweimer@redhat.com>
21091         * sysdeps/unix/sysv/linux/i386/Makefile
21092         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
21093         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
21094         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
21095         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21096         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21097         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
21098         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
21100 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
21102         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
21103         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
21104         tgamma.
21105         * math/auto-libm-test-out: Regenerated.
21106         * sysdeps/i386/fpu/libm-test-ulps: Update.
21107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21109 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
21111         * math/auto-libm-test-in: Add more tests of tgamma.
21112         * math/auto-libm-test-out: Regenerated.
21113         * sysdeps/i386/fpu/libm-test-ulps: Update.
21114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21116         * math/auto-libm-test-in: Add more tests of tanh.
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 tan.
21122         * math/auto-libm-test-out: Regenerated.
21123         * sysdeps/i386/fpu/libm-test-ulps: Update.
21124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21126         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
21127         * math/auto-libm-test-out: Regenerated.
21128         * sysdeps/i386/fpu/libm-test-ulps: Update.
21129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21131         * math/auto-libm-test-in: Add another test of pow.
21132         * math/auto-libm-test-out: Regenerated.
21133         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21135         * math/auto-libm-test-in: Add more tests of lgamma.
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 log, log10, log2 and
21141         log1p.
21142         * math/auto-libm-test-out: Regenerated.
21143         * sysdeps/i386/fpu/libm-test-ulps: Update.
21144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21146 2015-05-01  Mark Wielaard  <mjw@redhat.com>
21148         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
21149         Elf64_Chdr structs and ELFCOMPRESS constants.
21151 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
21153         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
21154         expm1.
21155         * math/auto-libm-test-out: Regenerated.
21156         * sysdeps/i386/fpu/libm-test-ulps: Update.
21157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21159         * math/auto-libm-test-in: Add more tests of erf and erfc.
21160         * math/auto-libm-test-out: Regenerated.
21161         * sysdeps/i386/fpu/libm-test-ulps: Update.
21162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21164 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21166         * config.h.in (HAVE_AARCH64_BE): Add.
21168 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
21170         * math/auto-libm-test-in: Add more tests of csqrt.
21171         * math/auto-libm-test-out: Regenerated.
21172         * sysdeps/i386/fpu/libm-test-ulps: Update.
21173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21175         * math/auto-libm-test-in: Add more tests of cosh and sinh.
21176         * math/auto-libm-test-out: Regenerated.
21177         * sysdeps/i386/fpu/libm-test-ulps: Update.
21178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21180         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
21182 2015-04-29  Roland McGrath  <roland@hack.frob.com>
21184         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
21185         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
21187         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
21188         (euidaccess, eaccess): Define as weak aliases.
21190         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
21191         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
21192         but __suseconds_t is often 'long int' so some sources assume that
21193         type is being used (e.g. they use %ld to print tv_usec).
21195 2015-04-29  Florian Weimer  <fweimer@redhat.com>
21197         [BZ #18007]
21198         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
21199         (CVE-2014-8121)
21200         * nss/tst-nss-getpwent.c: New file.
21201         * nss/Makefile (tests): Add new test.
21203 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
21205         [BZ #18346]
21206         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
21207         exponents less than 48 as cases where high part of mantissa needs
21208         examining to determine whether argument is integral.
21209         * math/libm-test.inc (round_test_data): Add more tests.
21211 2015-04-28  Mark Wielaard  <mjw@redhat.com>
21213         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
21215 2015-04-27  David S. Miller  <davem@davemloft.net>
21217         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
21218         __tls_get_addr.
21219         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
21221 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
21223         [BZ#18333]
21224         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
21226 2015-04-27  Florian Weimer  <fweimer@redhat.com>
21228         [BZ#18333]
21229         * time/tzset.c (parse_tzname): Return error on memory allocation
21230         failure.
21231         * test-skeleton.c (struct temp_name_list): Change type of name
21232         member to non-const.
21233         (add_temp_file): Create a copy of the file name.
21234         (delete_temp_files): Deallocate memory.
21235         (create_temp_file): Add comment.
21237 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21239         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
21240         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
21242 2015-04-24  Roland McGrath  <roland@hack.frob.com>
21244         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
21245         * sysdeps/arm/configure: Regenerated.
21247 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21249         [BZ #17715]
21250         * time/tzfile.c (__tzfile_read): Check for large values of
21251         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
21252         * time/tzset.c (__tzstring_len): New function, based on the old
21253         __tzstring function.
21254         (__tzstring): Call __tzstring_len.
21255         (parse_tzname): New helper function extracted from
21256         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
21257         the input string.
21258         (parse_offset): New helper function extracted from
21259         __tzset_parse_tz.  Replace switch with fallthrough with
21260         initialization before sscanf.
21261         (parse_rule): Likewise.
21262         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
21263         new-style function definition.
21264         * timezone/Makefile (tests): Add tst-tzset.
21265         (tst-tzset.out): Dependencies on time zone files.
21266         (tst-tzset-ENV): Set TZDIR.
21267         (testdata/XT%): Copy crafted time zone files.
21268         * timezone/README: Mention crafted time zone files.
21269         * timezone/testdata/XT1, timezone/testdata/XT2,
21270         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
21271         files.
21272         * timezone/tst-tzset.c: New test.
21274 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21276         * Makeconfig (+gccwarn): Remove -Winline.
21278 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21280         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
21282 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21284         * NEWS: Mention sysconf() cache information support for s390.
21285         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
21287 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
21289         * math/k_casinh.c (__kernel_casinh): Use __copysign.
21290         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
21291         (__nearbyint): Likewise.
21292         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
21293         (copysignl): Likewise.
21295 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
21297         [BZ #18287]
21298         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
21299         based on padding.  (CVE-2015-1781)
21301 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21303         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
21304         libc-vdso.h.
21305         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
21306         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
21307         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
21308         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
21309         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
21310         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
21311         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
21312         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21313         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21314         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
21315         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21316         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
21317         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21318         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
21319         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
21320         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
21321         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
21322         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
21323         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
21324         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
21325         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
21326         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
21327         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
21329 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
21331         * stdlib/setenv.c (__add_to_environ):
21332         Dump core quickly if setenv (..., NULL, ...) is called.
21333         This time, do it the right way, and pacify GCC with a pragma.
21335 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21337         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
21338         IMAP->l_prev cannot be null, and #if out the code for the contrary
21339         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
21340         believe that NS (&_dl_ns[NSID]) could point outside the array.
21342         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
21343         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
21344         before using NSID as an index.
21346 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
21348         [BZ #17825]
21349         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
21350         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
21351         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21353 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21355         Add preliminary port to Google Native Client on ARM.
21356         * abi-tags (.*-.*-nacl.*): New entry.
21357         * sysdeps/arm/nacl: New directory.
21358         * sysdeps/nacl: New directory.
21360 2015-04-16  David S. Miller  <davem@davemloft.net>
21362         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
21363         lowlevellock-futex.h
21365 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
21367         * sysdeps/tile/configure.ac: New file.
21368         * sysdeps/tile/configure: Regenerated.
21370 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21372         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
21373         conditionals for weak_alias and libc_hidden_weak.
21374         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
21375         libc_hidden_weak and weak_alias.
21376         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
21377         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
21378         and weak_alias for static one.
21380 2015-04-15  David S. Miller  <davem@davemloft.net>
21382         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21384 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21386         [BZ #18206]
21387         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
21388           Use signed comparision instead of substraction to avoid
21389           overflow bug.
21390         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
21391           Take the sign of ret.
21392         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
21393           Do not expect precise return values. Only the sign matters.
21394         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
21395         * wcsmbs/test-wcsncmp.c: New File.
21396         * string/test-strncmp.c: Add wcsncmp support.
21398 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21400         [BZ #6792]
21401         * math/w_log1p.c: New file.
21402         * math/w_log1pf.c: Likewise.
21403         * math/w_log1pl.c: Likewise.
21404         * math/Makefile (libm-calls): Add w_log1p.
21405         * math/s_log1pl.c (log1pl): Remove weak_alias.
21406         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
21407         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
21408         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
21409         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
21410         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
21411         [NO_LONG_DOUBLE] (log1pl): Likewise.
21412         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
21413         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
21414         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
21415         (log1p): Remove long_double_symbol.
21416         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
21417         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
21418         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
21419         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
21420         remove weak_alias for corresponding log1p function.
21421         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
21422         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
21423         * sysdeps/ia64/fpu/w_log1p.c: New file.
21424         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
21425         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
21426         * math/libm-test.inc (log1p_test_data): Add errno expectations.
21428 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
21430         [BZ #18247]
21431         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
21432         decimal exponent by 1.
21433         * stdlib/tst-strtod-round-data: Add more tests.
21434         * stdlib/tst-strtod-round.c (tests): Regenerated.
21436 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
21438         * math/auto-libm-test-in: Add more tests of clog and clog10.
21439         * math/auto-libm-test-out: Regenerated.
21440         * sysdeps/i386/fpu/libm-test-ulps: Update.
21441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21443 2015-04-09  Roland McGrath  <roland@hack.frob.com>
21445         * Makeconfig (module-cppflags): Exclude all .v.i files.
21446         (skip-module-cppflags): Variable removed.
21448         * configure.ac (libc_config_ok): Initialize before reading
21449         preconfigure scripts, not after.
21450         * configure: Regenerated.
21452         * test-skeleton.c (TIMEOUT): Move #define to top level.
21453         (main): Grok environment variable TEST_DIRECT.  If set, print
21454         test expectation details into that file and then behave as if
21455         given --direct.
21457 2015-04-09  Florian Weimer  <fweimer@redhat.com>
21459         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
21460         warning on 32-bit.
21462 2015-04-08  David S. Miller  <davem@davemloft.net>
21464         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21466 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
21468         * math/auto-libm-test-in: Add more tests of atanh.
21469         * math/auto-libm-test-out: Regenerated.
21470         * sysdeps/i386/fpu/libm-test-ulps: Update.
21471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21473         * math/auto-libm-test-in: Add more tests of atan.
21474         * math/auto-libm-test-out: Regenerated.
21475         * sysdeps/i386/fpu/libm-test-ulps: Update.
21476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21478 2015-04-08  Florian Weimer  <fweimer@redhat.com>
21480         * elf/pldd.c (main): Rewrite to use struct
21481         scratch_buffer instead of extend_alloca.
21482         * elf/pldd-xx.c (find_maps): Likewise.
21483         * grp/initgroups.c: Include <scratch_buffer.h> instead of
21484         <alloca.h>.
21485         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
21486         scratch_buffer instead of extend_alloca.
21487         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
21488         grp/compat-initgroups.c.
21489         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
21490         Rewrite to use struct scratch_buffer instead of extend_alloca.
21491         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
21492         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
21494 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
21496         * math/auto-libm-test-in: Add more tests of cbrt.
21497         * math/auto-libm-test-out: Regenerated.
21498         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21500         * math/auto-libm-test-in: Add more tests of cabs.
21501         * math/auto-libm-test-out: Regenerated.
21502         * sysdeps/i386/fpu/libm-test-ulps: Update.
21503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21505         [BZ #18210]
21506         [BZ #18211]
21507         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
21508         (__ieee754_atan2): Set FE_TONEAREST mode for internal
21509         computations.
21510         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
21511         clog10.
21512         * math/auto-libm-test-out: Regenerated.
21513         * sysdeps/i386/fpu/libm-test-ulps: Update.
21514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21516         [BZ #18197]
21517         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
21518         (atan): Set FE_TONEAREST mode for internal computations.
21519         * math/auto-libm-test-in: Add more tests of atan.
21520         * math/auto-libm-test-out: Regenerated.
21522 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
21524         [BZ #17930]
21525         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
21527 2015-04-07  Florian Weimer  <fweimer@redhat.com>
21529         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
21531 2015-04-07  Florian Weimer  <fweimer@redhat.com>
21533         * include/scratch_buffer.h: New file.
21534         * malloc/scratch_buffer_grow.c: Likewise.
21535         * malloc/scratch_buffer_grow_preserve.c: Likewise.
21536         * malloc/scratch_buffer_set_array_size.c: Likewise.
21537         * malloc/tst-scratch_buffer.c: Likewise.
21538         * malloc/Makefile (routines): Add scratch_buffer_grow.
21539         (tests): Add test case.
21540         * malloc/Versions (GLIBC_PRIVATE): Export
21541         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
21542         __libc_scratch_buffer_set_array_size.
21544 2015-04-06  Richard Henderson  <rth@redhat.com>
21546         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
21547         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21549         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
21550         unsigned int before printing.
21552 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21554         [BZ #17596]
21555         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
21556         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21558 2015-04-02  Florian Weimer  <fweimer@redhat.com>
21560         * include/libc-internal.h (libc_max_align_t): Define.
21562 2015-04-02  Andreas Schwab  <schwab@suse.de>
21564         [BZ #16850]
21565         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
21567 2015-04-02  Mel Gorman  <mgorman@suse.de>
21569         [BZ #17195]
21570         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
21571         as well as the main arena.
21573 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21575         [BZ #18185]
21576         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
21577         sharing L2 cache to 2 for Silvermont/Knights Landing.
21579 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21581         [BZ #17711]
21582         * config.make.in (have-protected-data): New.
21583         * configure.ac: Check linker support for protected data symbol.
21584         * configure: Regenerated.
21585         * elf/Makefile (modules-names): Add tst-protected1moda and
21586         tst-protected1modb if $(have-protected-data) is yes.
21587         (tests): Add tst-protected1a and tst-protected1b if
21588         $(have-protected-data) is yes.
21589         ($(objpfx)tst-protected1a): New.
21590         ($(objpfx)tst-protected1b): Likewise.
21591         (tst-protected1modb.so-no-z-defs): Likewise.
21592         * elf/tst-protected1a.c: New file.
21593         * elf/tst-protected1b.c: Likewise.
21594         * elf/tst-protected1mod.h: Likewise.
21595         * elf/tst-protected1moda.c: Likewise.
21596         * elf/tst-protected1modb.c: Likewise.
21598 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21600         [BZ #17711]
21601         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
21602         indicates it is called from do_lookup_x on relocation against
21603         protected data, skip the data definion in the executable from
21604         copy reloc.
21605         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
21606         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
21607         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
21608         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
21609         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
21610         otherwise to 0.
21611         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
21612         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
21613         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
21614         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
21615         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
21616         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
21618 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
21620         * sysdeps/nptl/pthread.h: Remove duplicate definition of
21621         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
21623 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
21625         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
21626         THREAD_SETMEM_NC.
21627         * sysdeps/x86_64/nptl/tls.h: Ditto.
21629 2015-03-27  Roland McGrath  <roland@hack.frob.com>
21631         * dlfcn/tststatic.c (main): Converted to ...
21632         (do_test): ... this.
21633         (TEST_FUNCTION): New macro.
21634         Include test-skeleton.c.
21636 2015-03-26  Alan Modra  <amodra@gmail.com>
21638         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
21639         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
21640         zero for undefined weak.
21641         (elf_machine_plt_conflict): Similarly.
21643 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
21645         * math/auto-libm-test-in: Add more tests of acosh, asinh and
21646         atanh.
21647         * math/auto-libm-test-out: Regenerated.
21648         * sysdeps/i386/fpu/libm-test-ulps: Update.
21649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21651         * math/auto-libm-test-in: Add another test of asin.
21652         * math/auto-libm-test-out: Regenerated.
21653         * sysdeps/i386/fpu/libm-test-ulps: Update.
21654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21656         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
21657         Remove macro.
21658         (LLL_EBX_REG): Likewise.
21659         (LLL_ENTER_KERNEL): Likewise.
21661         * math/auto-libm-test-in: Add more tests of asin.
21662         * math/auto-libm-test-out: Regenerated.
21663         * sysdeps/i386/fpu/libm-test-ulps: Update.
21664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21666         [BZ #18138]
21667         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
21668         libc_do_syscall_args): New structure.
21669         (INTERNAL_SYSCALL_MAIN_0): New macro.
21670         (INTERNAL_SYSCALL_MAIN_1): Likewise.
21671         (INTERNAL_SYSCALL_MAIN_2): Likewise.
21672         (INTERNAL_SYSCALL_MAIN_3): Likewise.
21673         (INTERNAL_SYSCALL_MAIN_4): Likewise.
21674         (INTERNAL_SYSCALL_MAIN_5): Likewise.
21675         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
21676         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
21677         Replace conditional definitions by conditional definitions of ....
21678         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
21679         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
21680         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
21681         (libpthread-sysdep_routines): Add libc-do-syscall.
21682         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
21683         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
21684         to __NR_futex not 240.
21686 2015-03-25  Alan Modra  <amodra@gmail.com>
21688         * NEWS: Advertise TLS optimization.
21689         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
21690         (DT_PPC_NUM): Increment.
21691         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
21692         (CHECK_STATIC_TLS): Use here.
21693         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
21694         TLS descriptors.
21695         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21696         * sysdeps/powerpc/dl-tls.c: New file.
21697         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
21698         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
21699         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
21700         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
21701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
21702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
21703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
21705 2015-03-25  Alan Modra  <amodra@gmail.com>
21707         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
21708         for overlapping .opd entries" to "support...".
21709         * sysdeps/powerpc/powerpc64/configure: Regenerate
21711 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
21713         * math/auto-libm-test-in: Add more tests of acos.
21714         * math/auto-libm-test-out: Regenerated.
21715         * sysdeps/i386/fpu/libm-test-ulps: Update.
21716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21718         * math/auto-libm-test-in: Add more tests of expm1.
21719         * math/auto-libm-test-out: Regenerated.
21720         * sysdeps/i386/fpu/libm-test-ulps: Update.
21721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21723 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
21725         * math/auto-libm-test-in: Add more tests of cosh and sinh.
21726         * math/auto-libm-test-out: Regenerated.
21727         * sysdeps/i386/fpu/libm-test-ulps: Update.
21728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21730         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21733         * math/auto-libm-test-in: Add more tests of log2.
21734         * math/auto-libm-test-out: Regenerated.
21735         * sysdeps/i386/fpu/libm-test-ulps: Update.
21736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21738 2015-03-23  Roland McGrath  <roland@hack.frob.com>
21740         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
21741         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
21742         _IO_IS_APPENDING bit in READ_WRITE instead.
21744 2015-03-23  Florian Weimer  <fweimer@redhat.com>
21746         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
21747         (__determine_cpumask_size): Replace extend_alloca with a
21748         variable-length array.  Do not treat res == 0 as an error.
21750 2015-03-23  Florian Weimer  <fweimer@redhat.com>
21752         [BZ #18100]
21753         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
21754         and integer overflow.
21755         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
21756         (main): Add integer overflow tests.
21757         * manual/pattern.texi (Calling Wordexp): Document additional use
21758         for WRDE_SYNTAX.
21760 2015-03-23  Alan Modra  <amodra@gmail.com>
21762         * config.h.in: Remove HAVE_ASM_PPC_REL16.
21763         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
21764         and false branch of conditional.
21765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21766         Likewise.
21768 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
21770         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
21771         libc-modules.h
21772         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
21773         unused declaration of _hurd_intr_rpc_msg_in_trap.
21774         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
21775         defined instead of whether it is non-zero.
21776         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
21777         input constraint instead of both input and output constraint.  Use ecx
21778         clobber instead of %ecx.
21779         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
21780         mutex_unlock): Use a statement expression instead of an expression list.
21781         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
21782         type to vm_size_t instead of vm_address_t.
21783         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
21784         defined instead of whether it is non-zero.
21785         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
21786         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
21787         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
21788         comparisons with mapaddr.
21789         * nscd/nscd-client.h: Include <time.h>.
21790         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
21791         9th parameter to __vm_region instead of int.
21792         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
21793         * scripts/check-local-headers.sh (exclude): Add device/,
21794         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
21795         cthreads.h.
21797 2015-03-19  Roland McGrath  <roland@hack.frob.com>
21799         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
21800         to account for alignment padding.
21801         * sysdeps/arm/memmove.S: Likewise.
21803 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
21805         * sysdeps/unix/sysv/linux/generic/README: New file.
21807 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
21809         [BZ #18138]
21810         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
21811         (futex_abstimed_wait)
21812         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
21813         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
21814         of lll_futex_timed_wait.
21816 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
21818         [BZ #17542]
21819         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
21821 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
21823         [BZ #17090]
21824         [BZ #17620]
21825         [BZ #17621]
21826         [BZ #17628]
21827         * NEWS: Update.
21828         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
21829         entries with Static TLS too.  Skip entries past the end of the
21830         allocated DTV, from Alan Modra.
21831         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
21832         Static TLS DTV entry set up from...
21833         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
21834         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
21835         * nptl/allocatestack.c (init_one_static_tls): ... and here...
21836         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
21837         for Static TLS.
21838         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
21839         that the slot we find is associated with the given map before
21840         using its generation count.
21841         * nptl_db/db_info.c: Include ldsodefs.h.
21842         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
21843         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
21844         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
21845         (link_map::l_tls_offset): New struct field.
21846         (dtv_t::counter): Likewise.
21847         (rtld_global): New struct.
21848         (_rtld_global): New rtld variable.
21849         (dl_tls_dtv_slotinfo_list): New rtld global field.
21850         (dtv_slotinfo_list): New struct.
21851         (dtv_slotinfo): Likewise.
21852         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
21853         (td_lookup): Rename to...
21854         (td_mod_lookup): ... this.  Use new mod parameter instead of
21855         LIBPTHREAD_SO.
21856         * nptl_db/td_thr_tlsbase.c: Include link.h.
21857         (dtv_slotinfo_list, dtv_slotinfo): New functions.
21858         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
21859         addresses even if the DTV is out of date or missing them.
21860         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
21861         index zero-length arrays.
21862         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
21863         (td_lookup): Make it a macro implemented in terms of...
21864         (td_mod_lookup): ... this declaration.
21865         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
21866         (DB_MAIN_VARIABLE): Likewise.
21868 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21870         [BZ #18134]
21871         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
21873 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
21875         * stdlib/setenv.c (__add_to_environ): Revert previous change.
21877 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
21879         [BZ #18128]
21880         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
21881         (atomic_add, atomic_increment_and_test)
21882         (atomic_decrement_and_test): Fix 64-bit arithmetic.
21884 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
21886         * stdlib/setenv.c (__add_to_environ):
21887         Dump core quickly if setenv (..., NULL, ...) is called.
21889 2015-03-13  Roland McGrath  <roland@hack.frob.com>
21891         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
21892         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
21893         all the necessary asm magic in one place.
21894         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
21895         using those.
21897 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
21899         [BZ #14906]
21900         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
21901         traced file mtime. Use consistent log message.
21902         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
21903         (register_traced_file): Call install_watches. Always set mtime.
21904         (invalidate_cache): Iterate over all trace files. Call install_watches.
21905         (inotify_check_files): Don't inline. Handle watching parent
21906         directories and configuration file movement in and out.
21907         (handle_inotify_events): New function.
21908         (main_loop_poll): Call handle_inotify_events.
21909         (main_loop_epoll): Likewise.
21910         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
21911         (struct traced_file): Use array of inotify fds. Add parent directory,
21912         and basename.
21913         (struct database_dyn): Remove unused file_mtime.
21914         (init_traced_file): New inline function.
21915         (define_traced_file): New macro.
21916         * nss/nss_db/db-init.c: Use define_traced_file.
21917         (_nss_db_init): Use init_traced_file.
21918         * nss/nss_files/files-init.c: Use define_traced_file.
21919         (_nss_files_init): Use init_traced_file.
21921 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
21923         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
21924         [_LIBC]: Do not include <stdlib.h>.
21925         [!_LIBC] (abort): Remove declaration.
21926         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
21927         _FP_STATIC_ASSERT instead of conditionally calling abort.
21928         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
21929         (_FP_EXTEND_CNAN): Likewise.
21930         (FP_TRUNC): Likewise.
21931         (__FP_CLZ): Likewise.
21932         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
21934 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
21936         * manual/string.texi (XPG basename): Fix prototype.
21938 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21940         [BZ #18080]
21941         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
21942         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
21943         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
21944         (__setcontext): Likewise.
21945         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
21946         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
21947         Call rt_sigprocmask syscall one time to set new signal mask
21948         and retrieve the current signal mask instead of two calls.
21949         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
21950         (__swapcontext): Likewise.
21951         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
21952         * stdlib/tst-setcontext2.c: New file.
21954 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21956         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21958 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
21960         [BZ #18093]
21961         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
21962         the wrong size.
21964 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
21966         [BZ #18043]
21967         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
21969 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21971         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
21972         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
21973         Remove define.
21974         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
21975         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
21976         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
21977         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
21978         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
21979         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
21980         define.
21981         * nptl_db/td_symbol_list.c (td_lookup): Remove
21982         HAVE_ASM_GLOBAL_DOT_NAME code.
21983         * sysdeps/powerpc/powerpc64/configure.ac: Remove
21984         HAVE_ASM_GLOBAL_DOT_NAME check.
21985         * sysdeps/powerpc/powerpc64/configure: Regenerate.
21986         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
21987         (DOT_LABEL): Remove define.
21988         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
21989         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
21990         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
21991         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
21992         (__TLS_GET_ADDR): Likewise.
21993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
21994         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
21996 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
21998         [BZ #18111]
21999         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
22000         (_FPU_SETCW): Initialize cw from fpsr before storing.
22001         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
22002         (fesetexceptflag): Rewrite using fpu_control.h.
22003         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
22005 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
22007         [BZ #18110]
22008         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
22009         asms.
22010         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22012 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
22014         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
22015         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
22016         abort.
22017         (_FP_FMA): Likewise.
22018         (_FP_DIV): Likewise.
22020 2015-03-10  Roland McGrath  <roland@hack.frob.com>
22022         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
22023         with 0 in that case.
22024         * Makefile (summarize-tests): New canned sequence, factored out of
22025         commands for targets tests and xtests.  Display summary lines that
22026         don't start with PASS: or XFAIL: rather than ones that do start with
22027         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
22028         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
22029         do start with ERROR: or FAIL:.
22030         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
22031         (except for [$(build-shared) = yes]).
22032         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
22033         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
22034         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
22035         * nptl/Makefile: Revert 2015-03-04 changes.
22036         [$(CXX) empty] (tests-unsupported): New variable.
22037         * debug/Makefile: Likewise.
22039         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
22040         gnulib file.  Replace __attribute with __attribute__ throughout.
22042 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
22044         * sysdeps/hppa/fpu/libm-test-ulps: Update.
22046 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22048         [BZ #18104]
22049         * math/auto-libm-test-in: Add another test of pow.
22050         * math/auto-libm-test-out: Regenerated.
22052 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22054         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
22055         $(config-cflags-nofma).
22057 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22059         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
22060         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
22061         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
22062         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
22063         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
22064         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
22065         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
22066         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
22067         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
22068         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
22069         Add comment on closing #endif.
22071 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22073         * posix/wordexp.c (CHAR_IN_SET): New macro.
22074         (parse_param): Use it.
22076 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22078         * sysdeps/powerpc/fpu/libm-test-ulps: update.
22080 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22082         [BZ #18043]
22083         * posix/wordexp.c (parse_param): Fix buffer overflow.
22084         * posix/wordexp-test.c (test_case): Add test case.
22086 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22088         [BZ #18042]
22089         * posix/wordexp.c (parse_backtick): Fix off-by-one.
22090         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
22092 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22094         [BZ #18043]
22095         * posix/wordexp-test.c (test_case): Add test for BZ #18043
22096         (do_bz18043): Delete.
22097         (at_page_end): New.
22098         (testit): Refactor to have words at the edge of unreadable page.
22100 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22102         [BZ #16734]
22103         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
22104         Cleanup read-only streams as well.
22105         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
22107 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22109         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
22110         <bits/libc-lockP.h>
22112 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
22114         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
22115         on [__KERNEL__].
22116         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
22117         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
22118         * soft-fp/op-common.h (_FP_DECL): Likewise.
22120 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
22122         * elf/ifuncdep2.c (global): Replace
22123         __attribute__((visibility("protected"))) with
22124         asm (".protected global").
22125         * elf/ifuncmod1.c (global): Likewise.
22126         * elf/ifuncmod5.c (global): Likewise.
22128 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
22130         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
22131         <asm/sfp-machine.h> instead of <sfp-machine.h>.
22133 2015-03-06  Roland McGrath  <roland@hack.frob.com>
22135         * manual/install.texi (Configuring and compiling):
22136         Document test-wrapper-env-only.
22137         * INSTALL: Regenerated.
22139 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22141         [BZ #18043]
22142         * posix/wordexp.c (parse_param): Fix buffer overflow.
22143         * posix/wordexp-test.c (do_bz18043): Add test case.
22145 2015-03-06  Vincent Bernat  <vincent@bernat.im>
22147         * time/tst-strptime2.c (do_test): Ensure failing tests are
22148         reported correctly.
22149         * time/tst-strptime3.c (do_test): Likewise.
22151 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
22153         Fix aio_error thread-safety.
22154         * sysdeps/pthread/aio_error.c: New file
22155         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
22156         synchronization.
22158 2015-03-06  Florian Weimer  <fweimer@redhat.com>
22160         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
22161         (group_number, vfprintf): Use it.
22162         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
22163         (JUMP, REF): Use it.
22164         (WORK_BUFFER_SIZE): New enum constant.
22165         (process_arg, vfprintf): Use it.
22167 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
22169         * manual/errno.texi (Error Messages): Complete example function
22170         by adding missing #define.
22171         (program_invocation_name): Add statement indicating GNU
22172         extension and reference which header file declares the variable.
22173         (program_invocation_short_name): Likewise.
22175 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
22177         * manual/errno.texi (Error Messages): Delete strerror ISO C89
22178         compatibility note.
22180 2015-03-05  Roland McGrath  <roland@hack.frob.com>
22182         * Makeconfig (test-wrapper-env-only): New variable.
22183         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
22184         then use that with $(test-wrapper-env-only) rather than using
22185         $(test-wrapper-env) $(run-program-env) $($*-ENV).
22187 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
22189         [BZ #18082]
22190         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
22191         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
22192         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
22193         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
22194         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
22195         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
22196         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
22197         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
22198         Likewise.
22199         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
22200         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
22201         Likewise.
22202         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
22203         Likewise.
22204         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
22205         Likewise.
22206         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
22207         Likewise.
22208         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
22209         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
22210         Likewise.
22211         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
22212         Likewise.
22213         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
22214         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
22216 2015-03-04  Roland McGrath  <roland@hack.frob.com>
22218         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
22219         (ETH_ALEN): New macro.
22220         (struct ether_addr): Use it for length of ether_addr_octet.
22222         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
22223         (setdb): Don't call __nss_configure_lookup for "rpc".
22224         (do_test): Don't call test_rpc.
22225         (output_rpcent, test_rpc): Functions moved ...
22226         * sunrpc/test-rpcent.c: ... to this new file.
22227         * sunrpc/Makefile (tests): Add it.
22229         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
22230         __xpg_sigpause.
22231         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
22232         * nptl/tst-signal6.c: Likewise.
22233         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
22234         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
22236         * configure.ac (libc_cv_cxx_link_ok): New check.
22237         Reset CXX to empty if it fails to link.
22238         * configure: Regenerated.
22239         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
22240         bug-atexit3-lib only if $(CXX) is nonempty.
22241         * nptl/Makefile (tests): Likewise for tst-cancel24.
22242         (tests, tests-static): Likewise for tst-cancel24-static.
22243         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
22244         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
22245         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
22246         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
22248 2015-03-04  Andreas Schwab  <schwab@suse.de>
22250         [BZ #17631]
22251         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
22252         for non-GCC compilers.
22253         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22254         Likewise.
22256 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22258         [BZ #17776]
22259         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
22260         integer before bitwise and assembly operations.
22261         (feclearexcept): Likewise.
22262         * math/test-fenvinline.c: New file.
22263         * math/Makefile: Add test-fenvinline test.
22265 2015-03-03  Alan Modra  <amodra@gmail.com>
22267         [BZ #16512]
22268         * scripts/localplt.awk: Strip off symbol version.
22269         * NEWS: Mention bug fix.
22271 2015-03-02  Roland McGrath  <roland@hack.frob.com>
22273         * sysdeps/pthread/timer_routines.c
22274         (timer_free_list, thread_free_list, thread_active_list): Make static.
22276 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
22278         [BZ #17779]
22279         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22280         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22281         Undefine.
22282         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22283         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22284         Likewise.
22285         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22286         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22287         Likewise.
22289 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
22291         [BZ #18036]
22292         * posix/fnmatch_loop.c (END): Detect invalid pattern.
22293         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
22295 2015-03-02  Andreas Schwab  <schwab@suse.de>
22297         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
22298         variable name.
22300 2015-03-02  Florian Weimer  <fweimer@redhat.com>
22302         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
22303         Return error status.
22305 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
22307         [BZ #15969]
22308         * locale/findlocale.c (_nl_find_locale): Introduce const
22309         version of loc_name and drop unsafe type casts.
22311 2015-02-27  Roland McGrath  <roland@hack.frob.com>
22313         * dlfcn/tststatic2.c (main): Converted to ...
22314         (do_test): ... this.
22315         (TEST_FUNCTION): New macro.
22316         Include test-skeleton.c.
22318 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
22320         [BZ #17711]
22321         * elf/Makefile (tests): Add vismain only if PIE is enabled.
22322         (tests-pie): Add vismain.
22323         (CFLAGS-vismain.c): New.
22324         * elf/vismain.c: Add comments for PIE requirement.
22326 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22328         [BZ #18046]
22329         [BZ #18047]
22330         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
22331         0x1p-56L as threshold for just returning the argument.
22332         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
22333         0x1p-32L as threshold for just returning the argument.
22334         * math/auto-libm-test-in: Add more tests of atanh.
22335         * math/auto-libm-test-out: Regenerated.
22336         * sysdeps/i386/fpu/libm-test-ulps: Update.
22337         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
22339 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22341         * string/bcopy.c (bcopy): Call memmove for performance.
22343 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22345         * string/bzero.c (__bzero): Call memset for performance.
22347 2015-02-27  John David Anglin  <dave.anglin@bell.net>
22349         [BZ #18068]
22350         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
22351         to 00100000.
22353 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22355         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
22357 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22359         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
22360         (__kernel_standard): Use CSTR macro when setting exc.name.
22361         * sysdeps/ieee754/Makefile [$(subdir) = math]
22362         (CFLAGS-k_standard.c): Remove variable.
22364         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
22365         setting p and q from "else if" to "else".
22366         (qzero): Likewise.
22367         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
22368         (qone): Likewise.
22369         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
22370         (qzerof): Likewise.
22371         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
22372         (qonef): Likewise.
22373         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
22374         (qzero): Likewise.
22375         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
22376         (qone): Likewise.
22378         [BZ #18038]
22379         [BZ #18039]
22380         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
22381         return pi/2 for arguments below 0x1p-113L.
22382         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
22383         return pi/2 for arguments below 0x1p-106L.
22384         * math/auto-libm-test-in: Add more tests of acos.
22385         * math/auto-libm-test-out: Regenerated.
22387         [BZ #16351]
22388         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
22389         (MO): New macro.
22390         (__ieee754_asin): Force underflow exception for results with small
22391         absolute value.
22392         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
22393         (MO): New macro.
22394         (__ieee754_asinf): Force underflow exception for results with
22395         small absolute value.
22396         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
22397         (__ieee754_asin): Force underflow exception for results with small
22398         absolute value.
22399         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
22400         (__ieee754_asinf): Force underflow exception for results with
22401         small absolute value.
22402         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
22403         (__ieee754_asinl): Force underflow exception for results with
22404         small absolute value.
22405         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
22406         (__ieee754_asinl): Force underflow exception for results with
22407         small absolute value.
22408         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
22409         (__ieee754_asinl): Force underflow exception for results with
22410         small absolute value.
22411         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
22412         Include <math.h>.
22413         * math/auto-libm-test-in: Do not mark underflow exceptions as
22414         possibly missing for bug 16351.
22415         * math/auto-libm-test-out: Regenerated.
22417         [BZ #18030]
22418         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
22419         of power of 2 down when low part has opposite sign.
22420         * math/libm-test.inc (logb_test_data): Add more tests.
22422 2015-02-26  Andreas Schwab  <schwab@suse.de>
22424         [BZ #18032]
22425         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
22426         over collating symbol inside a bracket expression.  Minor cleanup.
22427         * posix/tst-fnmatch3.c (do_test): Add test case.
22429 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22431         [BZ #18029]
22432         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
22433         Adjust exponent of power of 2 down when low part has opposite
22434         sign.
22435         * math/libm-test.inc (ilogb_test_data): Add more tests.
22437 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
22439         [BZ #15969]
22440         * locale/findlocale.c (_nl_find_locale): Fix constness error in
22441         the previous change.
22443         [BZ #15969]
22444         * locale/findlocale.c (_nl_find_locale): Retry archive search
22445         after alias expansion.
22447 2015-02-25  Roland McGrath  <roland@hack.frob.com>
22449         * iconv/tst-iconv3.c (main): Converted to ...
22450         (do_test): ... this.
22451         (TEST_FUNCTION): New macro.
22452         Include test-skeleton.c.
22454         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
22455         (convert): Make function static.
22456         (test_unalign): Likewise.  Add const to argument pointee types.
22457         (main): Replace with static function do_test.
22458         Print "Succeeded." only if RET is zero.
22459         (TEST_FUNCTION): New macro.
22460         Include test-skeleton.c.
22462         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
22463         returns a null pointer.
22465 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22467         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
22468         to __memcpy_ppc only for static builds.
22470 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
22472         [BZ #18020]
22473         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
22474         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
22475         * math/auto-libm-test-in: Add more tests of asinh.
22476         * math/auto-libm-test-out: Regenerated.
22477         * sysdeps/i386/fpu/libm-test-ulps: Update.
22478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22480 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
22482         [BZ #15850]
22483         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
22484         and ip6_mtuinfo definitions here.
22485         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
22486         in this define too.  Update comment.
22488 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
22490         * elf/sprof.c (load_shobj): Tweak error message to match others.
22492 2015-02-24  Kevin Easton  <kevin@guarana.org>
22494         [BZ #16145] (partial fix)
22495         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
22496         to reduce lock contention.
22498 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
22500         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
22501         (struct timex): Update time comment.
22502         (ADJ_SETOFFSET): Define.
22504 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
22506         [BZ #18019]
22507         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22508         2**56 not 2**28 as threshold for log (2x) formula.
22509         * math/auto-libm-test-in: Add more tests of acosh.
22510         * math/auto-libm-test-out: Regenerated.
22511         * sysdeps/i386/fpu/libm-test-ulps: Update.
22512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22514 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
22516         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
22517         parenthesis around the buf assignment.
22518         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
22520 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
22522         [BZ #16783]
22523         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
22524         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
22525         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
22526         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
22527         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
22528         * math/libm-test.inc (scalb_test_data): Add more tests.
22530 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
22532         [BZ #17916]
22533         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
22534         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
22536 2015-02-24  Eric Rannaud  <e@nanocritical.com>
22538         [BZ #17523]
22539         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
22540         * io/bits/fcntl2.h (open): Use it.
22541         (openat): Likewise.
22542         * io/open.c (__libc_open): Likewise.
22543         * io/open64.c (__libc_open64): Likewise.
22544         * io/open64_2.c (__open64_2): Likewise.
22545         * io/open_2.c (__open_2): Likewise.
22546         * io/openat.c (__openat): Likewise.
22547         * io/openat64.c (__openat64): Likewise.
22548         * io/openat64_2.c (__openat64_2): Likewise.
22549         * io/openat_2.c (__openat_2): Likewise.
22550         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
22551         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
22552         * sysdeps/posix/open64.c (__libc_open64): Likewise.
22553         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
22554         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
22555         (__open_nocancel): Likewise.
22556         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
22557         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
22558         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
22560 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22562         [BZ #14841]
22563         * resolv/gethnamaddr.c (getanswer): Skip logging if
22564         RES_USE_DNSSEC is set.
22565         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22567 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
22569         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
22571 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
22573         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
22574         201304L, for Unicode 7.
22576 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
22578         [BZ #17836]
22579         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
22580         shared library.  Add gmon-start.os otherwise.
22581         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
22582         $(objpfx)gmon-start.os if builing shared library.
22583         ($(objpfx)g$(static-start-installed-name)): Likewise.
22585 2015-02-23  Andreas Schwab  <schwab@suse.de>
22587         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
22589 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
22591         [BZ #17269]
22592         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
22593         (enlarge_userbuf): Likewise.
22595 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
22597         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
22598         * math/atest-exp.c (TIMEOUT): Adjust to 200.
22599         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
22600         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
22602 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
22604         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
22605         expression inside statement expression.
22607 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
22609         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
22610         <sysdeps/nptl/lowlevellock.h> and remove macros and
22611         functions that are now defined there.
22612         (SYS_futex): Remove.
22613         (lll_compare_and_swap): Remove.
22614         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
22616 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
22618         [BZ #17999]
22619         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
22620         instead of scandirat.
22621         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
22622         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
22623         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
22624         __scandirat.
22625         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
22626         (__scandirat): Declare.  Use libc_hidden_proto.
22627         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
22628         Remove variable.
22629         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
22631 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
22633         [BZ #15319]
22634         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
22635         (MO): New macro.
22636         (__ieee754_atan2): For results with small absolute value, force
22637         underflow exception and remove excess range and precision from
22638         return value.
22639         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
22640         (MO): New macro.
22641         (__ieee754_atan2f): For results with small absolute value, force
22642         underflow exception and remove excess range and precision from
22643         return value.
22644         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
22645         (MO): New macro.
22646         (__atan): For results with small absolute value, force underflow
22647         exception and remove excess range and precision from return value.
22648         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
22649         (MO): New macro.
22650         (__atanf): For results with small absolute value, force underflow
22651         exception and remove excess range and precision from return value.
22652         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
22653         <math.h>.
22654         (__ieee754_atan2): Force underflow exception for results with
22655         small absolute value.
22656         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
22657         <math_private.h>.
22658         (atan): Force underflow exception for results with small absolute
22659         value.
22660         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
22661         (__atanf): Force underflow exception for results with small
22662         absolute value.
22663         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
22664         <math.h>.
22665         (__atanl): Force underflow exception for results with small
22666         absolute value.
22667         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
22668         (__atanl): Force underflow exception for results with small
22669         absolute value.
22670         * sysdeps/x86/fpu/bits/mathinline.h
22671         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
22672         (__ieee754_atan2): Only define inline for long double.
22673         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
22674         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
22675         * math/auto-libm-test-in: Do not mark underflow exceptions as
22676         possibly missing for bug 15319.  Add more tests of atan2.
22677         * math/auto-libm-test-out: Regenerated.
22678         * math/libm-test.inc (casin_test_data): Do not mark underflow
22679         exceptions as possibly missing for bug 15319.
22680         (casinh_test_data): Likewise.
22681         * sysdeps/i386/fpu/libm-test-ulps: Update.
22683 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
22685         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
22686         * sysdeps/mips/bits/endian.h: Fix comments.
22688 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
22690         [BZ #17996]
22691         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
22692         (hdestroy_r): Likewise.
22693         (hsearch_r): Likewise.
22694         (__hcreate_r): Declare and use libc_hidden_proto.
22695         (__hdestroy_r): Likewise.
22696         (__hsearch_r): Likewise.
22697         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
22698         (hcreate): Call __hcreate_r instead of hcreate_r.
22699         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
22700         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
22701         as weak alias of __hcreate_r.
22702         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
22703         __hdestroy_r.
22704         (hsearch_r): Rename to __hsearch_r and define as weak alias of
22705         __hsearch_r.
22706         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
22707         Remove variable.
22708         (test-xfail-XPG4/search.h/linknamespace): Likewise.
22709         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
22710         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
22711         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
22713 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22715         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
22716         arena_lock into a single arena_get.
22718 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
22720         * dl-reloc.c: Inlucde libc-internal.h.
22721         (_dl_try_allocate_static_tls): Call ALIGN_UP.
22722         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
22723         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
22724         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
22725         (grow_heap): Likewise.
22726         * malloc/malloc.c: Include libc-internal.h.
22727         (do_check_malloc): Call powerof2.
22728         (sysmalloc): Use pagesize. Call ALIGN_UP.
22729         (systrim): Use pagesize.
22730         (mremap_chunk): Use pagesize. Call ALIGN_UP.
22731         (__libc_valloc): Use pagesize.
22732         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
22734 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
22736         [BZ #17991]
22737         * include/sys/resource.h (__getrlimit64): Declare.  Use
22738         libc_hidden_proto.
22739         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
22740         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
22741         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
22742         getrlimit64.
22743         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
22744         __getrlimit64.
22745         [!getrlimit64] (getrlimit64): Define as weak alias of
22746         __getrlimit64.  Use libc_hidden_weak.
22747         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
22748         using __getrlimit64 not __new_getrlimit64.
22749         (__GI_getrlimit64): Likewise.
22750         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
22751         Likewise.
22752         (__GI_getrlimit64): Likewise.
22753         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
22754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
22755         (getrlimit): Add __getrlimit64 alias.
22756         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
22757         Likewise.
22758         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
22759         Remove variable.
22760         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
22761         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
22763 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
22765         * libio/fileops.c: Add missing sys/mman.h
22766         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
22768 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
22770         * manual/math.texi (Errors in Math Functions): Clarify goals
22771         regarding inexact and underflow exceptions.
22773 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
22775         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
22776         * sysdeps/mips/memset.S: Ditto.
22778 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
22780         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
22782 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22784         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
22785         (__v1longjmp): Remove versioned symbol.
22786         (__v1siglongjmp): Remove alias and versioned symbol.
22787         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
22788         (__v2siglongjmp): Likewise.
22790 2015-02-16  Torvald Riegel  <triegel@redhat.com>
22792         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
22794 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
22796         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
22798 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
22800         [BZ #17987]
22801         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
22802         zero result does not depend on the sign resulting from
22803         subtraction.
22804         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22805         Likewise.
22806         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
22807         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
22808         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22809         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
22810         * math/libm-test.inc (remquo_test_data): Add more tests.
22812 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
22814         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
22815         Problem reported by J William Piggott.
22817 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
22819         [BZ #17978]
22820         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
22821         products 4 * y and 2 * y where those would overflow.
22822         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22823         Likewise.
22824         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
22825         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
22826         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22827         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
22828         * math/libm-test.inc (remquo_test_data): Add more tests.
22830         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
22832         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
22833         [defined _COMPILING_NEWLIB].
22834         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
22835         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
22837         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
22838         [!defined __mips_isa_rev || __mips_isa_rev < 6].
22840 2015-02-16  Torvald Riegel  <triegel@redhat.com>
22842         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
22843         acquired.
22845 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
22847         [BZ #17792]
22848         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
22849         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
22850         HOST_STACK_END_ADDR): Likewise.
22852 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
22854         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
22855         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
22856         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
22858 2015-02-13  Roland McGrath  <roland@hack.frob.com>
22860         * sysdeps/generic/c++-types.data: New file.
22861         * sysdeps/generic/ld.abilist: New file.
22862         * sysdeps/generic/libBrokenLocale.abilist: New file.
22863         * sysdeps/generic/libanl.abilist: New file.
22864         * sysdeps/generic/libc.abilist: New file.
22865         * sysdeps/generic/libcrypt.abilist: New file.
22866         * sysdeps/generic/libdl.abilist: New file.
22867         * sysdeps/generic/libm.abilist: New file.
22868         * sysdeps/generic/libpthread.abilist: New file.
22869         * sysdeps/generic/libresolv.abilist: New file.
22870         * sysdeps/generic/librt.abilist: New file.
22872 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
22874         [BZ #17569]
22875         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22876         Compute absolute value of x as modified by fmod, not original
22877         value of x.
22878         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
22879         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
22880         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
22881         RUN_TEST_ffI_f1_mod8.
22882         (remquo_test_data): Add more tests.
22884 2015-02-13  Roland McGrath  <roland@hack.frob.com>
22886         * sysdeps/init_array/pt-crti.S: New file.
22888 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
22890         [BZ #17967]
22891         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
22892         __builtin_fmaf instead of relying on contraction of a * b + c.
22894 2015-02-12  J William Piggott  <elseifthen@gmx.com>
22896         [BZ #17969]
22897         * manual/time.texi: correct the zoneinfo path in the TZ Variable
22898         node.
22900 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
22902         [BZ #17964]
22903         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
22904         __builtin_fma instead of relying on contraction of a * b + c.
22906 2015-02-12  Roland McGrath  <roland@hack.frob.com>
22908         * Makeconfig (ASFLAGS): Add -Werror=undef.
22909         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
22910         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
22911         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
22913         * Makeconfig (after-link): New variable.
22914         (+link-pie, +link-pie-tests): Use it.
22915         (+link-static, +link-static-tests): Likewise.
22916         (+link, +link-tests): Likewise.
22917         * Makerules (build-module, build-module-asneeded): Likewise.
22918         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
22919         Likewise.
22920         * elf/Makefile ($(objpfx)ld.so): Likewise.
22922 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
22924         [BZ #17965]
22925         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
22926         both struct timeval and struct timespec.
22928 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
22930         [BZ #16560]
22931         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22932         and redefine.
22933         (__ieee754_exp2l): Do not multiply small fractional parts by
22934         M_LN2l.
22935         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
22936         small argument.
22937         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22938         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22939         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
22940         * math/auto-libm-test-in: Add more tests of exp2.
22941         * math/auto-libm-test-out: Regenerated.
22943 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22945         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
22946         unaligned path.
22948 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22950         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
22951         little endian.
22953 2015-02-12  Andreas Schwab  <schwab@suse.de>
22955         [BZ #15790]
22956         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
22957         Filter out elision flags from value returned in kind.
22958         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
22959         * nptl/tst-pthread-mutexattr.c: New file.
22961 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22963         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
22964         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
22965         into gnu-gnu, and update comment to refer to abi-tags.
22967 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
22969         [BZ #15467]
22970         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
22971         (__sincos): Set errno to EDOM for infinite argument.
22972         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
22973         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
22974         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
22975         (__sincosl): Set errno to EDOM for infinite argument.
22976         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
22977         (__sincosl): Set errno to EDOM for infinite argument.
22978         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
22979         (__sincosl): Set errno to EDOM for infinite argument.
22980         * math/libm-test.inc (sincos_test_data): Test errno setting.
22982 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
22984         * string/strxfrm_l.c: Remove #define STRCMP.
22985         * string/strcoll_l.c: Remove #define STRLEN.
22986         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
22987         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
22989 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
22991         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
22992         * sysdeps/mips/mips32/sfp-machine.h: ... here.
22993         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
22994         * sysdeps/mips/mips64/Makefile: ... here.
22995         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
22996         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
22997         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
22998         * sysdeps/mips/mips64/sfp-machine.h: ... here.
22999         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
23000         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
23001         * sysdeps/mips/mips64/n64/Implies: Likewise.
23003 2015-02-10  Roland McGrath  <roland@hack.frob.com>
23005         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
23006         <sys/time.h>, <string.h>, and <errno.h>.
23007         (dest_offset, dest_address, value, zero): Remove unused variables.
23008         (ldouble): Remove typedef.
23009         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
23010         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
23011         1).  Fix code style.
23012         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
23013         (check): Function removed.
23014         (CHECK): New macro.
23015         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
23016         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
23017         Don't call set_sigaction_FP and remove_sigaction_FP here.
23018         (ldouble_test): Just use 'long double' as macro argument, no need for
23019         the 'ldouble' typedef.
23020         (do_test): Set up SIGFPE handler at start, using plain signal rather
23021         than sigaction.  Fix code style.
23023 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
23025         [BZ #17949]
23026         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
23027         jump label.
23029 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23031         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
23032         * sysdeps/powerpc/powerpc32/configure: Regenerated.
23034         * sysdeps/powerpc/configure.ac: Remove file.
23035         * sysdeps/powerpc/configure: Likewise.
23037         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23038         [sysdep_routines]: Remove wordcopy-power6 object.
23039         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
23040         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
23041         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
23042         (__memmove_ppc32): Likewise.
23043         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
23044         file.
23045         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
23046         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
23047         Remove preprocessor.
23049         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23050         [sysdep_routines]: Remove wide chars objects.
23051         [wcsmbs]: New rule for wide char objects.
23053         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23054         Remove wordcopy-power6 obejct.
23055         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
23056         Use local call for wordcopy and memcpy symbols.
23057         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
23058         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
23059         implementation for loader.
23060         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
23062         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23063         Remove wordcopy-power7 object.
23064         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
23065         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
23066         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
23067         (_wordcopy_fwd_dest_aligned): Likewise.
23068         (_wordcopy_bwd_aligned): Likewise.
23069         (_wordcopy_bwd_dest_aligned): Likewise.
23071         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
23072         Rewrite to call __memmove_ppc instead of include default
23073         implementation.
23075         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23076         Remove wide chars objects.
23077         [wcsmbs]: New rule for wide char objects.
23079 2015-02-09  Andreas Schwab  <schwab@suse.de>
23081         [BZ #17912]
23082         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23083         in terms of __O_DIRECTORY.
23085 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23087         * time/getdate.c: Include <stdbool.h>.
23088         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
23089         call PTR_MANGLE.
23090         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
23091         PTR_DEMANGLE.
23093 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
23095         Add ersatz _Static_assert on older C hosts
23096         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
23097         pre-C11 C platform that is not known to support _Static_assert.
23099 2015-02-07  Richard Braun  <rbraun@sceen.net>
23101         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
23102         sigstate.
23103         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
23105 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23107         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
23108         priority against unexistent AIO_PRIO_DELTA_MAX.
23109         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
23110         instead of int.
23111         * misc/fchflags.c (fchflags): Likewise.
23112         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
23113         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
23114         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
23115         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
23116         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
23117         Declare macros.
23118         [__USE_MISC] (chflags, fchflags): Declare functions.
23119         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
23120         EINVAL when nfds is greater than FD_SETSIZE.
23121         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
23122         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
23123         45.
23124         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
23125         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
23126         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
23127         MACH_RCV_TIMED_OUT.
23128         * hurd/hurd/signal.h (_hurd_self_sigstate,
23129         _hurd_critical_section_lock, _hurd_critical_section_unlock):
23130         Explicit casts from void *.
23131         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
23132         * abi-tags: Rename gnu-gnu os into gnu.
23134         [BZ #4719]
23135         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
23136         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
23137         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
23138         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
23139         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
23140         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
23142         [BZ #17944]
23143         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
23144         duplicates ADDR->sun_path with sockaddr LEN limitation.
23145         * sysdeps/mach/hurd/connect.c: Include <string.h>
23146         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
23147         * sysdeps/mach/hurd/sendmsg.c: Likewise.
23148         * sysdeps/mach/hurd/sendto.c: Likewise.
23149         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
23150         implementing it by hand.
23152 2015-02-06  Roland McGrath  <roland@hack.frob.com>
23154         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
23155         Use sfi_breg on ldr.
23156         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
23157         Likewise.
23159         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
23160         it's defined.
23161         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
23162         Test SIGSETXID only if it's defined.
23164         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
23166         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
23167         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
23169         * nptl/tst-align2.c: Moved ...
23170         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
23171         * nptl/Makefile (tests): Remove tst-align2.
23172         * sysdeps/unix/sysv/linux/Makefile
23173         [$(subdir) = nptl] (tests): Add tst-align-clone.
23174         * nptl/tst-getpid1.c: Moved ...
23175         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
23176         * nptl/tst-getpid2.c: Moved ...
23177         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
23178         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
23179         * sysdeps/unix/sysv/linux/Makefile
23180         [$(subdir) = nptl] (tests): ... here.
23181         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
23182         * sysdeps/unix/sysv/linux/Makefile
23183         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
23185         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
23186         Drop trailing \n from perror argument.  Use return rather than exit.
23188         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
23189         on [SA_SIGINFO].
23190         * nptl/tst-cancel21.c (do_test): Likewise.
23191         * debug/tst-backtrace6.c: Include <signal.h> first thing.
23192         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
23193         [!SA_SIGINFO]: Make it a stub test.
23195         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
23196         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
23198         * posix/tst-getlogin.c: Move to ...
23199         * login/tst-getlogin.c: ... here.
23200         * posix/Makefile (tests): Move tst-getlogin to ...
23201         * login/Makefile (tests): ... here.
23203         * libio/tst-atime.c (do_test): Move local variables SV and E
23204         inside [ST_NOATIME] conditional.
23206         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
23208         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
23210         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
23211         (wait_code): New function replaces macro.
23212         Call nanosleep rather than syscall.
23214         * nptl/pt-system.c: Rewritten.  Put everything under
23215         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23216         Use IFUNC to redirect when possible.
23218         * nptl/pt-longjmp.c: Rewritten.  Put everything under
23219         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23220         Use IFUNC to redirect when possible.
23222         * nptl/pt-fork.c: Rewritten.  Put everything under
23223         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23224         Use IFUNC to redirect when possible.
23225         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
23227         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
23228         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
23229         unconditionally nowadays.  This included the only reference to
23230         __vdso_clock_gettime that appears outside libc proper.
23231         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
23232         Remove version set (containing only __vdso_clock_gettime).
23233         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
23234         Add attribute_hidden.
23235         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
23236         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
23237         libc_hidden_data_def.
23238         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23239         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23241         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
23242         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
23243         setrpcent, and getrpcport to ...
23244         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
23245         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
23246         getrpcbynumber_r, and getrpcent_r to ...
23247         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
23248         * inet/getrpcbyname.c: Moved ...
23249         * sunrpc/getrpcbyname.c: ... here.
23250         * inet/getrpcbyname_r.c: Moved ...
23251         * sunrpc/getrpcbyname_r.c: ... here.
23252         * inet/getrpcbynumber.c: Moved ...
23253         * sunrpc/getrpcbynumber.c: ... here.
23254         * inet/getrpcbynumber_r.c: Moved ...
23255         * sunrpc/getrpcbynumber_r.c: ... here.
23256         * inet/getrpcent.c: Moved ...
23257         * sunrpc/getrpcent.c: ... here.
23258         * inet/getrpcent_r.c: Moved ...
23259         * sunrpc/getrpcent_r.c: ... here.
23260         * inet/Makefile (routines): Move those to ...
23261         * sunrpc/Makefile (routines): ... here.
23262         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
23263         the $(subdirs) list.
23264         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
23265         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
23266         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
23267         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
23269         * elf/Makefile (routines): Include $(all-dl-routines), not just
23270         $(dl-routines).
23271         (rtld-routines): Likewise.  Use = rather than :=.
23272         * sysdeps/aarch64/Makefile [$(subdir) = elf]
23273         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
23274         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
23275         * sysdeps/arm/Makefile: Likewise.
23276         * sysdeps/i386/Makefile: Likewise.
23277         * sysdeps/x86_64/Makefile: Likewise.
23278         * sysdeps/hppa/Makefile [$(subdir) = elf]
23279         (sysdep_routines, sysdep-rtld-routines): Don't add
23280         $(sysdep-dl-routines) to these.
23281         * sysdeps/ia64/Makefile: Likewise.
23282         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
23283         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
23284         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
23285         Don't add dl-static to these; sysdep-dl-routines alone is enough.
23286         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
23287         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
23288         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
23289         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
23290         * sysdeps/powerpc/Makefile [$(subdir) = elf]
23291         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
23292         these; sysdep-dl-routines alone is enough.
23294 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
23296         [BZ #17932]
23297         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
23298         where multiplication results in zero and third argument is finite
23299         and nonzero.
23300         * math/auto-libm-test-in: Add more tests of fma.
23301         * math/auto-libm-test-out: Regenerated.
23303         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
23304         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
23305         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
23306         (_FP_CMP_EQ): Likewise.
23307         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
23309         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
23310         extra argument CHECK_NAN.  Redefine as wrapper around
23311         _FP_EXTEND_CNAN.
23313 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
23315         * version.h (RELEASE): Set to "stable".
23316         (VERSION): Set to "2.21"
23317         * include/features.h (__GLIBC_MINOR__): Set to 21.
23319         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
23321 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23322             Paul Eggert  <eggert@cs.ucla.edu>
23324         [BZ #16618]
23325         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
23326         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
23327         size in bytes. Store needed elements in wpmax. Use needed size
23328         in bytes for extend_alloca.
23330 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
23332         * manual/install.texi: Latest tested versions are GCC 4.9.2,
23333         binutls 2.25, and texinfo 5.2.
23334         * INSTALL: Regenerate.
23335         * sysdeps/nios2/configure: Regenerate.
23336         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
23337         * manual/contrib.texi: Update.
23338         * po/be.po: Update.
23339         * po/bg.po: Update.
23340         * po/ca.po: Update.
23341         * po/cs.po: Update.
23342         * po/da.po: Update.
23343         * po/de.po: Update.
23344         * po/el.po: Update.
23345         * po/eo.po: Update.
23346         * po/es.po: Update.
23347         * po/fi.po: Update.
23348         * po/fr.po: Update.
23349         * po/gl.po: Update.
23350         * po/hr.po: Update.
23351         * po/hu.po: Update.
23352         * po/ia.po: Update.
23353         * po/id.po: Update.
23354         * po/it.po: Update.
23355         * po/ja.po: Update.
23356         * po/ko.po: Update.
23357         * po/lt.po: Update.
23358         * po/nb.po: Update.
23359         * po/nl.po: Update.
23360         * po/pl.po: Update.
23361         * po/pt_BR.po: Update.
23362         * po/ru.po: Update.
23363         * po/rw.po: Update.
23364         * po/sk.po: Update.
23365         * po/sl.po: Update.
23366         * po/sv.po: Update.
23367         * po/tr.po: Update.
23368         * po/uk.po: Update.
23369         * po/vi.po: Update.
23370         * po/zh_CN.po: Update.
23371         * po/zh_TW.po: Update.
23373         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
23374         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
23375         * sysdeps/hppa/dl-irel.h: Remove #warning.
23376         * sysdeps/hppa/entry.h: Provide prototype for
23377         __canonicalize_funcptr_for_compare and cast argument.
23378         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
23379         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
23380         * sysdeps/hppa/sotruss-lib.c: New file.
23381         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
23382         (atomic_compare_and_exchange_val_acq): Use __typeof__.
23383         (atomic_compare_and_exchange_bool_acq): Likewise.
23384         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
23385         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
23387         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
23388         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
23389         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
23391 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
23393         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
23394         called function in non-PIC case.
23396 2015-01-31  David S. Miller  <davem@davemloft.net>
23398         * sysdeps/sparc/sparc32/bits/atomic.h
23399         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
23400         unlock not after it.
23401         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
23402         volatile register usage warnings from the compiler.
23404         * sysdeps/sparc/nptl/sem_init.c: Delete.
23405         * sysdeps/sparc/nptl/sem_post.c: Delete.
23406         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
23407         * sysdeps/sparc/nptl/sem_wait.c: Delete.
23408         * sysdeps/sparc/sparc32/sem_init.c: New file.
23409         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
23410         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
23411         padding explicitly initialized.
23412         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
23413         padding for in-semaphore spinlock.
23414         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
23415         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
23416         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
23417         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
23418         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
23419         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
23420         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
23421         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
23422         version.
23423         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
23424         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
23426 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
23428         [BZ #17801]
23429         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23430         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
23431         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
23432         New.
23433         (index_AVX_Fast_Unaligned_Load): Likewise.
23434         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
23435         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
23436         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
23437         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
23438         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
23439         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
23440         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
23441         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
23442         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
23444 2015-01-29  Andreas Schwab  <schwab@suse.de>
23446         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
23448 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
23450         [BZ #17892]
23451         * nscd/nscd_stat.c (send_stats): Initialize DATA.
23453 2015-01-28  Martin Sebor  <msebor@redhat.com>
23455         * math/README.libm-test: Clarify. Add "How to read the test output."
23457 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
23459         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
23460         Define to 0.
23462 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
23464         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
23465         (__HAVE_64B_ATOMICS): Define to 0.
23467 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23469         [BZ #17885]
23470         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
23471         value to set as new flag.
23473         [BZ #16576]
23474         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
23475         and use _ARCH_PPCSQ instead.
23476         (__ieee754_sqrt): Likewise.
23477         (__ieee754_sqrtf): Likewise.
23478         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
23479         _ARCH_PPCSQ is defined.
23480         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
23481         fsqrt instruction.
23482         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
23483         _ARCH_PPCSQ is defined.
23484         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
23485         fsqrts instruction.
23486         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
23488 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23490         * iconv/loop.c: Suppress array out of bound warning caused by GCC
23491         bug (GCC BZ #64739).
23493 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
23495         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
23496         Mark _retval as used.
23497         (lll_futex_wake_unlock): Likewise.
23498         (lll_futex_timed_wait_requeue_pi): Likewise.
23500         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
23501         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
23502         register variables.
23504         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
23505         libm_hidden_def.
23507         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
23508         (__bswap_64): Mark as __always_inline.
23510 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
23512         [BZ #15378]
23513         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
23514         when none of the search directories exist.
23516 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23518         [BZ #17869]
23519         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
23520         power8 in .machine directive.
23522         [BZ #17868]
23523         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
23524         set dependency from opd value.
23526 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
23528         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23529         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
23530         architecture.
23532 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
23534         [BZ #17870]
23535         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
23536         with uint64_t.
23537         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
23538         (uint64_t) 1.
23539         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
23540         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
23541         Replace 1UL with (uint64_t) 1.
23542         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
23543         int with uint64_t.
23545 2015-01-23  Roland McGrath  <roland@hack.frob.com>
23547         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
23548         (if_freenameindex): Likewise.
23550         * resource/getrlimit64.c: Add missing libc_hidden_def.
23552 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
23554         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
23555         __label__.
23556         (_FP_FMA): Likewise.
23557         (_FP_TO_INT_ROUND): Likewise.
23558         (_FP_FROM_INT): Likewise.
23560 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23562         [BZ #16418]
23563         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
23564         Make code racy and cancel safe.
23566 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
23568         * sysdeps/arm/unwind-resume.h: Fix copyright year.
23569         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
23570         attribution.
23572         * pwd/tst-getpw.c: Rewrite.
23574         [BZ #17702]
23575         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
23576         (modules-names): Add moddummy1 and moddummy2.
23577         ($(objpfx)tst-rec-dlopen): Define.
23578         * dlfcn/moddummy1.c: New file.
23579         * dlfcn/moddummy2.c: New file.
23580         * dlfcn/tst-rec-dlopen.c: New file.
23581         * elf/dl-cache.c (_dl_load_cache_lookup):
23582         Return char*. Copy result with alloca/strcpy/strdup.
23583         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
23584         returns char*. Free cached. If not saving realname
23585         free cached.
23586         * elf/dl-open.c (dl_open_worker): Do not assert that
23587         _r_debug->r_state is RT_CONSISTENT.
23588         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
23589         returns char*.
23591 2015-01-21  Torvald Riegel  <triegel@redhat.com>
23592             Carlos O'Donell  <carlos@redhat.com>
23594         [BZ #12674]
23595         * nptl/sem_waitcommon.c: New file.
23596         * nptl/sem_wait.c: Include sem_waitcommon.c.
23597         (__sem_wait_cleanup, do_futex_wait): Remove.
23598         (__new_sem_wait): Adapt.
23599         (__new_sem_trywait): New function.
23600         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
23601         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
23602         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
23603         (sem_timedwait): Adapt.
23604         * nptl/sem_post.c (__new_sem_post): Adapt.
23605         (futex_wake): New function.
23606         (__old_sem_post): Add release MO fence.
23607         * nptl/sem_open.c (sem_open): Adapt.
23608         * nptl/sem_init.c (__new_sem_init): Adapt.
23609         (futex_private_if_supported): New function.
23610         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
23611         (__old_sem_getvalue): Add using previous code.
23612         * sysdeps/nptl/internaltypes.h: Adapt.
23613         * nptl/tst-sem13.c (do_test): Adapt.
23614         * nptl/tst-sem11.c (main): Adapt.
23615         * nptl/sem_trywait.c: Remove.
23616         * nptl/DESIGN-sem.txt: Remove.
23617         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
23618         (gen-as-const-headers): Remove structsem.sym.
23619         * nptl/structsem.sym: Remove.
23620         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
23621         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
23622         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
23623         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
23624         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
23625         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
23626         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
23627         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
23628         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
23629         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
23630         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
23631         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
23632         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
23633         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
23634         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
23635         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
23636         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
23637         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
23638         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
23639         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
23640         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
23641         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
23643 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
23645         * INSTALL: Regenerated.
23647         * po/libc.pot: Regenerated.
23649 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
23650             Sandra Loosemore  <sandra@codesourcery.com>
23651             Andrew Jenner  <andrew@codesourcery.com>
23652             Joseph Myers  <joseph@codesourcery.com>
23653             Nathan Sidwell  <nathan@codesourcery.com>
23655         * NEWS: Mention new Nios II port.
23656         * sysdeps/nios2/Implies: New file.
23657         * sysdeps/nios2/Makefile: New file.
23658         * sysdeps/nios2/Subdirs: New file.
23659         * sysdeps/nios2/Versions: New file.
23660         * sysdeps/nios2/__longjmp.S: New file.
23661         * sysdeps/nios2/abort-instr.h: New file.
23662         * sysdeps/nios2/backtrace.c: New file.
23663         * sysdeps/nios2/bits/endian.h: New file.
23664         * sysdeps/nios2/bits/fenv.h: New file.
23665         * sysdeps/nios2/bits/link.h: New file.
23666         * sysdeps/nios2/bits/setjmp.h: New file.
23667         * sysdeps/nios2/bsd-_setjmp.S: New file.
23668         * sysdeps/nios2/bsd-setjmp.S: New file.
23669         * sysdeps/nios2/configure: New generated file.
23670         * sysdeps/nios2/configure.ac: New file.
23671         * sysdeps/nios2/crti.S: New file.
23672         * sysdeps/nios2/crtn.S: New file.
23673         * sysdeps/nios2/dl-init.c: New file.
23674         * sysdeps/nios2/dl-machine.h: New file.
23675         * sysdeps/nios2/dl-sysdep.h: New file.
23676         * sysdeps/nios2/dl-tls.h: New file.
23677         * sysdeps/nios2/dl-trampoline.S: New file.
23678         * sysdeps/nios2/gccframe.h: New file.
23679         * sysdeps/nios2/gmp-mparam.h: New file.
23680         * sysdeps/nios2/jmpbuf-offsets.h: New file.
23681         * sysdeps/nios2/jmpbuf-unwind.h: New file.
23682         * sysdeps/nios2/ldsodefs.h: New file.
23683         * sysdeps/nios2/libc-tls.c: New file.
23684         * sysdeps/nios2/libm-test-ulps: New file.
23685         * sysdeps/nios2/machine-gmon.h: New file.
23686         * sysdeps/nios2/math-tests.h: New file.
23687         * sysdeps/nios2/math_private.h: New file.
23688         * sysdeps/nios2/memusage.h: New file.
23689         * sysdeps/nios2/nptl/Makefile: New file.
23690         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
23691         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
23692         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
23693         * sysdeps/nios2/nptl/pthreaddef.h: New file.
23694         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
23695         * sysdeps/nios2/nptl/tls.h: New file.
23696         * sysdeps/nios2/preconfigure: New file.
23697         * sysdeps/nios2/s_fma.c: New file.
23698         * sysdeps/nios2/s_fmaf.c: New file.
23699         * sysdeps/nios2/setjmp.S: New file.
23700         * sysdeps/nios2/sfp-machine.h: New file.
23701         * sysdeps/nios2/sotruss-lib.c: New file.
23702         * sysdeps/nios2/stackguard-macros.h: New file.
23703         * sysdeps/nios2/stackinfo.h: New file.
23704         * sysdeps/nios2/start.S: New file.
23705         * sysdeps/nios2/sysdep.h: New file.
23706         * sysdeps/nios2/tls-macros.h: New file.
23707         * sysdeps/nios2/tst-audit.h: New file.
23708         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
23709         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
23710         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
23711         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
23712         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
23713         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
23714         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
23715         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
23716         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
23717         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
23718         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
23719         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
23720         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
23721         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
23722         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
23723         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
23724         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
23725         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
23726         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
23727         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
23728         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
23729         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
23730         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
23731         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
23732         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
23733         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
23734         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
23735         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
23736         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
23737         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
23738         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
23739         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
23740         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
23741         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
23742         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
23743         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
23744         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
23745         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
23746         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
23747         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
23748         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
23749         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
23750         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
23751         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
23753 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
23755         [BZ #17844]
23756         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
23757         (getutent): Use weak_alias in non SHARED case
23758         and default_symbol_version in SHARED case.
23759         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
23760         (getutent_r, pututline): Likewise.
23761         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
23762         (getutid): Likewise.
23763         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
23764         (getutid_r): Likewise.
23765         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
23766         (getutline): Likewise.
23767         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
23768         (getutline_r): Likewise.
23769         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
23770         (updwtmp): Likewise.
23772 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
23774         [BZ #17848]
23775         * sysdeps/s390/s390-32/memcmp.S
23776         (memcmp_g5): Rename to __memcmp_g5.
23777         * sysdeps/s390/s390-32/memcpy.S
23778         (memcpy_g5): Rename to __memcpy_g5.
23779         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23780         (memcpy_mvcle) Rename to __memcpy_mvcle.
23781         * sysdeps/s390/s390-32/memset.S
23782         (memset_g5): Rename to __memset_g5.
23783         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23784         (IFUNC_RESOLVE): Prefix ifunc-resolve function
23785         and use prefixed functions.
23786         * sysdeps/s390/s390-32/multiarch/memcmp.S
23787         (memcmp_z196): Rename to __memcmp_z196.
23788         (memcmp_z10): Rename to __memcmp_z10.
23789         (memcmp): Set alias to __memcmp_g5.
23790         (bcmp): Set alias to __memcmp_g5.
23791         * sysdeps/s390/s390-32/multiarch/memcpy.S
23792         (memcpy_z196): Rename to __memcpy_z196.
23793         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23794         (memcpy_z10): Rename to __memcpy_z10.
23795         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23796         (memcpy): Set alias to __memcpy_g5.
23797         * sysdeps/s390/s390-32/multiarch/memset.S
23798         (memset_z196): Rename to __memset_z196.
23799         Jump to __memset_mvcle instead of memset_mvcle.
23800         (memset_z10): Rename to __memset_z10.
23801         Jump to __memset_mvcle instead of memset_mvcle.
23802         (memset_mvcle) Rename to __memset_mvcle.
23803         (memset): Set alias to __memset_g5.
23804         * sysdeps/s390/s390-64/memcmp.S
23805         (memcmp_z900): Rename to __memcmp_z900.
23806         * sysdeps/s390/s390-64/memcpy.S
23807         (memcpy_z900): Rename to __memcpy_z900.
23808         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23809         (memcpy_mvcle) Rename to __memcpy_mvcle.
23810         * sysdeps/s390/s390-64/memset.S
23811         (memset_z900): Rename to __memset_z900.
23812         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
23813         (IFUNC_RESOLVE): Prefix ifunc-resolve function
23814         and use prefixed functions.
23815         * sysdeps/s390/s390-64/multiarch/memcmp.S
23816         (memcmp_z196): Rename to __memcmp_z196.
23817         (memcmp_z10): Rename to __memcmp_z10.
23818         (memcmp): Set alias to __memcmp_z900.
23819         (bcmp): Set alias to __memcmp_z900.
23820         * sysdeps/s390/s390-64/multiarch/memcpy.S
23821         (memcpy_z196): Rename to __memcpy_z196.
23822         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23823         (memcpy_z10): Rename to __memcpy_z10.
23824         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23825         (memcpy): Set alias to __memcpy_z900.
23826         * sysdeps/s390/s390-64/multiarch/memset.S
23827         (memset_z196): Rename to __memset_z196.
23828         Jump to __memset_mvcle instead of memset_mvcle.
23829         (memset_z10): Rename to __memset_z10.
23830         Jump to __memset_mvcle instead of memset_mvcle.
23831         (memset_mvcle) Rename to __memset_mvcle.
23832         (memset): Set alias to __memset_z900.
23834 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
23836         [BZ #17748]
23837         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
23838         __fesetenv instead of fesetenv.
23840 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23842         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
23843         macro.
23845 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23847         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
23848         regression on LE.
23850         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
23851         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
23852         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23853         strncmp-power8 object.
23854         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23855         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
23856         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
23857         * NEWS: Update.
23859 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23860             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23862         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
23863         trailing byte check.
23865 2015-01-13  David S. Miller  <davem@davemloft.net>
23867         * include/signal.h (__sigreturn): Guard with __USE_MISC.
23869 2015-01-13  Roland McGrath  <roland@hack.frob.com>
23871         * login/logout.c (logout): Use memset rather than bzero.
23872         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
23873         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
23874         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
23875         (_gethtbyaddr): Likewise.
23876         * locale/programs/simple-hash.c (bcopy): Macro removed.
23878 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23880         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23881         Add strcmp-power8 object.
23882         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23883         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
23884         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
23885         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
23886         __strcmp_power8 implementation.
23887         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
23888         * NEWS: Update.
23890         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23891         Add strncpy-power8 and stpncpy-power8 objects.
23892         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23893         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
23894         implementations.
23895         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
23896         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
23897         __stpncpy_power8 implementation.
23898         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
23899         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
23900         __strncpy_power8 implementation.
23901         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
23902         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
23903         * NEWS: Update.
23905         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
23906         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
23907         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
23909         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23910         strncat-power8 object.
23911         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
23912         __strcat_power8 implementation.
23913         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23914         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
23915         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
23916         optimized strcat for power8.
23918         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23919         strcpy-power8 and stpcpy-power8 objects.
23920         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23921         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
23922         implementations.
23923         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
23924         multiarch stpcpy implementation for POWER8.
23925         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
23926         multiarch strcpy implementation for POWER8.
23927         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
23928         __strcpy_power8 function.
23929         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
23930         stpcpy for POWER8.
23931         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
23932         strcpy for POWER8.
23933         * NEWS: Update.
23935 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
23937         [BZ #16009]
23938         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
23939         weights and rules. Use do_xfrm_cached if data fits in cache,
23940         do_xfrm otherwise.  Moved former main loop to...
23941         * (do_xfrm_cached): New function.
23942         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
23943         find_idx, find_position and stack_push.
23944         * (find_idx): New function.
23945         * (find_position): Likewise.
23946         * localedata/sort-test.sh: Added test run for do_xfrm.
23947         * localedata/xfrm-test.c (main): Added command line option
23948         -nocache to run the test with strings that are too large for
23949         the STRXFRM cache.
23951 2015-01-13  Torvald Riegel  <triegel@redhat.com>
23953         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
23954         variable to lll_futex_wake call, not the value itself.
23956 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
23958         [BZ #17803]
23959         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
23960         twom64.  Adjust value to 0x1p-64L.
23961         (__scalblnl): Only return standard underflowing result for K <=
23962         -64 not K <= -63; adjust exponent for underflowing result by 64
23963         not 63.
23964         * math/libm-test.inc (scalbn_test_data): Add more tests.
23965         (scalbln_test_data): Likewise.
23967         [BZ #17834]
23968         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
23969         0x1p63L.
23970         (__scalblnl): Get new exponent of adjusted subnormal value from ES
23971         not HX.
23972         * math/libm-test.inc (scalbn_test_data): Add more tests.
23973         (scalbln_test_data): Likewise.
23975 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23976             Stefani Seibold  <stefani@seibold.net>
23978         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
23979         (sysdep_routines): Add dl-vdso here, ...
23980         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
23981         (sysdep_routines): ... not here.
23982         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
23983         fallback when vDSO is not presented.
23984         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
23985         Define with libc_hidden_proto/libc_hidden_data_def definitions.
23986         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
23987         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
23988         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
23989         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
23990         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
23991         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
23992         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
23993         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
23994         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
23995         fallback configurable symbol when vDSO is not available.
23996         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
23997         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
23998         be able to redefine fallback symbol when vDSO is not available.
23999         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
24000         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
24002 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24004         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
24005         (TLS_INIT_TP): Add tm_capable initialization.
24006         (TLS_DEFINE_INIT_TP): Likewise.
24007         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
24008         TCB.
24009         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
24010         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
24011         calculation.
24012         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
24013         transactoion is lock elision is built and TCB tm_capable is set.
24014         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
24015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24016         (INTERNAL_SYSCALL_NCS): Likewise.
24017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24018         (INTERNAL_SYSCALL_NCS): Likewise.
24019         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
24021         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
24022         for powerpc.
24023         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24024         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
24025         and remove it for 32 bits case.
24026         [pthread_rwlock_t] (__rwelision): New field for lock elision.
24027         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
24028         initialization.
24029         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
24030         Disable lock elision with rdlocks if elision is not available.
24032         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
24033         (sysdep_routines): Add lock elision objects.
24034         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24035         [pthread_mutex_t] (__spins): Rework to add lock elision field.
24036         [pthread_mutex_t] (__elision): Add field.
24037         [__PTHREAD_SPINS]: Adjust to init lock elision field.
24038         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
24039         elision definitions for powerpc.
24040         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
24041         implementation of lock elision for powerpc.
24042         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
24043         implementation of timed lock elision for powerpc.
24044         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
24045         implementation of trylock with lock elision for powerpc.
24046         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
24047         implementaion of unlock for lock elision for powerpc.
24048         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
24049         automatic enable lock elision for mutexes.
24050         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
24051         transaction execution definitions for powerpc.
24052         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
24053         definitions.
24054         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
24055         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
24056         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
24057         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
24058         * NEWS: Update.
24060 2015-01-09  Roland McGrath  <roland@hack.frob.com>
24062         * sysdeps/posix/shm-directory.c: Use <> rather than ""
24063         for #include of <shm-directory.h>.
24065 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
24067         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
24068         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
24070 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
24072         [BZ #17791]
24073         * NEWS: Mention bug fix.
24074         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
24075         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
24076         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
24078 2015-01-09  Torvald Riegel <triegel@redhat.com>
24080         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
24082 2015-01-09  Torvald Riegel <triegel@redhat.com>
24084         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
24086 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24088         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
24089         pointer and cast to uintptr_t.
24091 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24093         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
24094         removed.
24095         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
24097 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24099         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
24100         of 0.
24102 2015-01-08  Roland McGrath  <roland@hack.frob.com>
24104         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
24105         <nptl/pthreadP.h> instead.
24106         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
24108         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
24109         already defined.
24110         [__SIGRTMIN] (init): Function removed.
24111         [__SIGRTMIN] (initialized): Variable removed.
24112         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
24113         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
24114         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
24115         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
24116         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
24117         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
24118         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
24119         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
24120         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
24121         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
24122         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
24123         * sysdeps/nptl/allocrtsig.c: New file.
24124         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
24125         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
24126         * sysdeps/generic/testrtsig.h: File removed.
24128         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
24129         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
24131         * nptl/nptl-init.c (pthread_functions): Conditionalize
24132         .ptr__nptl_setxid initialization on [SIGSETXID].
24134         * sysdeps/nptl/sys/procfs.h: New file.
24135         * nptl_db/Makefile (headers): Add it.
24136         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
24138         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
24139         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
24140         * nptl/pthread_attr_setaffinity.c: Include it.
24141         * nptl/pthread_setattr_default_np.c: Likewise.
24142         * nptl/check-cpuset.h: New file.
24144 2015-01-08  Richard Henderson  <rth@redhat.com>
24146         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
24147         (CFLAGS-tst-execstack-prog.c): Likewise.
24148         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
24150 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
24151             Sandra Loosemore  <sandra@codesourcery.com>
24152             Andrew Jenner  <andrew@codesourcery.com>
24153             Joseph Myers  <joseph@codesourcery.com>
24154             Nathan Sidwell  <nathan@codesourcery.com>
24156         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
24157         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
24158         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
24159         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
24160         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
24161         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
24162         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
24163         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
24164         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
24165         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
24166         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
24167         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
24168         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
24169         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
24170         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
24171         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
24172         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
24174 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24176         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
24177         timespec struct member in syscall macro.
24178         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
24179         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
24180         first timeval struct member in syscall macro.
24181         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
24183 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
24185         [BZ #17748]
24186         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
24187         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
24188         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
24189         __feupdateenv and define as weak alias of __feupdateenv.  Use
24190         libm_hidden_weak.
24191         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
24192         libm_hidden_def.
24193         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
24194         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
24195         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24196         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
24197         libm_hidden_def.
24198         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
24199         __feupdateenv and define as weak alias of __feupdateenv.  Use
24200         libm_hidden_weak.
24201         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
24202         libm_hidden_def.
24203         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
24204         __feupdateenv and define as weak alias of __feupdateenv.  Use
24205         libm_hidden_weak.
24206         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
24207         libm_hidden_def.
24208         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24209         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24210         (__feupdateenv): Likewise.
24211         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
24212         __feupdateenv and define as weak alias of __feupdateenv.  Use
24213         libm_hidden_weak.
24214         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24215         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
24216         libm_hidden_def.
24217         * sysdeps/tile/math_private.h (__feupdateenv): New inline
24218         function.
24219         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
24220         libm_hidden_def.
24221         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
24222         __feupdateenv instead of feupdateenv.
24223         (default_libc_feupdateenv_test): Likewise.
24224         (libc_feresetround_ctx): Likewise.
24226 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24228         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
24229         prototype.
24231 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
24233         * posix/regcomp.c (parse_bracket_exp): Initialize type to
24234         COLL_SYM in a couple of places to avoid uninitialized variable
24235         wanings on tilegx gcc 4.8.2.
24237 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24239         * sysdeps/aarch64/strcpy.S: New file.
24240         * sysdeps/aarch64/stpcpy.S: New file.
24241         * NEWS: Updated.
24243 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24245         * sysdeps/aarch64/strrchr.S: New file.
24246         * NEWS: Updated.
24248 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
24250         [BZ #17658]
24251         * stdlib/setenv.c: Fix memory leak when setting large,
24252         duplicate string.
24254 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
24256         [BZ #17273]
24257         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
24258         and tabs from buffer before parsing fstab entry.
24259         * misc/tst-mntent.c (main): Add test for mount entry with
24260         trailing spaces and tabs.
24262 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
24264         [BZ #17748]
24265         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
24266         * math/fesetround.c (fesetround): Rename to __fesetround and
24267         define as weak alias of __fesetround.  Use libm_hidden_weak.
24268         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
24269         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
24270         * sysdeps/arm/fesetround.c (fesetround): Likewise.
24271         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
24272         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
24273         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
24274         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
24275         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
24276         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
24277         __fesetround_inline.
24278         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
24279         __fesetround_inline instead of __fesetround.
24280         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
24281         __fesetround and define as weak alias of __fesetround.  Use
24282         libm_hidden_weak.  Call __fesetround_inline instead of
24283         __fesetround.
24284         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
24285         __fesetround and define as weak alias of __fesetround.  Use
24286         libm_hidden_weak.
24287         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
24288         Likewise.
24289         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
24290         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24291         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
24292         * sysdeps/tile/math_private.h (__fesetround): New inline function.
24293         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
24294         __fesetround and define as weak alias of __fesetround.  Use
24295         libm_hidden_weak.
24296         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
24297         __fesetround instead of fesetround.
24298         (default_libc_feholdexcept_setround): Likewise.
24299         (libc_feholdsetround_ctx): Likewise.
24300         (libc_feholdsetround_noex_ctx): Likewise.
24302         [BZ #17748]
24303         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
24304         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
24305         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24306         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24307         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24308         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
24309         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24310         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
24311         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24312         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24313         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24314         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24315         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24316         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24317         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
24318         libm_hidden_def.
24319         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
24320         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
24321         Likewise.
24322         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24323         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24324         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24325         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24326         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
24327         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24328         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24329         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
24330         __fesetenv instead of fesetenv.
24331         (libc_feresetround_noex_ctx): Likewise.
24332         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
24333         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24334         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
24335         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
24336         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
24337         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
24338         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24339         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24340         (__feupdateenv): Likewise.
24341         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24342         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24343         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24344         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
24346 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24348         [BZ #17806]
24349         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
24350         addresses have been freed.
24352 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24354         * resolv/res_init.c (__res_vinit): Improve comments about nserv
24355         and nservall.
24357 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
24359         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
24360         Clean up check_pf allocation pattern. addresses
24362 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24364         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
24365         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
24366         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
24367         * nptl/pthread_exit.c (__pthread_exit): Likewise.
24368         * nptl/pthread_join.c (pthread_join): Likewise.
24369         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
24370         * sysdeps/posix/waitid.c (__waitid): Likewise.
24371         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
24372         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
24373         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
24374         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
24375         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
24376         Likewise.
24377         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
24378         (__libc_pread64): Likewise.
24379         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
24380         (__libc_pwrite): Likewise.
24381         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
24382         (__libc_pwrite64): Likewsie.
24383         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
24384         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
24385         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
24386         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
24387         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
24388         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
24389         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
24391         Likewise.
24392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24393         (__libc_pread64): Likewise.
24394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
24395         Likewise.
24396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24397         (__libc_pwrite64): Likewise.
24398         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
24399         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
24400         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
24401         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
24402         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
24403         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
24404         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
24405         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
24406         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
24407         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
24408         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
24409         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
24410         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
24411         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
24412         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24413         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
24414         Likewise.
24416 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
24418         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
24419         (CFLAGS-test-double.c): Likewise.
24420         (CFLAGS-test-ldouble.c): Likewise.
24421         (CPPFLAGS-test-ifloat.c): Likewise.
24422         (CPPFLAGS-test-idouble.c): Likewise.
24423         (CPPFLAGS-test-ildoubl.c): Likewise.
24424         (CFLAGS-test-test-fenv.c): Remove variable.
24425         (CFLAGS-test-misc.c): Likewise.
24427 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
24429         [BZ #17797]
24430         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
24431         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
24432         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
24433         CLOCKS_PER_SEC == 1000000.
24434         * time/clocktest.c (main): Replace %ld with %jd and cast to
24435         intmax_t.
24437 2015-01-05  Roland McGrath  <roland@hack.frob.com>
24439         * sysdeps/generic/unwind-resume.h: New file.
24440         * sysdeps/gnu/unwind-resume.c: Include it.
24441         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
24442         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
24443         argument list.
24444         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
24445         global rather than static.
24446         (_Unwind_Resume): Update user.
24447         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
24448         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
24449         rather than static.  Add __attribute__ ((cold)).
24450         (_Unwind_Resume, __gcc_personality_v0): Update callers.
24451         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
24452         * sysdeps/arm/arm-unwind-resume.S: New file.
24453         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
24454         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
24455         * sysdeps/arm/Makefile [$(subdir) = csu]
24456         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
24457         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
24458         Add rt-arm-unwind-resume.
24459         [$(subdir) = nptl]
24460         (libpthread-sysdep_routines, libpthread-shared-only-routines):
24461         Add pt-arm-unwind-resume.
24462         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
24463         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
24465 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24467         [BZ #17748]
24468         * include/fenv.h (__feholdexcept): Declare.  Use
24469         libm_hidden_proto.
24470         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
24471         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
24472         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24473         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
24474         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
24475         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
24476         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
24477         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24478         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
24479         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
24480         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
24481         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
24482         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
24483         (feholdexcept): Likewise.
24484         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24485         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24486         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
24487         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24488         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
24489         __feholdexcept instead of feholdexcept.
24490         (default_libc_feholdexcept_setround): Likewise.
24492 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24494         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
24495         to avoid using stl/str to align destination.
24497 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24499         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
24501 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24503         [BZ #17796]
24504         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
24505         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
24506         Define as weak alias not strong alias.
24508 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24510         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
24511         bltzal with addiupc.
24512         (RTLD_START): Ditto.
24514 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
24516         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
24517         for __vdso_* functions in declarations.
24518         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
24519         definitions.
24520         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
24521         INTERNAL_VSYSCALL): Use struct return types to check for error.
24523         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
24524         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
24525         function with cast from llround().
24526         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
24527         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
24528         Define.
24530 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24532         [BZ #17793]
24533         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
24534         Define as weak alias not strong alias.
24536         [BZ #17635]
24537         * ctype/ctype-c99.c: New file.  isblank implementation moved from
24538         ...
24539         * ctype/ctype-extn.c: ... here.
24540         (__isblank_l): Move to ...
24541         * ctype/ctype-c99_l.c: ... here.  New file.
24542         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
24543         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
24544         Remove variable.
24545         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
24546         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
24547         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
24548         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
24549         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
24551         [BZ #17777]
24552         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
24553         (posix_fadvise64): Define as weak alias not strong alias.
24554         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24555         (posix_fallocate64): Likewise.
24556         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
24557         Remove variable.
24558         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
24559         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
24560         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
24561         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
24562         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
24564 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
24566         [BZ #16191]
24567         * NEWS: Mention bug fix.
24568         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
24569         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
24570         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
24571         (HOST_STACK_END_ADDR): Likewise.
24573 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
24575         [BZ #17748]
24576         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
24577         * math/fegetround.c (fegetround): Rename to __fegetround and
24578         define as weak alias of __fegetround.  Use libm_hidden_weak.
24579         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
24580         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
24581         * sysdeps/arm/fegetround.c (fegetround): Likewise.
24582         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
24583         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
24584         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
24585         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
24586         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
24587         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
24588         Undefine after rather than before function definition; use
24589         parentheses around function name in definition.
24590         (__fegetround): Also undefine macro after function definition.
24591         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
24592         __fegetround and define as weak alias of __fegetround.  Use
24593         libm_hidden_weak.  Do not undefine as macro.
24594         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
24595         Likewise.
24596         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
24597         __fegetround and define as weak alias of __fegetround.  Use
24598         libm_hidden_weak.
24599         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24600         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
24601         * sysdeps/tile/math_private.h (__fegetround): New inline function.
24602         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
24603         __fegetround and define as weak alias of __fegetround.  Use
24604         libm_hidden_weak.
24605         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
24606         __fegetround instead of fegetround.
24608         [BZ #17782]
24609         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
24610         Condition macro definition on [__USE_MISC].
24612         [BZ #17781]
24613         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
24614         (struct sigaction): Change type of sa_flags field to int.
24616         [BZ #17780]
24617         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
24618         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
24619         __glibc_reserved0.
24621         * nptl/version.c (banner): Use single year in copyright notice.
24623         * NEWS: Update copyright dates.
24624         * catgets/gencat.c (print_version): Likewise.
24625         * csu/version.c (banner): Likewise.
24626         * debug/catchsegv.sh: Likewise.
24627         * debug/pcprofiledump.c (print_version): Likewise.
24628         * debug/xtrace.sh (do_version): Likewise.
24629         * elf/ldconfig.c (print_version): Likewise.
24630         * elf/ldd.bash.in: Likewise.
24631         * elf/pldd.c (print_version): Likewise.
24632         * elf/sotruss.sh: Likewise.
24633         * elf/sprof.c (print_version): Likewise.
24634         * iconv/iconv_prog.c (print_version): Likewise.
24635         * iconv/iconvconfig.c (print_version): Likewise.
24636         * locale/programs/locale.c (print_version): Likewise.
24637         * locale/programs/localedef.c (print_version): Likewise.
24638         * login/programs/pt_chown.c (print_version): Likewise.
24639         * malloc/memusage.sh (do_version): Likewise.
24640         * malloc/memusagestat.c (print_version): Likewise.
24641         * malloc/mtrace.pl: Likewise.
24642         * manual/libc.texinfo: Likewise.
24643         * nptl/version.c (banner): Likewise.
24644         * nscd/nscd.c (print_version): Likewise.
24645         * nss/getent.c (print_version): Likewise.
24646         * nss/makedb.c (print_version): Likewise.
24647         * posix/getconf.c (main): Likewise.
24648         * scripts/test-installation.pl: Likewise.
24649         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
24651 2015-01-02  Will Newton  <will.newton@linaro.org>
24653         * sysdeps/arm/armv7/configure: Removed.
24654         * sysdeps/arm/armv7/configure.ac: Likewise.
24656 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
24658         * All files with FSF copyright notices: Update copyright dates
24659         using scripts/update-copyrights.
24660         * intl/plural.c: Regenerated.
24661         * locale/programs/charmap-kw.h: Likewise.
24662         * locale/programs/locfile-kw.h: Likewise.
24664 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24666         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
24668 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
24670         [BZ #17748]
24671         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
24672         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
24673         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
24674         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
24675         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24676         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
24677         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24678         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
24679         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24680         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24681         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24682         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24683         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24684         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24685         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
24686         libm_hidden_def.
24687         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
24688         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
24689         Likewise.
24690         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24691         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24692         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24693         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24694         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
24695         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
24696         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
24697         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
24698         __fegetenv instead of fegetenv.
24699         (libc_feholdsetround_noex_ctx): Likewise.
24701 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
24703         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
24704         (Elf_MIPS_ABIFlags_v0): New structure.
24705         (EF_MIPS_FP64): Define.
24706         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
24707         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
24708         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
24709         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
24710         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
24711         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
24712         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
24713         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
24714         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
24715         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
24716         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
24717         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
24718         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
24719         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
24720         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
24721         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
24722         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
24723         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
24724         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
24725         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
24726         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
24727         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
24728         field.
24729         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
24730         EF_MIPS_FP64.
24731         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
24732         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
24733         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
24734         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
24735         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
24736         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
24737         * sysdeps/mips/tst-abi-interlink.c: Likewise.
24738         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
24739         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
24740         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
24741         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
24742         record the current FP ABI extension.
24743         (mips-mode-switch): Define to show if kernel headers support mode
24744         switching.
24745         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24746         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
24747         supported SYSV ABI version to 3.
24748         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
24749         feature.
24751 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24752             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24754         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
24755         path.
24756         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
24758 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
24760         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
24761         __fegetround and redefine to call __fegetround.  Remove condition
24762         on [!__NO_MATH_INLINES].
24763         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
24764         function.
24765         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
24766         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
24767         Remove macro.
24768         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
24769         instead of <fenv_libc.h>.
24770         (__llrintl): Call fegetround instead of __fegetround.
24771         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
24772         instead of <fenv_libc.h>.
24773         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24774         (__lrintl): Call fegetround instead of __fegetround.
24775         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
24776         instead of <fenv_libc.h>.
24777         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24778         (__rintl): Call fegetround instead of __fegetround.
24780 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24782         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
24783         arrays.
24785 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
24787         [BZ #17775]
24788         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
24789         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
24790         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
24792 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
24794         * sysdeps/i386/tls-macros.h: Include <features.h>.
24795         (TLS_LE): Use non-PIC version for GCC >= 5.0.
24796         (TLS_IE): Likewise.
24797         (TLS_LD): Likewise.
24798         (TLS_GD): Likewise.
24799         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
24800         define for GCC >= 5.0.
24802 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
24804         * math/test-fenv.c (test_single_exception, set_single_exc,
24805         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
24806         feexcp_mask_test, feenable_test, fe_single_test): Add
24807         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
24808         case where they are not used.
24809         * math/libm-test.inc: Likewise.
24810         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
24811         unused in the absence of FP rounding/exception support.
24812         * stdio-common/tst-printf-round.c: Likewise.
24813         * stdlib/tst-strtod-round.c: Likewise.
24814         * stdlib/tst-strtod-underflow.c: Likewise.
24816 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
24818         [BZ #17723]
24819         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
24820         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
24821         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24822         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24823         libm_hidden_weak.
24824         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
24825         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
24826         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
24827         libm_hidden_def.
24828         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24829         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24830         libm_hidden_weak.
24831         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
24832         Likewise.
24833         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
24834         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24835         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24836         libm_hidden_weak.
24837         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
24838         libm_hidden_def.
24839         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
24840         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
24841         (__feraiseexcept): Likewise.
24842         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24843         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24844         libm_hidden_weak.
24845         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
24846         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
24847         libm_hidden_def.
24848         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
24849         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
24850         Use libm_hidden_def.
24851         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
24852         libm_hidden_def.
24853         (feraiseexcept): Define as weak not strong alias.  Use
24854         libm_hidden_weak.
24855         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
24856         New inline function.  Factored out of ...
24857         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
24858         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
24859         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
24860         feraiseexcept.
24861         * math/w_acos.c (__acos): Likewise.
24862         * math/w_asin.c (__asin): Likewise.
24863         * math/w_ilogb.c (__ilogb): Likewise.
24864         * math/w_j0.c (y0): Likewise.
24865         * math/w_j1.c (y1): Likewise.
24866         * math/w_jn.c (yn): Likewise.
24867         * math/w_log.c (__log): Likewise.
24868         * math/w_log10.c (__log10): Likewise.
24869         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
24870         * sysdeps/aarch64/fpu/math_private.h
24871         (libc_feupdateenv_test_aarch64): Likewise.
24872         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
24873         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
24874         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
24875         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
24876         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
24877         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
24878         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
24879         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24880         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24881         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24883 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
24885         [BZ #17732]
24886         * io/test-utime.c (main): Replace %ld with %jd and cast to
24887         intmax_t.
24888         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
24889         * nptl/tst-mutex5.c: Include <stdint.h>.
24890         (do_test): Replace %ld with %jd and cast to intmax_t.
24891         * posix/tst-regex.c (run_test): Likewise.
24892         (run_test_backwards): Likewise.
24893         * rt/tst-clock.c: Include <stdint.h>.
24894         (clock_test): Replace %ld with %jd and cast to intmax_t.
24895         * rt/tst-cpuclock1.c: Include <stdint.h>.
24896         (do_test): Replace %lu with %ju and cast to uintmax_t.
24897         * rt/tst-cpuclock2.c: Include <stdint.h>.
24898         (do_test): Replace %lu with %ju and cast to uintmax_t.
24899         * rt/tst-mqueue1.c: Include <stdint.h>.
24900         (check_attrs): Replace %ld with %jd and cast to intmax_t.
24901         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
24902         intmax_t.
24903         * rt/tst-mqueue4.c (do_test): Likewise.
24904         * rt/tst-timer4.c: Include <stdint.h>.
24905         (check_ts): Replace %ld with %jd and cast to intmax_t.
24906         (do_test): Likewise.
24907         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
24908         and cast to intmax_t.
24909         * sysdeps/pthread/tst-timer.c (main): Likewise.
24910         * time/clocktest.c (main): Likewise.
24911         * time/tst-posixtz.c (do_test): Likewise.
24912         * timezone/tst-timezone.c (main): Likewise.
24914 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
24915             H.J. Lu  <hongjiu.lu@intel.com>
24917         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
24918         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
24919         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
24920         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
24921         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
24922         version if bit_Fast_Unaligned_Load is set.
24923         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24924         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24925         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24926         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24927         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24928         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24929         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24930         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
24931         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
24932         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
24933         to 4.
24934         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
24935         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
24936         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
24937         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
24939 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
24941         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
24942         instead of #if to avoid a Wundef warning.
24943         * stdlib/tst-limits.c (do_test): Likewise.
24945         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
24946         parallel other exception macros.
24947         (fegetenv): Convert from macro to extern inline so that it applies
24948         retroactively to inline functions already seen by the compiler.
24949         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
24951         * posix/Makefile (before-compile): Use $(objpfx) for
24952         posix-conf-vars-def.h.
24954 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24956         * posix/getconf.c (main): Use size_t for type of I.
24957         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
24958         NSPEC.
24960         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
24961         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
24962         * posix/posix-envs.def: Likewise.
24963         * sysdeps/posix/sysconf.c: Likewise.
24964         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
24965         (specs): Remove array.
24966         * scripts/gen-posix-conf-vars.awk: Support generation of specs
24967         array.
24969         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
24970         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
24971         (__sysconf): Use CONF_IS_* macros.
24973         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
24974         ($(objpfx)posix-conf-vars-def.h): New target.
24975         * posix/posix-conf-vars.list: New file.
24976         * posix/posix-conf-vars.h: New file.
24977         * posix/confstr.c: Include posix-conf-vars.h.
24978         (confstr): Use CONF_IS_* macros.
24979         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
24980         CONF_IS_* macros.
24981         * scripts/gen-posix-conf-vars.awk: New file.
24983 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
24985         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
24986         fegetround): Add no-op macros to avoid linknamespace issues.
24988         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
24989         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
24991         * sysdeps/unix/sysv/linux/tile/sysdep.h
24992         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
24993         assembly-specific section to avoid a redefinition warning.
24995         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
24996         long before casting to pointer to avoid a cast warning.
24998 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
25000         * sysdeps/tile/tilegx/Implies: New file.
25002 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
25004         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
25006 2014-12-23  Florian Weimer  <fweimer@redhat.com>
25008         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
25010 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25012         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
25013         not define.
25014         * sysdeps/unix/sysv/linux/utimes.c: Do not include
25015         <kernel-features.h>.
25016         (__utimes) [__NR_utimes]: Make code unconditional.
25017         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
25018         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25019         (__ASSUME_UTIMES): Do not undefine.
25020         * sysdeps/unix/sysv/linux/tile/kernel-features.h
25021         (__ASSUME_UTIMES): Likewise.
25022         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25023         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
25024         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
25025         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
25027 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25029         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
25031 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
25033         [BZ #17747]
25034         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
25035         alias to weak alias for j0l, y0l.
25036         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
25037         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
25039         [BZ #17746]
25040         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
25041         conversion.
25043 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25045         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
25046         to zero if not already defined.
25048 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25050         [BZ #17724]
25051         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
25052         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
25053         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
25054         (char *) casts added.
25055         * sysdeps/ieee754/k_standardf.c: New file.
25056         * sysdeps/ieee754/k_standardl.c: Likewise.
25057         * math/Makefile (libm-support): Remove k_standard.
25058         (libm-calls): Add k_standard.
25060 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25062         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25063         Optimize to avoid an unnecessary FPCR read.
25065 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25067         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
25068         Optimize to reduce FPCR/FPSR accesses.
25070 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25072         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
25073         Call libc_fetestexcept_aarch64.
25075 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25077         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
25078         Call libc_fesetround_aarch64.
25080 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25082         [BZ #17733]
25083         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
25084         (__bind): Do not define as weak alias.
25085         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
25086         define.
25087         (__getsockname): Do not define as weak alias.
25089 2014-12-22  Will Newton  <will.newton@linaro.org>
25091         * manual/install.texi: Document that we require bison 2.7
25092         or above.
25093         * INSTALL: Regenerate.
25094         * configure.ac: Use AC_CHECK_PROG_VER instead of
25095         AC_PATH_PROG when checking for bison and check for
25096         version 2.7 or above.
25097         * configure: Regenerate.
25099 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
25101         [BZ #17745]
25102         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
25103         * sysdeps/tile/ffsll.c (ffsll): To here.
25105         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
25107 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25109         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
25110         if not defined.
25111         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
25112         definition.
25113         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25114         hidden ___tls_get_addr.
25115         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25116         hidden __tls_get_addr.
25117         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
25118         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
25119         Likewise.
25121 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
25123         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
25124         _dl_init call.
25126 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25128         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
25129         from "call _dl_init@PLT".
25130         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
25132 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
25134         * manual/search.texi: (Array Sort Function): Clarify stable sorting
25135         guarantees.
25137 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
25139         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
25141 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25143         [BZ #17744]
25144         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
25145         strnlen.
25147 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
25149         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
25150         of multu on MIPSr6.
25151         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
25152         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
25153         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
25154         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
25155         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
25157 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
25159         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
25160         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
25161         (PTR_SUBU): Use subu for mips32r6/mips64r6.
25162         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
25163         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
25164         mips32r6/mips64r6.
25165         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
25167 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
25169         * string/strncat.c (STRNCAT): Simplify implementation.
25171 2014-12-19  David S. Miller  <davem@davemloft.net>
25173         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
25174         access the quad as both a long double and as a series of 4 words.
25176         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
25177         link_map->l_info array access.
25179 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25181         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
25183         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
25184         * math/atest-exp2.c (TIMEOUT): Likewise.
25185         * math/atest-sincos.c (TIMEOUT): Likewise.
25187 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25189         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
25190         -Wno-error with -fno-builtin-lround.
25192 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25194         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
25195         Contains futex constants and functions moved over from ...
25196         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
25197         <lowlevellock-futex.h>.
25198         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25199         (lll_timedwait_tid): Add comments and parentheses around macro
25200         arguments.
25202 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25204         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
25205         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
25206         (__lll_private_flag): Remove.
25207         (lll_futex_wait): Likewise.
25208         (lll_futex_timed_wait): Likewise.
25209         (lll_futex_wake): Likewise.
25210         (lll_futex_requeue): Likewise.
25211         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25212         (__lll_timedwait_tid): Spell out argument names.
25213         (lll_timedwait_tid): Add comments and parentheses around macro
25214         arguments.
25215         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
25216         LLL_SHARED and LLL_PRIVATE usable from assembly code.
25218 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25220         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
25221         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
25222         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25223         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
25224         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
25225         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
25226         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
25227         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
25228         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
25229         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
25230         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
25231         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
25232         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
25233         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
25234         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
25235         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
25236         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
25237         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
25238         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
25240 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25242         * sysdeps/x86_64/x32/Makefile: New file.
25244 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25246         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
25247         1L with (mp_limb_t) 1.
25249 2014-12-17  Roland McGrath  <roland@hack.frob.com>
25251         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
25252         * nptl/libc_pthread_init.c: ... here.
25253         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
25254         * nptl/register-atfork.c: ... here.
25256         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
25257         Use pthread_sigmask rather than INTERNAL_SYSCALL.
25258         Use assert_perror to check its return value.
25259         (__gai_create_helper_thread): Likewise.
25261         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
25263         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
25265 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
25267         [BZ #17725]
25268         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
25269         __profil_counter.
25270         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
25271         Likewise.
25272         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
25273         Likewise.
25274         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
25275         Likewise.
25276         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
25277         (profil_counter): Likewise.
25278         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
25279         (profil_counter): Likewise.
25280         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
25281         Likewise.
25282         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
25283         Likewise.
25284         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
25285         (profil_counter): Likewise.
25286         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
25287         Likewise.
25288         [!__profil_counter] (profil_counter): Define as weak alias of
25289         __profil_counter.
25290         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
25291         (profil_counter): Rename to __profil_counter.
25292         [!__profil_counter] (profil_counter): Define as weak alias of
25293         __profil_counter.
25294         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
25295         (profil_counter): Rename to __profil_counter.
25296         [!__profil_counter] (profil_counter): Define as weak alias of
25297         __profil_counter.
25298         * sysdeps/posix/profil.c: Update comment referring to
25299         profil_counter.
25300         (__profil): Use __profil_counter instead of profil_counter.
25301         * sysdeps/posix/sprofil.c (profil_counter): Rename to
25302         __profil_counter.  Use __profil_counter_ushort and
25303         __profil_counter_uint in definitions.
25304         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
25305         instead of profil_counter_uint and profil_counter_ushort.
25307         [BZ #17722]
25308         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
25309         define as weak alias of __inet_makeaddr.
25310         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
25311         as weak alias of __inet_addr.
25312         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
25313         as weak alias of __inet_pton.  Use libc_hidden_weak.
25314         * include/arpa/inet.h (__inet_pton): Declare.  Use
25315         libc_hidden_proto.
25316         (inet_makeaddr): Don't use libc_hidden_proto.
25317         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
25318         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
25319         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
25320         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
25321         Remove variable.
25322         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25323         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25325 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
25327         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
25329 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25331         * stdio-common/bug-vfprintf-nargs.c (do_test):
25332         Cast value to intptr_t to avoid format warning
25333         for usage with PRIdPTR printing macro.
25335 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25337         * libio/tst-widetext.c (do_test):
25338         Use format type %td instead of %Zd for ptrdiff_t
25339         in order to avoid format warning.
25341 2014-12-17  Andreas Schwab  <schwab@suse.de>
25343         * nscd/mem.c (gc): Add size_t cast to match printf format.
25345 2014-12-16  Roland McGrath  <roland@hack.frob.com>
25347         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
25348         (init): Apply PTR_MANGLE to pointers before storing them.
25349         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
25350         before using them.
25352 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
25354         [BZ #17719]
25355         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
25356         define as weak alias of __memrchr.
25357         (__memrchr): Do not define as strong alias of memrchr.
25358         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
25359         Remove variable.
25360         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25361         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25362         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25364         [BZ #17717]
25365         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
25366         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
25367         (if_indextoname): Rename to __if_indextoname and define as weak
25368         alias of __if_indextoname.  Use libc_hidden_weak.
25369         (if_freenameindex): Rename to __if_freenameindex and define as
25370         weak alias of __if_freenameindex.
25371         (if_nameindex): Rename to __if_nameindex and define as weak alias
25372         of __if_nameindex.
25373         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
25374         __if_nametoindex and define as weak alias of __if_nametoindex.
25375         Use libc_hidden_weak.
25376         (if_freenameindex): Rename to __if_freenameindex and define as
25377         weak alias of __if_freenameindex.
25378         (if_nameindex): Rename to __if_nameindex and define as weak alias
25379         of __if_nameindex.
25380         (if_indextoname): Rename to __if_indextoname and define as weak
25381         alias of __if_indextoname.  Use libc_hidden_weak.
25382         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
25383         __if_nametoindex and define as weak alias of __if_nametoindex.
25384         Use libc_hidden_weak.
25385         (if_freenameindex): Rename to __if_freenameindex and define as
25386         weak alias of __if_freenameindex.  Use libc_hidden_weak.
25387         (if_nameindex_netlink): Use __if_freenameindex instead of
25388         if_freenameindex.
25389         (if_nameindex): Rename to __if_nameindex and define as weak alias
25390         of __if_nameindex.  Use libc_hidden_weak.
25391         (if_indextoname): Rename to __if_indextoname and define as weak
25392         alias of __if_indextoname.  Use libc_hidden_weak.
25393         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
25394         libc_hidden_proto.
25395         [!_ISOMAC] (__if_freenameindex): Likewise.
25396         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
25397         if_nametoindex.
25398         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
25399         variable.
25400         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25401         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25402         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25403         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25404         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25405         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25406         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25408         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
25409         Remove variable.
25410         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25411         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25413 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25415         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
25416         subscript above bounds'
25418         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
25419         bounds.
25421 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
25423         * libio/tst-fopenloc.c: Use test-skeleton.c.
25425         * stdlib/tst-bsearch.c: Use test-skeleton.c.
25426         (entry): Rename to ITEM.
25427         (do_test, comp): Adjust.
25429         * stdio-common/tst-fseek.c: Use test-skeleton.c.
25431 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25433         * string/tester.c: Include <libc-internal.h>.
25434         (test_memset): Ignore -Wmemset-transposed-args.
25436 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25438         * misc/tst-mntent2.c (do_test): Fix warning.
25440 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25442         * elf/tst-unique4lib.cc(a): Mark as used.
25444 2014-12-16  Florian Weimer  <fweimer@redhat.com>
25446         [BZ #17630]
25447         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
25448         names.
25450 2014-12-16  Allan McRae  <allan@archlinux.org>
25452         * stdio-common/Makefile (tests): Re-add bug26.
25454 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
25456         [BZ #17657]
25457         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
25458         static array.
25460 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
25462         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
25463         (__lll_lock_wait): Likewise.
25464         (__lll_timedlock_wait): Likewise.
25465         (__lll_timedwait_tid): Likewise.
25466         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
25467         (__lll_robust_timedlock_wait): Likewise.
25468         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
25469         (lll_cond_trylock): Likewise.
25470         (__lll_lock): Likewise.
25471         (__lll_robust_lock): Likewise.
25472         (__lll_cond_lock): Likewise.
25473         (lll_robust_cond_lock): Likewise.
25474         (__lll_timedlock): Likewise.
25475         (__lll_robust_timedlock): Likewise.
25476         (__lll_unlock): Likewise.
25477         (__lll_robust_unlock): Likewise.
25478         (lll_wait_tid): Likewise.
25479         (lll_timedwait_tid): Likewise.
25481 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25483         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
25485 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25487         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
25489 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
25491         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
25492         * stdio-common/tst-sprintf.c: Likewise.
25494 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25496         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
25498 2014-12-15  Jeff Law  <law@redhat.com>
25500         [BZ #16617]
25501         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
25502         on the heap.  (CVE-2012-3406)
25503         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
25504         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
25505         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
25507 2014-12-15  Will Newton  <will.newton@linaro.org>
25509         * manual/install.texi: Bump required version of texinfo
25510         to 4.7 from 4.5.
25511         * INSTALL: Regenerated.
25512         * configure.ac: Check for makeinfo version 4.7 and above.
25513         * configure: Regenerated.
25515 2014-12-12  Roland McGrath  <roland@hack.frob.com>
25517         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
25518         PREFIX, string constant to insert between directory and name.
25519         * sysdeps/posix/shm_open.c: Update caller.
25520         * sysdeps/posix/shm_unlink.c: Likewise.
25521         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
25522         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
25523         (SEM_SHM_PREFIX): New macro.
25524         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
25525         [$(have-thread-library) = no].
25526         * nptl/Makefile (libpthread-routines): Add shm-directory.
25527         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
25528         * sysdeps/nptl/shm-directory.h: New file.
25529         * sysdeps/posix/shm-directory.c
25530         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
25531         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
25532         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
25533         INTERNAL_SYSCALL.
25534         (__where_is_shmfs): Function removed.
25535         (mountpoint, defaultmount, defaultdir, __namedsem_once):
25536         Variables removed.
25537         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
25538         Use SHM_GET_NAME.
25539         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
25541         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
25542         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
25543         unconditional for use inside libpthread.
25544         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
25546 2014-12-12  Roland McGrath  <roland@hack.frob.com>
25548         * nptl/pthread_getaffinity.c: New file.
25549         * nptl/pthread_setaffinity.c: New file.
25550         * nptl/pthread_getname.c: New file.
25551         * nptl/pthread_setname.c: New file.
25553         * nptl/pthread_create.c (START_THREAD_DEFN)
25554         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
25556 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25557             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25559         * resolv/res_send.c (send_vc): Disable warning resplen may
25560         be used uninitialized.
25562 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25564         * nptl/tst-mutex6.c
25565         (ATTR_NULL): New define checks ATTR against NULL.
25566         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
25567         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
25569 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
25571         [BZ #17581]
25572         * malloc/hooks.c
25573         (mem2mem_check): Revert my previous change.
25574         (malloc_check_get_size): Revert my previous change.
25575         (mem2chunk_check): Revert my previous change.
25577 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25579         * sysdeps/posix/shm-directory.c: New file.
25580         * sysdeps/posix/shm-directory.h: New file.
25581         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
25582         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
25583         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
25584         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
25585         Transmute EPERM to EACCES.
25586         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
25587         from ...
25588         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
25589         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
25591 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25593         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
25594         pointer and cast to uintptr_t.
25595         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
25596         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
25597         Add cast to avoid warning.
25598         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
25600 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
25602         * nptl/semaphore.h: Move to ...
25603         * sysdeps/pthread/semaphore.h: ... here.
25604         * Makefile (installed-headers): Change nptl/semaphore.h to
25605         sysdeps/pthread/semaphore.h.
25607 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25609         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
25610         generated error format strings.
25612         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
25613         -Wformat-extra-args warnings for scanf formats.
25614         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
25615         test of zero-length format (duh).
25616         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
25617         corner-case scanf format test.
25618         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
25619         generated fprintf format string.
25620         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
25621         corner-case sprintf format tests.
25622         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
25623         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
25624         -Wformat-extra-args warnings throughout.
25625         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
25626         (CFLAGS-scanf4.c): Likewise.
25627         (CFLAGS-scanf7.c): Likewise.
25628         (CFLAGS-tst-sprintf.c): Likewise.
25629         (CFLAGS-tst-printf.c): Likewise.
25630         (CFLAGS-tst-printfsz.c): Likewise.
25632 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
25634         * include/cpio.h: New file.
25635         * include/fmtmsg.h: Likewise.
25637         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
25638         corresponding format argument to size_t.
25639         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
25640         arguments.
25641         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
25642         corresponding format argument to size_t.
25643         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
25644         arguments.
25645         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
25646         corresponding format argument to size_t.
25647         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
25648         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
25649         (CFLAGS-tst-mbswcs2.c): Likewise.
25650         (CFLAGS-tst-mbswcs3.c): Likewise.
25651         (CFLAGS-tst-mbswcs4.c): Likewise.
25652         (CFLAGS-tst-mbswcs5.c): Likewise.
25653         (CFLAGS-tst-trans.c): Likewise.
25655 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25657         * posix/regexbug1.c (main): Use "%s" format with regerror results,
25658         rather than assuming they won't contain any '%'s.
25660 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
25662         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
25663         inhibit_loop_to_libcall to avoid recursive calls.
25664         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
25665         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
25667 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
25669         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
25670         prototype.
25672 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
25674         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
25675         integer value instead of boolean.
25677 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
25679         * malloc/malloc.c: Fix powerof2 check.
25681 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25683         * locale/programs/locfile.h (maybe_swap_uint32):
25684         Remove inline and add unused attribute.
25686 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25688         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
25689         Truncating assembler expression to a .long expression.
25691 2014-12-11  Andreas Schwab  <schwab@suse.de>
25693         * elf/rtld.c (struct map_args): Constify str member.
25694         (do_preload): Constify fname argument.
25696 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25698         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
25699         constants definition.
25701 2014-12-11  Andreas Schwab  <schwab@suse.de>
25703         [BZ #16657]
25704         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
25705         FORCE_ELISION instead of DO_ELISION.
25706         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
25707         Remove.
25708         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
25709         Likewise.
25711         * iconvdata/gconv-modules: Remove duplicate entry.
25713 2014-12-11  Will Newton  <will.newton@linaro.org>
25715         Merge gettext 0.19.3 into intl/.
25717         This involves a number of cosmetic changes to comments
25718         and ANSI function definitions and prototypes throughout
25719         all the files. The gettext copyright header is used but
25720         with the date ranges taken from the glibc copy.
25722         * NEWS: Add gettext merge to 2.21.
25723         * intl/bindtextdom.c: Switch to gettext copyright.
25724         Use ANSI definitions and prototypes.
25725         Use gl_* locking primitives rather than __libc_* ones.
25726         Use __builtin_expect rather than __glibc_likely/unlikely.
25727         * intl/dcgettext.c: Switch to gettext copyright.
25728         Use ANSI definitions and prototypes.
25729         * intl/dcigettext.c: Switch to gettext copyright.
25730         Use ANSI definitions and prototypes.
25731         (INTDIV0_RAISES_SIGFPE): New define.
25732         Use gl_* locking primitives rather than __libc_* ones.
25733         Include eval-plural.h instead of plural-eval.c.
25734         Use __builtin_expect rather than __glibc_likely/unlikely.
25735         * intl/dcngettext.c: Switch to gettext copyright.
25736         Use ANSI definitions and prototypes.
25737         * intl/dgettext.c: Likewise.
25738         * intl/dngettext.c: Likewise.
25739         * intl/plural-eval.c: Renamed to...
25740         * intl/eval-plural.h: ...this.
25741         * intl/explodename.c: Switch to gettext copyright.
25742         Use ANSI definitions and prototypes.
25743         (_nl_explode_name): Use strchr instead of __rawmemchr.
25744         * intl/finddomain.c: Switch to gettext copyright.
25745         Use ANSI definitions and prototypes.
25746         Use gl_* locking primitives rather than __libc_* ones.
25747         (_nl_find_domain): Use malloc rather than alloca for
25748         allocation of temporary locale name.
25749         * intl/gettext.c: Switch to gettext copyright.
25750         Use ANSI definitions and prototypes.
25751         * intl/gettextP.h: Switch to gettext copyright.
25752         Use ANSI definitions and prototypes.
25753         Use gl_* locking primitives rather than __libc_* ones.
25754         * intl/gmo.h: Switch to gettext copyright.
25755         (struct sysdep_string): Move struct segment_pair outside of
25756         struct definition.
25757         * intl/hash-string.c: Use ANSI definitions and prototypes.
25758         * intl/hash-string.h: Switch to gettext copyright.
25759         Use ANSI definitions and prototypes.
25760         * intl/l10nflist.c: Switch to gettext copyright.
25761         Use ANSI definitions and prototypes.
25762         (_nl_normalize_codeset): Avoid integer overflow.
25763         * intl/loadinfo.h: Switch to gettext copyright.
25764         Use ANSI definitions and prototypes.
25765         (LIBINTL_DLL_EXPORTED): New define.
25766         (PATH_SEPARATOR): New define.
25767         * intl/loadmsgcat.c: Switch to gettext copyright.
25768         * intl/localealias.c: Switch to gettext copyright.
25769         Use ANSI definitions and prototypes.
25770         (_nl_expand_alias): Use PATH_SEPARATOR.
25771         * intl/ngettext.c: Switch to gettext copyright.
25772         Use ANSI definitions and prototypes.
25773         * intl/plural-exp.c: Likewise.
25774         * intl/plural-exp.h: Switch to gettext copyright.
25775         Use ANSI definitions and prototypes.
25776         (struct expression): Move definition of enum operator outside
25777         of struct definition.
25778         * intl/plural.c: Regenerate.
25779         * intl/plural.y: Switch to gettext copyright.
25780         Use ANSI definitions and prototypes.
25781         Port to bison 3.0.
25782         * intl/textdomain.c: Switch to gettext copyright.
25783         Use ANSI definitions and prototypes.
25784         Use gl_* locking primitives rather than __libc_* ones.
25786 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
25788         * debug/warning-nop.c: Add used atrribute.
25790 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25792         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
25794         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
25795         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
25796         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
25798 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25799             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25801         [BZ #17634]
25802         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
25803         Undefine after defining function.  Define as weak alias of
25804         __wcschr.  Use libc_hidden_weak.
25805         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
25806         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
25807         (libc_hidden_def): Also define __GI___wcschr alias.
25808         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
25809         __wcschr and define as weak alias of __wcschr.
25810         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
25811         __wcschr.
25812         [!WCSCHR] (DEFAULT_WCSCHR): Define.
25813         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
25814         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
25815         libc_hidden_weak.  Do not use libc_hidden_def.
25816         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
25817         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
25818         __GI___wcschr alias.
25819         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
25820         [IS_IN (libc)] (wcschr): Define as macro expanding to
25821         __redirect_wcschr.
25822         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
25823         [IS_IN (libc)] (__wcschr_power6): Likewise.
25824         [IS_IN (libc)] (__wcschr_power7): Likewise.
25825         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
25826         instead of wcschr.
25827         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
25828         __libc_wcschr.
25829         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
25830         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
25831         __wcschr and define as weak alias of __wcschr.  Use
25832         libc_hidden_builtin_def.
25833         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
25834         as weak alias of __wcschr.  Use libc_hidden_weak.
25835         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
25836         wcschr.
25837         * time/era.c (_nl_init_era_entries): Likewise.
25838         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
25839         variable.
25840         (test-xfail-XPG3/time.h/linknamespace): Likewise.
25841         (test-xfail-XPG4/time.h/linknamespace): Likewise.
25843 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25845         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
25846         format for long int variable.
25848 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
25850         [BZ #10672]
25851         * manual/search.texi: (Array Sort Function): Remove claim how to make
25852         qsort stable.
25854 2014-12-10  Andreas Schwab  <schwab@suse.de>
25856         [BZ #12847]
25857         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
25858         user-controlled locks.
25860 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
25862         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
25863         register.
25865 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25867         * configure.ac (--disable-werror): New configure option.
25868         (enable_werror): New AC_SUBST.
25869         * configure: Regenerated.
25870         * config.make.in (enable-werror): New variable.
25871         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
25872         -Wno-error=undef.
25873         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
25874         * manual/install.texi (Configuring and compiling): Document
25875         --disable-werror.
25876         * INSTALL: Regenerated.
25877         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
25878         (CFLAGS-tst-chk2.c): Likewise.
25879         (CFLAGS-tst-chk3.c): Likewise.
25880         (CFLAGS-tst-chk4.cc): Likewise.
25881         (CFLAGS-tst-chk5.cc): Likewise.
25882         (CFLAGS-tst-chk6.cc): Likewise.
25883         (CFLAGS-tst-lfschk1.c): Likewise.
25884         (CFLAGS-tst-lfschk2.c): Likewise.
25885         (CFLAGS-tst-lfschk3.c): Likewise.
25886         (CFLAGS-tst-lfschk4.cc): Likewise.
25887         (CFLAGS-tst-lfschk5.cc): Likewise.
25888         (CFLAGS-tst-lfschk6.cc): Likewise.
25890         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
25891         (main): Disable -Wdeprecated-declarations around calls to
25892         register_printf_function.
25894         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
25895         (do_test): Disable -Wdiv-by-zero around some calls to
25896         fwrite_unlocked and fread_unlocked.
25898         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
25899         (DIAG_POP_NEEDS_COMMENT): Likewise.
25900         (_DIAG_STR1): Likewise.
25901         (_DIAG_STR): Likewise.
25902         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
25903         * stdio-common/bug21.c: Include <libc-internal.h>.
25904         (do_test): Disable -Wformat around call to sscanf.
25905         * stdio-common/scanf14.c: Include <libc-internal.h>.
25906         (main): Disable -Wformat around some calls to scanf functions.
25908 2014-12-09  Torvald Riegel  <triegel@redhat.com>
25910         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
25912 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25914         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
25915         stack variable alignment.
25917 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
25919         [BZ #17682]
25920         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
25921         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
25922         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
25923         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
25924         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
25925         __getrlimit instead of getrlimit.
25926         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
25927         __gettimeofday instead of gettimeofday.
25928         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25929         Likewise.
25930         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
25931         Likewise.
25932         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25933         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
25934         Remove variable.
25935         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25936         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
25938 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25940         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
25941         for wide-character tests.
25943 2014-12-04  Roland McGrath  <roland@hack.frob.com>
25945         * io/openat64.c: #include <libc-internal.h>
25946         (__openat64): Prototypify.  Use ignore_value on MODE.
25947         * io/openat.c: Likewise.
25948         * misc/reboot.c: #include <libc-internal.h>
25949         (reboot): Prototypify.  Use ignore_value on HOWTO.
25950         * misc/ptrace.c: #include <libc-internal.h>
25951         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
25953 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
25955         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
25956         XPG4, UNIX98 and XOPEN2K.
25957         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
25958         Remove variable.
25959         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
25961 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25963         * libio/fileops.c: Use ISO C style for function definitions.
25964         * libio/iofopen.c: Likewise.
25965         * libio/wfileops.c: Likewise.
25967         [BZ #17653]
25968         * libio/fileops.c (_IO_new_file_underflow): Unset cached
25969         offset on EOF.
25970         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
25971         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
25972         (fgets_func): Function pointer to fgets and fgetws.
25973         (do_ftell_test): Add test to verify ftell value after read
25974         EOF.
25975         (do_test): Set fgets_func.
25977         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
25978         O_TRUNC flag for w and w+ modes.
25979         (do_rewind_test): Likewise.
25980         (do_ftell_test): Likewise.
25981         (do_write_test): Likewise.
25983         [BZ #17647]
25984         * libio/fileops.c (do_ftell): Seek only when there are
25985         unflushed writes.
25986         * libio/wfileops.c (do_ftell_wide): Likewise.
25987         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
25988         test case.
25989         (do_one_test): Call it.
25991 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
25993         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
25994         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
25995         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
25996         Remove variable.
25997         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25998         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
25999         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
26001 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26003         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
26004         Remove variable.
26005         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
26007         [BZ #17668]
26008         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
26009         as weak alias of __getifaddrs.  Use libc_hidden_weak.
26010         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26011         __freeifaddrs.  Use libc_hidden_weak.
26012         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
26013         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
26014         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26015         __freeifaddrs.  Use libc_hidden_weak.
26016         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
26017         __getifaddrs and define as weak alias of __getifaddrs.  Use
26018         libc_hidden_weak.
26019         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26020         __freeifaddrs.  Use libc_hidden_weak.
26021         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
26022         Remove variable.
26023         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
26024         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
26026 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
26028         [BZ #17601]
26029         * sysdeps/mips/start.S (__start): Use indirect jump to call
26030         __libc_start_main.
26032 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26034         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
26036         * nptl/tst-mutex1.c: Include <stdbool.h>.
26037         [!ATTR] (ATTR_NULL): New macro.
26038         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
26039         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
26040         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
26042         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
26043         to char *.
26045         [BZ #17665]
26046         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
26047         Change conditional to [__USE_MISC].
26049         [BZ #17664]
26050         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
26051         fgets_unlocked.
26052         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
26053         __fgets_unlocked.
26054         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
26055         fgets_unlocked.
26056         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
26057         Remove variable.
26058         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
26059         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
26060         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
26061         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
26062         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
26063         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
26064         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
26065         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
26066         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
26068         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
26070 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26072         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26073         Remove strpbrk objects.
26074         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26075         (__libc_ifunc_impl_list): Remove strpbrk implementation.
26076         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
26077         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
26078         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
26079         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
26081         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26082         Remove strcspn objects.
26083         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26084         (__libc_ifunc_impl_list): Remove strcspn implementation.
26085         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
26086         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
26087         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
26088         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
26090         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26091         Remove strspn objetcs.
26092         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26093         (__libc_ifunc_impl_list): Remove strspn implementation.
26094         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
26095         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
26096         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
26097         * sysdeps/powerpc/powerpc64/strspn.S: New file.
26099 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
26101         [BZ #17581]
26102         * malloc/hooks.c
26103         (mem2mem_check): Add a terminator to the chain of checking blocks.
26104         (malloc_check_get_size): Use it here.
26105         (mem2chunk_check): Ditto.
26107 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26109         * sysdeps/powerpc/powerpc64/strtok.S: New file.
26110         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
26112 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
26114         * bits/ioctl-types.h: Indent preprocessor directives correctly.
26116         * nptl/nptl-init.c: Include libc-internal.h.
26117         (__pthread_initialize_minimal_internal): Use ROUND_UP.
26119         * elf/ldconfig.c (search_dir): Expand comment.
26121 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
26123         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
26124         variable.
26125         (linknamespace-symlist-stdlibs-tests): Likewise.
26126         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
26127         instead of $(objpfx)symlist-stdlibs.
26128         (linknamespace-libs-isoc): New variable.
26129         (linknamespace-libs): Use $(linknamespace-libs-isoc).
26130         (linknamespace-libs-ISO): New variable.
26131         (linknamespace-libs-ISO99): Likewise.
26132         (linknamespace-libs-ISO11): Likewise.
26133         (linknamespace-libs-XPG3): Likewise.
26134         (linknamespace-libs-XPG4): Likewise.
26135         (linknamespace-libs-POSIX): Likewise.
26136         (linknamespace-libs-UNIX98): Likewise.
26137         (linknamespace-libs-XOPEN2K): Likewise.
26138         (linknamespace-libs-POSIX2008): Likewise.
26139         (linknamespace-libs-XOPEN2K8): Likewise.
26140         ($(objpfx)symlist-stdlibs): Replace by
26141         $(linknamespace-symlist-stdlibs-tests).  Use
26142         $(linknamespace-libs-$*) as set of libraries.
26143         ($(linknamespace-header-tests)): Update dependencies.  Use
26144         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
26145         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
26146         * conform/linknamespace.pl: Remove comment about considering
26147         definitions of symbols from irrelevant libraries.
26149 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
26151         [BZ #13862]
26152         * elf/dl-tls.c: Include <atomic.h>.
26153         (oom): Remove #ifdef SHARED/#endif.
26154         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
26155         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
26156         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
26157         big enough.
26158         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
26159         * nptl/Makefile (tests): Add tst-stack4.
26160         (modules-names): Add tst-stack4mod.
26161         ($(objpfx)tst-stack4): New.
26162         (tst-stack4mod.sos): Likewise.
26163         ($(objpfx)tst-stack4.out): Likewise.
26164         ($(tst-stack4mod.sos)): Likewise.
26165         (clean): Likewise.
26166         * nptl/tst-stack4.c: New file.
26167         * nptl/tst-stack4mod.c: Likewise.
26169 2014-11-27  J. Brown  <jb999@gmx.de>
26171         * sysdeps/x86/bits/string.h: Add recent CPUs.
26173 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26175         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
26176         sigblock.
26178         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
26179         feof.
26181         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
26182         variable.
26184 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
26186         * nscd/connections.c: Include libc-internal.h because of macro
26187         usage ignore_value.
26189 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26191         * string/bits/string3.h (__warn_memset_zero_len): Don't
26192         declare for gcc newer than 5.0.
26193         (memset): Don't test for zero-length __LEN for gcc newer than
26194         5.0.
26196 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26198         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
26199         size_t for %zu format.
26201         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
26202         difference, not %ju.
26204 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26206         * include/libc-internal.h (ignore_value): New macro.
26207         * nscd/connections.c (restart): Wrap calls to setuid and setgid
26208         with ignore_value.
26210         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
26211         definition.
26213         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
26214         pthread_cleanup_push to void *.
26216         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
26217         Undefine.
26219         [BZ #16619]
26220         [BZ #16740]
26221         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
26222         instead of 1L << 52.
26224         * libio/bug-rewind.c (do_test): Check fwscanf return values.
26225         * libio/bug-rewind2.c (do_test): Likewise.
26227         * debug/test-stpcpy_chk-ifunc.c: Remove file.
26228         * debug/test-strcpy_chk-ifunc.c: Likewise.
26229         * wcsmbs/test-wcschr-ifunc.c: Likewise.
26230         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26231         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26232         * wcsmbs/test-wcslen-ifunc.c: Likewise.
26233         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26234         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26235         * Rules [$(multi-arch) = no] (tests): Do not filter out
26236         $(tests-ifunc).
26237         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
26238         * debug/Makefile (tests-ifunc): Remove variable.
26239         (tests): Do not add $(tests-ifunc).
26240         * wcsmbs/Makefile (tests-ifunc): Remove variable.
26241         (tests): Do not add $(tests-ifunc).
26242         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
26243         [TEST_IFUNC]: Remove conditionals.
26244         * string/test-string.h (TEST_IFUNC): Remove macro.
26245         [TEST_IFUNC]: Remove conditionals.
26247         * string/test-strchr.c [!WIDE] (L): New macro.
26248         [WIDE] (L): Likewise.
26249         (check1): Use CHAR instead of char.  Use L on string and character
26250         constants.
26252 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
26254         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
26255         tests.
26256         * sysdeps/powerpc/bits/atomic.h
26257         (__arch_atomic_exchange_and_add_32_acq): Add definition.
26258         (__arch_atomic_exchange_and_add_32_rel): Likewise.
26259         (atomic_exchange_and_add_acq): Likewise.
26260         (atomic_exchange_and_add_rel): Likewise.
26261         * sysdeps/powerpc/powerpc32/bits/atomic.h
26262         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26263         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26264         * sysdeps/powerpc/powerpc64/bits/atomic.h
26265         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26266         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26268 2014-11-26  Torvald Riegel  <triegel@redhat.com>
26270         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
26271         Change synchronization of __sched_fifo_min_prio and
26272         __sched_fifo_max_prio.
26273         * nptl/pthread_mutexattr_getprioceiling.c
26274         (pthread_mutexattr_getprioceiling): Likewise.
26275         * nptl/pthread_mutexattr_setprioceiling.c
26276         (pthread_mutexattr_setprioceiling): Likewise.
26277         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26278         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
26279         Likewise.
26281 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26283         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
26284         void.
26286 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26288         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
26289         third argument const.
26291 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
26293         fnmatch: work around GCC compiler warning bug with uninit var
26294         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
26295         This works around a bug with x86-64 GCC 4.9.2 and earlier
26296         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
26297         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
26298         used uninitialized in this function [-Wmaybe-uninitialized]".
26300 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26302         * posix/bug-regex31.c (main): Return RES not 0.
26304 2014-11-25  Anton Blanchard <anton@samba.org>
26306         * sysdeps/powerpc/bits/atomic.h
26307         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
26309 2014-11-24  Sterling Augustine  <saugustine@google.com>
26311         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
26313 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
26315         [BZ #17608]
26316         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
26318 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
26320         [BZ #17633]
26321         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
26322         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
26323         variable.
26324         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
26325         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
26327 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26329         * string/strncpy.c (strncpy): Improve performance by using memset.
26331 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26333         * string/strcpy.c (strcpy):
26334         Improve performance by using strlen and memcpy.
26336 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
26338         * string/strcoll_l.c (get_next_seq): __always_inline.
26339         * string/strcoll_l.c (do_compare): __always_inline.
26341 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26343         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
26344         defined.
26345         * include/mqueue.h: Likewise.
26346         * include/stdlib.h: Likewise.
26348         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
26349         (get_null_defines): Adjust.
26350         * sunrpc/Makefile: Adjust comment.
26351         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
26352         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
26353         (CFLAGS-interp.c): Likewise.
26354         (CFLAGS-ldconfig.c): Likewise.
26355         (CPPFLAGS-.os): Likewise.
26356         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26357         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
26358         * extra-modules.mk (extra-modules.mk): Likewise.
26359         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
26360         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
26361         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
26362         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
26363         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
26364         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
26365         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
26366         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
26367         * iconvdata/Makefile (CPPFLAGS): Likewise.
26368         (cpp-srcs-left): Add libof for all iconvdata routines.
26369         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
26370         * include/assert.h: Likewise.
26371         * include/ctype.h: Likewise.
26372         * include/errno.h: Likewise.
26373         * include/libc-symbols.h: Likewise.
26374         * include/math.h: Likewise.
26375         * include/netdb.h: Likewise.
26376         * include/resolv.h: Likewise.
26377         * include/stdio.h: Likewise.
26378         * include/stdlib.h: Likewise.
26379         * include/string.h: Likewise.
26380         * include/sys/stat.h: Likewise.
26381         * include/wctype.h: Likewise.
26382         * intl/l10nflist.c: Likewise.
26383         * libidn/idn-stub.c: Likewise.
26384         * libio/libioP.h: Likewise.
26385         * nptl/libc_multiple_threads.c: Likewise.
26386         * nptl/pthreadP.h: Likewise.
26387         * posix/regex_internal.h: Likewise.
26388         * resolv/res_hconf.c: Likewise.
26389         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
26390         * sysdeps/arm/memmove.S: Likewise.
26391         * sysdeps/arm/sysdep.h: Likewise.
26392         * sysdeps/generic/_itoa.h: Likewise.
26393         * sysdeps/generic/symbol-hacks.h: Likewise.
26394         * sysdeps/gnu/errlist.awk: Likewise.
26395         * sysdeps/gnu/errlist.c: Likewise.
26396         * sysdeps/i386/i586/memcpy.S: Likewise.
26397         * sysdeps/i386/i586/memset.S: Likewise.
26398         * sysdeps/i386/i686/memcpy.S: Likewise.
26399         * sysdeps/i386/i686/memmove.S: Likewise.
26400         * sysdeps/i386/i686/mempcpy.S: Likewise.
26401         * sysdeps/i386/i686/memset.S: Likewise.
26402         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26403         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26404         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
26405         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
26406         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26407         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26408         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
26409         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26410         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26411         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26412         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26413         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26414         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26415         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26416         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26417         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26418         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
26419         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
26420         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
26421         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26422         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26423         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26424         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26425         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26426         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26427         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26428         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
26429         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26430         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
26431         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
26432         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26433         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26434         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26435         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26436         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26437         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26438         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26439         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26440         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26441         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26442         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26443         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26444         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26445         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
26446         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26447         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26448         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
26449         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
26450         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26451         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26452         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26453         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
26454         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
26455         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26456         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26457         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
26458         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26459         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
26460         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
26461         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26462         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26463         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26464         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
26465         * sysdeps/nptl/bits/libc-lock.h: Likewise.
26466         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
26467         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
26468         * sysdeps/posix/closedir.c: Likewise.
26469         * sysdeps/posix/opendir.c: Likewise.
26470         * sysdeps/posix/readdir.c: Likewise.
26471         * sysdeps/posix/rewinddir.c: Likewise.
26472         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
26473         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
26474         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
26475         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26476         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26477         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
26478         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
26479         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
26480         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
26481         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
26482         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
26483         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
26484         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
26485         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
26486         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
26487         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
26488         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
26489         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
26490         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
26491         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
26492         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
26493         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
26494         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
26495         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
26496         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
26497         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
26498         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
26499         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
26500         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
26501         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
26502         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
26503         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
26504         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
26505         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
26506         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
26507         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
26508         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26509         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26510         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
26511         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
26512         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
26513         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
26514         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
26515         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
26516         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
26517         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
26518         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
26519         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
26520         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
26521         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
26522         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
26523         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
26524         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
26525         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
26526         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
26527         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
26528         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
26529         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
26530         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
26531         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
26532         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
26533         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
26534         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
26535         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
26536         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
26537         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
26538         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
26539         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
26540         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
26541         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
26542         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
26543         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
26544         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
26545         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
26546         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
26547         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
26548         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
26549         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
26550         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
26551         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
26552         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
26553         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
26554         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
26555         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
26556         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
26557         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
26558         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
26559         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26560         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26561         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26562         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
26563         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
26564         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
26565         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26566         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26567         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
26568         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26569         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26570         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
26571         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
26572         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26573         * sysdeps/unix/alpha/sysdep.S: Likewise.
26574         * sysdeps/unix/alpha/sysdep.h: Likewise.
26575         * sysdeps/unix/make-syscalls.sh: Likewise.
26576         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26577         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26578         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26579         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
26580         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26581         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
26582         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
26583         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26584         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26585         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
26586         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26587         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26588         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26589         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
26590         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26591         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26592         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26593         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
26594         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
26595         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26596         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
26597         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26598         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26599         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26600         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26601         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26602         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
26604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
26605         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
26606         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26607         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26608         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26609         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26610         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
26611         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26612         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26613         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26614         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
26615         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
26616         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26617         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26618         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26619         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26620         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26621         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26622         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26623         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26624         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26625         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26626         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26627         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26628         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26629         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26630         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
26631         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26632         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26633         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26634         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
26635         * sysdeps/x86_64/memcpy.S: Likewise.
26636         * sysdeps/x86_64/memmove.c: Likewise.
26637         * sysdeps/x86_64/memset.S: Likewise.
26638         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
26639         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26640         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
26641         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
26642         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
26643         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26644         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26645         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26646         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26647         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26648         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26649         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26650         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
26651         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26652         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26653         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
26654         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26655         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26656         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
26657         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26658         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
26659         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26660         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26661         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
26662         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26663         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26664         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26665         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
26666         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26667         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26668         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
26669         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26670         * sysdeps/x86_64/strcmp.S: Likewise.
26672         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
26674         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
26675         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
26676         * elf/rtld-Rules: Likewise.
26677         * elf/setup-vdso.h: Likewise.
26678         * include/assert.h: Likewise.
26679         * include/bits/stdlib-float.h: Likewise.
26680         * include/errno.h: Likewise.
26681         * include/sys/stat.h: Likewise.
26682         * include/unistd.h: Likewise.
26683         * sysdeps/aarch64/setjmp.S: Likewise.
26684         * sysdeps/alpha/setjmp.S: Likewise.
26685         * sysdeps/arm/__longjmp.S: Likewise.
26686         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
26687         * sysdeps/arm/setjmp.S: Likewise.
26688         * sysdeps/arm/sysdep.h: Likewise.
26689         * sysdeps/generic/_itoa.h: Likewise.
26690         * sysdeps/generic/dl-sysdep.h: Likewise.
26691         * sysdeps/generic/ldsodefs.h: Likewise.
26692         * sysdeps/i386/dl-tls.h: Likewise.
26693         * sysdeps/i386/setjmp.S: Likewise.
26694         * sysdeps/m68k/setjmp.c: Likewise.
26695         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
26696         * sysdeps/mach/hurd/opendir.c: Likewise.
26697         * sysdeps/posix/getcwd.c: Likewise.
26698         * sysdeps/posix/opendir.c: Likewise.
26699         * sysdeps/posix/profil.c: Likewise.
26700         * sysdeps/powerpc/dl-procinfo.h: Likewise.
26701         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26702         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26703         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26704         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26705         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
26706         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
26707         * sysdeps/s390/dl-tls.h: Likewise.
26708         * sysdeps/s390/s390-32/setjmp.S: Likewise.
26709         * sysdeps/s390/s390-64/setjmp.S: Likewise.
26710         * sysdeps/sh/sh3/setjmp.S: Likewise.
26711         * sysdeps/sh/sh4/setjmp.S: Likewise.
26712         * sysdeps/unix/alpha/sysdep.h: Likewise.
26713         * sysdeps/unix/arm/sysdep.S: Likewise.
26714         * sysdeps/unix/i386/sysdep.S: Likewise.
26715         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26716         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
26717         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26718         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26719         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26720         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
26721         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
26722         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26723         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
26724         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
26725         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
26726         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26727         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26730         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26731         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26732         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26733         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26734         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26735         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26736         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26737         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26738         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26739         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26740         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26741         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26742         * sysdeps/unix/x86_64/sysdep.S: Likewise.
26743         * sysdeps/x86_64/setjmp.S: Likewise.
26745         * include/math.h: Use IS_IN instead of IS_IN_libm.
26746         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
26747         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26748         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26749         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
26750         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26751         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26752         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26753         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26754         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26755         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26756         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
26757         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
26758         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
26759         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
26760         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
26761         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
26762         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
26763         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
26764         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
26765         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
26766         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
26767         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
26768         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
26769         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
26770         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
26771         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
26772         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
26773         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
26774         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
26775         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
26776         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
26777         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
26778         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
26780         Likewise.
26781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
26782         Likewise.
26783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
26784         Likewise.
26785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
26786         Likewise.
26787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
26788         Likewise.
26789         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
26790         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
26791         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
26792         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26793         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26794         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
26796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
26797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
26798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
26799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
26800         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
26801         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
26802         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26803         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26804         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
26805         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26806         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26807         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
26808         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
26809         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
26810         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
26811         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
26812         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
26813         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
26814         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26815         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
26817         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
26818         * nptl/pthreadP.h: Likewise.
26819         * nptl_db/structs.def: Likewise.
26820         * sysdeps/arm/sysdep.h: Likewise.
26821         * sysdeps/nptl/bits/libc-lock.h: Likewise.
26822         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
26823         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
26824         * sysdeps/unix/alpha/sysdep.h: Likewise.
26825         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26826         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26827         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26828         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26829         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26830         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26831         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26832         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26833         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26834         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26835         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26836         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26837         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26838         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
26840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
26841         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26842         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26843         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26844         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26845         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26846         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26847         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26848         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26849         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
26850         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26852         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
26853         * nptl/pthreadP.h: Likewise.
26854         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26855         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26856         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26857         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26858         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26859         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26860         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26861         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26862         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26863         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26864         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26865         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
26867         Likewise.
26868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
26869         Likewise.
26870         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26871         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26872         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26873         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26874         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26875         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26876         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26877         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26879         * dlfcn/dladdr.c: Use IS_IN.
26880         * dlfcn/dladdr1.c: Likewise.
26881         * dlfcn/dlclose.c: Likewise.
26882         * dlfcn/dlerror.c: Likewise.
26883         * dlfcn/dlinfo.c: Likewise.
26884         * dlfcn/dlmopen.c: Likewise.
26885         * dlfcn/dlopen.c: Likewise.
26886         * dlfcn/dlsym.c: Likewise.
26887         * dlfcn/dlvsym.c: Likewise.
26889         * include/ifaddrs.h: Use IS_IN.
26890         * inet/check_pf.c: Likewise.
26891         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26892         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
26894         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
26895         IS_IN_ldconfig.
26896         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
26897         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
26899         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
26900         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
26901         IS_IN (libc).
26903         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
26905         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
26906         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26907         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
26908         * include/libc-symbols.h (IS_IN_LIB): New macro.
26909         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
26910         * include/netdb.h: Likewise.
26911         * include/stap-probe.h: Remove all uses of IN_LIB.
26913         * Makeconfig (module-cppflags-real): Define MODULE_NAME
26914         instead of IN_MODULE.
26915         * include/libc-symbols.h (IN_MODULE): Define using
26916         MODULE_NAME.
26917         (PASTE_NAME, PASTE_NAME1): New macros.
26918         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
26919         of IN_LIB.
26920         (STAP_PROBE_ASM): Likewise.
26922 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26924         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
26925         __mach_init in dlopened libc.
26927 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
26929         * sysdeps/arm/preconfigure.ac: Delete EABI check.
26930         * sysdeps/arm/preconfigure: Regenerate.
26932 2014-11-21  Roland McGrath  <roland@hack.frob.com>
26934         * nptl/pthread_create.c (__pthread_create_2_1): Set
26935         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
26936         when copying values from IATTR into PD.
26938 2014-11-21  Will Newton  <will.newton@linaro.org>
26939             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
26941         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
26942         Refactor inline-asm.  Also add comment.
26944         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
26945         ElfW macro instead of hardcoded Elf64 types.
26946         (la_aarch64_gnu_pltenter): Likewise.
26947         * sysdeps/aarch64/dl-machine.h
26948         (elf_machine_runtime_setup): Use ElfW(Addr).
26950         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
26951         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
26952         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
26953         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
26954         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
26955         (R_AARCH64_TLS_DTPMOD64): Rename to ..
26956         (R_AARCH64_TLS_DTPMOD): This.
26957         (R_AARCH64_TLS_DTPREL64): Rename to ...
26958         (R_AARCH64_TLS_DTPREL): This.
26959         (R_AARCH64_TLS_TPREL64): Rename to ...
26960         (R_AARCH64_TLS_TPREL): This.
26961         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
26962         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
26963         R_AARCH64_TLS_TPREL64.
26964         (elf_machine_rela): Likewise.
26966 2014-11-21  Torvald Riegel  <triegel@redhat.com>
26968         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
26969         by setting it to 0.  64b atomics are not supported currently.
26971 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26973         [BZ #16469]
26974         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
26975         search domain names.
26977 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26979         [BZ #16469]
26980         * NEWS: Update.
26981         * resolv/res_query.c (__libc_res_nquerydomain): Retain
26982         trailing dot.
26983         * posix/tst-getaddrinfo5.c: New.
26984         * posix/Makefile (tests): Add it.
26986 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26988         [BZ #14498]
26989         * NEWS: Fixed.
26990         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
26991         after parsing line but before break_if_match.
26992         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
26993         if there is a protocol mismatch.
26995 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
26997         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
26998         because the potential race is on the user-supplied stream.
27000 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27002         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
27003         string literal if not passed a buffer.
27004         * manual/job.texi (ctermid): Update reasoning, note deviation
27005         from posix, suggest mtasurace when not passed a buffer, for
27006         future non-preliminary safety notes.
27008 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27010         * manual/users.texi (cuserid): Fix MT-Safety note for the case
27011         of not passing it a buffer.
27012         Reported by Peng Haitao.
27014 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27016         * manual/Makefile ($(objpfx)stamp-summary): Require
27017         check-safety.sh to pass.
27018         * manual/check-safety.sh: Wish for verification that every
27019         @deftypefn and @deftypefun is followed by a @safety remark.
27021 2014-11-20  Roland McGrath  <roland@hack.frob.com>
27023         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
27025         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
27026         PTHREAD_CANCEL_ASYNCHRONOUS.
27027         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
27028         send SIGCANCEL.
27030         * nptl/default-sched.h: New file.
27031         * sysdeps/unix/sysv/linux/default-sched.h: New file.
27032         * nptl/pthread_create.c: Include it.
27033         (__pthread_create_2_1): Use collect_default_sched instead of making
27034         Linux syscalls here directly.
27036 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27038         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
27039         __pthread_once): Use C11 atomics.
27041 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27043         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
27045 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27047         * include/atomic.h (__atomic_link_error, __atomic_check_size,
27048         atomic_thread_fence_acquire, atomic_thread_fence_release,
27049         atomic_thread_fence_seq_cst, atomic_load_relaxed,
27050         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
27051         atomic_compare_exchange_weak_relaxed,
27052         atomic_compare_exchange_weak_acquire,
27053         atomic_compare_exchange_weak_release,
27054         atomic_exchange_acquire, atomic_exchange_release,
27055         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
27056         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
27057         atomic_fetch_and_acquire,
27058         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
27060 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27062         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
27063         USE_ATOMIC_COMPILER_BUILTINS): Define.
27064         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
27065         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27066         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
27067         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27068         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
27069         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27070         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
27071         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27072         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
27073         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27074         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
27075         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27076         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
27077         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27078         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
27079         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27080         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27081         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27082         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27083         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27084         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
27085         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27086         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27087         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27088         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
27089         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27090         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27091         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27092         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
27093         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27094         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
27095         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27096         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
27097         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27098         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
27099         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27100         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
27101         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27102         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
27103         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27105 2014-11-19  Roland McGrath  <roland@hack.frob.com>
27107         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
27108         the sched_priority value here.  It was already checked when the user
27109         called pthread_attr_setschedparam.
27111         * nptl/tst-bad-schedattr.c: New file.
27112         * nptl/Makefile (tests): Add it.
27114 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
27115             Florian Weimer  <fweimer@redhat.com>
27116             Joseph Myers  <joseph@codesourcery.com>
27117             Adam Conrad  <adconrad@0c3.net>
27118             Andreas Schwab  <schwab@suse.de>
27119             Brooks  <bmoses@google.com>
27121         [BZ #17625]
27122         * wordexp-test.c (__dso_handle): Add prototype.
27123         (__register_atfork): Likewise.
27124         (__app_register_atfork): New function.
27125         (registered_forks): New global.
27126         (register_fork): New function.
27127         (test_case): Add 3 new tests for WRDE_CMDSUB.
27128         (main): Call __app_register_atfork.
27129         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
27130         fork count is non-zero fail the test.
27131         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
27132         is set.
27133         (parse_dollars): Remove check for WRDE_NOCMD.
27134         (parse_dquote): Likewise.
27136 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27138         * Makeconfig (built-modules): List non-library modules to be
27139         built.
27140         (module-cppflags): Include libc-modules.h for
27141         everything except shlib-versions.v.i.
27142         (CPPFLAGS): Use it.
27143         (before-compile): Add libc-modules.h.
27144         ($(common-objpfx)libc-modules.h,
27145         $(common-objpfx)libc-modules.stmp): New targets.
27146         (common-generated): Add libc-modules.h and libc-modules.stmp.
27147         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
27148         * include/libc-symbols.h: Don't include libc-modules.h.
27149         * include/libc-modules.h: Remove file.
27150         * scripts/gen-libc-modules.awk: New script to generate
27151         libc-modules.h.
27152         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
27153         Depend on libc-modules.stmp.
27155         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
27157         * Makeconfig (in-module): Get value of libof set for the
27158         translation unit.
27159         (CPPFLAGS): Use $(in-module).
27160         * Makerules: Don't suffix routine names for nonlib.
27161         * include/libc-modules.h: New file.
27162         * include/libc-symbols.h: Include libc-modules.h
27163         (IS_IN): New macro to replace IS_IN_* macros.
27164         * elf/Makefile: Set libof-* for each routine.
27165         * elf/rtld-Rules: Likewise.
27166         * extra-modules.mk: Likewise.
27167         * iconv/Makefile: Likewise.
27168         * iconvdata/Makefile: Likewise.
27169         * locale/Makefile: Likewise.
27170         * malloc/Makefile: Likewise.
27171         * nss/Makefile: Likewise.
27172         * sysdeps/gnu/Makefile: Likewise.
27173         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
27174         * sysdeps/unix/sysv/linux/Makefile: Likewise.
27175         * sysdeps/s390/s390-64/Makefile: Likewise.
27176         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
27177         CPPFLAGS for nscd instead of nonlib.
27179 2014-11-18  Roland McGrath  <roland@hack.frob.com>
27181         * nptl/createthread.c: New file.
27183         * nptl/createthread.c: Moved ...
27184         * sysdeps/unix/sysv/linux/createthread.c: ... here.
27186         * nptl/createthread.c: Add proper top-line comment.
27187         (do_clone): Folded into ...
27188         (create_thread): ... here.  Take new arguments STOPPED_START and
27189         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
27190         increment __nptl_threads, do event-reporting logic, do
27191         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
27192         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
27193         resource cleanup if sched_setaffinity or sched_setscheduler fails,
27194         just send SIGCANCEL.
27195         * nptl/pthread_create.c: Forward-declare create_thread before
27196         including createthread.c.
27197         (start_thread): Use new macro START_THREAD_DEFN to replace defining
27198         declaration, and new macro START_THREAD_SELF to replace argument.
27199         Remove return statement.
27200         (report_thread_creation): New function.
27201         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
27202         synchronization logic, and __nptl_nthreads increment here, around
27203         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
27204         PD->parent_cancelhandling here, before create_thread.  When
27205         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
27206         __deallocate_stack, and ENOMEM translation here.
27208 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
27210         [BZ #17616]
27211         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
27212         (mptwo): Rename to __mptwo.
27213         (__inv): Use __mptwo instead of mptwo.
27214         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
27215         (mptwo): Rename to __mptwo.
27216         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
27217         of mpone and __mptwo instead of mptwo.
27218         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
27219         instead of mpone.
27220         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27221         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
27222         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
27223         of mpone and __mptwo instead of mptwo.
27224         (__mpranred): Use __mpone instead of mpone.
27225         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
27226         variable.
27227         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27228         (test-xfail-ISO99/math.h/linknamespace): Likewise.
27229         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27230         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27231         (test-xfail-ISO11/math.h/linknamespace): Likewise.
27232         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27233         (test-xfail-XPG3/math.h/linknamespace): Likewise.
27234         (test-xfail-XPG4/math.h/linknamespace): Likewise.
27235         (test-xfail-POSIX/math.h/linknamespace): Likewise.
27236         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
27237         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
27238         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
27239         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
27240         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
27241         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
27242         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
27243         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
27244         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
27245         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
27247 2014-11-18  Tom de Vries  <tom@codesoucery.com>
27249         * manual/signal.texi (Primitives Interrupted by Signals): In section,
27250         replace BSD Handler xref with BSD Signal Handling.
27252 2014-11-17  Richard Henderson  <rth@redhat.com>
27254         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
27255         (_FP_PACK_RAW_2): Remove.
27256         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
27257         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
27258         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
27259         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
27260         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
27261         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
27262         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
27263         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
27264         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
27265         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
27266         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
27267         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
27268         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
27269         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
27270         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
27271         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
27273 2014-11-14  Roland McGrath  <roland@hack.frob.com>
27275         * signal/signal.h [__USE_MISC]
27276         (struct sigvec): Remove type.
27277         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
27278         (sigvec): Remove declaration.
27279         * sysdeps/posix/sigvec.c: Moved ...
27280         * signal/sigvec.c: ... here, replacing old file.
27281         (struct sigvec): New type, copied from old signal.h definition.
27282         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
27283         (__sigvec): Convert definition to prototype.
27284         (sigvec): Replace weak_alias with compat_symbol.
27285         * signal/Versions (libc: GLIBC_2.21): New version set.
27286         * include/signal.h: Remove __sigvec declaration.
27287         * sysdeps/unix/bsd/sigvec.c: Remove file.
27288         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
27289         * manual/signal.texi (BSD Handler): Remove subsection.
27290         Move siginterrupt up to ...
27291         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
27292         (Blocking in BSD): Fold subsection into its parent.
27293         * NEWS: Mention sigvec removal.
27295 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27297         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
27298         (DLA_FMS): Make definition conditional only on [__FMA4__].
27299         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
27300         definition.
27302         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
27303         Make definition conditional only on [PROF].
27304         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
27305         definition.
27306         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
27307         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
27309         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
27310         !__GNUC__].
27311         * include/signal.h (__sigpause): Move declaration above call to
27312         libc_hidden_proto.
27313         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
27314         variable.
27315         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27316         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27318 2014-11-14  David S. Miller  <davem@davemloft.net>
27320         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
27321         Define before including <string/memcpy.c> and <string/mempcpy.c>.
27323 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27325         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
27326         * configure: Regenerated.
27327         * manual/install.texi (Tools for Compilation): Document a
27328         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
27329         compiler verified to work.
27330         * INSTALL: Regenerated.
27332         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
27333         redeclare with asm name.
27334         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
27335         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
27336         including <string.h>.
27337         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27338         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
27339         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27340         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
27341         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27342         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27343         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27345 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
27347         * stdlib/strtol.c (__strtol): Use prototype definition.
27349         [BZ #17594]
27350         * stdlib/strtol.c (SYM__): New macro.
27351         (SYM__1): Likewise.
27352         (__strtol): Likewise.
27353         (strtol): Rename to __strtol and define as weak alias of
27354         __strtol.  Use libc_hidden_weak.
27356 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27358         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
27359         Use numbered labels in inline assembly.
27361 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27363         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
27364         Add setjmp LIBC_PROBE.
27365         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
27366         Likewise.
27367         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
27368         Add longjmp, longjmp_target LIBC_PROBE.
27369         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
27370         Likewise.
27372 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27374         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27375         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
27376         to get rid of unused variable warning.
27378 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27380         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
27381         Check for unwind_backtrace ==  NULL only in SHARED case.
27382         (__backchain_backtrace): Compile only in SHARED case.
27383         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
27384         Likewise.
27385         (__backchain_backtrace): Declare as static.
27387 2014-11-12  Roland McGrath  <roland@hack.frob.com>
27389         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
27390         (__libc_multiple_threads_ptr): Variable moved ...
27391         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
27393 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
27395         * conform/GlibcConform.pm: New file.
27396         * conform/conformtest.pl: Use GlibcConform module.
27397         * conform/linknamespace.pl: New file.
27398         * conform/list-header-symbols.pl: Likewise.
27399         * conform/Makefile (linknamespace-symlists-base): New variable.
27400         (linknamespace-symlists-tests): Likewise.
27401         (linknamespace-header-base): Likewise.
27402         (linknamespace-header-tests): Likewise.
27403         (tests-special): Add new tests.
27404         ($(linknamespace-symlists-tests)): New rule.
27405         (linknamespace-libs): New variable.
27406         ($(objpfx)symlist-stdlibs): New rule.
27407         ($(linknamespace-header-tests)): Likewise.
27408         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
27409         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
27410         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
27411         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
27412         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
27413         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
27414         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
27415         (test-xfail-ISO/math.h/linknamespace): Likewise.
27416         (test-xfail-ISO/signal.h/linknamespace): Likewise.
27417         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
27418         (test-xfail-ISO/time.h/linknamespace): Likewise.
27419         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27420         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
27421         (test-xfail-ISO99/math.h/linknamespace): Likewise.
27422         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27423         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
27424         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27425         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27426         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
27427         (test-xfail-ISO11/math.h/linknamespace): Likewise.
27428         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27429         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
27430         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27431         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
27432         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
27433         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
27434         (test-xfail-XPG3/math.h/linknamespace): Likewise.
27435         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
27436         (test-xfail-XPG3/search.h/linknamespace): Likewise.
27437         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
27438         (test-xfail-XPG3/time.h/linknamespace): Likewise.
27439         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
27440         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
27441         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
27442         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
27443         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
27444         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
27445         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
27446         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
27447         (test-xfail-XPG4/math.h/linknamespace): Likewise.
27448         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
27449         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
27450         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
27451         (test-xfail-XPG4/search.h/linknamespace): Likewise.
27452         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
27453         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
27454         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
27455         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
27456         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
27457         (test-xfail-XPG4/time.h/linknamespace): Likewise.
27458         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
27459         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
27460         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
27461         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
27462         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
27463         (test-xfail-POSIX/math.h/linknamespace): Likewise.
27464         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
27465         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
27466         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
27467         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
27468         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
27469         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
27470         (test-xfail-POSIX/time.h/linknamespace): Likewise.
27471         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
27472         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
27473         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
27474         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
27475         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
27476         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
27477         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
27478         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
27479         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
27480         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
27481         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
27482         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
27483         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
27484         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
27485         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
27486         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
27487         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
27488         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
27489         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
27490         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
27491         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
27492         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
27493         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
27494         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
27495         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
27496         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
27497         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
27498         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
27499         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
27500         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
27501         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
27502         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
27503         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
27504         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
27505         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
27506         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
27507         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
27508         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
27509         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
27510         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
27511         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
27512         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
27513         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
27514         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
27515         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
27516         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
27517         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
27518         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
27519         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
27520         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
27521         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
27522         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
27523         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
27524         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
27525         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
27526         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
27527         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
27528         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
27529         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
27530         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
27531         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
27532         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
27533         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
27534         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
27535         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
27536         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
27537         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
27538         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
27539         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
27540         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
27541         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
27542         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
27543         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
27544         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
27545         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
27546         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
27547         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
27548         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
27549         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
27550         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
27551         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
27552         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
27553         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
27554         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
27555         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
27556         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
27557         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
27558         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
27559         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
27560         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
27561         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
27562         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
27563         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
27564         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
27565         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
27566         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
27567         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
27568         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
27570         [BZ #17589]
27571         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
27572         of fgets_unlocked.
27574         [BZ #17585]
27575         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
27576         (memmem): Rename to __memmem and define as weak alias of
27577         __memmem.  Use libc_hidden_weak.
27578         (__memmem): Use libc_hidden_def.
27579         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
27580         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
27581         memmem.
27583         [BZ #17582]
27584         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
27585         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
27586         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
27587         and define as weak alias of __fgets_unlocked.  Use
27588         libc_hidden_weak.
27589         (__fgets_unlocked): Use libc_hidden_def.
27590         * include/stdio.h (__fgets_unlocked): Declare.  Use
27591         libc_hidden_proto.
27592         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
27593         __fgets_unlocked instead of fgets_unlocked.
27594         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
27595         (GET_NPROCS_CONF_PARSER): Likewise.
27596         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
27597         (GET_NPROCS_CONF_PARSER): Likewise.
27599         [BZ #17574]
27600         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
27601         weak alias of __wmemset.  Use libc_hidden_weak.
27602         (__wmemset): Use libc_hidden_def.
27603         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
27604         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
27605         of wmemset.
27607         [BZ #17573]
27608         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
27609         with asm name __mempcpy.
27610         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
27612         [BZ #17572]
27613         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
27614         and define as weak alias of __rawmemchr.
27615         (__rawmemchr): Do not define as strong alias of rawmemchr.
27617         [BZ #17571]
27618         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
27619         alias of __qsort_r.
27620         (qsort): Call __qsort_r instead of qsort_r.
27621         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
27622         (__qsort_r): Declare.  Call libc_hidden_proto.
27623         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
27624         instead of qsort_r.
27625         * nscd/gai.c (__qsort_r): Define to qsort_r.
27626         * posix/tst-rfc3484.c (__qsort_r): Likewise.
27627         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
27628         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
27630         [BZ #17570]
27631         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
27632         define as weak alias of __malloc_info.
27634         [BZ #17584]
27635         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
27636         as weak alias of __rewinddir.  Don't use libc_hidden_def.
27637         (__rewinddir): Use libc_hidden_def.
27638         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
27639         as weak alias of __rewinddir.  Don't use libc_hidden_def.
27640         (__rewinddir): Use libc_hidden_def.
27641         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
27642         weak alias of __rewinddir.  Don't use libc_hidden_def.
27643         (__rewinddir): Use libc_hidden_def.
27644         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
27645         (__rewinddir): Use libc_hidden_proto.
27646         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
27647         rewinddir.
27648         (__getcwd): Use __rewinddir instead of rewinddir.
27650         [BZ #17583]
27651         * libio/fileno.c (fileno): Rename to __fileno and define as weak
27652         alias of __fileno.  Use libc_hidden_weak.
27653         (__fileno): Use libc_hidden_def.
27654         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
27655         * libio/ftello.c (ftello): Rename to __ftello and define as weak
27656         alias of __ftello.
27657         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
27658         __ftello.
27659         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
27660         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
27661         libc_hidden_def.
27662         (fread_unlocked): Don't use libc_hidden_ver.
27663         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
27664         and define as weak alias of __fread_unlocked.  Don't use
27665         libc_hidden_def.
27666         (__fread_unlocked): Use libc_hidden_def.
27667         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
27668         (ftello): Don't use libc_hidden_proto.
27669         (__ftello): Declare.  Use libc_hidden_proto.
27670         (fread_unlocked): Don't use libc_hidden_proto.
27671         (__fread_unlocked): Declare.  Use libc_hidden_proto.
27672         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
27673         and __ftello instead of fileno, fread_unlocked and ftello.
27675 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27677         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
27678         GOT12.
27679         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
27680         Likewise.
27681         (_dl_start_user): Likewise.
27682         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
27684 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
27685             Siddhesh Poyarekar  <siddhesh@redhat.com>
27687         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
27688         Move argv and envp down instead of moving argc up.
27689         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
27691 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
27693         [BZ #17506]
27694         * test-skeleton.c (main): Return successful if one of
27695         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
27696         * string/tst-strcoll-overflow.c: Define expected status.
27698 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
27700         [BZ #17475]
27701         * locale/iso-639.def: Define Bhili and Tulu language codes.
27703 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
27705         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
27707 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
27709         [BZ #17555]
27710         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
27712 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
27714         * configure.ac: Updated check of minimal required version to
27715         2.22.
27716         * manual/install.texi (Tools for Compilation): Updated version
27717         number.
27718         * configure: Regenerated.
27719         * INSTALL: Likewise.
27721 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
27723         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
27724         __tls_get_addr.
27726 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
27728         * include/sys/wait.h (__libc_waitpid): Remove declaration.
27729         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
27730         (__waitpid): Don't define as alias.  Use libc_hidden_def not
27731         libc_hidden_weak.
27732         (waitpid): Define as alias of __waitpid.
27733         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
27734         __waitpid.
27735         (__waitpid): Don't define as alias.  Use libc_hidden_def not
27736         libc_hidden_weak.
27737         (waitpid): Define as alias of __waitpid.
27738         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
27739         __libc_waitpid alias.
27740         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
27741         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
27742         Likewise.
27743         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
27744         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
27745         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
27746         alias.
27747         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
27748         __waitpid.
27749         (__waitpid): Don't define as alias.  Use libc_hidden_def not
27750         libc_hidden_weak.
27751         (waitpid): Define as alias of __waitpid.
27753 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
27755         * manual/llio.texi: Add comment that write safety has been
27756         fixed in Linux.
27758         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
27759         (localplt-build-dso): Add elf/ld.so.
27760         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
27761         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
27762         and free for ld.so.
27763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
27764         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
27765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
27766         Likewise.
27767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
27768         Likewise.
27769         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
27770         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
27771         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
27772         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
27773         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
27774         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
27775         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
27776         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
27777         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
27778         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
27779         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
27781 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
27783         [BZ #14132]
27784         * include/libc-symbols.h (INTUSE): Remove macro.
27785         (INTDEF): Likewise.
27786         (INTVARDEF): Likewise.
27787         (_INTVARDEF): Likewise.
27788         (INTDEF2): Likewise.
27789         (INTVARDEF2): Likewise.
27790         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
27791         rtld_hidden_def instead of INTVARDEF.
27792         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
27793         (_dl_starting_up_internal): Remove declaration.
27794         (_dl_starting_up): Use rtld_hidden_proto.
27795         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
27796         declaration.
27797         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
27798         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
27799         _dl_starting_up.
27800         * elf/dl-writev.h (_dl_writev): Likewise.
27801         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
27802         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
27803         _dl_starting_up_internal.
27805 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27807         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
27808         test-skeleton.c.
27810 2014-11-05  Will Newton  <will.newton@linaro.org>
27812         * benchtests/Makefile: (bench-malloc): Add malloc thread
27813         scalability benchmark.
27814         * benchtests/bench-malloc-threads.c: New file.
27816 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
27818         * sysdeps/aarch64/strchrnul.S: New file.
27820 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27822         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
27823         definition.
27824         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
27825         Likwise.
27826         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
27827         Likewise.
27828         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
27829         Likewise.
27830         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
27831         Likewise.
27832         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
27833         Likewise.
27835 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
27837         * catgets/test-gencat.c: Use test-skeleton.c.
27838         * catgets/tst-catgets.c: Likewise.
27839         * csu/tst-empty.c: Likewise.
27840         * elf/tst-audit2.c: Likewise.
27841         * elf/tst-global1.c: Likewise.
27842         * elf/tst-pathopt.c: Likewise.
27843         * elf/tst-piemod1.c: Likewise.
27844         * elf/tst-tls10.c: Likewise.
27845         * elf/tst-tls11.c: Likewise.
27846         * elf/tst-tls12.c: Likewise.
27847         * gnulib/tst-gcc.c: Likewise.
27848         * iconvdata/tst-e2big.c: Likewise.
27849         * iconvdata/tst-loading.c: Likewise.
27850         * iconv/tst-iconv1.c: Likewise.
27851         * iconv/tst-iconv2.c: Likewise.
27852         * inet/test-inet6_opt.c: Likewise.
27853         * inet/tst-gethnm.c: Likewise.
27854         * inet/tst-network.c: Likewise.
27855         * inet/tst-ntoa.c: Likewise.
27856         * intl/tst-codeset.c: Likewise.
27857         * intl/tst-gettext2.c: Likewise.
27858         * intl/tst-gettext3.c: Likewise.
27859         * intl/tst-ngettext.c: Likewise.
27860         * intl/tst-translit.c: Likewise.
27861         * io/test-stat.c: Likewise.
27862         * libio/test-fmemopen.c: Likewise.
27863         * libio/tst-freopen.c: Likewise.
27864         * libio/tst-sscanf.c: Likewise.
27865         * libio/tst-ungetwc1.c: Likewise.
27866         * libio/tst-ungetwc2.c: Likewise.
27867         * libio/tst-widetext.c: Likewise.
27868         * localedata/tst-ctype.c: Likewise.
27869         * localedata/tst-digits.c: Likewise.
27870         * localedata/tst-leaks.c: Likewise.
27871         * localedata/tst-mbswcs1.c: Likewise.
27872         * localedata/tst-mbswcs2.c: Likewise.
27873         * localedata/tst-mbswcs3.c: Likewise.
27874         * localedata/tst-mbswcs4.c: Likewise.
27875         * localedata/tst-mbswcs5.c: Likewise.
27876         * localedata/tst-setlocale.c: Likewise.
27877         * localedata/tst-trans.c: Likewise.
27878         * localedata/tst-wctype.c: Likewise.
27879         * localedata/tst-xlocale1.c: Likewise.
27880         * login/tst-grantpt.c: Likewise.
27881         * malloc/tst-calloc.c: Likewise.
27882         * malloc/tst-malloc.c: Likewise.
27883         * malloc/tst-mallocstate.c: Likewise.
27884         * malloc/tst-mcheck.c: Likewise.
27885         * malloc/tst-mtrace.c: Likewise.
27886         * malloc/tst-obstack.c: Likewise.
27887         * math/atest-exp2.c: Likewise.
27888         * math/atest-exp.c: Likewise.
27889         * math/atest-sincos.c: Likewise.
27890         * math/test-matherr.c: Likewise.
27891         * math/test-misc.c: Likewise.
27892         * math/test-powl.c: Likewise.
27893         * math/tst-definitions.c: Likewise.
27894         * misc/tst-dirname.c: Likewise.
27895         * misc/tst-efgcvt.c: Likewise.
27896         * misc/tst-fdset.c: Likewise.
27897         * misc/tst-hsearch.c: Likewise.
27898         * misc/tst-mntent2.c: Likewise.
27899         * nptl/tst-sem7.c: Likewise.
27900         * nptl/tst-sem8.c: Likewise.
27901         * nptl/tst-sem9.c: Likewise.
27902         * nss/test-netdb.c: Likewise.
27903         * posix/tst-fnmatch.c: Likewise.
27904         * posix/tst-getlogin.c: Likewise.
27905         * posix/tst-gnuglob.c: Likewise.
27906         * posix/tst-mmap.c: Likewise.
27907         * pwd/tst-getpw.c: Likewise.
27908         * resolv/tst-inet_ntop.c: Likewise.
27909         * rt/tst-timer.c: Likewise.
27910         * stdio-common/test-fseek.c: Likewise.
27911         * stdio-common/test-popen.c: Likewise.
27912         * stdio-common/test-vfprintf.c: Likewise.
27913         * stdio-common/tst-cookie.c: Likewise.
27914         * stdio-common/tst-fileno.c: Likewise.
27915         * stdio-common/tst-gets.c: Likewise.
27916         * stdio-common/tst-obprintf.c: Likewise.
27917         * stdio-common/tst-perror.c: Likewise.
27918         * stdio-common/tst-sprintf2.c: Likewise.
27919         * stdio-common/tst-sprintf3.c: Likewise.
27920         * stdio-common/tst-sprintf.c: Likewise.
27921         * stdio-common/tst-swprintf.c: Likewise.
27922         * stdio-common/tst-tmpnam.c: Likewise.
27923         * stdio-common/tst-unbputc.c: Likewise.
27924         * stdio-common/tst-wc-printf.c: Likewise.
27925         * stdlib/tst-environ.c: Likewise.
27926         * stdlib/tst-fmtmsg.c: Likewise.
27927         * stdlib/tst-limits.c: Likewise.
27928         * stdlib/tst-rand48-2.c: Likewise.
27929         * stdlib/tst-rand48.c: Likewise.
27930         * stdlib/tst-random2.c: Likewise.
27931         * stdlib/tst-random.c: Likewise.
27932         * stdlib/tst-strtol.c: Likewise.
27933         * stdlib/tst-strtoll.c: Likewise.
27934         * stdlib/tst-tls-atexit.c: Likewise.
27935         * stdlib/tst-xpg-basename.c: Likewise.
27936         * string/test-ffs.c: Likewise.
27937         * string/tst-bswap.c: Likewise.
27938         * string/tst-inlcall.c: Likewise.
27939         * string/tst-strtok.c: Likewise.
27940         * string/tst-strxfrm.c: Likewise.
27941         * sysdeps/x86_64/tst-audit10.c: Likewise.
27942         * sysdeps/x86_64/tst-audit3.c: Likewise.
27943         * sysdeps/x86_64/tst-audit4.c: Likewise.
27944         * sysdeps/x86_64/tst-audit5.c: Likewise.
27945         * time/tst-ftime_l.c: Likewise.
27946         * time/tst-getdate.c: Likewise.
27947         * time/tst-mktime3.c: Likewise.
27948         * time/tst-mktime.c: Likewise.
27949         * time/tst-posixtz.c: Likewise.
27950         * time/tst-strptime2.c: Likewise.
27951         * time/tst-strptime3.c: Likewise.
27952         * wcsmbs/tst-btowc.c: Likewise.
27953         * wcsmbs/tst-mbrtowc.c: Likewise.
27954         * wcsmbs/tst-mbsrtowcs.c: Likewise.
27955         * wcsmbs/tst-wchar-h.c: Likewise.
27956         * wcsmbs/tst-wcpncpy.c: Likewise.
27957         * wcsmbs/tst-wcrtomb.c: Likewise.
27958         * wcsmbs/tst-wcsnlen.c: Likewise.
27959         * wcsmbs/tst-wcstof.c: Likewise.
27961 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
27963         [BZ #14132]
27964         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
27965         INTDEF.
27966         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
27967         declaration.
27968         (_dl_mcount): Use rtld_hidden_proto.
27969         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
27970         _dl_mcount.
27971         * elf/rtld.c (_rtld_global_ro): Likewise.
27973         [BZ #14132]
27974         * elf/dl-init.c (_dl_init): Don't use INTDEF.
27975         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
27976         of _dl_init_internal.
27977         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
27978         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
27979         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
27980         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
27981         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
27982         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
27983         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
27984         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
27985         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
27986         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
27987         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
27988         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
27989         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27990         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27991         * sysdeps/tile/dl-start.S (_start): Likewise.
27992         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
27993         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
27995         [BZ #14132]
27996         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
27997         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
27998         (rtld_progname): Make macro definition unconditional.
27999         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
28000         INTDEF.
28001         (dlmopen_doit): Do not use INTUSE with _dl_argv.
28002         (dl_main): Likewise.
28003         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28004         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
28005         instead of _dl_argv_internal.
28006         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28007         __GI__dl_argv instead of INTUSE(_dl_argv).
28008         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
28009         __GI__dl_argv instead of _dl_argv_internal.
28011         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
28012         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
28013         macro.
28014         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
28015         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
28016         New macro.
28017         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
28018         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
28019         macro.
28020         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
28021         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
28023 2014-11-04  Andreas Schwab  <schwab@suse.de>
28025         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
28027 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28029         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
28030         mtvsrd instruction in binary form.
28032 2014-11-03  Andreas Schwab  <schwab@suse.de>
28034         [BZ #17522]
28035         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
28036         for less than MB_LEN_MAX use a local buffer of that size.
28037         * libio/tst-fputws.c: New file.
28038         * libio/Makefile (tests): Add tst-fputws.
28040 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
28042         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
28043         the size of the fpu_fr.fpu_dregs[] array.
28045 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
28047         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
28048         (__nanosleep): Do not define as alias.
28049         (nanosleep): Define as alias of __nanosleep.
28050         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
28051         __libc_nanosleep name.
28053 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28055         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
28056         install.texi in comment.
28058 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28060         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
28061         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
28062         ... add here and use lwsync or sync ...
28063         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
28064         ... and add here using lwsync.
28066 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
28068         * elf/dl-machine-reject-phdr.h: New file.
28069         * elf/dl-load.c: #include that.
28070         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
28071         if that returned true.
28073 2014-10-31  Roland McGrath  <roland@hack.frob.com>
28075         [BZ #17496]
28076         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
28077         gen-as-const-headers chunk.  Add a big scare comment after the last
28078         safe place to touch before-compile.
28080 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28082         * manual/install.texi (Tools for Compilation): Update autoconf
28083         version requirements.
28084         * INSTALL: Regenerated.
28086         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
28087         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
28088         (__libc_pselect): Likewise.
28090         [BZ #14138]
28091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
28092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28096 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28098         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
28099         correct barrier instruction.
28100         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
28101         Likewise.
28102         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
28103         Likewise.
28105 2014-10-30  Roland McGrath  <roland@hack.frob.com>
28107         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
28108         after defining inlines.  Instead, just use parens to defeat macro
28109         expansion of __isctype in its declaration.
28111 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
28113         * include/sys/uio.h (__libc_readv): Remove declaration.
28114         (__libc_writev): Likewise.
28115         * misc/readv.c (__libc_readv): Rename to __readv.
28116         (__readv): Do not define as alias.
28117         (readv): Define as alias of __readv.
28118         * misc/writev.c (__libc_writev): Rename to __writev.
28119         (__writev): Do not define as alias.
28120         (writev): Define as alias of __writev.
28121         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
28122         (__readv): Do not define as alias.
28123         (readv): Define unconditionally as alias of __readv.
28124         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
28125         (__writev): Do not define as alias.
28126         (writev): Define unconditionally as alias of __writev.
28127         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
28128         name.
28129         (writev): Do not define __libc_writev name.
28131 2014-10-30  Roland McGrath  <roland@hack.frob.com>
28133         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
28134         (convert_charseq): New function, broken out of ...
28135         (use_from_charmap): ... here.  Call it.
28136         (use_to_charmap): Use convert_charseq and free instead of duplicating
28137         its code with a variable-length stack struct.
28139 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
28141         * include/fcntl.h (__libc_creat): Remove declaration.
28142         * io/creat.c (__libc_creat): Rename to creat.
28143         (creat): Do not define as alias.
28144         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
28145         of creat instead of __libc_creat.
28146         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
28147         to creat.
28148         (creat): Do not define as alias.
28149         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
28150         __libc_creat.
28151         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
28152         __libc_creat name.
28153         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
28154         Likewise.
28156 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
28158         * manual/llio.texi: Add comments discussing why write() may be
28159         considered MT-unsafe on Linux.
28161 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
28163         * dl-load.c (local_strdup): Remove.
28164         (expand_dynamic_string_token): Use __strdup.
28165         (decompose_rpath): Likewise.
28166         (_dl_map_object): Likewise.
28168 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
28170         [BZ #14132]
28171         * sysdeps/generic/unwind-dw2-fde.c
28172         (__register_frame_info_bases_internal): Do not declare.
28173         (__register_frame_info_table_bases_internal): Likewise.
28174         (__deregister_frame_info_bases_internal): Likewise.
28175         (__register_frame_info_bases): Declare and use hidden_proto before
28176         definition.  Use hidden_def instead of INTDEF.
28177         (__register_frame_info_table_bases): Likewise.
28178         (__deregister_frame_info_bases): Likewise.
28179         (__register_frame_info): Do not use INTUSE.
28180         (__register_frame): Likewise.
28181         (__register_frame_info_table): Likewise.
28182         (__register_frame_table): Likewise.
28183         (__deregister_frame_info): Likewise.
28184         (__deregister_frame): Likewise.
28186 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
28188         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28189         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
28190         not undefine.
28191         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
28192         Likewise.
28193         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
28194         Likewise.
28196 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
28198         [BZ #14138]
28199         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
28200         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
28201         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
28202         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
28203         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
28204         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
28205         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
28206         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
28207         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
28208         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
28209         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
28210         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
28211         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
28212         syscall.
28213         (setfsuid): Likewise.
28214         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
28215         (setfsuid): Likewise.
28216         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
28217         (setfsuid): Likewise.
28218         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
28219         Likewise.
28220         (setfsuid): Likewise.
28221         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
28222         (setfsuid): Likewise.
28223         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
28224         Likewise.
28225         (setfsuid): Likewise.
28227 2014-10-27  Andreas Schwab  <schwab@suse.de>
28229         [BZ #17501]
28230         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
28231         check for Slow_SSE4_2 feature bit.
28232         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
28233         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28234         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
28235         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
28237 2014-10-24  Roland McGrath  <roland@hack.frob.com>
28239         * configure.ac: Validate compiler version with a empirical test of
28240         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
28241         $CC -v output.
28242         * configure: Regenerated.
28244         * inet/htons.c (htons): Prototypify.
28245         * inet/htonl.c (htonl): Likewise.
28247 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28249         * string/strncat.c (strncat): Improve performance by using strlen.
28251 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28253         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
28255 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28257         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
28258         Call libc_fetestexcept_aarch64.
28260 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28262         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
28263         Call libc_feholdexcept_aarch64.
28265 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28267         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
28268         Call get_rounding_mode.
28270 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28272         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28273         Simplify logic.
28275 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28277         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
28278         Simplify logic.
28280 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
28282         [BZ #14138]
28283         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
28284         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
28285         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
28286         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
28287         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
28288         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
28289         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
28290         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
28291         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
28292         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
28293         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28294         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
28295         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
28296         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
28297         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
28298         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
28299         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
28300         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
28301         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
28302         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
28303         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
28304         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
28305         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
28306         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
28307         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
28308         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
28309         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
28310         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
28311         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
28312         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
28313         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
28314         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
28315         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
28316         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
28317         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
28318         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
28319         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
28320         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
28321         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
28322         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
28323         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
28324         syscall.
28325         (geteuid): Likewise.
28326         (getgid): Likewise.
28327         (getuid): Likewise.
28328         (getresgid): Likewise.
28329         (getresuid): Likewise.
28330         (getgroups): Likewise.
28331         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
28332         (geteuid): Likewise.
28333         (getgid): Likewise.
28334         (getuid): Likewise.
28335         (getresgid): Likewise.
28336         (getresuid): Likewise.
28337         (getgroups): Likewise.
28338         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
28339         (geteuid): Likewise.
28340         (getgid): Likewise.
28341         (getuid): Likewise.
28342         (getresgid): Likewise.
28343         (getresuid): Likewise.
28344         (getgroups): Likewise.
28345         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
28346         Likewise.
28347         (geteuid): Likewise.
28348         (getgid): Likewise.
28349         (getuid): Likewise.
28350         (getresgid): Likewise.
28351         (getresuid): Likewise.
28352         (getgroups): Likewise.
28353         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
28354         (geteuid): Likewise.
28355         (getgid): Likewise.
28356         (getuid): Likewise.
28357         (getresgid): Likewise.
28358         (getresuid): Likewise.
28359         (getgroups): Likewise.
28360         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
28361         Likewise.
28362         (geteuid): Likewise.
28363         (getgid): Likewise.
28364         (getuid): Likewise.
28365         (getgroups): Likewise.
28367         [BZ #14138]
28368         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
28369         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
28370         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
28371         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28372         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
28373         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
28374         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
28375         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
28376         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
28377         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
28378         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
28379         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
28380         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
28381         __chown.
28382         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
28383         (lchown): Likewise.
28384         (fchown): Likewise.
28385         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
28386         Likewise.
28387         (lchown): Likewise.
28388         (fchown): Likewise.
28389         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
28390         (lchown): Likewise.
28391         (fchown): Likewise.
28392         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
28393         Likewise.
28394         (lchown): Likewise.
28395         (fchown): Likewise.
28397 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28399         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
28400         Simplify logic.
28402 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28404         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28405         Cleanup logic.
28407 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28409         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28410         Remove unused include.
28412 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28414         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
28415         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
28416         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
28417         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
28419 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
28420             Helge Deller <deller@gmx.de>
28422         [BZ #17508]
28423         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
28424         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
28425         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
28427 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
28429         [BZ #14132]
28430         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
28431         Remove macro definition.
28432         (__ashrdi3_v_glibc20): Likewise.
28433         (__lshrdi3_v_glibc20): Likewise.
28434         (__cmpdi2_v_glibc20): Likewise.
28435         (__ucmpdi2_v_glibc20): Likewise.
28436         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
28437         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
28438         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
28439         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
28440         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
28441         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
28443 2014-10-22  Roland McGrath  <roland@hack.frob.com>
28445         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
28446         old GNU extension [0] syntax.
28447         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
28448         alloca rather than an array member with variable length.
28449         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
28450         * nscd/nscd.c (invalidate_db): New function, broken out of ...
28451         (parse_opt): ... here.  Likewise use alloca there.
28452         Validate the -i argument before checking for rootness.
28453         (send_shutdown): New function, broken out of ...
28454         (parse_opt): ... here.
28456 2014-10-22  Roland McGrath  <roland@hack.frob.com>
28458         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
28459         macro to get at the _rt_local_ro field.
28460         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
28461         ([PIC] case) or _dl_hwcap ([!PIC] case).
28462         * sysdeps/arm/setjmp.S: Likewise.
28464         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
28465         * sysdeps/arm/configure.ac: New check to define it.
28466         * sysdeps/arm/configure: Regenerated.
28467         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
28468         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
28469         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
28470         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
28471         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
28472         Use move/movt pair instead of a load.
28473         (LDST_GLOBAL): Macro removed.
28474         (LDR_GLOBAL): New macro replaces it.
28475         (LDR_HIDDEN): New macro.
28476         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
28477         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
28479         * setjmp/tst-setjmp-static.c: New file.
28480         * setjmp/Makefile (tests): Add it.
28481         (tests-static): New variable.
28483 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
28485         [BZ #17485]
28486         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
28488 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
28490         [BZ #14132]
28491         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
28493 2014-10-21  Roland McGrath  <roland@hack.frob.com>
28495         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
28497 2014-10-20  Roland McGrath  <roland@hack.frob.com>
28499         * io/fts.c (dirent_not_directory): New function.
28500         (fts_build): Call it.
28502 2014-10-20  Roland McGrath  <roland@hack.frob.com>
28504         * nptl/version.c (__nptl_main): Use normal __write rather than
28505         INTERNAL_SYSCALL.
28506         (banner): Update copyright years.
28508         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
28509         gettimeofday.
28510         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
28511         * nptl/pthread_cond_timedwait.c: Likewise.
28512         * nptl/pthread_mutex_timedlock.c: Likewise.
28513         * nptl/sem_timedwait.c: Likewise.
28515         * sysdeps/nptl/bits/libc-lock.h
28516         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
28517         (__libc_lock_init_recursive): Return void, not 0.
28518         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
28519         (__libc_rwlock_init): Likewise.
28520         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
28522 2014-10-20  Torvald Riegel  <triegel@redhat.com>
28524         [BZ #15215]
28525         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
28526         (__pthread_once_slow): ... here.
28527         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
28528         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
28530 2014-10-20  Torvald Riegel  <triegel@redhat.com>
28532         [BZ #15215]
28533         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
28534         __PTHREAD_ONCE_FORK_GEN_INCR): New.
28535         * sysdeps/nptl/fork.c (__libc_fork): Use them.
28536         * nptl/pthread_once.c (__pthread_once): Likewise.
28537         Update comments.
28539 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
28541         [BZ #14138]
28542         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
28543         name.
28544         (writev): Use __libc_writev as strong name.
28545         * sysdeps/unix/sysv/linux/readv.c: Remove file.
28546         * sysdeps/unix/sysv/linux/writev.c: Likewise.
28548 2014-10-17  Roland McGrath  <roland@hack.frob.com>
28550         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
28552         * sysdeps/i386/nptl/tls.h
28553         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
28554         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
28555         New macros.
28556         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
28557         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
28558         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
28559         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
28560         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
28561         Call CHECK_THREAD_SYSINFO instead of doing an assert.
28563         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28564         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
28565         on [__NR_futex].
28566         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
28567         broken out of ...
28568         (__pthread_mutex_init): ... here.  Call it.
28569         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
28570         Conditionalize PI cases on [__NR_futex].
28571         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
28572         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
28573         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
28575         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
28576         conditional on [SIGSETXID].
28577         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
28578         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
28579         is defined.  Likewise for SIGSETXID.
28580         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
28581         Conditionalize definitions on [SIGSETXID].
28582         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
28583         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
28584         unblocking on [SIGCANCEL].
28586         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
28587         [__NR_set_robust_list].
28589 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28591         * string/strcoll_l.c (get_next_seq): Fix up formatting.
28592         (do_compare): Likewise.
28594 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
28596         [BZ #15884]
28597         * string/strcoll_l.c: Don't include stdio.h.
28598         (coll_seq): Remove members idxarr and rulearr.
28599         (get_next_seq_cached): Remove function.
28600         (get_next_seq): Likewise.
28601         (get_next_seq_nocache): Rename to get_next_seq.
28602         (do_compare): Remove function.
28603         (do_compare_nocache): Rename to do_compare.
28604         (STRCOLL): Remove weight and rules cache.
28606 2014-10-16  Roland McGrath  <roland@hack.frob.com>
28608         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
28609         * sysdeps/arm/sfp-machine.h: ... to here.
28610         * sysdeps/arm/Implies: Remove arm/soft-fp.
28612 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
28614         * conform/data/sys/utsname.h-data (*_t): Allow.
28615         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
28616         [POSIX] (WEXITED): Do not expect constant.
28617         [POSIX] (WSTOPPED): Likewise.
28618         [POSIX] (WNOHANG): Likewise.
28619         [POSIX] (WNOWAIT): Likewise.
28620         [POSIX] (siginfo_t): Do not expect type or elements.
28621         [POSIX] (pid_t): Do not expect type.
28622         [POSIX] (signal.h): Do not allow header.
28623         [POSIX] (sys/resource.h): Likewise.
28624         [POSIX] (si_*): Do not allow pattern.
28625         [POSIX] (W*): Likewise.
28626         [POSIX] (P_*): Likewise.
28627         [POSIX] (BUS_*): Likewise.
28628         [POSIX] (CLD_*): Likewise.
28629         [POSIX] (FPE_*): Likewise.
28630         [POSIX] (ILL_*): Likewise.
28631         [POSIX] (POLL_*): Likewise.
28632         [POSIX] (SEGV_*): Likewise.
28633         [POSIX] (SI_*): Likewise.
28634         [POSIX] (TRAP_*): Likewise.
28635         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
28636         variable.
28638 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
28640         [BZ #12926]
28641         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
28642         infinite loop when __recvmsg returns 0.
28644 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
28646         * CANCEL-FCT-WAIVE: Remove file.
28647         * CANCEL-FILE-WAIVE: Likewise.
28649         [BZ #14132]
28650         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
28651         instead of INTVARDEF.
28652         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
28653         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
28654         rtld_hidden_data_def instead of INTVARDEF.
28655         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
28656         * elf/dl-deps.c (expand_dst): Likewise.
28657         * elf/dl-load.c (_dl_dst_count): Likewise.
28658         (_dl_dst_substitute): Likewise.
28659         (decompose_rpath): Likewise.
28660         (_dl_init_paths): Likewise.
28661         (open_path): Likewise.
28662         (_dl_map_object): Likewise.
28663         * elf/rtld.c (dl_main): Likewise.
28664         (process_dl_audit): Likewise.
28665         (process_envvars): Likewise.
28666         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
28667         Remove declaration.
28668         (__libc_enable_secure): Use rtld_hidden_proto.
28670 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28672         * elf/dl-load.c
28673         (add_path): New function broken out of _dl_rtld_di_serinfo.
28674         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
28676 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
28678         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
28679         parentheses around macro arguments.
28680         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
28681         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
28682         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
28683         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
28684         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
28685         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
28686         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
28687         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
28688         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
28689         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
28690         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
28691         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
28692         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
28693         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
28694         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
28695         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
28696         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
28697         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
28698         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
28699         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
28700         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
28701         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
28702         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
28703         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
28704         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
28705         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
28706         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
28707         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
28708         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
28709         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
28710         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
28711         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
28712         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
28713         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
28714         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
28715         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
28716         Likewise.
28717         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
28718         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
28719         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
28720         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
28721         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
28722         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
28723         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
28724         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
28725         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
28726         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
28727         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
28728         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
28729         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
28730         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
28731         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
28732         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
28733         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
28734         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
28735         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
28736         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
28737         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
28738         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
28739         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
28740         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
28741         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
28742         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
28743         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
28744         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
28745         (_FP_FRAC_SRS_1): Likewise.
28746         (_FP_FRAC_CLZ_1): Likewise.
28747         (_FP_MUL_MEAT_1_imm): Likewise.
28748         (_FP_MUL_MEAT_1_wide): Likewise.
28749         (_FP_MUL_MEAT_1_hard): Likewise.
28750         (_FP_SQRT_MEAT_1): Likewise.
28751         (_FP_FRAC_ASSEMBLE_1): Likewise.
28752         (_FP_FRAC_DISASSEMBLE_1): Likewise.
28753         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
28754         (__FP_CLZ_2): Likewise.
28755         (_FP_MUL_MEAT_2_wide): Likewise.
28756         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
28757         (_FP_MUL_MEAT_2_gmp): Likewise.
28758         (_FP_MUL_MEAT_2_120_240_double): Likewise.
28759         (_FP_SQRT_MEAT_2): Likewise.
28760         (_FP_FRAC_ASSEMBLE_2): Likewise.
28761         (_FP_FRAC_DISASSEMBLE_2): Likewise.
28762         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
28763         (_FP_FRAC_CLZ_4): Likewise.
28764         (_FP_MUL_MEAT_4_wide): Likewise.
28765         (_FP_MUL_MEAT_4_gmp): Likewise.
28766         (_FP_SQRT_MEAT_4): Likewise.
28767         (_FP_FRAC_ASSEMBLE_4): Likewise.
28768         (_FP_FRAC_DISASSEMBLE_4): Likewise.
28769         * soft-fp/op-common.h (_FP_CMP): Likewise.
28770         (_FP_CMP_EQ): Likewise.
28771         (_FP_CMP_UNORD): Likewise.
28772         (_FP_TO_INT): Likewise.
28773         (_FP_FROM_INT): Likewise.
28774         [!__FP_CLZ] (__FP_CLZ): Likewise.
28775         (_FP_DIV_HELP_imm): Likewise.
28776         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
28777         Likewise.
28778         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
28779         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
28780         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
28781         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
28782         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
28783         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
28784         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
28785         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
28786         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
28787         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
28788         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
28789         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
28790         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
28791         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
28792         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
28793         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
28794         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
28795         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
28796         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
28797         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
28798         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
28799         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
28800         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
28801         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
28802         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
28803         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
28804         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
28805         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
28806         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
28807         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
28808         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
28809         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
28810         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
28811         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
28812         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
28813         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
28814         (FP_UNPACK_RAW_SP): Likewise.
28815         (FP_PACK_RAW_S): Likewise.
28816         (FP_PACK_RAW_SP): Likewise.
28817         (FP_UNPACK_S): Likewise.
28818         (FP_UNPACK_SP): Likewise.
28819         (FP_UNPACK_SEMIRAW_S): Likewise.
28820         (FP_UNPACK_SEMIRAW_SP): Likewise.
28821         (FP_PACK_S): Likewise.
28822         (FP_PACK_SP): Likewise.
28823         (FP_PACK_SEMIRAW_S): Likewise.
28824         (FP_PACK_SEMIRAW_SP): Likewise.
28825         (_FP_SQRT_MEAT_S): Likewise.
28826         (FP_CMP_S): Likewise.
28827         (FP_CMP_EQ_S): Likewise.
28828         (FP_CMP_UNORD_S): Likewise.
28829         (FP_TO_INT_S): Likewise.
28830         (FP_FROM_INT_S): Likewise.
28832         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
28834         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
28835         (FP_EX_INVALID_IMZ): Likewise.
28836         (FP_EX_INVALID_IMZ_FMA): Likewise.
28837         (FP_EX_INVALID_ISI): Likewise.
28838         (FP_EX_INVALID_ZDZ): Likewise.
28839         (FP_EX_INVALID_IDI): Likewise.
28840         (FP_EX_INVALID_SQRT): Likewise.
28841         (FP_EX_INVALID_CVI): Likewise.
28842         (FP_EX_INVALID_VC): Likewise.
28843         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
28844         "invalid" exceptions.
28845         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
28846         (_FP_ADD_INTERNAL): Likewise.
28847         (_FP_MUL): Likewise.
28848         (_FP_FMA): Likewise.
28849         (_FP_DIV): Likewise.
28850         (_FP_CMP_CHECK_NAN): Likewise.
28851         (_FP_SQRT): Likewise.
28852         (_FP_TO_INT): Likewise.
28853         (FP_EXTEND): Likewise.
28855 2014-10-09  Allan McRae  <allan@archlinux.org>
28857         * po/fr.po: Update French translation from translation project.
28859 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
28861         [BZ #14132]
28862         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
28863         of INTDEF.
28864         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
28865         (__cxa_atexit): Use libc_hidden_proto.
28866         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
28868         [BZ #14132]
28869         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
28870         declaration.
28871         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
28872         [!_ISOMAC] (__iswspace_l_internal): Likewise.
28873         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
28874         [!_ISOMAC] (__iswctype_internal): Likewise.
28875         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
28876         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
28877         alias.
28878         (fcntl): Remove __fcntl_internal alias.
28879         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
28880         __connect_internal alias.
28881         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
28882         Likewise.
28884         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
28885         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
28886         FP_DENORM_ZERO.
28887         (_FP_CHECK_FLUSH_ZERO): New macro.
28888         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
28889         (_FP_CMP): Likewise.
28890         (_FP_CMP_EQ): Likewise.
28891         (_FP_TO_INT): Do not set inexact for subnormal arguments if
28892         FP_DENORM_ZERO.
28893         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
28894         (FP_TRUNC): Likewise.
28896         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
28897         treated as invalid conversion, not as normal exponent.
28899         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
28900         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
28901         (_FP_CMP_EQ): Likewise.
28902         (_FP_CMP_UNORD): Likewise.
28903         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
28904         (FP_CMP_EQ_D): Likewise.
28905         (FP_CMP_UNORD_D): Likewise.
28906         * soft-fp/extended.h (FP_CMP_E): Likewise.
28907         (FP_CMP_EQ_E): Likewise.
28908         (FP_CMP_UNORD_E): Likewise.
28909         * soft-fp/quad.h (FP_CMP_Q): Likewise.
28910         (FP_CMP_EQ_Q): Likewise.
28911         (FP_CMP_UNORD_Q): Likewise.
28912         * soft-fp/single.h (FP_CMP_S): Likewise.
28913         (FP_CMP_EQ_S): Likewise.
28914         (FP_CMP_UNORD_S): Likewise.
28915         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
28916         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
28917         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
28918         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
28919         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
28920         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
28921         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
28922         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
28923         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
28924         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
28925         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
28926         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
28927         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
28928         to FP_CMP_Q.
28929         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
28930         FP_CMP_Q.
28931         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
28932         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
28933         FP_CMP_EQ_Q.
28934         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
28935         FP_CMP_Q.
28936         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
28937         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
28938         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
28939         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
28940         FP_CMP_EQ_Q.
28941         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
28942         FP_CMP_Q.
28943         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
28944         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
28945         FP_CMP_EQ_Q.
28946         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
28947         FP_CMP_Q.
28948         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
28949         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
28950         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
28951         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
28952         FP_CMP_EQ_Q.
28954         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
28955         a subnormal result, set the underflow exception if trapping on
28956         underflow is enabled.
28957         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
28958         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
28959         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
28960         redefine to 0.
28961         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
28962         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
28963         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
28964         * soft-fp/extendxftf2.c (__extendxftf2): Use
28965         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
28967         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
28968         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
28969         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28970         FP_HANDLE_EXCEPTIONS.
28971         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
28972         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28973         FP_HANDLE_EXCEPTIONS.
28974         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
28975         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28976         FP_HANDLE_EXCEPTIONS.
28977         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
28978         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28979         FP_HANDLE_EXCEPTIONS.
28981 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
28983         [BZ #14132]
28984         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
28985         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
28986         use INTUSE.
28987         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
28988         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
28989         Remove alias.
28990         (__adjtimex): Define using libc_hidden_ver.
28991         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
28992         Remove declaration.
28993         (ntp_gettime): Call __adjtimex directly.
28994         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
28995         Remove declaration.
28996         (ntp_gettimex): Call __adjtimex directly.
28997         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
28998         __adjtimex_internal alias.
29000 2014-10-08  Roland McGrath  <roland@hack.frob.com>
29002         [BZ #17460]
29003         * nscd/nscd.c (more_help): Rewrite list of tables collection
29004         using xstrdup and asprintf.
29006         * nscd/nscd_conf.c: Remove local xstrdup declaration.
29008 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29009             Roland McGrath  <roland@hack.frob.com>
29011         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
29012         (do_lookup_unique): ... local function 'enter' here; update callers.
29014 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
29016         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
29017         compat_symbol calls on [SHARED].
29018         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
29019         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
29020         Remove.
29021         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29022         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
29023         (oldsetrlimit): Remove.
29024         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29026         (lchown): New syscall entry.
29027         (oldsetrlimit): Remove.
29028         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29029         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
29030         (oldsetrlimit): Remove.
29031         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29033         [BZ #14138]
29034         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
29035         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
29036         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
29037         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
29038         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29039         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
29040         (fchown): Likewise.
29041         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
29042         (fchown): Likewise.
29043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
29044         Likewise.
29046 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29048         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
29049         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
29050         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
29051         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
29052         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
29053         Likewise.
29054         (__old_sem_post): Likewise.
29056 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
29058         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
29059         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
29060         HAVE_CLOCK_GETTIME_VSYSCALL macros.
29061         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
29062         Use INLINE_VSYSCALL macro.
29063         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
29064         __vdso_clock_gettime.
29065         * sysdeps/unix/sysv/linux/tile/init-first.c
29066         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
29067         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
29068         __vdso_clock_gettime.
29070         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
29071         to set up frame more cleanly.
29073         * sysdeps/tile/memcmp.c: New file.
29075         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
29077         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
29078         * sysdeps/tile/tilegx/strcasestr.c: New file.
29079         * sysdeps/tile/tilegx/strnlen.c: New file.
29080         * sysdeps/tile/tilegx/strstr.c: New file.
29082         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
29084 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
29086         * nptl/tst-setuid3.c: Write errors to stdout.
29088 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29090         * elf/dl-deps.c
29091         (preload): New functions broken out of _dl_map_object_deps.
29092         (_dl_map_object_deps):  Remove a nested function. Update call sites.
29094 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
29096         [BZ #14138]
29097         * sysdeps/unix/sysv/linux/execve.c: Remove file.
29098         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
29100 2014-10-01  Steve Ellcey  <sellcey@mips.com>
29102         * sysdeps/mips/strcmp.S: New.
29104 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
29106         [BZ #14138]
29107         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
29108         (linkat): Likewise.
29109         (mkdirat): Likewise.
29110         (readlinkat): Likewise.
29111         (renameat): Likewise.
29112         (symlinkat): Likewise.
29113         (unlinkat): Likewise.
29114         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
29115         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
29116         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
29117         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
29118         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
29119         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
29120         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
29122 2014-09-30  Will Newton  <will.newton@linaro.org>
29124         * math/math.h: Define long double math functions if
29125         _LIBC_TEST is defined.
29126         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
29128         * localedata/Makefile: Move assignment to tests-special
29129         into an ifdef testing run-built-tests.
29130         * timezone/Makefile: Likewise.
29132 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
29134         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
29135         with $(BASH) not $(SHELL).
29137 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
29138             Matthew LeGendre  <legendre1@llnl.gov>
29140         [BZ #17411]
29141         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
29142         l_reloc_result.
29144 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29146         * stdio-common/printf_fp.c
29147         (hack_digit): New function, broken out of ...
29148         (__printf_fp): ... local function here.  Update call sites.
29149         hack_digit now takes an additional parameter that is a pointer
29150         to a struct of the referenced locals.  Those locals moved inside
29151         the struct and references updated.
29153 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
29155         * aclocal.m4: Require autoconf 2.69.
29156         * configure: Regenerated.
29157         * sysdeps/aarch64/configure: Likewise.
29158         * sysdeps/alpha/configure: Likewise.
29159         * sysdeps/arm/armv7/configure: Likewise.
29160         * sysdeps/arm/configure: Likewise.
29161         * sysdeps/ia64/configure: Likewise.
29162         * sysdeps/mach/configure: Likewise.
29163         * sysdeps/mips/configure: Likewise.
29164         * sysdeps/s390/configure: Likewise.
29165         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
29166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
29168         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
29169         file.
29170         * sysdeps/ia64/configure.ac: Likewise.
29172 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
29174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
29175         specify symbol version for ld.so.  Do not include entry for
29176         libpthread.
29177         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29178         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29179         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29181         [BZ #14171]
29182         * Makeconfig [$(build-shared) = yes]
29183         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
29184         makefiles.
29185         [$(build-shared) = yes && $(soversions.mk-done) = t]
29186         ($(common-objpfx)gnu/lib-names.h): Remove rule.
29187         [$(build-shared) = yes && $(soversions.mk-done) = t]
29188         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
29189         to Makerules.
29190         [$(build-shared) = yes && $(soversions.mk-done) = t]
29191         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
29192         here.
29193         [$(build-shared) = yes && $(soversions.mk-done) = t]
29194         (common-generated): Don't append gnu/lib-names.h and
29195         gnu/lib-names.stmp here.
29196         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
29197         (lib-names-h-abi): New variable.
29198         [$(build-shared) = yes && $(soversions.mk-done) = t]
29199         (lib-names-stmp-abi): Likewise.
29200         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29201         abi-variants] (before-compile): Append
29202         $(common-objpfx)$(lib-names-h-abi).
29203         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29204         abi-variants] (common-generated): Append gnu/lib-names.h.
29205         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29206         abi-variants] (install-others-nosubdir): Depend on
29207         $(inst_includedir)/$(lib-names-h-abi).
29208         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29209         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
29210         [$(build-shared) = yes && $(soversions.mk-done) = t]
29211         ($(common-objpfx)$(lib-names-h-abi)): New rule.
29212         [$(build-shared) = yes && $(soversions.mk-done) = t]
29213         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
29214         [$(build-shared) = yes && $(soversions.mk-done) = t]
29215         (common-generated): Append $(lib-names-h-abi) and
29216         $(lib-names-stmp-abi).
29217         * scripts/lib-names.awk: Do not handle multi being set.
29218         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
29219         Remove variable.
29220         (abi-lp64_be-ld-soname): Likewise.
29221         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
29222         Likewise.
29223         (abi-hard-ld-soname): Likewise.
29224         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
29225         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
29226         Remove variable.
29227         (abi-o32_hard-ld-soname): Likewise.
29228         (abi-o32_soft_2008-ld-soname): Likewise.
29229         (abi-o32_hard_2008-ld-soname): Likewise.
29230         (abi-n32_soft-ld-soname): Likewise.
29231         (abi-n32_hard-ld-soname): Likewise.
29232         (abi-n32_soft_2008-ld-soname): Likewise.
29233         (abi-n32_hard_2008-ld-soname): Likewise.
29234         (abi-n64_soft-ld-soname): Likewise.
29235         (abi-n64_hard-ld-soname): Likewise.
29236         (abi-n64_soft_2008-ld-soname): Likewise.
29237         (abi-n64_hard_2008-ld-soname): Likewise.
29238         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
29239         Likewise.
29240         (abi-64-v2-ld-soname): Likewise.
29241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
29242         ld.so entries.
29243         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
29244         variable.
29245         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
29246         entry.
29247         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
29248         variable.
29249         (abi-64-ld-soname): Likewise.
29250         (abi-x32-ld-soname): Likewise.
29251         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
29252         entry.
29253         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29255 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
29257         [BZ #14138]
29258         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
29259         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
29260         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
29261         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
29262         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
29263         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
29264         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
29265         syscall entry for GLIBC_2.2 symbol version.
29266         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
29267         Likewise.
29268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29269         (setrlimit): Likewise.
29270         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
29271         Likewise.
29273 2014-09-23  Will Newton  <will.newton@linaro.org>
29275         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
29276         _LINUX_ARM_SYSDEP_H include guard too.
29277         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
29278         define.
29280 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29282         * sysdeps/unix/sysv/linux/eventfd.c:
29283         Make first argument unsigned.
29284         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
29285         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
29287 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
29289         [BZ #16852]
29290         * socket/recvmmsg.c (recvmmsg): Drop const argument.
29291         * socket/sys/socket.h: Likewise.
29292         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
29294 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29296         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
29298 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
29300         * time/tst-ftime.c: New test.
29301         * time/Makefile (tests): Add tst-ftime.
29303 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
29305         * soft-fp/extended.h: Fix comment formatting.
29306         * soft-fp/op-1.h: Likewise.
29307         * soft-fp/op-2.h: Likewise.
29308         * soft-fp/op-4.h: Likewise.
29309         * soft-fp/op-8.h: Likewise.
29310         * soft-fp/op-common.h: Likewise.
29311         * soft-fp/soft-fp.h: Likewise.
29313         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
29315 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
29317         [BZ #6652]
29318         * Makeconfig (soversions-default-setname): Remove variable.
29319         ($(common-objpfx)soversions.i): Don't pass default_setname to
29320         soversions.awk.
29321         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
29322         oldest_abi to abi-versions.awk.
29323         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
29324         * config.make.in (oldest-abi): Remove variable.
29325         * configure.ac (--enable-oldest-abi): Remove configure option.
29326         * configure: Regenerated.
29327         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
29328         text.
29329         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
29330         * scripts/soversions.awk: Do not handle default_setname variable.
29331         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
29332         variable.
29333         * sysdeps/mach/hurd/configure: Regenerated.
29334         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
29335         variable.
29336         * sysdeps/unix/sysv/linux/configure: Regenerated.
29338 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29340         * elf/Makefile (CFLAGS-interp.c): Remove.
29341         ($(elf-objpfx)runtime-linker.h): Generate header with linker
29342         path string.
29343         * elf/interp.c: Include generated runtime-linker.h
29345         * Makerules (lib%.so): Don't include $(+interp) in
29346         prerequisites.
29347         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
29348         * dlfcn/eval.c: Remove file.
29350         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
29351         macros.
29353         [BZ #17266]
29354         * misc/sys/cdefs.h: Define __extern_always_inline for clang
29355         4.2 and newer.
29357         [BZ #17370]
29358         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
29360 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29361             Jakub Jelinek  <jakub@redhat.com>
29363         [BZ #17266]
29364         * libio/stdio.h: Check definition of __fortify_function
29365         instead of __extern_always_inline to include bits/stdio2.h.
29366         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
29367         check if __extern_always_inline is defined.
29368         [__USE_MISC || __USE_XOPEN]: Likewise.
29369         [__USE_ISOC99] Likewise.
29370         * misc/sys/cdefs.h (__fortify_function): Define only if
29371         __extern_always_inline is defined.
29372         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
29373         __extern_always_inline and __extern_inline only for g++-4.3
29374         and newer or a compatible gcc.
29376 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
29378         [BZ #17371]
29379         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
29380         last change to handle zero prefix length.
29382 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29384         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
29385         _SC_REGEX_VERSION.
29387         * posix/getconf.c (vars): Add _POSIX_IPV6 and
29388         _POSIX_RAW_SOCKETS.
29390 2014-09-13  Allan McRae  <allan@archlinux.org>
29392         * po/ru.po: Update Russian translation from translation project.
29394 2014-09-12  Roland McGrath  <roland@hack.frob.com>
29396         * locale/programs/locale.c (show_locale_vars): Inline local function
29397         into its sole call site.  Clean up some style nits.
29398         (print_item): New function, broken out of ...
29399         (show_info): ... local function here.  Clean up style nits.
29401         * locale/programs/ld-ctype.c (set_one_default): New function, broken
29402         out of ...
29403         (set_class_defaults): ... local function set_default here.
29404         Define set_default as a macro locally to pass constant parameters.
29405         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
29406         rather than a shared local.
29408         * stdlib/rpmatch.c (try): New function, broken out of ...
29409         (rpmatch): ... local function here.  Also, prototypify definition.
29411 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
29413         * scripts/soversions.awk: Do not handle configuration names.
29414         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
29415         vendor and os variables to soversions.awk.
29416         * configure.ac: Do not modify gnu-* host_os.
29417         * configure: Regenerated
29418         * shlib-versions: Remove first column with configuration names.
29419         * nptl/shlib-versions: Likewise.
29420         * nptl_db/shlib-versions: Likewise.
29421         * sysdeps/hppa/shlib-versions: Likewise.
29422         * sysdeps/m68k/shlib-versions: Likewise.
29423         * sysdeps/mach/hurd/shlib-versions: Likewise.
29424         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
29425         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
29426         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
29427         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
29428         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
29429         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
29430         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
29431         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
29432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
29433         Likewise.
29434         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29435         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
29436         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
29437         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
29438         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
29439         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
29440         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29441         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
29444         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
29445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
29446         Regenerated.
29447         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
29448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
29449         Condition symbol version definitions on [HAVE_ELFV2_ABI].
29451         * shlib-versions: Remove OS-specific entries.  Moved to files in
29452         sysdeps.
29453         * sysdeps/mach/hurd/shlib-versions: New file.
29454         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
29456         * nptl/shlib-versions: Remove architecture-specific entries.
29457         Moved to files in sysdeps.
29458         * shlib-versions: Likewise.
29459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
29460         file.
29461         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29462         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
29463         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
29464         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
29466         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
29467         (UDP_NO_CHECK6_RX): Likewise.
29469 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29471         * sysdeps/posix/sysconf.c (__sysconf): Spell
29472         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
29474 2014-08-12  Florian Weimer  <fweimer@redhat.com>
29476         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
29477         loading.
29478         * iconv/Versions (__gconv_transliterate): Export for use from
29479         gconv modules.
29480         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
29481         (struct __gconv_trans_data, __gconv_trans_fct,
29482         __gconv_trans_context_fct, __gconv_trans_query_fct,
29483         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
29484         definitions.
29485         (struct __gconv_step_data): Remove __trans member.
29486         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
29487         longer hidden.  Remove unused trans_data argument.
29488         * iconv/gconv_int.h (struct trans_struct): Remove definition.
29489         (__gconv_translit_find): Remove declaration.
29490         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
29491         prototype.
29492         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
29493         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
29494         trans_data argument.  Add hidden definition.
29495         (__gconv_translit_find): Remove.
29496         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
29497         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
29498         * iconv/skeleton.c: Remove transliteration initialization.
29499         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
29500         __gconv_step_data initialization.
29501         * libio/iofwide.c (__libio_translit_): Remove.
29502         (_IO_fwide): Adjust struct __gconv_step_data initialization.
29503         * wcsmbs/btowc.c (__btowc): Likewise.
29504         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
29505         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
29506         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
29507         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
29508         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
29509         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
29510         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
29511         * wcsmbs/wctob.c (wctob): Likewise.
29513 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29515         [BZ #16194]
29516         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
29517         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
29518         register usage.
29519         * sysdeps/x86/Makefile: Adjust.
29521 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29522             Roland McGrath  <roland@hack.frob.com>
29524         * locale/weight.h: Add include guard.
29525         (findidx): Make static rather than auto; take new parameters
29526         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
29527         * locale/weightwc.h: Likewise.
29528         * posix/fnmatch_loop.c
29529         (FCT): Change type of EXTRA from int32_t to wint_t.
29530         Don't include either header inside the function.
29531         Call FINDIDX rather than findidx, and pass new arguments.
29532         #undef FINDIDX at the end of the file.
29533         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
29534         FINDIDX before including fnmatch_loop.c for the non-wide version.
29535         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
29536         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
29537         for the wide version.
29538         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
29539         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
29540         Pass new arguments to findidx.
29541         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
29542         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
29543         Don't #include it inside the function.  Pass new arguments to findidx.
29544         * posix/regex_internal.h
29545         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
29546         (re_string_elem_size_at): Don't #include it inside the function.
29547         Pass new arguments to findidx.
29548         * string/strcoll_l.c: #include WEIGHT_H at top level.
29549         (get_next_seq): Don't #include it inside the function.
29550         Pass new arguments to findidx.
29551         (get_next_seq_nocache): Likewise.
29552         * string/strxfrm_l.c: #include WEIGHT_H at top level.
29553         (STRXFRM): Don't #include it inside the function.
29554         Pass new arguments to findidx.
29556 2014-09-11  Florian Weimer  <fweimer@redhat.com>
29558         [BZ #17344]
29559         * malloc/malloc.c (unlink): Turn asserts into a call to
29560         malloc_printerr.
29562 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
29564         [BZ #17370]
29565         * libio/wfileops (do_ftell_wide): Free OUT.
29567 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
29569         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
29571 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29573         [BZ #17363]
29574         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
29575         group if the current group is empty.
29577 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29579         * benchtests/bench-memset.c (test_main): Add more test from size
29580         from 32 to 512 bytes.
29581         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29582         Add POWER8 memset object.
29583         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29584         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
29585         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
29586         implementation.
29587         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
29588         Likewise.
29589         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
29590         multiarch POWER8 memset optimization.
29591         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
29592         POWER8 memset optimization.
29594         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29595         Remove bzero multiarch objects.
29596         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
29597         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
29598         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
29599         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
29600         Remove define.
29601         [__bzero]: Redefine to specific name.
29602         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
29603         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
29604         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
29605         define.
29606         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29607         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
29609 2014-09-10  Florian Weimer  <fweimer@redhat.com>
29611         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
29612         warnings into errors.
29614         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
29615         __cxa_thread_atexit_impl prototype.
29617 2014-09-09  Steve Ellcey  <sellcey@mips.com>
29619         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
29620         Fix capitalization of error message.
29622 2014-09-09  Steve Ellcey  <sellcey@mips.com>
29624         * sysdeps/mips/preconfigure: Modify ABI tests.
29626 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
29628         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
29630 2014-09-07  Roland McGrath  <roland@hack.frob.com>
29631             Carlos O'Donell  <carlos@systemhalted.org>
29633         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
29634         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
29635         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
29636         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
29637         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
29638         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
29639         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
29640         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
29641         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
29642         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
29643         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
29644         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
29645         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
29646         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
29647         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
29648         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
29649         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
29650         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
29651         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
29652         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
29653         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
29654         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
29655         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
29656         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
29657         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
29658         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
29659         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
29660         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
29661         Deconditionalize the code that was previously under [RESET_PID].
29662         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
29663         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
29664         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
29665         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
29666         include sysdep.h.
29668 2014-09-08  Allan McRae  <allan@archlinux.org>
29670         * version.h (RELEASE): Set to "development".
29671         (VERSION): Set to "2.20.90"
29673 2014-09-07  Allan McRae  <allan@archlinux.org
29675         * version.h (RELEASE): Set to "stable".
29676         (VERSION): Set to "2.20"
29677         * include/features.h (__GLIBC_MINOR__): Set to 20.
29679         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
29680         Liebler.
29682         * po/ko.po: Update Korean translation from translation project.
29684 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
29686         [BZ #17354]
29687         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
29688         macro for handling signed relocations.
29690 2014-09-03  Florian Weimer  <fweimer@redhat.com>
29692         [BZ #17325]
29693         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
29694         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
29695         assert.
29696         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
29697         * iconvdata/ibm935.c (BODY): Likewise.
29698         * iconvdata/ibm937.c (BODY): Likewise.
29699         * iconvdata/ibm939.c (BODY): Likewise.
29700         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
29701         assert.
29702         * iconvdata/Makefile (iconv-test.out): Pass module list to test
29703         script.
29704         * iconvdata/run-iconv-test.sh: New test loop for checking for
29705         decoder crashers.
29707 2014-09-02  Khem Raj  <raj.khem@gmail.com>
29709         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
29710         libm_hidden_ver.
29712 2014-09-01  Allan McRae  <allan@archlinux.org>
29714         * po/eo.po: Update Esperanto translation from translation project.
29716         * po/ca.po: Update Catalan translation from translation project.
29718 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29720         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
29721         __proc_dostop call.
29723 2014-08-27  Mark Wielaard  <mjw@redhat.com>
29725         [BZ #17319]
29726         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
29727         to call set_thread_area instead of hand written asm.
29728         (__NR_set_thread_area): Removed define.
29729         (TLS_FLAG_WRITABLE): Likewise.
29730         (__ASSUME_SET_THREAD_AREA): Remove check.
29731         (TLS_EBX_ARG): Remove define.
29732         (TLS_LOAD_EBX): Likewise.
29734 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29736         Simplify atomicity of socket creation in bind.
29738         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
29739         looking up the name after linking the file.
29741 2014-08-27  Allan McRae  <allan@archlinux.org>
29743         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29745 2014-08-26  Florian Weimer  <fweimer@redhat.com>
29747         [BZ #17187]
29748         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
29749         trans_compare, open_translit, __gconv_translit_find):
29750         Remove module loading code.
29752 2014-08-26  Allan McRae  <allan@archlinux.org>
29754         * po/vi.po: Update Vietnamese translation from translation project.
29756         * po/uk.po: Update Ukrainian translation from translation project.
29758         * po/fr.po: Update French translation from translation project.
29760         * po/ru.po: Update Russian translation from translation project.
29762         * po/pl.po: Update Polish translation from translation project.
29764         * po/cs.po: Update Czech translation from translation project.
29766         * po/de.po: Update German translation from translation project.
29768         * po/bg.po: Update Bulgarian translation from translation project.
29770         * po/sv.po: Update Sweedish translation from translation project.
29772         * po/nl.po: Update Dutch translation from translation project.
29774         * po/es.po: Update Spanish translation from translation project.
29776 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29778         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
29780         * catgets/Makefile (CPPFLAGS-gencat): Remove.
29781         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
29782         (CPPFLAGS-iconvconfig): Likewise.
29783         * timezone/Makefile (CPPFLAGS-zic): Likewise.
29785         * include/libc-symbols.h: Remove unnecessary check for
29786         NOT_IN_libc.
29787         * nptl/pthreadP.h: Likewise.
29788         * sysdeps/aarch64/setjmp.S: Likewise.
29789         * sysdeps/alpha/setjmp.S: Likewise.
29790         * sysdeps/arm/sysdep.h: Likewise.
29791         * sysdeps/i386/setjmp.S: Likewise.
29792         * sysdeps/m68k/setjmp.c: Likewise.
29793         * sysdeps/posix/getcwd.c: Likewise.
29794         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29795         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
29796         * sysdeps/s390/s390-32/setjmp.S: Likewise.
29797         * sysdeps/s390/s390-64/setjmp.S: Likewise.
29798         * sysdeps/sh/sh3/setjmp.S: Likewise.
29799         * sysdeps/sh/sh4/setjmp.S: Likewise.
29800         * sysdeps/unix/alpha/sysdep.h: Likewise.
29801         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29802         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29803         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
29804         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29807         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29808         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29809         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29810         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29811         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29812         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29813         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29814         * sysdeps/x86_64/setjmp.S: Likewise.
29816 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
29818         [BZ #17263]
29819         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
29820         <stdint.h>.
29821         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
29822         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
29824 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29826         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
29828         [BZ #17262]
29829         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
29830         and __x86_64__ when disabling x87 inline functions.
29832 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
29834         [BZ #17259]
29835         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
29836         asm statement with __cpuid_count.
29838 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
29840         * configure.ac: Change __ehdr_start code to dereference the struct.
29841         Run readelf on the output to look for relocations.
29842         * configure: Regenerated.
29844 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
29846         [BZ #17261]
29847         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
29848         value to 0.
29849         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
29851 2014-08-12  Roland McGrath  <roland@hack.frob.com>
29853         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
29855 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
29857         [BZ #16892]
29858         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
29859         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
29861 2014-08-12  Sean Anderson  <seanga2@gmail.com>
29863         * malloc/malloc.c: Fix typo in comment.
29865 2014-08-09  Allan McRae  <allan@archlinux.org>
29867         * Regenerate libc.po.
29869 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
29871         * intl/tst-gettext2.sh: Check every lang file for creation.
29873 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
29875         * sysdeps/aarch64/fpu/math_private.h
29876         (libc_feholdsetround_noex_aarch64_ctx): New function.
29878 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
29880         * sysdeps/arm/armv6/strcpy.S (strcpy):
29881         Fix performance issue in misaligned cases.
29883 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29885         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
29886         Move definition from termios.h.
29887         (struct termio): Likewise.
29888         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29889         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
29890         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
29891         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
29892         Likewise.
29893         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
29894         Move definition to ioctl-types.h
29895         (struct termio): Likewise.
29896         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29897         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
29898         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
29899         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
29900         Likewise.
29902 2014-08-05  Richard Henderson  <rth@redhat.com>
29904         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
29905         exceptions.
29906         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
29907         Add fraiseexcpt.
29908         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
29909         Use __feraiseexcept.
29910         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
29911         Protect libm symbols with IS_IN_libm.
29913         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
29915 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
29917         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
29919 2014-08-04  Will Newton  <will.newton@linaro.org>
29921         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
29922         file.
29924 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
29926         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
29927         variants for each function.
29929 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29931         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
29932         appended ...
29933         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
29934         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
29935         appended ...
29936         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
29937         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
29938         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
29939         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
29940         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
29941         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
29942         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
29943         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
29944         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
29945         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
29946         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
29947         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
29948         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
29949         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
29950         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
29951         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
29952         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
29953         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
29954         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
29955         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
29956         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
29957         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
29958         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
29959         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
29960         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
29961         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
29962         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
29963         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
29964         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
29965         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
29966         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
29967         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
29968         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
29969         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
29970         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
29971         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
29972         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
29973         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
29974         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
29975         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
29976         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
29977         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
29978         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
29979         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
29980         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
29981         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
29982         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
29983         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
29984         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
29985         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
29986         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
29987         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
29988         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
29989         Update #include.
29990         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
29991         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
29993 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29995         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
29996         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
29997         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
29998         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
29999         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
30000         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
30002 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30004         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
30005         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
30006         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30007         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
30009 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30011         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
30012         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
30013         (__libc_vfork): Define function under this name.
30014         (__vfork): Define as an alias.
30015         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
30016         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
30018 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30020         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
30021         that was previously under [RESET_PID].
30022         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
30024 2014-08-04  Andreas Schwab  <schwab@suse.de>
30026         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
30028 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
30030         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
30031         (main): Likewise.
30033 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30035         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
30037 2014-08-01  Richard Henderon  <rth@redhat.com>
30039         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
30040         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
30041         typo in exact zero test.
30042         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30043         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30044         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30046 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30048         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
30049         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
30050         * sysdeps/arm/sysdep.h: ... here.
30051         [!__ASSEMBLER__]: Include <stdint.h>.
30053 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30055         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
30056         (HAVE_WCTYPE_H): Likewise.
30057         (HAVE_ISWCTYPE): Likewise.
30058         (ENABLE_NLS): Likewise.
30059         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
30060         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
30062         * posix/regex_internal.c: Check if DEBUG is defined and is
30063         set.
30065         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
30066         (HAVE_MBSRTOWCS): Likewise.
30067         * posix/fnmatch.c: Include string.h unconditionally.
30069 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
30071         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
30072         reversal.
30074 2014-07-31  Roland McGrath  <roland@hack.frob.com>
30076         * sysdeps/generic/safe-fatal.h: New file.
30077         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
30078         * nptl/forward.c: Include it.
30079         (__pthread_unwind): Use __safe_fatal as default action, rather
30080         than a bogus use of INTERNAL_SYSCALL that could never work.
30082         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
30083         * configure.ac (libc_cv_builtin_trap): New test.
30084         * configure: Regenerated.
30085         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
30086         (ABORT_INSTRUCTION): Define using __builtin_trap.
30088         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
30089         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
30090         * sysdeps/nptl/nptl-signals.h: New file.
30091         * nptl/pthreadP.h: Include <nptl-signals.h>.
30093 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
30095         * sysdeps/s390/s390-64/utf16-utf32-z9.c
30096         (ONE_DIRECTION): Define.
30097         * sysdeps/s390/s390-64/utf8-utf16-z9.c
30098         (ONE_DIRECTION): Define.
30099         * sysdeps/s390/s390-64/utf8-utf32-z9.c
30100         (ONE_DIRECTION): Define.
30102 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
30104         * sysdeps/s390/Makefile: Delete file.
30105         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
30106         * sysdeps/s390/__longjmp.c: Delete file.
30107         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
30108         Remove fields __flags and __reserved.
30109         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
30110         and add versioning.
30111         * sysdeps/s390/rtld-__longjmp.c: Delete file.
30112         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
30113         * sysdeps/s390/rtld-setjmp.S: Likewise.
30114         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
30115         * sysdeps/s390/s390-32/__longjmp.c: ... here.
30116         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
30117         * sysdeps/s390/s390-32/setjmp.S: ... here.
30118         Add versioning.
30119         (__sigsetjmp): Remove setting __flags field.
30120         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
30121         * sysdeps/s390/s390-64/__longjmp.c: ... here.
30122         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
30123         * sysdeps/s390/s390-64/setjmp.S: ... here.
30124         Add versioning.
30125         (__sigsetjmp): Remove setting __flags field.
30126         * sysdeps/s390/setjmp.S: Delete file.
30127         * sysdeps/s390/sigjmp.c: Likewise.
30128         * sysdeps/s390/v1-longjmp.c: Likewise.
30129         * sysdeps/s390/v1-setjmp.h: Likewise.
30130         * sysdeps/s390/v1-sigjmp.c: Likewise.
30131         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
30132         Remove v1-longjmp_chk.
30133         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
30134         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
30135         Include debug/longjmp_chk.c and add versioning.
30136         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
30137         Include nptl/pt-longjmp.c and add versioning.
30138         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
30139         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
30140         Include __longjmp.c.
30141         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
30142         Move to ...
30143         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
30144         (__getcontext): Remove setting __flags field.
30145         Add versioning.
30146         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30147         Don't restore upper high grps.
30148         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
30149         Likewise.
30150         (__swapcontext): Remove setting uc_flags field.
30151         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
30152         Delete file.
30153         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
30154         Include __longjmp.c.
30155         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
30156         Move to ...
30157         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
30158         (__getcontext): Remove setting __flags field.
30159         Add versioning.
30160         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
30161         (__swapcontext): Remove setting uc_flags field.
30162         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
30163         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
30164         Remove fields uc_high_gprs and __reserved.
30165         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
30166         New file with reverted content.
30167         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
30168         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
30169         Regenerated.
30170         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
30171         Regenerated.
30173 2014-07-31  Andreas Schwab  <schwab@suse.de>
30175         * config.h.in (HAVE_IFUNC): Define to 0.
30176         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
30177         definedness.
30179 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
30181         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30182         memmove-avx-unaligned, memcpy-avx-unaligned and
30183         mempcpy-avx-unaligned.
30184         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30185         Add tests for AVX memcpy functions.
30186         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
30187         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
30188         memcpy_chk.
30189         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
30190         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
30191         memmove_chk.
30192         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
30193         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
30194         mempcpy_chk.
30195         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
30196         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
30197         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
30199 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30201         [BZ #17213]
30202         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
30203         powerpc64le.
30205 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
30207         [BZ #16839]
30208         * manual/llio.texi: Add section about open file description locks.
30209         * manual/examples/ofdlocks.c: Example of open file description
30210         lock usage.
30211         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
30212         F_OFD_SETLK, and F_OFD_SETLKW.
30214 2014-07-23  Allan McRae  <allan@archlinux.org>
30216         * po/es.po: Update Spanish translation from translation project.
30218 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
30220         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
30222 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
30224         [BZ #17078]
30225         * sysdeps/arm/dl-machine.h (elf_machine_rela)
30226         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
30227         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
30229 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
30231         [BZ #17088]
30232         * math/fesetenv.c (__fesetenv)
30233         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
30234         * math/feupdateenv.c (__feupdateenv)
30235         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
30237         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
30238         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
30239         (__ASSUME_SOCKETCALL): Do not define.
30241         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
30242         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
30243         (__ASSUME_SOCKETCALL): Do not define.
30244         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
30245         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30246         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30247         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30248         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30249         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
30250         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30251         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30253         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
30254         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
30255         (__ASSUME_SOCKETCALL): Do not define.
30256         (__ASSUME_IPC64): Define unconditionally.
30257         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30258         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30259         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30260         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30261         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
30262         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30263         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
30264         Likewise.
30266         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
30267         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
30268         (__ASSUME_SOCKETCALL): Do not define.
30269         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
30270         (__ASSUME_FUTEX_LOCK_PI): Likewise.
30271         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30272         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
30273         (__ASSUME_REQUEUE_PI): Define unconditionally.
30274         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
30275         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
30276         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30277         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
30278         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30279         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30281         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
30282         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
30283         (__ASSUME_SOCKETCALL): Do not define.
30284         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
30285         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30286         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30287         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
30288         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30289         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30291         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
30292         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
30293         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30294         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
30295         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30296         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
30297         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30298         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
30299         (__ASSUME_GETCPU_SYSCALL): Likewise.
30301         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
30302         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
30303         cases for individual architectures.
30304         * sysdeps/gnu/configure: Regenerated.
30305         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
30306         LIBC_SLIBDIR_RTLDDIR.
30307         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
30308         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
30309         LIBC_SLIBDIR_RTLDDIR.
30310         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
30311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
30312         LIBC_SLIBDIR_RTLDDIR.
30313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30314         Regenerated.
30315         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
30316         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
30317         file.
30318         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
30319         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
30320         file.
30321         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
30322         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
30323         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
30324         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
30326         * sysdeps/aarch64/shlib-versions: Move to ...
30327         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
30328         * sysdeps/alpha/shlib-versions: Move to ...
30329         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
30330         * sysdeps/arm/shlib-versions: Move to ...
30331         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
30332         * sysdeps/hppa/shlib-versions: Move all contents except for
30333         libgcc_s entry to ...
30334         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
30335         entry from ...
30336         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
30337         * sysdeps/ia64/shlib-versions: Move to ...
30338         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
30339         entry from ...
30340         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
30341         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
30342         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
30343         * sysdeps/microblaze/shlib-versions: Move to ...
30344         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
30345         * sysdeps/mips/shlib-versions: Move to ...
30346         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
30347         entry from ...
30348         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
30349         * sysdeps/tile/shlib-versions: Move to ...
30350         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
30351         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
30352         from ...
30353         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
30354         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
30355         entry from ...
30356         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
30358 2014-07-17  Will Newton  <will.newton@linaro.org>
30360         * sysdeps/arm/bits/atomic.h
30361         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
30362         (__arch_compare_and_exchange_bool_16_int): Likewise.
30363         (__arch_compare_and_exchange_bool_64_int): Likewise.
30365         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
30366         into an #else block.
30368 2014-07-16  Roland McGrath  <roland@hack.frob.com>
30370         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
30371         just Linux configurations.  Test empirically that the compiler sets
30372         __ARM_EABI__, rather than using the tuple to decide.
30373         * sysdeps/arm/preconfigure: Regenerated.
30374         * sysdeps/unix/sysv/linux/arm/configure: File removed.
30375         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
30376         contents appended ...
30377         * sysdeps/arm/configure.ac: ... here.
30378         * sysdeps/arm/configure: Regenerated.
30380 2014-07-15  Roland McGrath  <roland@hack.frob.com>
30382         * nptl/pthread_kill.c: New file.
30383         * nptl/pthread_sigmask.c: New file.
30384         * nptl/pthread_sigqueue.c: New file.
30386         * sysdeps/nptl/lowlevellock.h: New file.
30387         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
30388         * sysdeps/nptl/lowlevellock-futex.h: New file.
30390         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
30391         Remove dead declarations.
30393 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
30395         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
30396         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
30397         config-cflags-avx2.
30398         * sysdeps/x86_64/configure.ac: Likewise.
30399         * sysdeps/i386/configure: Regenerated.
30400         * sysdeps/x86_64/configure: Likewise.
30401         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30402         memset-avx2 only if config-cflags-avx2 is yes.
30403         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30404         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
30405         defined.
30406         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
30407         only if HAVE_AVX2_SUPPORT is defined.
30408         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30410 2014-07-14  Alan Modra  <amodra@gmail.com>
30412         [BZ #17153]
30413         * elf/elf.h (DT_PPC64_NUM): Correct value.
30414         * NEWS: Add to fixed bug list.
30416 2014-07-13  Jim Meyering  <meyering@fb.com>
30418         [BZ 17150]
30419         regex: don't deref NULL upon heap allocation failure
30420         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
30421         failure in one more place.
30422         To trigger the segfault, configure grep -with-included-regex,
30423         build it, and run these commands:
30424         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
30426 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
30428         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30430 2014-07-11  Richard Henderson  <rth@redhat.com>
30432         * sysdeps/aarch64/libm-test-ulps: Update.
30434 2014-07-10  Florian Weimer  <fweimer@redhat.com>
30436         [BZ #17135]
30437         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
30438         * nptl/allocatestack.c (__nptl_setxid_error): New function.
30439         (__nptl_setxid): Initialize error member.  Call
30440         __nptl_setxid_error.
30441         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
30442         * nptl/descr.h (struct xid_command): Add error member.
30443         * nptl/tst-setuid3.c: New file.
30444         * nptl/Makefile (tests): Add it.
30446 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30448         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
30449         New define.
30450         (__lll_trylock): Use __lll_base_trylock.
30451         (__lll_cond_trylock): Likewise.
30453 2014-07-10  Roland McGrath  <roland@hack.frob.com>
30455         * nptl/pthread_create.c (start_thread): Use atomic_or and
30456         lll_futex_wake directly rather than lll_robust_dead.
30457         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
30458         (lll_robust_dead): Macro removed.
30459         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
30460         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
30461         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
30462         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30463         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30464         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
30465         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
30466         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30467         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
30468         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30469         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30470         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30471         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30472         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30473         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30475         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
30476         Use atomic_compare_and_exchange_val_acq directly rather than
30477         lll_robust_trylock.
30478         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
30479         (__lll_robust_trylock, lll_robust_trylock): Removed.
30480         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
30481         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
30482         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30483         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30484         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
30485         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
30486         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30487         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
30488         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30489         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30490         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30491         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30492         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30493         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30495 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30497         * manual/locale.texi (Locale Names): New section documenting
30498         locale name syntax.  Adjust menu and node chaining accordingly.
30499         (Choosing Locale): Reference Locale Names, Locale Categories.
30500         Mention setting LC_ALL=C.  Reflect that name syntax is now
30501         documented.
30502         (Locale Categories): New section title.  Reference Locale Names.
30503         LC_ALL is an environment variable, but not a category.
30504         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
30505         description, now in Locale Name.  Reference that section.  Locale
30506         name syntax is now documented.
30508 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30510         [BZ #17137]
30511         * locale/findlocale.c (name_present, valid_locale_name): New
30512         functions.
30513         (_nl_find_locale): Use the loc_name variable to store name
30514         candidates.  Call name_present and valid_locale_name to check and
30515         validate locale names.  Return an error if the locale is invalid.
30517 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30519         * locale/setlocale.c (setlocale): Use strdup for allocating
30520         composite name copy.
30522 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30524         Sync up with gnulib.
30525         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
30526         [!_LIBC && ENABLE_NLS]: Include gettext.h.
30527         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
30528         and _GL_ARG_NONNULL.
30529         [USE_UNLOCKED_IO]: Include unlocked-io.h.
30530         [!_LIBC]: Include code for Windows and Cygwin.
30531         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
30532         Include prototype for int strerror_r.
30533         [!_LIBC] (is_open): New function.
30534         (flush_stdout): New function.
30535         (print_errno_message): Use it.
30536         (error): Likewise.
30537         (error_at_line): Likewise.
30538         (error_tail) Add function attribute macros.  Use
30539         __builtin_expect.
30541         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
30543         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
30545         * io/ftw.c: Include sys/param.h unconditionally.
30547         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
30549         [BZ #17125]
30550         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
30551         libc_freeres_ptr.
30552         (freecache): New function to free CACHE on exit.
30554         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
30555         initialization.
30557 2014-07-09  David S. Miller  <davem@davemloft.net>
30559         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30561         * sysdeps/sparc/nptl/internaltypes.h: Delete.
30562         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
30563         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
30564         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
30565         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
30566         * sysdeps/sparc/nptl/sem_init.c: Likewise.
30567         * sysdeps/sparc/nptl/sem_post.c: Likewise.
30568         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
30569         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
30570         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
30571         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
30572         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
30573         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
30575 2014-07-09  Andreas Schwab  <schwab@suse.de>
30577         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
30578         output.
30579         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
30580         (do_test): Likewise.
30582         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30584 2014-07-09  Will Newton  <will.newton@linaro.org>
30586         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
30587         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
30588         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
30589         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
30590         * sysdeps/hppa/start.S (_start): Likewise.
30592 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
30594         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
30596         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
30597         defined.
30599 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30601         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
30602         after checking that it is non-NULL.
30604         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
30606 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30608         * sysdeps/powerpc/memmove.c: Remove file.
30609         * sysdeps/powerpc/powerpc32/power4/memcopy.h
30610         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
30611         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
30612         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
30613         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
30614         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
30615         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
30616         string memmove instead of removed powerpc one.
30618         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
30619         [weak_alias]: Fix compiler warning due trailing data.
30620         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
30621         [weak_alias]: Likewise.
30622         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
30623         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
30625         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30626         (__libc_ifunc_impl_list): Add memmove functions.
30628 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30630         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
30631         Remove code.
30632         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
30633         Likewise.
30634         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
30635         Likewise.
30636         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
30637         Likewise.
30638         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
30639         Likewise.
30640         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
30641         Likewise.
30642         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
30643         Likewise.
30644         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
30645         Likewise.
30646         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
30647         Likewise.
30648         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
30649         Likewise.
30650         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
30651         Likewise.
30652         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
30653         Likewise.
30654         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
30655         Likewise.
30656         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
30657         Likewise.
30658         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
30659         Likewise.
30660         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
30661         Likewise.
30662         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
30663         Likewise.
30665 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30667         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
30668         to avoid alignment traps in non-cacheable memory.
30669         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30671         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
30672         multiarch objects.
30673         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
30674         file: multiarch power7 memmove.
30675         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
30676         multiarch default memmove.
30677         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
30678         multiarch memove for powerpc32/power4.
30680         * string/bcopy.c: Use full path to include memmove.c.
30681         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
30682         multiarch objects.
30683         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
30684         bcopy for powerpc64.
30685         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
30686         bcopy for powerpc64.
30687         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
30688         and memmove implementations.
30689         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
30690         optimized multiarch memmove for POWER7/powerpc64.
30691         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
30692         default multiarch memmove for powerpc64.
30693         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
30694         multiarch for powerpc64.
30695         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
30696         for POWER7/powerpc64.
30697         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
30698         memmove for POWER7/powerpc64.
30700         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
30701         glibc default one.
30703         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
30704         __ELF_NATIVE_CLASS equal to 64.
30706 2014-07-07  Roland McGrath  <roland@hack.frob.com>
30708         * sysdeps/nptl/lowlevellock.h: File removed.
30710         * NEWS: NPTL is no longer an add-on!
30711         * nptl/internaltypes.h: Moved ...
30712         * sysdeps/nptl/internaltypes.h: ... here.
30713         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
30714         * sysdeps/nptl/fork.c: Likewise.
30715         * sysdeps/nptl/gai_misc.h: Likewise.
30716         * sysdeps/nptl/librt-cancellation.c: Likewise.
30717         * sysdeps/nptl/jmp-unwind.c: Likewise.
30718         * sysdeps/nptl/setxid.h: Likewise.
30719         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
30720         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
30721         * sysdeps/unix/sysv/linux/arm/Implies: New file.
30722         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
30723         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
30724         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
30725         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
30726         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
30727         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
30728         * sysdeps/unix/sysv/linux/mips/Implies: New file.
30729         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
30730         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
30731         * sysdeps/unix/sysv/linux/sh/Implies: New file.
30732         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
30733         * sysdeps/unix/sysv/linux/tile/Implies: New file.
30734         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
30735         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
30736         * nptl/Makeconfig: Moved ...
30737         * sysdeps/nptl/Makeconfig: ... here.
30738         * nptl/configure: File removed.
30739         * nptl/ANNOUNCE: File removed.
30740         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
30741         * sysdeps/unix/sysv/linux/configure: Regenerated.
30743         * nptl/Makefile (routines): Add libc_pthread_init,
30744         libc_multiple_threads, register-atfork and unregister-atfork.
30745         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
30746         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
30747         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
30748         pthread-pi-defines.sym, structsem.sym.
30749         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
30750         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
30751         [$(subdir) = nptl] (tests): Add tst-setgetname.
30752         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
30753         * sysdeps/unix/sysv/linux/sigaction.c: Just include
30754         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
30755         [!LIBC_SIGACTION]: Remove aliases.
30756         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
30757         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
30758         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
30759         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
30760         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
30761         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
30762         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30763         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30764         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
30765         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
30766         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
30767         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
30768         __libc_allocate_rtsig_private.
30769         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
30770         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
30771         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
30772         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
30773         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
30774         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
30775         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
30776         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
30777         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
30778         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
30779         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
30780         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
30781         * nptl/internaltypes.h: ... here.
30782         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
30783         * sysdeps/nptl/jmp-unwind.c: ... here.
30784         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
30785         * nptl/libc-lowlevellock.c: ... here.
30786         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
30787         * nptl/libc_multiple_threads.c: ... here.
30788         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
30789         * nptl/libc_pthread_init.c: ... here.
30790         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
30791         * nptl/lowlevelbarrier.sym: ... here.
30792         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
30793         * nptl/lowlevelcond.sym: ... here.
30794         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
30795         * nptl/lowlevellock.c: ... here.
30796         * nptl/lowlevellock.h: Moved ...
30797         * sysdeps/nptl/lowlevellock.h: ... here.
30798         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
30799         * nptl/lowlevelrobustlock.c: ... here.
30800         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
30801         * nptl/lowlevelrobustlock.sym: ... here.
30802         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
30803         * nptl/lowlevelrwlock.sym: ... here.
30804         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
30805         * nptl/pt-fork.c: ... here.
30806         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
30807         * nptl/pthread-pi-defines.sym: ... here.
30808         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
30809         * nptl/pthread_attr_getaffinity.c: ... here.
30810         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
30811         * nptl/pthread_attr_setaffinity.c: ... here.
30812         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
30813         * nptl/pthread_mutex_cond_lock.c: ... here.
30814         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
30815         Update #include.
30816         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
30817         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
30818         * nptl/pthread_once.c: ... here, replacing old file.
30819         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
30820         * nptl/pthread_yield.c: ... here.
30821         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
30822         * nptl/register-atfork.c: ... here.
30823         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
30824         * nptl/sem_post.c: ... here.
30825         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
30826         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
30827         * nptl/sem_timedwait.c: ... here.
30828         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
30829         * nptl/sem_trywait.c: ... here.
30830         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
30831         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
30832         * nptl/sem_wait.c: ... here.
30833         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
30834         * nptl/structsem.sym: ... here.
30835         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
30836         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
30837         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
30838         * nptl/unregister-atfork.c: ... here.
30839         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
30840         * nptl/unwindbuf.sym: ... here.
30841         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
30842         * sysdeps/nptl/fork.c: ... here.
30843         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
30844         * sysdeps/nptl/fork.h: ... here.
30845         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
30846         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
30847         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
30848         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
30849         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
30850         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
30851         * sysdeps/unix/sysv/linux/getpid.c: ... here.
30852         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
30853         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
30854         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
30855         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
30856         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
30857         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
30858         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
30859         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
30860         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
30861         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
30862         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
30863         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
30864         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
30865         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
30866         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
30867         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
30868         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
30869         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
30870         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
30871         * sysdeps/unix/sysv/linux/raise.c: ... here.
30872         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
30873         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
30874         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
30875         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
30876         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
30877         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
30878         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
30879         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
30880         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
30881         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
30882         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
30883         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
30884         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
30885         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
30886         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
30888 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30890         * sysdeps/generic/memcopy.h: Add comment for
30891         MEMCPY_OK_FOR_FWD_MEMMOVE.
30893 2014-07-04  Will Newton  <will.newton@linaro.org>
30895         * string/memchr.c: Merge from gnulib.
30896         [_LIBC]: Remove conditionals.
30897         (__ptr_t): Remove define.
30898         (LONG_MAX_32_BITS): Likewise.
30899         (LONG_MAX): Likewise.
30900         (MEMCHR): Use ANSI prototype and optimize algorithm.
30902         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
30904 2014-07-03  Roland McGrath  <roland@hack.frob.com>
30906         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
30907         (lll_futex_timed_wait_bitset): Fix syscall argument count.
30909         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
30910         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
30911         in a bare environment with no <stdlib.h> installed.
30912         * sysdeps/nptl/configure: Regenerated.
30914         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
30916         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
30917         AC_EGREP_CPP for kernel header checks, so they only succeed if
30918         including <linux/version.h> actually works right.
30919         * sysdeps/unix/sysv/linux/configure: Regenerated.
30921         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
30922         value so it's not diagnosed as unused.
30924         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
30925         thing) with "ifeq ($(subdir),rt)".
30927 2014-07-03  Richard Henderson  <rth@redhat.com>
30929         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
30930         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
30931         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
30933         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
30934         (math_force_eval): New.
30936         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
30937         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
30939         * sysdeps/alpha/fpu/s_round.c: Remove file.
30940         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
30942         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
30943         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
30944         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
30945         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
30946         (_dl_start, print_statistics): Likewise.
30947         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
30948         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
30950         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30951         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30952         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30953         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30954         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30955         (HP_SMALL_TIMING_AVAIL): Define.
30956         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30957         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
30958         (HP_SMALL_TIMING_AVAIL): Define.
30959         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30960         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30962         * sysdeps/aarch64/hp-timing.h: New file.
30964         * sysdeps/generic/hp-timing.h: Remove dead comment.
30965         * sysdeps/generic/hp-timing-common.h: New file.
30966         * sysdeps/alpha/hp-timing.h: Include it.
30967         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
30968         * sysdeps/i386/i686/hp-timing.h: Likewise.
30969         * sysdeps/ia64/hp-timing.h: Likewise.
30970         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30971         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30972         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
30973         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
30974         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
30975         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
30976         (hp_timing_t): New.
30978         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
30979         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
30980         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
30981         * elf/rtld.c (_dl_start_final): Likewise.
30982         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
30983         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30984         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30985         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30986         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30987         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30988         (HP_TIMING_DIFF_INIT): Remove.
30989         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30990         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
30991         (HP_TIMING_DIFF_INIT): Remove.
30992         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30993         * sysdeps/i386/i686/hp-timing.c: Remove file.
30994         * sysdeps/x86_64/hp-timing.c: Remove file.
30995         * sysdeps/ia64/hp-timing.c: Remove file.
30996         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
30997         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
30998         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
30999         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
31001         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
31002         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
31003         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
31004         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31005         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31006         (HP_TIMING_ACCUM): Remove.
31007         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31008         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
31009         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31011         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
31012         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
31013         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
31014         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
31015         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
31016         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31017         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
31018         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31020         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
31022 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
31024         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
31026 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31028         Sync up with gettext.
31029         * intl/loadmsgcat.c: Define O_BINARY if not defined.
31030         [_MSC_VER]: Include malloc.h
31031         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
31032         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
31033         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
31034         TEMP_FAILURE_RETRY.  Cast return of alloca.
31035         [!_LIBC] Call gl_rwlock_init.
31036         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
31038 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31040         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
31041         before checking its value.
31043 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31045         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
31047         * debug/memcpy_chk.c: Don't include pagecopy.h.
31048         * debug/mempcpy_chk.c: Likewise.
31049         * string/memcpy.c: Likewise.
31050         * string/memmove.c: Likewise.
31051         * sysdeps/powerpc/memmove.c: Likewise.
31052         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
31053         definition of PAGE_COPY_FWD_MAYBE here...
31054         * sysdeps/generic/pagecopy.h: ... from here.
31055         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
31057 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31058             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31060         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
31061         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
31062         optimizations.
31063         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31064         (__libc_ifunc_impl_list): Likewise.
31065         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
31066         multiarch strcat for PPC64.
31067         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
31068         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
31070 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31072         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
31074 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31076         * intl/loadmsgcat.c: Remove declaration of
31077         get_sysdep_segment_value.
31078         (get_sysdep_segment_value): Use ISO C style.
31079         (_nl_load_domain): Use ISO C style.  Get rid of redundant
31080         semicolon.  Fix typo and formatting in comment.
31081         (_nl_unload_domain): Use ISO C style.
31083         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
31085 2014-07-02  Will Newton  <will.newton@linaro.org>
31087         * malloc/obstack.c: Merge from gnulib master.
31088         [HAVE_CONFIG_H]: Remove conditional code.
31089         [!_LIBC]: Include config.h.
31090         [!ELIDE_CODE]: Don't include inttypes.h, include
31091         stdint.h unconditionally.
31092         (print_and_abort): Mark as _Noreturn.
31093         (_obstack_allocated_p): Mark as __attribute_pure__.
31094         (obstack_free): Rename to __obstack_free.
31095         [!__attribute__]: Remove conditional code.
31096         * malloc/obstack.h: Merge from gnulib master.
31097         [__cplusplus]: Move conditional down.
31098         [!__attribute_pure__]: Define __attribute_pure__ here
31099         if it is not already defined.
31100         (_obstack_memory_used): Mark as __attribute_pure__.
31101         [!__obstack_free]: Define as obstack_free.
31102         [__GNUC__]: Remove check for ancient NeXT gcc.
31104 2014-07-02  Will Newton  <will.newton@linaro.org>
31105             Paul Eggert  <eggert@cs.ucla.edu>
31107         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
31109 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31111         * resolv/gethnamaddr.c: Add comment warning that the file is
31112         not maintained.
31114 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
31116         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
31117         entries.
31119         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
31120         entry for aio_cancel and aio_cancel64.
31121         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
31122         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
31123         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
31124         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
31125         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
31126         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
31127         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
31128         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
31129         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
31130         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
31131         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
31132         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
31133         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
31135 2014-07-01  Roland McGrath  <roland@hack.frob.com>
31137         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
31138         * nptl/pthread_mutex_lock.c: Likewise.
31139         * nptl/pthread_mutex_timedlock.c: Likewise.
31140         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
31142 2014-07-01  Richard henderson  <rth@redhat.com>
31144         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
31145         (__isnan, __isnanl): Remove.
31146         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
31148         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31150 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
31152         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31154 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31156         * resolv/nss_dns/dns-host.c (getanswer_r)
31157         [MULTI_PTRS_ARE_ALIASES]: Remove code.
31159 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
31161         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31162         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
31163         undefine.
31164         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
31165         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
31167 2014-07-01  Roland McGrath <roland@hack.frob.com>
31169         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
31170         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
31172         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
31173         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
31175         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
31176         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
31177         ... here.
31178         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
31179         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
31181         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
31182         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
31183         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
31184         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
31186         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
31187         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
31188         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
31189         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
31190         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
31191         Moved ...
31192         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
31193         ... here.
31194         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
31195         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
31196         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
31197         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
31198         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
31199         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
31200         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
31201         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
31202         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
31203         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
31204         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
31205         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
31206         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
31207         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
31208         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
31209         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
31210         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
31211         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
31212         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
31213         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
31214         ... here.
31215         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
31216         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
31217         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
31218         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
31219         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
31220         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
31221         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
31222         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
31224 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
31226         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
31227         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
31228         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
31229         Add sysdep.
31231 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31233         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31235 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31237         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
31238         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31240         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31242         * sysdeps/arm/libm-test-ulps: Regenerated.
31244 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31245             Roland McGrath <roland@hack.frob.com>
31247         * test-skeleton.c (signal_handler): Kill the whole process group
31248         before killing the child individually.
31249         (main): Report any failure on `setpgid'.
31251 2014-06-30  Roland McGrath  <roland@hack.frob.com>
31253         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
31254         from _TLS_H to _ARM_NPTL_TLS_H.
31255         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
31256         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
31258 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31260         [BZ #16539]
31261         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
31262         (__expm1l): Return argument unchanged when small but not
31263         subnormal.
31265         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
31266         include macro name.
31267         (_FP_UNPACK_RAW_1_P): Likewise.
31268         (_FP_PACK_RAW_1): Likewise.
31269         (_FP_PACK_RAW_1_P): Likewise.
31270         (_FP_MUL_MEAT_1_wide): Likewise.
31271         (_FP_MUL_MEAT_DW_1_hard): Likewise.
31272         (_FP_MUL_MEAT_1_hard): Likewise.
31273         (_FP_DIV_MEAT_1_imm): Likewise.
31274         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
31275         (_FP_DIV_MEAT_1_udiv): Likewise.
31276         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
31277         (_FP_UNPACK_RAW_2): Likewise.
31278         (_FP_UNPACK_RAW_2_P): Likewise.
31279         (_FP_PACK_RAW_2): Likewise.
31280         (_FP_PACK_RAW_2_P): Likewise.
31281         (_FP_MUL_MEAT_DW_2_wide): Likewise.
31282         (_FP_MUL_MEAT_2_wide): Likewise.
31283         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
31284         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
31285         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
31286         (_FP_MUL_MEAT_2_gmp): Likewise.
31287         (_FP_DIV_MEAT_2_udiv): Likewise.
31288         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
31289         (_FP_FRAC_SRL_4): Likewise.
31290         (_FP_FRAC_SRST_4): Likewise.
31291         (_FP_FRAC_SRS_4): Likewise.
31292         (_FP_UNPACK_RAW_4): Likewise.
31293         (_FP_UNPACK_RAW_4_P): Likewise.
31294         (_FP_PACK_RAW_4): Likewise.
31295         (_FP_PACK_RAW_4_P): Likewise.
31296         (_FP_MUL_MEAT_DW_4_wide): Likewise.
31297         (_FP_MUL_MEAT_4_wide): Likewise.
31298         (_FP_MUL_MEAT_4_gmp): Likewise.
31299         (umul_ppppmnnn): Likewise.
31300         (_FP_DIV_MEAT_4_udiv): Likewise.
31301         (__FP_FRAC_ADD_4): Likewise.
31302         (__FP_FRAC_SUB_3): Likewise.
31303         (__FP_FRAC_SUB_4): Likewise.
31304         (__FP_FRAC_DEC_3): Likewise.
31305         (__FP_FRAC_DEC_4): Likewise.
31306         (__FP_FRAC_ADDI_4): Likewise.
31307         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
31308         (_FP_FRAC_SRL_8): Likewise.
31309         (_FP_FRAC_SRS_8): Likewise.
31311         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
31312         include macro name.
31313         (FP_UNPACK_RAW_EP): Likewise.
31314         (FP_PACK_RAW_E): Likewise.
31315         (FP_PACK_RAW_EP): Likewise.
31316         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
31317         (_FP_ISSIGNAN): Likewise.
31318         (_FP_ADD_INTERNAL): Likewise.
31319         (_FP_FMA): Likewise.
31320         (_FP_CMP): Likewise.
31321         (_FP_SQRT): Likewise.
31322         (_FP_TO_INT): Likewise.
31323         (_FP_FROM_INT): Likewise.
31324         (FP_EXTEND): Likewise.
31325         (_FP_DIV_MEAT_N_loop): Likewise.
31327 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31329         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
31330         throughout.
31332 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
31334         [BZ #17097]
31335         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
31336         result with correct sign in case of exponents that produce
31337         overflow except for X very close to 1.
31339 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
31341         mktime: merge #if/#ifdef usage from glibc
31342         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
31343         as that works with both Glibc's and Gnulib's style.
31344         See thread starting at Siddhesh Poyarekar's bug report at:
31345         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
31347 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31349         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
31350         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
31351         * sysdeps/tile/tilegx/memmove.c: Remove file.
31353 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
31355         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
31356         abi-name definition.
31357         * scripts/soversions.awk: Do not handle or generate ABI lines.
31358         * shlib-versions: Remove ABI entries.
31359         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
31360         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
31362 2014-06-27  Roland McGrath  <roland@hack.frob.com>
31364         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
31365         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
31366         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
31367         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
31368         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
31369         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
31370         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
31371         Moved ...
31372         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
31373         ... here.
31374         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
31375         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
31376         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
31377         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
31378         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
31379         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
31380         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
31381         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
31382         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
31383         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
31384         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
31385         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
31386         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
31387         Moved ...
31388         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
31389         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
31390         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
31391         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
31392         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
31393         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
31394         Moved ...
31395         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
31396         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
31397         Moved ...
31398         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
31399         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
31400         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
31401         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
31402         Moved ...
31403         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
31404         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
31405         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
31406         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
31407         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
31408         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
31409         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
31410         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
31411         Moved ...
31412         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
31413         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
31414         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
31415         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
31416         Moved ...
31417         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
31418         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
31419         Moved ...
31420         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
31421         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
31422         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
31423         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
31424         Moved ...
31425         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
31426         ... here.
31427         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
31428         Identical file removed.
31429         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
31430         Moved ...
31431         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
31432         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
31433         Identical file removed.
31434         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
31435         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
31436         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
31437         Moved ...
31438         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
31439         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
31440         Identical file removed.
31441         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
31442         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
31443         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
31444         Identical file removed.
31445         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
31446         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
31447         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
31448         Identical file removed.
31449         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
31450         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
31451         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
31452         Identical file removed.
31453         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
31454         Moved ...
31455         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
31456         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
31457         Identical file removed.
31458         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
31459         Moved ...
31460         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
31461         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
31462         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
31463         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
31464         Identical file removed.
31465         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
31466         Moved ...
31467         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
31468         ... here.
31469         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
31470         Identical file removed.
31471         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
31472         Moved ...
31473         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
31474         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
31475         Identical file removed.
31476         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
31477         Moved ...
31478         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
31479         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
31480         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
31481         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
31482         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
31483         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
31484         Moved ...
31485         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
31486         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
31487         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
31489         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
31490         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
31491         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
31492         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
31493         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
31495 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
31497         [BZ #17092]
31498         * nscd/nscd.c (monitor_child): Return exit status of child
31499         instead of return value from wait syscall.
31501 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
31503         * configure.ac (libc_commonpagesize): Remove variable.
31504         (libc_relro_required): Likewise.
31505         (libc_cv_z_relro): Remove configure test.
31506         * configure: Regenerated.
31507         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
31508         variable.
31509         (libc_relro_required): Likewise.
31510         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
31511         (libc_relro_required): Likewise.
31512         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
31513         (libc_relro_required): Likewise.
31514         * sysdeps/arm/preconfigure: Regenerated.
31515         * sysdeps/ia64/preconfigure: Remove file.
31516         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
31517         variable.
31518         (libc_relro_required): Likewise.
31520         [BZ #16561]
31521         [BZ #16562]
31522         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
31523         (__ieee754_yn): Set FE_TONEAREST mode internally and then
31524         recompute overflowing results in original rounding mode.
31525         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
31526         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
31527         recompute overflowing results in original rounding mode.
31528         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
31529         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31530         recompute overflowing results in original rounding mode.
31531         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
31532         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31533         recompute overflowing results in original rounding mode.
31534         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
31535         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31536         recompute overflowing results in original rounding mode.
31537         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
31538         (libc_feholdsetround_ctx): New macro.
31539         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
31540         * sysdeps/i386/fpu/libm-test-ulps: Update.
31541         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
31543 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31545         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
31546         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
31547         corresponding .cpsetup call.
31549 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31551         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
31552         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
31553         * sysdeps/arm/Makefile [$(subdir) = csu]
31554         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
31555         (static-only-routines): Add aeabi_read_tp here.
31556         (shared-only-routines): Add libc-aeabi_read_tp here.
31557         (CFLAGS-libc-start.c): Add -fexceptions here.
31558         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
31559         (sysdep_routines, static-only-routines, shared-only-routines):
31560         Don't add to these here.
31561         (CFLAGS-libc-start.c): Likewise.
31563         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
31564         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
31565         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
31566         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
31567         * sysdeps/arm/Makefile [$(subdir) = rt]
31568         (librt-sysdep_routines, librt-shared-only-routines):
31569         Append rt-aeabi_unwind_cpp_pr1 here.
31570         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
31571         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
31572         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
31573         (libpthread-sysdep_routines, libpthread-shared-only-routines):
31574         Append nptl-aeabi_unwind_cpp_pr1 here.
31575         (tests): Filter out tst-cleanupx4 here.
31576         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
31577         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
31578         Don't do those here.
31580 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31582         * scripts/list-sources.sh: Do not handle ports specially.
31584 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31586         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
31587         * sysdeps/arm/feupdateenv.c: Likewise.
31589         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
31591 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31593         * manual/texinfo.tex: Update to version 2014-05-05.10 with
31594         trailing whitespace removed.
31595         * scripts/config.guess: Update to version 2014-03-23.
31596         * scripts/config.sub: Update to version 2014-05-01
31597         * scripts/install-sh: Update to version 2013-12-25.23.
31598         * scripts/move-if-change: Update from gnulib.
31600 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31602         * debug/memmove_chk.c: Remove pagecopy.h include.
31604 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
31606         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
31607         identical to gnulib mktime.
31609 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31611         * configure.ac: Do not test for machine being rs6000.  Do not test
31612         for powerpc*-*soft.
31613         * configure: Regenerated.
31615         [BZ #11505]
31616         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
31617         test.
31618         * configure: Regenerated.
31619         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
31620         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
31621         Remove configure test.
31622         * sysdeps/arm/configure: Regenerated.
31623         * sysdeps/nptl/configure.ac: Do not check
31624         libc_cv_asm_cfi_directives.
31625         * sysdeps/nptl/configure: Regenerated.
31626         * sysdeps/x86_64/nptl/configure.ac: Remove file.
31627         * sysdeps/x86_64/nptl/configure: Remove generated file.
31628         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
31629         unconditional.
31630         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
31632 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31634         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
31635         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
31636         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
31637         it is defined.
31639         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
31640         instead of whether it is defined.
31641         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
31642         * sysdeps/hppa/dl-machine.h: Likewise.
31643         * sysdeps/ia64/dl-machine.h: Likewise.
31644         * sysdeps/m68k/dl-machine.h: Likewise.
31645         * sysdeps/microblaze/dl-machine.h: Likewise.
31646         * sysdeps/mips/dl-machine.: Likewise.
31647         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31648         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31649         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31650         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31651         * sysdeps/sh/dl-machine.h: Likewise.
31652         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31653         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31654         * sysdeps/tile/dl-machine.h: Likewise.
31655         * sysdeps/x86_64/dl-machine.h: Likewise.
31657         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
31658         code.
31659         (verify_persistent_db): Likewise.
31661 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31663         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
31664         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
31665         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
31666         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
31667         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31668         Moved ...
31669         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
31670         ... here.
31671         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
31672         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
31673         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
31674         Identical file removed.
31675         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
31676         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
31677         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
31678         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
31679         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
31680         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
31681         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
31682         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
31683         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
31684         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
31685         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31686         Moved ...
31687         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
31688         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
31689         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
31690         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
31691         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
31692         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31693         Moved ...
31694         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
31695         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
31696         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
31697         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
31698         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
31699         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31700         Identical file removed.
31701         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
31702         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
31703         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
31704         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
31705         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31706         Moved ...
31707         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
31708         ... here.
31709         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
31710         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
31711         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
31712         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
31713         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
31714         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
31715         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
31716         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
31717         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
31718         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
31719         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31720         Moved ...
31721         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
31722         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
31723         Moved ...
31724         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
31725         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
31726         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
31727         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31728         Moved ...
31729         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
31730         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
31731         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
31733         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
31734         folded into ...
31735         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
31736         * sysdeps/unix/sysv/linux/s390/Versions
31737         (libpthread: GLIBC_2.19): New version set.
31738         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
31739         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
31740         (librt: GLIBC_2.3.3): New version set.
31741         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
31742         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
31743         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
31744         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
31745         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
31746         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
31747         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
31748         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
31749         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
31750         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
31751         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
31752         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
31753         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
31754         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
31755         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
31756         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
31757         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
31758         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
31759         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
31760         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
31761         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
31762         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
31763         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
31764         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
31765         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
31766         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
31767         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
31768         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
31769         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
31770         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
31771         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
31772         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
31773         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
31774         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
31775         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
31776         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
31777         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
31778         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
31779         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
31780         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
31781         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
31782         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
31783         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
31784         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
31785         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
31787         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
31788         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
31789         (__libc_vfork): Define the function under this name.
31790         [!NOT_IN_libc] (__vfork): Make this an alias.
31791         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
31792         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
31793         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
31794         (__libc_vfork): Define the function under this name.
31795         [!NOT_IN_libc] (__vfork): Make this an alias.
31796         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
31797         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
31798         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
31799         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
31800         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
31801         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31803         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
31804         code that was previously under [RESET_PID].
31805         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
31806         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
31807         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
31809         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
31810         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
31811         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
31812         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
31813         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
31814         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
31815         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
31816         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
31817         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
31818         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
31819         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
31820         Moved ...
31821         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
31822         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
31823         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
31824         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
31825         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
31826         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
31827         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
31828         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
31829         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
31830         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
31831         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
31832         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
31833         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
31834         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
31835         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
31836         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
31837         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
31838         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
31839         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
31840         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
31841         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
31842         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
31843         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
31844         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
31845         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
31846         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
31847         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
31848         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
31849         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
31851 2014-06-25  Roland McGrath  <roland@hack.frob.com>
31853         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
31854         that was previously under [RESET_PID].
31855         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
31857 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
31859         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
31860         not undefine and redefine.
31861         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
31862         [O_CLOEXEC]: Make code unconditional.
31863         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
31864         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
31865         <kernel-features.h>.
31866         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
31867         conditional variable definition.
31868         (shm_open) [O_CLOEXEC]: Make code unconditional.
31869         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
31870         code.
31872         * configure.ac (USE_REGPARMS): Don't define here.
31873         * configure: Regenerated.
31874         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
31875         * sysdeps/i386/configure: Regenerated.
31877         * nptl/createthread.c: Don't include kernel-features.h.
31878         * nptl/pthread_cancel.c: Likewise.
31879         * nptl/pthread_condattr_setclock.c: Likewise.
31880         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
31881         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
31882         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
31883         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
31884         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
31885         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
31886         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
31887         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
31888         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
31889         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
31890         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
31891         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
31892         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
31893         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
31894         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
31895         * nscd/gai.c: Likewise.
31896         * nss/nss_db/db-open.c: Likewise.
31897         * sysdeps/generic/ldsodefs.h: Likewise.
31898         * sysdeps/sh/nptl/tls.h: Likewise.
31899         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31900         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
31901         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
31902         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
31903         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
31904         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31905         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
31906         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31907         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31908         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
31909         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
31910         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31911         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
31912         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
31913         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
31914         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
31915         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
31916         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
31917         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
31918         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
31919         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
31920         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
31921         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
31922         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
31923         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
31924         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
31925         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
31926         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
31927         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
31928         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
31929         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
31930         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
31931         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
31932         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31933         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31934         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
31935         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31936         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
31937         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
31938         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31939         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31940         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
31941         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
31942         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31943         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
31944         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
31945         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
31946         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
31947         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
31948         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
31949         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
31950         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
31951         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
31952         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31953         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
31954         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
31955         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
31956         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
31957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
31959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
31960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
31961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
31962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
31963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
31964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
31965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
31968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
31969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
31970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
31971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
31972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
31977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
31978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
31979         * sysdeps/unix/sysv/linux/pread.c: Likewise.
31980         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
31981         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
31982         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
31983         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
31984         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
31985         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
31986         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
31987         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
31988         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
31989         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
31990         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
31991         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
31992         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
31993         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
31994         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
31995         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
31996         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
31997         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
31998         * sysdeps/unix/sysv/linux/system.c: Likewise.
31999         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
32000         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
32001         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32002         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32003         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32004         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
32005         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32007         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
32008         * configure: Regenerated.
32009         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
32011         * configure.ac (base_machine): Do not set specially for particular
32012         machines here.
32013         * configure: Regenerated.
32014         * sysdeps/powerpc/preconfigure: Move machine and base_machine
32015         settings from configure.ac.
32016         * sysdeps/i386/preconfigure: New file.
32017         * sysdeps/s390/preconfigure: Likewise.
32018         * sysdeps/sh/preconfigure: Likewise.
32019         * sysdeps/sparc/preconfigure: Likewise.
32021 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32023         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
32024         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
32025         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
32026         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
32027         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
32028         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
32029         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
32030         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
32031         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
32032         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
32033         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
32034         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
32035         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
32036         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
32037         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
32038         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
32039         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
32040         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
32041         * sysdeps/sparc/sparc64/Makefile: ... appended here.
32043         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
32044         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
32045         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
32046         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
32047         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
32048         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
32049         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
32050         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
32051         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
32052         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
32053         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
32054         * sysdeps/sparc/sparc32/sem_post.c: ... here.
32055         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
32056         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
32057         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
32058         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
32059         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
32060         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
32061         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
32062         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
32063         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
32064         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
32065         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
32066         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
32067         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
32068         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
32069         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
32070         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
32071         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
32072         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
32073         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
32074         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
32075         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
32076         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
32077         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
32078         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
32079         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
32080         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
32082         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
32083         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
32084         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
32085         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
32086         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32087         Moved ...
32088         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
32089         ... here.
32090         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
32091         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
32092         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
32093         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
32094         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
32095         Moved ...
32096         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
32097         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
32098         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
32099         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
32100         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
32101         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
32102         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
32103         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32104         Moved ...
32105         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
32106         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32107         Moved ...
32108         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
32109         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
32110         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
32111         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32112         Moved ...
32113         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
32114         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
32115         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
32116         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
32117         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
32118         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
32119         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
32120         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
32121         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
32122         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32123         Moved ...
32124         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
32125         ... here.
32126         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
32127         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
32128         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
32129         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
32130         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
32131         Moved ...
32132         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
32133         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
32134         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
32135         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
32136         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
32137         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
32138         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
32139         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32140         Moved ...
32141         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
32142         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32143         Moved ...
32144         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
32145         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
32146         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
32147         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32148         Moved ...
32149         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
32150         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
32151         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
32152         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
32153         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
32155 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32157         * timezone/checktab.awk: Update from tzcode 2014e.
32158         * timezone/private.h: Likewise.
32159         * timezone/tzfile.h: Likewise.
32160         * timezone/zdump.c: Likewise.
32161         * timezone/zic.c: Likewise.
32163         * sysdeps/unix/sysv/linux/kernel-features.h
32164         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
32165         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
32166         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
32167         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32168         Remove conditional code.
32170 2014-06-25  Will Newton  <will.newton@linaro.org>
32172         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
32173         (_dl_arm_cap_flags): Add HWCAP2 values.
32174         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
32175         (_DL_HWCAP_COUNT): Increase to 37.
32176         (_DL_HWCAP_LAST): New define.
32177         (_DL_HWCAP2_LAST): New define.
32178         (_dl_procinfo): Add support for printing
32179         AT_HWCAP2 entries.
32180         (_dl_string_hwcap): Use _dl_hwcap_string.
32182 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32184         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32186 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32188         * README: Do not mention ports directory.
32190         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
32191         Remove macro.
32192         * sysdeps/unix/sysv/linux/futimes.c: Do not include
32193         <kernel-features.h>.
32194         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
32195         conditional variable definition.
32196         (__futimes): Update comment.
32197         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
32198         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
32200         [BZ #16560]
32201         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
32202         arguments close to 0.
32203         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
32204         Likewise.
32205         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
32206         Likewise.
32207         * math/auto-libm-test-in: Add more tests of exp10.
32208         * math/auto-libm-test-out: Regenerated.
32209         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32211         * sysdeps/unix/sysv/linux/kernel-features.h
32212         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
32213         * sysdeps/unix/sysv/linux/readv.c: Do not include
32214         <kernel-features.h>.
32215         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32216         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32217         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32218         unconditional.
32219         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32220         conditional code.
32221         * sysdeps/unix/sysv/linux/writev.c: Do not include
32222         <kernel-features.h>.
32223         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32224         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32225         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32226         unconditional.
32227         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32228         conditional code.
32230 2014-06-25  Will Newton  <will.newton@linaro.org>
32232         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
32233         comment changes throughout the file.  Remove checks
32234         for HAVE_*_H definitions that are not required.
32235         (__gen_tempname): Call abort if an unknown kind value is
32236         passed.
32238 2014-06-25  Andreas Schwab  <schwab@suse.de>
32240         [BZ #17086]
32241         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
32242         scalbln, scalblnf, scalblnl in libc.
32244 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32246         [BZ #17086]
32247         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
32248         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
32249         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
32251 2014-06-24  Roland McGrath  <roland@hack.frob.com>
32253         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
32254         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
32255         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
32256         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
32257         Update #include.
32258         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
32259         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
32260         Update #include.
32261         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
32262         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
32263         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
32264         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
32265         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
32266         * sysdeps/x86/bits/pthreadtypes.h: ... here.
32267         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
32268         * sysdeps/x86/bits/semaphore.h: ... here.
32269         * sysdeps/x86/nptl/elide.h: Moved ...
32270         * sysdeps/x86/elide.h: ... here.
32271         * sysdeps/x86_64/nptl/Implies: File removed.
32272         * sysdeps/i386/nptl/Implies: File removed.
32274 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
32276         [BZ #16539]
32277         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
32278         return the argument for normal arguments with exponent below -64.
32279         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32280         Likewise.
32281         * math/auto-libm-test-in: Add another test of expm1.
32282         * math/auto-libm-test-out: Regenerated.
32284         [BZ #16287]
32285         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
32286         calling __erfcl for arguments at least 16.
32287         * math/auto-libm-test-in: Add more tests of erf.
32288         * math/auto-libm-test-out: Regenerated.
32290         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
32291         individual architectures.
32292         * sysdeps/unix/sysv/linux/configure: Regenerated.
32293         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
32294         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
32295         * sysdeps/unix/sysv/linux/powerpc/configure.ac
32296         (ldd_rewrite_script): Define variable.
32297         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
32299         file.
32300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
32301         generated file.
32302         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
32303         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
32304         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
32305         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
32306         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
32307         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
32308         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
32309         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
32311 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32313         [BZ #17084]
32314         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
32315         Rename member __data.d to __data.__elision_data.
32317 2014-06-24  Wilco  <wdijkstr@arm.com>
32319         * NEWS: Add 16918 to fixed bug list.
32321 2014-06-24  Wilco  <wdijkstr@arm.com>
32323         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
32325 2014-06-24  Wilco  <wdijkstr@arm.com>
32327         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
32328         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
32329         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
32330         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
32331         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
32332         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
32333         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
32334         Use _FPU_MASK_RM.
32336 2014-06-24  Wilco  <wdijkstr@arm.com>
32338         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
32340 2014-06-24  Wilco  <wdijkstr@arm.com>
32342         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
32343         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
32344         * sysdeps/arm/fesetround.c (fesetround): Remove space.
32345         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
32347 2014-06-24  Wilco  <wdijkstr@arm.com>
32349         [BZ #16918]
32350         * sysdeps/arm/feupdateenv.c (feupdateenv):
32351         Rewrite to reduce FPSCR accesses and fix return value.
32353 2014-06-24  Wilco  <wdijkstr@arm.com>
32355         * sysdeps/arm/fclrexcpt.c (feclearexcept):
32356         Optimize to avoid unnecessary FPSCR writes.
32357         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
32358         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
32359         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
32360         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
32362 2014-06-24  Wilco  <wdijkstr@arm.com>
32364         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
32365         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
32366         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
32367         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
32368         Call libc_fetestexcept_vfp.
32369         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
32370         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
32371         __SOFTFP__ ifdef so that they can be built for softfp.
32373 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32375         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
32376         argument type signed char.
32378         * Makerules (check-abi): Dump diff of symlist if the test
32379         fails.
32381 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32383         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
32384         using abort.
32386         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32387         Remove unused variable ST.
32389 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
32391         [BZ #16354]
32392         [BZ #17061]
32393         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
32394         small arguments before calling __expm1.
32395         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
32396         small arguments before calling __expm1f.
32397         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
32398         small arguments before calling __expm1l.
32399         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
32400         Likewise.
32401         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
32402         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
32403         spurious underflow for some cosh tests.
32404         * math/auto-libm-test-out: Regenerated.
32405         * sysdeps/i386/fpu/libm-test-ulps: Update.
32407         [BZ #17050]
32408         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
32409         (__ieee754_y1): Set errno if return value overflows.
32410         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
32411         (__ieee754_y1f): Set errno if return value overflows.
32412         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
32413         (__ieee754_y1l): Set errno if return value overflows.
32414         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
32415         (__ieee754_y1l): Set errno if return value overflows.
32416         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
32417         * math/auto-libm-test-out: Regenerated.
32419         * math/gen-auto-libm-tests.c: Document use of
32420         ignore-zero-inf-sign.
32421         (input_flag_type): Add value flag_ignore_zero_inf_sign.
32422         (input_flags): Add ignore-zero-inf-sign.
32423         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
32424         * math/gen-libm-test.pl (generate_testfile): Handle
32425         ignore-zero-inf-sign.
32426         * math/auto-libm-test-in: Mark some cpow tests with
32427         ignore-zero-inf-sign and some with xfail-rounding.
32428         * math/auto-libm-test-out: Regenerated.
32429         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
32430         * sysdeps/i386/fpu/libm-test-ulps: Update.
32431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32433         [BZ #16315]
32434         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
32435         overflowing or underflowing operations take place with sign of
32436         result.
32437         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32438         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
32439         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
32440         (__ieee754_pow): Recompute overflowing and underflowing results in
32441         original rounding mode.
32442         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
32443         (__powl_helper): Allow negative argument X and scale negated value
32444         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
32445         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
32446         overflowing or underflowing operations take place with sign of
32447         result.
32448         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
32449         Include <math.h>.
32450         * math/auto-libm-test-in: Add more tests of pow.
32451         * math/auto-libm-test-out: Regenerated.
32452         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
32453         (pow_tonearest_test_data): Remove.
32454         (pow_test_tonearest): Likewise.
32455         (pow_towardzero_test_data): Likewise.
32456         (pow_test_towardzero): Likewise.
32457         (pow_downward_test_data): Likewise.
32458         (pow_test_downward): Likewise.
32459         (pow_upward_test_data): Likewise.
32460         (pow_test_upward): Likewise.
32461         (main): Don't call removed functions.
32462         * sysdeps/i386/fpu/libm-test-ulps: Update.
32463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32465 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
32468         Moved ...
32469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
32470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32471         Moved ...
32472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
32473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32474         Moved ...
32475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
32476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32477         Moved ...
32478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
32479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32480         File removed.
32481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32482         File removed.
32483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
32484         File removed.
32485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
32486         File removed.
32487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
32488         File removed.
32489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
32490         File removed.
32491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
32492         File removed.
32493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32494         File removed.
32495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
32496         File removed.
32497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32498         File removed.
32499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
32500         File removed.
32501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
32502         File removed.
32503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
32504         Moved ...
32505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
32506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
32507         Moved ...
32508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
32509         ... here.
32510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
32511         Moved ...
32512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
32513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
32514         Moved ...
32515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
32516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
32517         Moved ...
32518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
32519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
32520         Moved ...
32521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
32522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
32523         Moved ...
32524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
32525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
32526         Moved ...
32527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
32528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
32529         Moved ...
32530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
32531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
32532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
32533         ... here.
32534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
32535         Moved ...
32536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
32537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
32538         Moved ...
32539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
32540         ... here.
32541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
32542         Moved ...
32543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32544         ... here.
32545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
32546         Moved ...
32547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
32548         ... here.
32549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32550         Moved ...
32551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
32552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
32553         Moved ...
32554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
32555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
32556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
32557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
32558         Moved ...
32559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
32560         ... here.
32561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32562         Moved ...
32563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
32564         ... here.
32565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
32566         Moved ...
32567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
32568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32569         Moved ...
32570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
32571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
32572         Moved ...
32573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
32574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32575         Moved ...
32576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
32577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
32578         Moved ...
32579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
32580         ... here.
32581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32582         Moved ...
32583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
32584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
32585         Moved ...
32586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
32587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32588         Moved ...
32589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
32590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
32591         Moved ...
32592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
32593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
32594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
32595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
32596         Moved ...
32597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
32598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32599         Moved ...
32600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
32601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
32602         Moved ...
32603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
32604         ... here.
32605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32606         Moved ...
32607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
32608         ... here.
32609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
32610         Moved ...
32611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
32612         ... here.
32613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32614         Moved ...
32615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
32616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
32617         Moved ...
32618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
32619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32620         Moved ...
32621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
32622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
32623         Moved ...
32624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
32625         ... here.
32626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32627         Moved ...
32628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
32629         ... here.
32630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
32631         Moved ...
32632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
32633         ... here.
32634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32635         Moved ...
32636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
32637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32638         Moved ...
32639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
32641 2014-06-23  Will Newton  <will.newton@linaro.org>
32642             Wilco  <wdijkstr@arm.com>
32644         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
32645         implementation.  Include get-rounding-mode.h.
32646         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
32647         [!libc_feholdsetround_noex_ctx]: Define
32648         libc_feholdsetround_noex_ctx.
32649         [!libc_feholdsetround_noexf_ctx]: Define
32650         libc_feholdsetround_noexf_ctx.
32651         [!libc_feholdsetround_noexl_ctx]: Define
32652         libc_feholdsetround_noexl_ctx.
32653         (libc_feholdsetround_ctx): New function.
32654         (libc_feresetround_ctx): New function.
32655         (libc_feholdsetround_noex_ctx): New function.
32656         (libc_feresetround_noex_ctx): New function.
32658 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32660         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
32661         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
32662         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
32663         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
32664         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
32665         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
32667         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
32668         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
32669         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
32670         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
32671         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
32672         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
32673         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
32674         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
32675         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
32676         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
32677         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
32678         Moved ...
32679         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
32680         ... here.
32681         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
32682         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
32683         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
32684         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
32685         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
32686         Moved ...
32687         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
32688         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
32689         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
32690         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
32691         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
32692         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
32693         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
32694         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
32695         Moved ...
32696         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
32697         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
32698         Moved ...
32699         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
32700         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
32701         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
32702         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
32703         Moved ...
32704         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
32705         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
32706         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
32707         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
32708         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
32709         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
32710         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
32711         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
32712         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
32713         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
32714         Moved ...
32715         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
32716         ... here.
32717         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
32718         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
32719         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
32720         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
32721         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
32722         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
32723         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
32724         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
32725         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
32726         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
32727         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
32728         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
32729         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
32730         Moved ...
32731         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
32732         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
32733         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
32734         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
32735         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
32736         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
32737         Moved ...
32738         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
32739         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
32740         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
32741         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
32742         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
32744         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
32745         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
32746         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
32747         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
32748         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
32749         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
32750         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
32751         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
32752         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
32753         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
32754         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
32755         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
32756         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
32757         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
32758         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
32759         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
32760         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
32761         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
32762         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
32763         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
32764         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
32765         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
32766         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
32767         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
32768         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
32769         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
32770         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
32771         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
32773 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
32775         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32776         (FALLOC_FL_COLLAPSE_RANGE): New macro.
32777         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
32778         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
32779         (IPV6_PMTUDISC_INTERFACE): Likewise.
32780         (IPV6_PMTUDISC_OMIT): Likewise.
32782 2014-06-23  Andreas Schwab  <schwab@suse.de>
32784         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
32785         Remove unused errout label.
32787 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32789         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
32790         macro: hardware supports Vector Crypto instructions.
32792 2014-06-23  Will Newton  <will.newton@linaro.org>
32794         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
32795         rather than __builtin_expect.
32797         * elf/dl-lookup.c (undefined_msg): Remove variable.
32798         (_dl_lookup_symbol_x): Replace undefined_msg with string
32799         literal.
32801         * elf/dl-lookup.c (do_lookup_unique): New function.
32802         (do_lookup_x): Move STB_GNU_UNIQUE handling code
32803         to a separate function.
32805 2014-06-23  Andreas Schwab  <schwab@suse.de>
32807         [BZ #17079]
32808         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
32809         before reading the next line.
32811 2014-06-23  Will Newton  <will.newton@linaro.org>
32813         * test-skeleton.c (signal_handler): Use printf and %m
32814         rather than perror.  Use printf rather than fprintf to
32815         stderr.  Use puts rather than fputs to stderr.
32816         (main): Likewise.
32818 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
32820         * nscd/nscd.c (thread_info_t): Remove typedef.
32821         (thread_info): Remove variable.
32823 2014-06-21  Allan McRae  <allan@archlinux.org>
32825         * NEWS: Mention CVE-2014-4043.
32827 2014-06-20  Roland McGrath  <roland@hack.frob.com>
32829         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
32830         * nptl/smp.h: ... here.
32832         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
32834         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
32835         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
32836         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
32837         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
32839         * nptl/allocatestack.c: Include <stack-aliasing.h>.
32840         * nptl/stack-aliasing.h: New file.
32841         * sysdeps/i386/i686/stack-aliasing.h: New file.
32842         * sysdeps/i386/i686/nptl/Makefile: File removed.
32843         * sysdeps/x86_64/stack-aliasing.h: New file.
32844         * sysdeps/x86_64/nptl/Makefile
32845         (CFLAGS-pthread_create.c): Variable removed.
32847         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
32848         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
32849         old file.
32850         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
32851         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
32852         old file.
32854 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
32856         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32857         (__ASSUME_SIGFRAME_V2): Remove macro.
32858         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
32859         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
32860         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
32861         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
32862         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
32863         Declare as function.  Remove conditional macro definitions.
32864         (__default_rt_sa_restorer): Likewise.
32865         (__default_sa_restorer_v1): Remove declaration.
32866         (__default_sa_restorer_v2): Likewise.
32867         (__default_rt_sa_restorer_v1): Likewise.
32868         (__default_rt_sa_restorer_v2): Likewise.
32869         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
32870         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
32871         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
32873 2014-06-20  Roland McGrath  <roland@hack.frob.com>
32875         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
32876         (libpthread-routines): Add sysdep.
32877         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
32878         * sysdeps/unix/sysv/linux/sparc/Versions
32879         (libpthread: GLIBC_2.3.3): New version set.
32880         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
32881         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
32882         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
32883         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
32884         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
32885         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
32886         Moved ...
32887         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
32888         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
32889         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
32890         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
32891         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
32892         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
32893         * sysdeps/sparc/nptl/sem_init.c: ... here.
32894         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
32895         * sysdeps/sparc/nptl/sem_post.c: ... here.
32896         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
32897         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
32898         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
32899         * sysdeps/sparc/nptl/sem_wait.c: ... here.
32900         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
32901         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
32902         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
32903         (libpthread-routines): Add cpu_relax.
32904         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
32905         File removed.
32906         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
32907         (librt: GLIBC_2.3.3): New version set.
32908         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
32909         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
32910         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
32911         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
32912         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
32913         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
32914         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
32915         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
32916         Moved ...
32917         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
32918         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
32919         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
32920         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
32921         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
32922         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
32923         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
32924         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
32925         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
32926         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
32927         Moved ...
32928         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
32929         Update #include.
32930         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
32931         Moved ...
32932         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
32933         Update #include.
32934         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
32935         Moved ...
32936         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
32937         Update #include.
32938         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
32939         Moved ...
32940         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
32941         Update #include.
32942         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
32943         Moved ...
32944         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
32945         Update #include.
32946         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
32947         Moved ...
32948         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
32949         Update #include.
32950         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
32951         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
32952         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
32953         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
32954         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
32955         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
32956         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
32957         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
32958         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
32959         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
32960         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
32961         Moved ...
32962         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
32963         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
32964         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
32965         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
32966         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
32968 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
32970         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
32971         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
32972         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
32973         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
32974         * nscd/nscd.c: Likewise.
32975         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
32976         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
32977         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
32978         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
32980         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
32981         <kernel-features.h>.
32982         (init_mq_netlink): Remove conditional have_sock_cloexec
32983         definitions.  Remove code conditional on have_sock_cloexec < 0.
32984         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
32985         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
32986         * sysdeps/unix/sysv/linux/opensock.c: Do not include
32987         <kernel-features.h>.
32988         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
32989         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
32991 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
32993         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32994         Add tests for memset_chk and memset.
32996         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
32997         with AVX2_Usable.
32999 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33001         [BZ #16046]
33002         * elf/tst-dl-iter-static.c: New file.
33003         * elf/Makefile (tests-static): Add tst-dl-iter-static.
33005         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
33006         error.
33008 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33010         * sysdeps/unix/sysv/linux/kernel-features.h
33011         (__ASSUME_F_GETOWN_EX): Remove macro.
33012         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
33013         <kernel-features.h>.
33014         (miss_F_GETOWN_EX): Remove variable or macro.
33015         (do_fcntl): Do not check miss_F_GETOWN_EX.
33016         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
33018         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
33019         Remove macro.
33020         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
33021         [!__ASSUME_AT_RANDOM]: Remove conditional code.
33022         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
33024         * sysdeps/unix/sysv/linux/kernel-features.h
33025         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
33026         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
33027         [ADJ_OFFSET_SS_READ]: Make code unconditional.
33028         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
33030 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33032         [BZ #17075]
33033         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
33034         Fix calculation of the symbol's value.
33035         * sysdeps/arm/tst-armtlsdescloc.c: New file.
33036         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
33037         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
33038         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
33039         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
33040         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
33041         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
33042         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
33043         (modules-names): Add `tst-armtlsdescmod',
33044         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
33045         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
33046         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33047         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
33048         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
33049         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33050         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
33051         ($(objpfx)tst-armtlsdescloc): New dependency.
33052         ($(objpfx)tst-armtlsdescextnow): Likewise.
33053         ($(objpfx)tst-armtlsdescextlazy): Likewise.
33054         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
33055         TLS scheme support.
33056         * sysdeps/arm/configure: Regenerate.
33058 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33060         * include/fcntl.h (__atfct_seterrno): Remove prototype.
33061         (__atfct_seterrno_2): Likewise.
33062         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
33063         <kernel-features.h>.
33064         (__ASSUME_ATFCTS): Do not undefine and redefine.
33065         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
33066         (__have_atfcts): Remove conditional definition.
33067         (__fxstatat([__NR_fstatat64]: Make code unconditional.
33068         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
33069         unreachable if [__ASSUME_ATFCTS].
33070         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
33071         not undefine and redefine.
33072         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
33073         <kernel-features.h>.
33074         (faccessat) [__NR_faccessat]: Make code unconditional.
33075         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
33076         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
33077         <kernel-features.h>.
33078         (fchmodat) [__NR_fchmodat]: Make code unconditional.
33079         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33080         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
33081         <kernel-features.h>.
33082         (fchownat) [__NR_fchownat]: Make code unconditional.
33083         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
33084         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
33085         <kernel-features.h>.
33086         (futimesat) [__NR_futimesat]: Make code unconditional.
33087         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
33088         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33089         <kernel-features.h>.
33090         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33091         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33092         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33093         <kernel-features.h>.
33094         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
33095         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33096         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
33097         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33098         <kernel-features.h>.
33099         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
33100         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33101         * sysdeps/unix/sysv/linux/linkat.c: Do not include
33102         <kernel-features.h>.
33103         (linkat) [__NR_linkat]: Make code unconditional.
33104         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33105         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
33106         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
33107         <kernel-features.h>.
33108         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
33109         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33110         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
33111         <kernel-features.h>.
33112         (mkdirat) [__NR_mkdirat]: Make code unconditional.
33113         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
33114         * sysdeps/unix/sysv/linux/openat.c: Do not include
33115         <kernel-features.h>.
33116         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
33117         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
33118         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
33119         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
33120         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
33121         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
33122         <kernel-features.h>.
33123         (readlinkat) [__NR_readlinkat]: Make code unconditional.
33124         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
33125         result of INLINE_SYSCALL directly, not via int variable.
33126         * sysdeps/unix/sysv/linux/renameat.c: Do not include
33127         <kernel-features.h>.
33128         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
33129         (renameat) [__NR_renameat]: Make code unconditional.
33130         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
33131         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
33132         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
33133         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
33134         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
33135         (__ASSUME_ATFCTS): Do not undefine and redefine.
33136         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
33137         <kernel-features.h>.
33138         (symlinkat) [__NR_symlinkat]: Make code unconditional.
33139         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33140         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
33141         <kernel-features.h>.
33142         (unlinkat) [__NR_unlinkat]: Make code unconditional.
33143         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33144         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
33145         (__ASSUME_ATFCTS): Do not undefine and redefine.
33146         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33147         <kernel-features.h>.
33148         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33149         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33150         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33151         <kernel-features.h>.
33152         (__xmknodat) [__NR_mknodat]: Make code unconditional.
33153         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33155 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
33157         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
33159 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
33161         [BZ #17069]
33162         * posix/regcomp.c (parse_reg_exp): Deallocate partially
33163         constructed tree before returning error.
33164         * posix/bug-regexp36.c: Expand test case.
33166 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
33168         [BZ #6803]
33169         * math/libm-test.inc (scalbln_test_date):
33170         Add errno expectations.
33171         * math/w_scalblnf.c: New File.
33172         Add wrapper which checks for setting errno to ERANGE.
33173         Add weak_alias for corresponding scalbln function.
33174         * math/w_scalbln.c: Likewise.
33175         * math/w_scalblnl.c: Likewise.
33176         * math/Makefile (libm-calls): Add w_scalbln.
33177         * sysdeps/ieee754/flt-32/s_scalblnf.c:
33178         Remove weak_alias for corresponding scalbln function.
33179         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33180         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33181         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33182         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33183         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
33184         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33185         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
33186         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33187         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
33188         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
33189         Remove long_double_symbol for scalblnl function in libm, libc.
33190         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
33191         Add wrapper which checks for setting errno to ERANGE.
33192         Add long_double_symbol for scalblnl function in libm, libc.
33193         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
33194         Remove long_double_symbol for scalblnl in libm.
33195         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
33196         Add wrapper which checks for setting errno to ERANGE.
33197         Add long_double_symbol for scalblnl function in libm.
33198         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
33199         Do not use wrapper because of own implementation.
33201 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
33203         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
33204         3 bytes for __pad1 for x32.
33205         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
33207 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
33208             H.J. Lu  <hongjiu.lu@intel.com>
33210         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
33211         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
33212         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33213         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33214         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
33216 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
33218         [BZ #17069]
33219         * posix/regcomp.c (parse_expression): Deallocate partially
33220         constructed tree before returning error.
33221         * posix/Makefile.c (tests): Add bug-regex36.
33222         (generated): Add bug-regex36.mtrace.
33223         (tests-special): Add $(objpfx)bug-regex36-mem.out
33224         (bug-regex36-ENV): New variable.
33225         ($(objpfx)bug-regex36-mem.out): New rule.
33226         * posix/bug-regex36.c: New file.
33228 2014-06-19  Will Newton  <will.newton@linaro.org>
33230         * malloc/malloc.c (systrim): If extra is zero then return
33231         early.
33233 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33235         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
33237 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
33239         * sysdeps/aarch64/strchr.S: New file.
33241 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33243         [BZ #17022]
33244         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
33245         from arguments -2 or below.
33246         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
33247         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
33249 2014-06-18  Andreas Schwab  <schwab@suse.de>
33251         [BZ #17062]
33252         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
33253         of a bracket expr not to run off the end of the string.
33254         * posix/Makefile (tests): Add tst-fnmatch3.
33255         * posix/tst-fnmatch3.c: New file.
33257 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33259         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
33260         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33261         [$(cross-compiling) = no]: Likewise.
33262         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33263         [$(cross-compiling) = no]: Likewise.
33265 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33267         [BZ #17031]
33268         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
33269         double, adjusted for any remainder from the high double.
33270         * math/libm-test.inc (nearbyint): Add tests.
33271         (rint): Likewise.
33273 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33275         * nptl/sysdeps/powerpc/Makefile: Moved ...
33276         * sysdeps/powerpc/nptl/Makefile: ... here.
33277         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
33278         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
33279         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
33280         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
33281         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
33282         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
33283         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
33284         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
33285         * nptl/sysdeps/powerpc/tls.h: Moved ...
33286         * sysdeps/powerpc/nptl/tls.h: ... here.
33288 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
33290         [BZ #16681]
33291         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
33292         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
33293         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
33294         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
33295         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
33296         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
33297         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
33298         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
33299         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
33301 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
33303         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33305 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
33307         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
33308         defined operator.
33310         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
33311         $TIMEOUTFACTOR.
33313 2014-06-16  Florian Weimer  <fweimer@redhat.com>
33315         [BZ #17058]
33316         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
33317         non-executed part of the test.
33319 2014-06-16  Andreas Schwab  <schwab@suse.de>
33321         * string/bits/string2.h (strdup, strndup): Update feature guard.
33323 2014-06-14  David S. Miller  <davem@davemloft.net>
33325         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33327 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
33329         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
33330         that was previously under [RESET_PID].
33331         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
33333         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
33334         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
33335         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
33336         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33337         (__libc_vfork): New strong alias.
33338         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
33340 2014-06-14 Andi Kleen  <ak@linux.intel.com>
33342         * sysdeps/generic/elide.h: New file.
33344 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33346         * Makefile (installed-headers): Adjust path of pthread.h header.
33348 2014-06-13  Roland McGrath  <roland@hack.frob.com>
33350         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
33351         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
33352         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
33353         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
33355         * nptl/sysdeps/s390/Makefile: Moved ...
33356         * sysdeps/s390/nptl/Makefile: ... here.
33357         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
33358         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
33359         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
33360         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
33361         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
33362         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
33363         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
33364         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
33365         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
33366         * sysdeps/s390/nptl/pthreaddef.h: ... here.
33367         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
33368         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
33369         * nptl/sysdeps/s390/tls.h: Moved ...
33370         * sysdeps/s390/nptl/tls.h: ... here.
33372         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
33373         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
33375 2014-06-13  David S. Miller  <davem@davemloft.net>
33377         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
33378         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
33379         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
33380         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
33381         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
33382         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
33383         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
33384         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
33385         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
33386         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
33387         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
33388         Remove RESET_PID cpp guards.
33389         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
33390         Remove RESET_PID cpp guards.
33391         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
33393 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
33395         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
33396         __sp to uintptr_t.
33398 2014-06-13  Andi Kleen  <ak@linux.intel.com>
33400         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
33401         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
33402         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
33403         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
33404         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
33405         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
33406         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
33407         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
33408         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
33409         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
33410         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
33411         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
33412         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
33413         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
33414         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
33415         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
33416         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
33417         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
33418         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
33419         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
33421         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
33422         (pthread_rwlock_rdlock): Add elision.
33423         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
33424         (pthread_rwlock_wrlock): Add elision.
33425         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
33426         (pthread_rwlock_trywrlock): Add elision.
33427         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
33428         (pthread_rwlock_tryrdlock): Add elision.
33429         * nptl/pthread_rwlock_unlock.c: Include elide.h.
33430         (pthread_rwlock_tryrdlock): Add elision unlock.
33431         * nptl/sysdeps/pthread/pthread.h:
33432         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
33433         (PTHREAD_RWLOCK_INITIALIZER,
33434         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
33435         Handle new elision field.
33436         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
33437         * sysdeps/arm/nptl/bits/pthreadtypes.h
33438         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33439         * sysdeps/sh/nptl/bits/pthreadtypes.h
33440         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33441         * sysdeps/tile/nptl/bits/pthreadtypes.h
33442         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33443         * sysdeps/a/nptl/bits/pthreadtypes.h
33444         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33445         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
33446         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33447         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
33448         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33449         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
33450         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33451         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
33452         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33453         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
33454         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33455         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
33456         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33457         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
33458         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33459         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
33460         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33461         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
33462         (elision_init): Set try_xbegin to zero when no RTM.
33463         * sysdeps/x86/nptl/bits/pthreadtypes.h
33464         (pthread_rwlock_t): Change __pad1 to __rwelision.
33465         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33467 2014-06-13  Andi Kleen  <ak@linux.intel.com>
33469         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
33470         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
33471         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
33472         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
33474 2014-06-13  Meador Inge  <meadori@codesourcery.com>
33476         [BZ #16996]
33477         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
33478         that the cached result has been set before returning it.
33480 2014-06-12  Roland McGrath  <roland@hack.frob.com>
33482         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
33483         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
33484         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
33485         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
33486         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
33487         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
33489         * nptl/sysdeps/sparc/Makefile: Moved ...
33490         * sysdeps/sparc/nptl/Makefile: ... here.
33491         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
33492         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
33493         * nptl/sysdeps/sparc/tls.h: Moved ...
33494         * sysdeps/sparc/nptl/tls.h: ... here.
33495         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
33496         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
33497         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
33498         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
33499         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
33500         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
33501         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
33502         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
33503         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
33504         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
33505         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
33506         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
33507         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
33508         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
33509         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
33510         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
33511         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
33512         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
33513         Update #include.
33514         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
33515         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
33516         Update #include.
33517         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
33518         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
33519         Update #include.
33520         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
33521         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
33522         Update #include.
33524         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
33526         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
33527         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
33529         * sysdeps/pthread/posix-timer.h: Include <list.h>.
33530         (struct list_links): Type removed.
33531         (struct thread_node, struct timer_node): Replace struct list_links
33532         with struct list_head.
33533         (list_unlink_ip): Likewise.
33534         * sysdeps/pthread/timer_routines.c
33535         (timer_free_list, thread_free_list, thread_active_list): Likewise.
33536         (list_append, list_insbefore): Likewise.
33537         (list_init): Function removed.
33538         (thread_init, init_module): Use INIT_LIST_HEAD instead.
33539         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
33540         * sysdeps/pthread/Makefile: ... here, new file.
33542         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
33543         * sysdeps/nptl/Implies: ... here.
33544         * sysdeps/unix/sysv/linux/Implies: Add nptl.
33545         * nptl/sysdeps/pthread/list.h: Moved ...
33546         * include/list.h: ... here.
33547         * nptl/sysdeps/pthread/createthread.c: Moved ...
33548         * nptl/createthread.c: ... here.
33549         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
33550         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
33551         * nptl/pt-longjmp.c: ... here.
33552         * nptl/sysdeps/pthread/Makefile: Moved ...
33553         * sysdeps/nptl/Makefile: ... here.
33554         * nptl/sysdeps/pthread/Subdirs: Moved ...
33555         * sysdeps/nptl/Subdirs: ... here.
33556         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
33557         * sysdeps/nptl/aio_misc.h: ... here.
33558         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
33559         * sysdeps/nptl/bits/libc-lock.h: ... here.
33560         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
33561         * sysdeps/nptl/bits/libc-lockP.h: ... here.
33562         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
33563         * sysdeps/nptl/bits/stdio-lock.h: ... here.
33564         * nptl/sysdeps/pthread/configure: Moved ...
33565         * sysdeps/nptl/configure: ... here.
33566         * nptl/sysdeps/pthread/configure.ac: Moved ...
33567         * sysdeps/nptl/configure.ac: ... here.
33568         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
33569         * sysdeps/nptl/gai_misc.h: ... here.
33570         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
33571         * sysdeps/nptl/librt-cancellation.c: ... here.
33572         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
33573         * sysdeps/nptl/malloc-machine.h: ... here.
33574         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
33575         * sysdeps/nptl/pthread-functions.h: ... here.
33576         * nptl/sysdeps/pthread/pthread.h: Moved ...
33577         * sysdeps/nptl/pthread.h: ... here.
33578         * nptl/sysdeps/pthread/setxid.h: Moved ...
33579         * sysdeps/nptl/setxid.h: ... here.
33580         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
33581         * sysdeps/nptl/sigfillset.c: ... here.
33582         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
33583         * sysdeps/nptl/tcb-offsets.h: ... here.
33584         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
33585         * sysdeps/nptl/tst-mqueue8x.c: ... here.
33586         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
33587         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
33588         * nptl/sysdeps/pthread/allocalim.h: Moved ...
33589         * sysdeps/pthread/allocalim.h: ... here.
33590         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
33591         * sysdeps/pthread/bits/sigthread.h: ... here.
33592         * nptl/sysdeps/pthread/flockfile.c: Moved ...
33593         * sysdeps/pthread/flockfile.c: ... here.
33594         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
33595         * sysdeps/pthread/ftrylockfile.c: ... here.
33596         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
33597         * sysdeps/pthread/funlockfile.c: ... here.
33598         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
33599         * sysdeps/pthread/posix-timer.h: ... here.
33600         * nptl/sysdeps/pthread/timer_create.c: Moved ...
33601         * sysdeps/pthread/timer_create.c: ... here.
33602         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
33603         * sysdeps/pthread/timer_delete.c: ... here.
33604         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
33605         * sysdeps/pthread/timer_getoverr.c: ... here.
33606         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
33607         * sysdeps/pthread/timer_gettime.c: ... here.
33608         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
33609         * sysdeps/pthread/timer_routines.c: ... here.
33610         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
33611         * sysdeps/pthread/timer_settime.c: ... here.
33612         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
33613         * sysdeps/pthread/tst-timer.c: ... here.
33614         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
33615         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
33617         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
33618         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
33620         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
33621         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
33622         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
33623         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
33624         Update #include target.
33625         * nptl/sysdeps/i386/i686/Makefile: Moved ...
33626         * sysdeps/i386/i686/nptl/Makefile: ... here.
33627         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
33628         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
33629         Update #include target.
33630         * nptl/sysdeps/i386/i686/tls.h: Moved ...
33631         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
33632         * nptl/sysdeps/i386/Makefile: Moved ...
33633         * sysdeps/i386/nptl/Makefile: ... here.
33634         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
33635         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
33636         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
33637         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
33638         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
33639         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
33640         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
33641         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
33642         * sysdeps/i386/nptl/pthreaddef.h: ... here.
33643         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
33644         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
33645         * nptl/sysdeps/i386/tls.h: Moved ...
33646         * sysdeps/i386/nptl/tls.h: ... here.
33648         * sysdeps/sh/Makefile [$(subdir) = csu]
33649         (gen-as-const-headers): Add tcb-offsets.sym.
33650         * nptl/sysdeps/sh/Makefile: File removed.
33651         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
33652         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
33653         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
33654         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
33655         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
33656         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
33657         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
33658         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
33659         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
33660         * sysdeps/sh/nptl/pthreaddef.h: ... here.
33661         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
33662         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
33663         * nptl/sysdeps/sh/tls.h: Moved ...
33664         * sysdeps/sh/nptl/tls.h: ... here.
33665         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
33666         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
33667         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
33668         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
33669         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
33670         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
33671         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
33672         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
33673         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
33674         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
33675         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
33676         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
33677         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
33678         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
33679         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
33680         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
33681         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
33682         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
33683         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
33684         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
33685         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
33686         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
33687         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
33688         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
33689         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
33690         Moved ...
33691         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
33692         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
33693         Moved ...
33694         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
33695         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
33696         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
33697         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
33698         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
33699         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
33700         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
33701         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
33702         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
33703         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
33704         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
33705         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
33706         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
33707         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
33708         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
33709         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
33710         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
33711         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
33712         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
33714 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33716         * posix/spawn_faction_addopen.c: Include string.h.
33718 2014-06-11  Roland McGrath  <roland@hack.frob.com>
33720         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
33721         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
33722         * nptl/sysdeps/x86_64/Makefile: Moved ...
33723         * sysdeps/x86_64/nptl/Makefile: ... here.
33724         * nptl/sysdeps/x86_64/configure: Moved ...
33725         * sysdeps/x86_64/nptl/configure: ... here.
33726         * nptl/sysdeps/x86_64/configure.ac: Moved ...
33727         * sysdeps/x86_64/nptl/configure.ac: ... here.
33728         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
33729         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
33730         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
33731         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
33732         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
33733         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
33734         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
33735         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
33736         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
33737         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
33738         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
33739         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
33740         * nptl/sysdeps/x86_64/tls.h: Moved ...
33741         * sysdeps/x86_64/nptl/tls.h: ... here.
33742         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
33743         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
33744         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
33745         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
33747         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
33749 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33751         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33753 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
33755         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
33756         type.
33757         [POSIX] (off_t): Likewise.
33758         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
33759         [POSIX] (S_ISBLK): Require macro.
33760         [POSIX] (S_ISCHR): Likewise.
33761         [POSIX] (S_ISDIR): Likewise.
33762         [POSIX] (S_ISFIFO): Likewise.
33763         [POSIX] (S_ISREG): Likewise.
33764         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
33765         optional-macro.
33766         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
33767         type.
33768         [POSIX] (time_t): Likewise.
33769         [POSIX] (timer_t): Likewise.
33771 2014-06-11  Florian Weimer  <fweimer@redhat.com>
33773         [BZ #17048]
33774         * posix/spawn_int.h (struct __spawn_action): Make the path string
33775         non-const to support deallocation.
33776         * posix/spawn_faction_addopen.c
33777         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
33778         * posix/spawn_faction_destroy.c
33779         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
33780         path in all spawn_do_open actions.
33781         * posix/tst-spawn.c (do_test): Exercise the copy operation in
33782         posix_spawn_file_actions_addopen.
33784 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
33786         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
33787         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
33788         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
33789         conditional code always true.
33790         (__libc_vfork): New alias.
33792 2014-06-11  Roland McGrath  <roland@hack.frob.com>
33794         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33795         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
33797         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
33799         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33800         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
33802         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
33803         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
33805         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33806         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
33808 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33810         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
33811         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
33812         multiarch strcmp for PPC64.
33813         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
33814         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
33815         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
33816         multiarch optimizations.
33817         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33818         (__libc_ifunc_impl_list): Likewise.
33820 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33822         * benchtests/scripts/validate_benchout.py: New script.
33823         * benchtests/Makefile (bench-func): Call it.
33824         * benchtests/scripts/benchout.schema.json: New file.
33826 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
33828         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
33829         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
33830         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
33831         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
33832         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
33833         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
33834         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
33835         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
33836         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
33837         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
33838         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
33839         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
33840         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
33841         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
33842         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
33843         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
33844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
33845         Moved ...
33846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
33847         ... here.
33848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
33849         Moved ...
33850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
33851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
33852         Moved ...
33853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
33854         ... here.
33855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
33856         Moved ...
33857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
33858         ... here.
33859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
33860         Moved ...
33861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
33862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
33863         Moved ...
33864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
33865         ... here.
33866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
33867         Moved ...
33868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
33869         ... here.
33870         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
33871         Moved ...
33872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
33873         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
33874         Moved ...
33875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
33876         ... here.
33877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
33878         Moved ...
33879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
33880         ... here.
33881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
33882         Moved ...
33883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
33884         ... here.
33885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
33886         Moved ...
33887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
33888         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
33889         Moved ...
33890         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
33891         ... here.
33892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
33893         Moved ...
33894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
33895         ... here.
33896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
33897         Moved ...
33898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
33899         ... here.
33900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
33901         Moved ...
33902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
33903         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
33904         Moved ...
33905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
33906         ... here.
33907         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
33908         Moved ...
33909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
33910         ... here.
33911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
33912         Moved ...
33913         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
33914         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
33915         Moved ...
33916         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
33917         ... here.
33918         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
33919         Moved ...
33920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
33921         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
33922         Moved ...
33923         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
33924         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
33925         Moved ...
33926         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
33927         ... here.
33928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
33929         Moved ...
33930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
33931         ... here.
33932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
33933         Moved ...
33934         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
33935         ... here.
33936         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
33937         Moved ...
33938         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
33939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
33940         Moved ...
33941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
33942         ... here.
33943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
33944         Moved ...
33945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
33946         ... here.
33947         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
33948         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
33949         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
33950         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
33951         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
33952         Moved ...
33953         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
33954         ... here.
33955         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
33956         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
33957         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
33958         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
33959         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
33960         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
33961         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
33962         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
33963         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
33964         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
33965         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
33966         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
33967         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
33968         Moved ...
33969         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
33970         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
33971         Moved ...
33972         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
33973         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
33974         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
33975         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
33976         Moved ...
33977         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
33978         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
33979         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
33980         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
33981         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
33982         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
33983         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
33985 2014-06-10  Wilco  <wdijkstr@arm.com>
33987         * math/test-fenv-return.c: New file.
33988         * math/Makefile: Add new test test-fenv-return.
33990 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
33992         [BZ #17042]
33993         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
33994         when x - 1 is zero.
33995         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
33996         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
33997         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
33998         0.0L for an argument of 1.0L.
33999         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
34000         Likewise.
34001         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
34002         value when x - 1 is zero.
34003         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
34004         * sysdeps/i386/fpu/libm-test-ulps: Update.
34005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34007 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
34009         [BZ #15119]
34010         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
34012 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34014         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
34015         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
34017 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34019         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34020         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
34022         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34023         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
34025         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34026         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
34028         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34029         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
34031         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
34032         if not already defined.
34033         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
34034         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
34035         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
34036         (TLS_INIT_TP): Use it.
34037         (TLS_DEFINE_INIT_TP): New macro.
34038         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
34040 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
34042         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
34043         constant.
34044         [POSIX] (IXANY): Likewise.
34045         [POSIX] (OLCUC): Likewise.
34046         [POSIX || POSIX2008] (CBAUD): Do not allow.
34047         [POSIX || POSIX2008] (DEFECHO): Likewise.
34048         [POSIX || POSIX2008] (ECHOCTL): Likewise.
34049         [POSIX || POSIX2008] (ECHOKE): Likewise.
34050         [POSIX || POSIX2008] (ECHOPRT): Likewise.
34051         [POSIX || POSIX2008] (EXTA): Likewise.
34052         [POSIX || POSIX2008] (EXTB): Likewise.
34053         [POSIX || POSIX2008] (FLUSHO): Likewise.
34054         [POSIX || POSIX2008] (LOBLK): Likewise.
34055         [POSIX || POSIX2008] (PENDIN): Likewise.
34056         [POSIX || POSIX2008] (SWTCH): Likewise.
34057         [POSIX || POSIX2008] (VDISCARD): Likewise.
34058         [POSIX || POSIX2008] (VDSUSP): Likewise.
34059         [POSIX || POSIX2008] (VLNEXT): Likewise.
34060         [POSIX || POSIX2008] (VREPRINT): Likewise.
34061         [POSIX || POSIX2008] (VSTATUS): Likewise.
34062         [POSIX || POSIX2008] (VWERASE): Likewise.
34063         (B*): Change to B[0123456789]*.
34064         * conform/data/time.h-data [POSIX || UNIX98]
34065         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
34066         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34067         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
34068         [POSIX] (tm_*): Do not allow.
34070 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
34072         * Makefile (install): Don't set LANGUAGE.
34073         * Makefile.in (install): Likewise.
34074         * assert/Makefile (test-assert-ENV): Remove variable.
34075         (test-assert-perr-ENV): Likewise.
34076         * elf/Makefile (neededtest4-ENV): Likewise.
34077         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34078         [$(cross-compiling) = no]: Don't set LANGUAGE.
34079         * io/ftwtest-sh (LANG): Remove variable.
34080         * libio/Makefile (tst-widetext-ENV): Likewise.
34081         * manual/install.texi (Running make install): Don't refer to
34082         environment settings for make install.
34083         * INSTALL: Regenerated.
34084         * nptl/tst-tls6.sh: Don't set LANG.
34085         * posix/globtest.sh (LANG): Remove variable.
34086         * string/Makefile (tester-ENV): Likewise.
34087         (inl-tester-ENV): Likewise.
34088         (noinl-tester-ENV): Likewise.
34089         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34090         [$(cross-compiling) = no]: Don't set LANGUAGE.
34091         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
34092         without explicit environment settings.
34094 2014-06-06  Roland McGrath  <roland@hack.frob.com>
34096         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
34097         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
34098         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
34099         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
34101 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
34103         * crypt/crypt-private.h [DOS]: Add some includes taken from the
34104         other files in the crypt directory.
34105         * crypt/crypt.c: Remove duplicate includes.
34106         * crypt/crypt-entry.c: Likewise.
34107         * crypt/crypt_util.c: Likewise.
34109 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
34111         * Makeconfig (run-program-env): New variable.
34112         (run-program-prefix-before-env): Likewise.
34113         (run-program-prefix-after-env): Likewise.
34114         (run-program-prefix): Define in terms of new variables.
34115         (built-program-cmd-before-env): New variable.
34116         (built-program-cmd-after-env): Likewise.
34117         (built-program-cmd): Define in terms of new variables.
34118         (test-program-prefix-before-env): New variable.
34119         (test-program-prefix-after-env): Likewise.
34120         (test-program-prefix): Define in terms of new variables.
34121         (test-program-cmd-before-env): New variable.
34122         (test-program-cmd-after-env): Likewise.
34123         (test-program-cmd): Define in terms of new variables.
34124         * Rules (make-test-out): Use $(run-program-env).
34125         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
34126         (help): Do not mention environment variables.  Mention
34127         --timeoutfactor option.
34128         (timeoutfactor): New variable.
34129         (blacklist_exports): Remove function.
34130         (exports): Remove variable.
34131         (command): Do not include ${exports}.
34132         * manual/install.texi (Configuring and compiling): Do not mention
34133         test wrappers preserving environment variables.  Mention that last
34134         assignment to a variable must take precedence.
34135         * INSTALL: Regenerated.
34136         * benchtests/Makefile (run-bench): Use $(run-program-env).
34137         * catgets/Makefile ($(objpfx)test1.cat): Use
34138         $(built-program-cmd-before-env), $(run-program-env) and
34139         $(built-program-cmd-after-env).
34140         ($(objpfx)test2.cat): Do not specify environment variables
34141         explicitly.
34142         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
34143         $(run-program-env) and $(built-program-cmd-after-env).
34144         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
34145         $(run-program-env) and $(test-program-cmd-after-env).
34146         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
34147         explicitly.
34148         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
34149         run_program_env and test_program_cmd_after_env arguments.
34150         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
34151         * elf/tst-pathopt.sh: Use run_program_env argument.
34152         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
34153         $(test-wrapper-env) and $(run-program-env).
34154         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
34155         run_program_env arguments.
34156         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
34157         * intl/Makefile ($(objpfx)tst-gettext.out): Use
34158         $(test-program-prefix-before-env), $(run-program-env) and
34159         $(test-program-prefix-after-env).
34160         ($(objpfx)tst-gettext2.out): Likewise.
34161         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
34162         run_program_env and test_program_prefix_after_env arguments.
34163         * intl/tst-gettext2.sh: Likewise.
34164         * intl/tst-gettext4.sh: Do not set environment variables
34165         explicitly.
34166         * intl/tst-gettext6.sh: Likewise.
34167         * intl/tst-translit.sh: Likewise.
34168         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
34169         $(test-program-prefix-before-env), $(run-program-env) and
34170         $(test-program-prefix-after-env).
34171         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
34172         run_program_env and test_program_prefix_after_env arguments.
34173         * math/Makefile (run-regen-ulps): Use $(run-program-env).
34174         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
34175         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
34176         explicitly with each use of ${test_wrapper_env}.
34177         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
34178         $(test-program-prefix-before-env), $(run-program-env) and
34179         $(test-program-prefix-after-env).
34180         * posix/tst-getconf.sh: Do not set environment variables
34181         explicitly.
34182         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
34183         run_program_env and test_program_prefix_after_env arguments.
34184         * stdio-common/tst-printf.sh: Do not set environment variables
34185         explicitly.
34186         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
34187         $(test-program-prefix-before-env), $(run-program-env) and
34188         $(test-program-prefix-after-env).
34189         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
34190         run_program_env and test_program_prefix_after_env arguments.
34191         Split $test calls into $test_pre and $test.
34192         * timezone/Makefile (build-testdata): Use
34193         $(built-program-cmd-before-env), $(run-program-env) and
34194         $(built-program-cmd-after-env).
34196 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34198         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
34199         strlen for non SHARED builds.
34201 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34203         * nptl/allocatestack.c (check_list): Inlined function...
34204         (__reclaim_stacks): ... here.
34206 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34208         [BZ #15698]
34209         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
34210         memory overrun.
34212 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
34214         * Rules (make-test-out): Include
34215         LOCPATH=$(common-objpfx)localedata in default environment.
34216         * debug/Makefile (tst-chk1-ENV): Remove variable.
34217         (tst-chk2-ENV): Likewise.
34218         (tst-chk3-ENV): Likewise.
34219         (tst-chk4-ENV): Likewise.
34220         (tst-chk5-ENV): Likewise.
34221         (tst-chk6-ENV): Likewise.
34222         (tst-lfschk1-ENV): Likewise.
34223         (tst-lfschk2-ENV): Likewise.
34224         (tst-lfschk3-ENV): Likewise.
34225         (tst-lfschk4-ENV): Likewise.
34226         (tst-lfschk5-ENV): Likewise.
34227         (tst-lfschk6-ENV): Likewise.
34228         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
34229         (tst-iconv7-ENV): Likewise.
34230         * intl/Makefile (LOCPATH-ENV): Likewise.
34231         (tst-codeset-ENV): Likewise.
34232         (tst-gettext3-ENV): Likewise.
34233         (tst-gettext5-ENV): Likewise.
34234         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
34235         (tst-fopenloc-ENV): Likewise.
34236         (tst-fgetws-ENV): Remove variable.
34237         (tst-ungetwc1-ENV): Likewise.
34238         (tst-ungetwc2-ENV): Likewise.
34239         (bug-ungetwc2-ENV): Likewise.
34240         (tst-swscanf-ENV): Likewise.
34241         (bug-ftell-ENV): Likewise.
34242         (tst-fgetwc-ENV): Likewise.
34243         (tst-fseek-ENV): Likewise.
34244         (tst-ftell-partial-wide-ENV): Likewise.
34245         (tst-ftell-active-handler-ENV): Likewise.
34246         (tst-ftell-append-ENV): Likewise.
34247         * posix/Makefile (tst-fnmatch-ENV): Likewise.
34248         (tst-regexloc-ENV): Likewise.
34249         (bug-regex1-ENV): Likewise.
34250         (tst-regex-ENV): Likewise.
34251         (tst-regex2-ENV): Likewise.
34252         (bug-regex5-ENV): Likewise.
34253         (bug-regex6-ENV): Likewise.
34254         (bug-regex17-ENV): Likewise.
34255         (bug-regex18-ENV): Likewise.
34256         (bug-regex19-ENV): Likewise.
34257         (bug-regex20-ENV): Likewise.
34258         (bug-regex22-ENV): Likewise.
34259         (bug-regex23-ENV): Likewise.
34260         (bug-regex25-ENV): Likewise.
34261         (bug-regex26-ENV): Likewise.
34262         (bug-regex30-ENV): Likewise.
34263         (bug-regex32-ENV): Likewise.
34264         (bug-regex33-ENV): Likewise.
34265         (bug-regex34-ENV): Likewise.
34266         (bug-regex35-ENV): Likewise.
34267         (tst-rxspencer-ENV): Likewise.
34268         (tst-rxspencer-no-utf8-ENV): Likewise.
34269         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
34270         (tst-sscanf-ENV): Likewise.
34271         (tst-swprintf-ENV): Likewise.
34272         (tst-swscanf-ENV): Likewise.
34273         (test-vfprintf-ENV): Likewise.
34274         (scanf13-ENV): Likewise.
34275         (bug14-ENV): Likewise.
34276         (tst-grouping-ENV): Likewise.
34277         * stdlib/Makefile (tst-strtod-ENV): Likewise.
34278         (tst-strtod3-ENV): Likewise.
34279         (tst-strtod4-ENV): Likewise.
34280         (tst-strtod5-ENV): Likewise.
34281         (testmb2-ENV): Likewise./
34282         * string/Makefile (tst-strxfrm-ENV): Likewise.
34283         (tst-strxfrm2-ENV): Likewise.
34284         (bug-strcoll1-ENV): Likewise.
34285         (test-strcasecmp-ENV): Likewise.
34286         (test-strncasecmp-ENV): Likewise.
34287         * time/Makefile (tst-strptime-ENV): Likewise.
34288         (tst-ftime_l-ENV): Likewise.
34289         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
34290         (tst-mbrtowc-ENV): Likewise.
34291         (tst-wcrtomb-ENV): Likewise.
34292         (tst-mbrtowc2-ENV): Likewise.
34293         (tst-c16c32-1-ENV): Likewise.
34294         (tst-mbsnrtowcs-ENV): Likewise.
34296 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34298         * manual/resource.texi (How to get information about the memory
34299         subsystem?): Fix typo.
34300         Reported by Peon de la Parra Ivan <peon@keba.com>
34302 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
34304         [BZ #16882]
34305         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
34306         (pthread_spin_lock): Branch out of spin loop to proper location.
34307         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
34308         (pthread_spin_lock): Likewise.
34310         * nptl/tst-spin4.c: New test.
34311         * nptl/Makefile (tests): Add tst-spin4.
34313 2014-06-03  Andreas Schwab  <schwab@suse.de>
34315         [BZ #15946]
34316         * resolv/res_send.c (send_dg): Reload file descriptor after
34317         calling reopen.
34319 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
34321         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34323 2014-06-03  Richard Henderson  <rth@redhat.com>
34325         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
34326         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
34327         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
34328         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
34329         in the SAVE_PID block.
34330         (__libc_vfork): New alias.
34331         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
34333         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
34334         child in registers, not on the stack.  Remove RESET_PID conditionals.
34335         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
34337 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34339         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34341 2014-06-03  Wilco  <wdijkstr@arm.com>
34343         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
34344         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
34345         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34346         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
34347         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
34348         Likewise.
34350 2014-06-03  Wilco  <wdijkstr@arm.com>
34352         * sysdeps/aarch64/fpu/math_private.h
34353         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
34354         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
34355         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
34356         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34357         Fix declarations.
34359 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34361         * crypt/crypt-private.h: Include ufc-crypt.h.
34362         (__b64_from_24bit): Declare extern.
34363         * crypt/crypt_util.c(__b64_from_24bit): New function.
34364         (b64t): New static const variable.
34365         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
34366         (b64t): Remove variable.
34367         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
34368         * crypt/sha256-crypt.c: Include crypt-private.h.
34369         (b64t): Remove variable.
34370         (__sha256_crypt_r): Remove b64_from_24bit and replace
34371         with __b64_from_24bit.
34372         * crypt/sha512-crypt.c: Likewise.
34374 2014-06-02  Roland McGrath  <roland@hack.frob.com>
34376         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
34377         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
34378         Label the code __libc_vfork rather than __vfork.
34379         [!NOT_IN_libc] (vfork): Define as weak alias.
34380         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
34381         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
34382         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
34384 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34386         * malloc/malloc.c (malloc_info): Fix format specifier for
34387         n_mmaps.
34389 2014-06-02  Wilco  <wdijkstr@arm.com>
34391         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
34392         FPCR write.
34394 2014-06-02  Wilco  <wdijkstr@arm.com>
34396         [BZ #17009]
34397         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
34398         Rewrite to reduce FPCR/FPSR accesses.
34400 2014-06-01  David S. Miller  <davem@davemloft.net>
34402         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34404 2014-05-31  David S. Miller  <davem@davemloft.net>
34406         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
34407         to occur in round to nearest mode when |x| >= 2.0
34409 2014-05-30  Richard Henderson  <rth@twiddle.net>
34411         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
34412         (PSEUDO_RET_NOERRNO): Remove.
34413         (ret): Don't redefine.
34414         (ret_NOERRNO): Define in terms of ret.
34415         (ret_ERRVAL): Likewise.
34417         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
34418         use of PSEUDO_RET; perform the error check directly.
34420 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
34422         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
34423         with __int128_t.
34425 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34427         * malloc/malloc (malloc_info): Fix formatting.
34429 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34430             Roland McGrath  <roland@hack.frob.com>
34432         * malloc/malloc (malloc_info): Also print mmapped statistics.
34434 2014-05-30  Roland McGrath  <roland@hack.frob.com>
34436         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
34437         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
34439 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
34441         * malloc/malloc.c (malloc_info): Inline mi_arena.
34443 2014-05-29  Richard Henderson  <rth@twiddle.net>
34445         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
34446         Remove comma before expanding ASM_ARGS_##nr.
34447         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
34448         Make _x0 a strict output; make _x8 a strict input; adjust expansion
34449         of ASM_ARGS_##nr.
34450         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
34451         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
34452         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
34453         (ASM_ARGS_1): Add leading comma.
34455         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
34456         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
34457         to __errno_location.
34458         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
34459         Remove the expected plt for __errno_location.
34461         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34462         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
34463         call to __read_tp.
34465         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34466         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
34467         it and break it down.
34468         (DOCARGS_0, DOCARGS_1): Do nothing.
34469         (DOCARGS_2): Update to store into the new stack frame.
34470         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
34471         (UNDOCARGS_1): Update to restore from the new stack frame.
34472         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
34473         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
34475         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34476         (SINGLE_THREAD_P): New parameter for result regno.
34477         (PSEUDO): Update to match; use cbz instead of beq.
34479         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34480         Use ENTRY to define the _nocancel entry point.  Share the syscall
34481         and syscall error check paths with the cancel path.
34482         (PSEUDO_END): New.
34484         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
34485         whitespace; tabs before and after asm mnemonics.
34487 2014-05-29  Eric Wong  <normalperson@yhbt.net>
34489         [BZ #15132]
34490         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34491         Call fstat64 or stat64 internally, depending on arguments passed.
34492         Replace stat buffer argument with file descriptor argument.
34493         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
34494         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
34495         Pass fd to __internal_statvfs instead of calling fstat64.
34496         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
34497         Pass fd to __internal_statvfs64 instead of calling fstat64.
34498         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
34499         Pass -1 to __internal_statvfs instead of calling stat64.
34500         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
34501         Pass -1 to __internal_statvfs64 instead of calling stat64.
34503 2014-05-28  Roland McGrath  <roland@hack.frob.com>
34505         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
34506         that was previously under [RESET_PID].
34507         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
34509         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
34510         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
34512 2014-05-27  Roland McGrath  <roland@hack.frob.com>
34514         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
34516         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
34517         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
34519 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
34521         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
34523 2014-05-27  Andreas Schwab  <schwab@suse.de>
34525         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
34526         TLS_INIT_TP macro.
34527         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
34528         * elf/rtld.c (init_tls, dl_main): Likewise.
34529         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
34530         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
34531         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
34532         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
34533         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
34534         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
34535         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
34536         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
34537         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
34538         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
34539         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
34540         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
34541         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
34542         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
34543         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
34544         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
34545         * sysdeps/generic/tls.h: Update description.
34547 2014-05-27  Will Newton  <will.newton@linaro.org>
34549         [BZ #16990]
34550         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
34551         and restore r2 rather than just restoring.
34553 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34555         [BZ #16724]
34556         * libio/tst-ftell-append.c: New test case.
34557         * libio/Makefile (tests): Add test case.
34558         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
34559         append mode.
34560         * libio/wfileops.c (do_ftell_wide): Likewise.
34562 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34566         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
34567         ...
34568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
34569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
34570         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
34571         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
34572         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
34573         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
34574         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
34575         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
34576         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
34577         Moved ...
34578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
34579         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
34580         Moved ...
34581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
34582         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
34583         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
34584         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
34585         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
34586         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
34587         ...
34588         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
34589         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
34590         Moved ...
34591         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
34592         here.
34593         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
34594         ...
34595         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
34596         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
34597         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
34599         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
34600         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
34601         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
34602         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
34604         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
34605         merge into ...
34606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
34607         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
34608         ...
34609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
34610         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
34611         ...
34612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
34613         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
34614         Moved ...
34615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
34616         here.
34617         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
34618         Moved ...
34619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
34620         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
34621         Moved ...
34622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
34624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
34625         conditional [RESET_PID].
34626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
34627         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
34628         removed.
34629         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
34630         removed.
34632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
34633         <tcb-offsets.h>.
34634         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34635         (__libc_vfork): New strong alias.
34636         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
34637         removed.
34638         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
34639         Removed.
34641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
34642         <tcb-offsets.h>.
34643         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
34644         (__libc_vfork): New strong alias.
34645         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
34646         removed.
34647         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
34648         removed.
34650 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
34652         * malloc/malloc.c (mi_arena): New function.
34653         (malloc_info): Remove nested function mi_arena. Call non-nosted
34654         function mi_arena.
34656 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34658         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
34659         by insrwi.
34660         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
34661         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
34662         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
34663         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
34664         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
34665         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
34666         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
34668 2014-05-26  Andreas Schwab  <schwab@suse.de>
34670         [BZ #16984]
34671         * locale/programs/repertoire.c (repertoire_read): Add slash
34672         between I18NPATH element and file name.
34673         * locale/programs/locfile.c (locfile_read): Likewise.
34675 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
34677         * nptl/pthread_mutexattr_settype.c
34678         (__pthread_mutexattr_settype):
34679         Disable lock elision for PTHREAD_MUTEX_NORMAL.
34681 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
34683         * nptl/tst-mutex5 (do_test):
34684         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
34686 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34688         * benchtests/README: Document 'init' directive.
34689         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
34690         BENCH_INIT.
34691         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
34692         (parse_file): Recognize 'init' directive.
34694 2014-05-26  Kyle McMartin  <kyle@redhat.com>
34696         [BZ #16796]
34697         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
34698         alignment of struct pthread.
34700 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34702         [BZ #16878]
34703         * nscd/netgroupcache.c (addgetnetgrentX): Look for
34704         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
34705         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
34706         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
34708 2014-05-25  Richard Henderson  <rth@twiddle.net>
34710         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34711         (SINGLE_THREAD_P_PIC): Remove.
34712         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
34713         (SINGLE_THREAD_P_PIC): Remove.
34715         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
34716         branch to syscall error ...
34717         (PSEUDO): ... here.
34718         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
34719         from __local_syscall_error to .Lsyscall_error.
34720         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
34721         (SYSCALL_ERROR): Update label name.
34723         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34724         Do not use DOARGS/UNDOARGS.
34725         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
34726         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
34727         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
34728         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
34729         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
34731         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
34732         block comment.
34734         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
34735         define if !NOT_IN_libc.
34736         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
34737         define with non-default symbol versions.
34739 2014-05-23  Richard Henderson  <rth@twiddle.net>
34741         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
34742         (vfork, __vfork): Define via compat_symbol.
34744         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
34745         [!HAVE_IFUNC] (vfork_compat): Remove.
34746         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
34748 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
34750         [BZ #16978]
34751         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
34752         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
34753         variable.
34755 2014-05-23  Richard Henderson  <rth@twiddle.net>
34757         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
34758         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
34759         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
34760         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
34762         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
34763         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
34764         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
34765         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
34766         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
34767         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
34768         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
34769         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
34770         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
34771         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
34772         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
34773         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
34774         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
34775         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
34776         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
34777         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
34778         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
34779         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
34780         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
34781         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
34782         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
34783         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
34784         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
34785         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
34786         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
34787         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
34788         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
34789         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
34790         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
34791         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
34792         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
34793         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
34794         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
34795         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
34796         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
34797         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
34798         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
34799         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
34800         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
34801         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
34802         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
34803         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
34804         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
34805         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
34806         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
34807         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
34808         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
34809         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
34810         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
34811         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
34812         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
34813         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
34814         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
34815         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
34816         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
34817         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
34819         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
34820         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
34821         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
34822         before exiting on error.
34823         (__libc_vfork): New strong alias.
34824         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
34825         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
34827         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
34828         that was previously under [RESET_PID].
34829         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
34831         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
34833 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
34835         [BZ #16977]
34836         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
34837         value when x - 1 is zero.
34838         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
34839         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
34840         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
34841         0.0L for an argument of 1.0L.
34842         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
34843         Likewise.
34844         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
34845         value when x - 1 is zero.
34846         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
34847         * sysdeps/i386/fpu/libm-test-ulps: Update.
34848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34850 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
34852         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
34853         alphasort and versionsort.
34855 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34857         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
34858         macro.
34859         [copysignf]: Likewise.
34861 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34863         * crypt/md5-crypt.c: Fix formatting.
34865 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34867         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
34868         (b64_from_24bit): New function.
34870 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34872         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
34873         libc_hidden_builtin_def to ifunc.
34874         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
34875         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
34877 2014-05-21  Roland McGrath  <roland@hack.frob.com>
34879         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
34880         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
34882 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
34884         * nscd/Depend (linuxthreads): Remove.
34885         (nptl): Add.
34886         * resolv/Depend (linuxthreads): Remove.
34887         * rt/Depend (linuxthreads): Remove.
34889         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
34890         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
34891         $(common-objpfx)elf/.
34892         (link-libc-before-gnulib): Likewise.
34893         (elfobjdir): Remove variable.
34894         * Makefile (install): Use $(elf-objpfx) instead of
34895         $(common-objpfx)elf/.
34896         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
34897         $(elfobjdir)/.
34898         (link-libc-deps): Likewise.
34899         ($(common-objpfx)libc.so): Likewise.
34900         ($(common-objpfx)linkobj/libc.so): Likewise.
34901         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
34902         instead of $(common-objpfx)elf/.
34903         (symbolic-link-list): Likewise.
34904         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34905         [$(cross-compiling) = no]: Likewise.
34906         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
34907         $(elfobjdir)/.
34908         (static-gnulib-arch): Likewise.
34909         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34910         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
34911         $(common-objpfx)elf/.
34913 2014-05-21  Richard Henderson  <rth@redhat.com>
34915         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34916         (SINGLE_THREAD_P): Use the correct width load.  Fold
34917         into the ldr offset.
34919         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
34920         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
34922 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
34924         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
34925         (libgcc_s_resume): Use __attribute_used__.
34926         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
34927         Likewise.
34929 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34931         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
34932         optimization when used with float constants.
34934         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34936 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
34938         [BZ #16915]
34939         * locale/nl_langinfo_l.c: Make direct reference to every
34940         _nl_current_CATEGORY symbol.
34941         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
34942         (tests-static): Add tst-langinfo-static.
34943         (tests-special): Add tst-langinfo-static.out.
34944         ($(objpfx)tst-langinfo.out): Redirect output.
34945         ($(objpfx)tst-langinfo-static.out): New.
34946         * localedata/tst-langinfo.sh: Send output to stdout.
34947         * localedata/tst-langinfo-static.c: New file.
34949         [BZ #16965]
34950         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
34951         when the shift amount is modulo the limb size.
34953 2014-05-20  Richard Henderson  <rth@redhat.com>
34955         [BZ #16967]
34956         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
34957         Change type of sa_flags from unsigned int to int.
34959         [BZ #16966]
34960         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
34962         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
34964 2014-05-20  Will Newton  <will.newton@linaro.org>
34966         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34967         Test the return value of the system call in the nocancel case.
34969 2014-05-20  Will Newton  <will.newton@linaro.org>
34970             Yvan Roux  <yvan.roux@linaro.org>
34972         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
34973         #include of asm/ptrace.h.
34974         (PTRACE_GET_THREAD_AREA): Remove #undef.
34975         (PTRACE_GETHBPREGS): Likewise.
34976         (PTRACE_SETHBPREGS): Likewise.
34977         (struct user_regs_struct): New structure.
34978         (struct user_fpsimd_struct): New structure.
34979         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
34980         #include of asm/ptrace.h and second #include of sys/user.h.
34981         (PTRACE_GET_THREAD_AREA): Remove #undef.
34982         (PTRACE_GETHBPREGS): Likewise.
34983         (PTRACE_SETHBPREGS): Likewise.
34984         (ELF_NGREG): Use new struct user_regs_struct.
34985         (elf_fpregset_t): Use new struct user_fpsimd_struct.
34987 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34989         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
34990         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
34992 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
34994         [BZ #16958]
34995         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
34996         membar to avoid block loads/stores to overlap previous stores.
34998 2014-05-17  Richard Henderson  <rth@redhat.com>
35000         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
35001         Create the __##syscall_name##_nocancel entry point.
35002         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
35003         Remove; let the sysdep-cancel.h code create it.
35005 2014-05-17  David S. Miller  <davem@davemloft.net>
35007         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
35008         Protect with __USE_GNU.
35009         (TIOCSET_TEMPT): Likewise.
35010         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35011         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
35012         these are already provided in bits/ioctl-types.h
35014 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35016         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
35017         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
35019         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
35020         Use wait4 regardless of [__NR_waitpid].
35022 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
35024         PR libgcc/60166
35025         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
35026         (_FP_NANSIGN_Q): Set the quiet bit.
35028 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
35030         * benchtests/Makefile
35031         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
35032         not $(common-objpfx)math/libm.so.
35033         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
35034         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
35035         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
35036         $(common-objpfx)dlfcn/libdl.so.
35037         ($(objpfx)tst-audit8): Depend on $(libm), not
35038         $(common-objpfx)math/libm.so.
35039         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
35040         not $(common-objpfx)dlfcn/libdl.so.
35041         * math/Makefile
35042         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
35043         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
35044         [$(build-shared) = yes].
35045         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
35046         $(common-objpfx)nptl/libpthread.so.
35047         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
35048         $(common-objpfx)math/libm.so$(libm.so-version) or
35049         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
35050         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
35051         $(common-objpfx)dlfcn/libdl.so.
35052         * setjmp/Makefile (link-libm): Remove variable.
35053         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
35054         * stdio-common/Makefile (link-libm): Remove variable.
35055         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
35056         * stdlib/Makefile (link-libm): Remove variable.
35057         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
35058         ($(objpfx)tst-strtod-round): Likewise.
35059         ($(objpfx)tst-tininess): Likewise.
35060         ($(objpfx)tst-strtod-underflow): Likewise.
35061         ($(objpfx)tst-strtod6): Likewise.
35062         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
35063         $(libdl), not $(common-objpfx)nptl/libpthread.so and
35064         $(common-objpfx)dlfcn/libdl.so.
35066 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35068         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
35069         BSD terminal modes definitions.
35071 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35073         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
35074         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
35076         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
35077         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
35078         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
35079         Don't do #include_next.
35080         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
35081         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
35082         Don't do #include_next.
35083         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
35084         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
35085         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
35086         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
35088 2014-05-16  Allan McRae  <allan@archlinux.org>
35090         * po/sv.po: Update Swedish translation from translation project.
35092         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
35093         in sed expression.
35095 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
35097         [BZ #16917]
35098         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
35099         errno if the TIOCGPTN ioctl fails with an error different than
35100         EINVAL.
35101         * login/tst-ptsname.c: New file.
35102         * login/Makefile (tests): Add tst-ptsname.
35104         [BZ #16943]
35105         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
35106         and prlimit64.
35108 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35110         [BZ #16849]
35111         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
35112         herrno to return EAI_AGAIN.
35114 2014-05-14  Roland McGrath  <roland@hack.frob.com>
35116         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
35117         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
35118         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
35119         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
35120         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
35121         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
35122         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
35123         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
35124         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
35125         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
35126         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
35127         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
35128         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
35129         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
35130         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
35131         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
35132         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
35133         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
35134         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
35135         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
35136         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
35137         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
35138         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
35139         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
35140         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
35141         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
35142         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
35143         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
35144         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
35145         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
35146         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
35147         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
35148         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
35149         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
35150         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35151         Moved ...
35152         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
35153         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
35154         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
35155         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
35156         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
35157         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
35158         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
35159         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
35160         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
35161         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
35162         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
35163         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
35164         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
35165         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
35166         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
35167         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
35168         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
35169         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
35170         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
35171         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
35172         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
35173         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
35174         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
35175         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
35176         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
35177         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
35178         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
35179         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35180         Moved ...
35181         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
35182         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
35183         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
35184         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
35185         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
35186         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
35187         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
35188         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
35189         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
35190         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
35191         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
35192         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
35193         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
35194         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
35195         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
35196         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
35197         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
35198         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
35199         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
35200         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35201         Moved ...
35202         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
35203         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
35204         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
35206         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
35207         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
35208         (libpthread-sysdep_routines): Add elision-related stuff here instead.
35209         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
35210         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
35211         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
35212         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
35213         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
35214         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
35215         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
35216         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
35217         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
35218         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
35219         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
35220         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
35221         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
35222         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
35223         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
35224         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
35225         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
35226         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
35227         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
35228         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
35229         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
35230         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
35231         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
35232         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
35233         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
35234         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
35235         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
35236         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
35238         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
35239         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
35241         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
35242         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
35243         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
35244         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
35245         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
35246         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
35247         Moved ...
35248         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
35249         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
35250         Moved ...
35251         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
35252         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
35253         Moved ...
35254         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
35255         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
35256         Moved ...
35257         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
35258         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
35259         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
35260         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
35261         Moved ...
35262         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
35263         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
35264         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
35265         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
35266         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
35267         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
35268         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
35269         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
35270         Moved ...
35271         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
35272         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35273         Moved ...
35274         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35275         ... here.
35276         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
35277         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
35278         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
35279         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
35280         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35281         Moved ...
35282         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35283         ... here.
35284         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
35285         Moved ...
35286         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
35287         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
35288         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
35289         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
35290         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
35291         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
35292         Moved ...
35293         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
35294         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
35295         Moved ...
35296         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
35297         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
35298         Moved ...
35299         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
35300         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
35301         Moved ...
35302         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
35303         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
35304         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
35305         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
35306         Moved ...
35307         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
35308         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
35309         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
35310         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
35311         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
35312         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
35313         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
35314         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
35315         Moved ...
35316         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
35317         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35318         Moved ...
35319         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35320         ... here.
35321         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
35322         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
35323         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
35324         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
35325         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35326         Moved ...
35327         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35328         ... here.
35329         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
35330         Moved ...
35331         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
35332         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
35333         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
35334         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
35335         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
35336         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
35337         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
35338         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
35339         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
35340         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
35341         Moved ...
35342         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
35343         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
35344         Moved ...
35345         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
35346         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
35347         Moved ...
35348         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
35349         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
35350         Moved ...
35351         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
35352         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
35353         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
35354         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
35355         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
35356         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
35357         Moved ...
35358         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
35359         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
35360         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
35361         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
35362         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
35363         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
35364         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
35365         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
35366         Moved ...
35367         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
35368         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35369         Moved ...
35370         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35371         ... here.
35372         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
35373         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
35374         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
35375         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
35376         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35377         Moved ...
35378         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35379         ... here.
35380         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
35381         Moved ...
35382         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
35383         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
35384         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
35385         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
35386         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
35387         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
35388         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
35389         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
35390         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
35391         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
35392         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
35394         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
35395         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
35397         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
35398         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
35400         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
35401         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
35402         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
35403         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
35404         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
35405         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
35406         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
35407         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
35408         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
35409         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
35410         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
35411         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
35412         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
35413         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
35414         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
35415         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
35416         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
35417         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
35418         Moved ...
35419         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
35420         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
35421         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
35422         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
35423         Moved ...
35424         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
35425         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
35426         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
35427         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
35428         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
35429         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
35430         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
35431         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
35432         Moved ...
35433         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
35434         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
35435         Moved ...
35436         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
35437         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
35438         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
35439         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
35440         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
35441         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
35442         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
35443         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
35444         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
35445         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
35446         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
35447         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
35448         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
35449         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
35450         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
35451         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
35452         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
35454         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
35455         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
35456         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
35457         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
35458         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
35460         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
35461         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
35462         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
35463         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
35464         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
35465         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
35466         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
35467         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
35468         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
35469         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
35471         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
35472         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
35474         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
35475         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
35476         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
35477         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
35478         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
35479         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
35480         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
35481         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
35482         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
35483         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
35484         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
35485         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
35486         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
35487         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
35488         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
35489         Update #include.
35490         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
35491         Likewise.
35492         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35493         Likewise.
35494         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35495         Likewise.
35496         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35497         Likewise.
35498         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
35499         Likewise.
35500         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
35501         Likewise.
35502         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
35503         Likewise.
35504         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
35505         Likewise.
35506         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
35507         Likewise.
35508         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
35509         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
35510         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
35511         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
35512         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
35513         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
35514         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
35515         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
35516         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
35517         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
35518         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
35519         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
35520         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
35521         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
35522         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
35524         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
35525         that was previously under [RESET_PID].
35526         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35527         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
35528         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
35530         * sysdeps/i386/nptl/Implies: New file.
35531         * sysdeps/x86_64/nptl/Implies: New file.
35532         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
35533         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
35534         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
35535         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
35537         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
35538         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35539         (__libc_vfork): New strong alias.
35540         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
35541         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
35543         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
35544         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35545         (__libc_vfork): New strong alias.
35546         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
35547         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
35549         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
35550         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35551         (__libc_vfork): New strong alias.
35552         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
35553         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
35554         * nptl/pt-vfork.c: New file.
35555         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
35556         (libpthread: GLIBC_2.20): New version set (empty).
35558 2014-05-14  Will Newton  <will.newton@linaro.org>
35560         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
35561         rather than #if.
35563 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
35565         [BZ #16564]
35566         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
35567         arguments with exponent 65 or above.
35568         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
35569         arguments 0x1p113L or above.
35570         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
35571         to arguments 0x1p107L or above.
35572         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
35573         positive arguments with exponent 65 or above.
35574         * math/auto-libm-test-in: Add more tests of log1p.
35575         * math/auto-libm-test-out: Regenerated.
35577         [BZ #16928]
35578         * math/s_cacos.c (__cacos): Ensure zero real part of result from
35579         non-finite arguments is +0.
35580         * math/s_cacosf.c (__cacosf): Likewise.
35581         * math/s_cacosl.c (__cacosl): Likewise.
35582         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
35583         * sysdeps/i386/fpu/libm-test-ulps: Update.
35584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35586         [BZ #16927]
35587         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
35588         value.
35589         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
35590         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
35591         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
35592         for explicit high bit of mantissa when testing for argument equal
35593         to 1.
35594         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
35595         * sysdeps/i386/fpu/libm-test-ulps: Update.
35596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35598         [BZ #16516]
35599         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
35600         (__erf): Scale by 16 instead of 8 in potentially underflowing
35601         case.  Ensure exception if result actually underflows.
35602         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
35603         (__erff): Scale by 16 instead of 8 in potentially underflowing
35604         case.  Ensure exception if result actually underflows.
35605         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
35606         (efx8): Remove variable.
35607         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35608         case.  Ensure exception if result actually underflows.
35609         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
35610         (efx8): Remove variable.
35611         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35612         case.  Ensure exception if result actually underflows.
35613         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
35614         (efx8): Remove variable.
35615         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35616         case.  Ensure exception if result actually underflows.
35617         * math/auto-libm-test-in: Add more tests of erf.
35618         * math/auto-libm-test-out: Regenerated.
35620 2014-05-14  Andreas Schwab  <schwab@suse.de>
35622         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
35623         Remove code conditionalized on USE___THREAD.
35625         * config.h.in (HAVE_PT_CHOWN): Define as 0.
35626         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
35627         not definedness.
35629 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
35631         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
35632         Define unconditionally.
35633         (__ASSUME_O_CLOEXEC): Likewise.
35634         (__ASSUME_SOCK_CLOEXEC): Likewise.
35635         (__ASSUME_IN_NONBLOCK): Likewise.
35636         (__ASSUME_PIPE2): Likewise.
35637         (__ASSUME_EVENTFD2): Likewise.
35638         (__ASSUME_SIGNALFD4): Likewise.
35639         (__ASSUME_DUP3): Likewise.
35640         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35641         (__ASSUME_DUP3): Do not define.
35642         (__ASSUME_EVENTFD2): Likewise.
35643         (__ASSUME_IN_NONBLOCK): Likewise.
35644         (__ASSUME_O_CLOEXEC): Likewise.
35645         (__ASSUME_PIPE2): Likewise.
35646         (__ASSUME_SIGNALFD4): Likewise.
35647         (__ASSUME_SOCK_CLOEXEC): Likewise.
35648         (__ASSUME_UTIMES): Undefine.
35649         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35650         (__ASSUME_UTIMES): Do not define.
35651         (__ASSUME_O_CLOEXEC): Likewise.
35652         (__ASSUME_SOCK_CLOEXEC): Likewise.
35653         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
35654         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
35655         0x020621].
35656         (__ASSUME_PIPE2): Likewise.
35657         (__ASSUME_EVENTFD2): Likewise.
35658         (__ASSUME_SIGNALFD4): Likewise.
35659         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
35660         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
35661         Do not define.
35662         (__ASSUME_EVENTFD2): Likewise.
35663         (__ASSUME_SIGNALFD4): Likewise.
35664         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
35665         (__ASSUME_32BITUIDS): Likewise.
35666         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35667         (__ASSUME_IPC64): Likewise.
35668         (__ASSUME_ST_INO_64_BIT): Likewise.
35669         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
35670         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
35671         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35672         (__ASSUME_UTIMES): Do not define.
35673         (__ASSUME_PSELECT): Likewise.
35674         (__ASSUME_PPOLL): Likewise.
35675         (__ASSUME_O_CLOEXEC): Likewise.
35676         (__ASSUME_SOCK_CLOEXEC): Likewise.
35677         (__ASSUME_IN_NONBLOCK): Likewise.
35678         (__ASSUME_PIPE2): Likewise.
35679         (__ASSUME_EVENTFD2): Likewise.
35680         (__ASSUME_SIGNALFD4): Likewise.
35681         (__ASSUME_DUP3): Likewise.
35682         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35683         (__ASSUME_UTIMES): Likewise.
35684         (__ASSUME_O_CLOEXEC): Likewise.
35685         (__ASSUME_SOCK_CLOEXEC): Likewise.
35686         (__ASSUME_IN_NONBLOCK): Likewise.
35687         (__ASSUME_PIPE2): Likewise.
35688         (__ASSUME_EVENTFD2): Likewise.
35689         (__ASSUME_SIGNALFD4): Likewise.
35690         (__ASSUME_DUP3): Likewise.
35691         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35692         (__ASSUME_UTIMES): Likewise.
35693         (__ASSUME_O_CLOEXEC): Likewise.
35694         (__ASSUME_SOCK_CLOEXEC): Likewise.
35695         (__ASSUME_IN_NONBLOCK): Likewise.
35696         (__ASSUME_PIPE2): Likewise.
35697         (__ASSUME_EVENTFD2): Likewise.
35698         (__ASSUME_SIGNALFD4): Likewise.
35699         (__ASSUME_DUP3): Likewise.
35700         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
35701         Likewise.
35702         (__ASSUME_UTIMES): Likewise.
35703         (__ASSUME_EVENTFD2): Likewise.
35704         (__ASSUME_SIGNALFD4): Likewise.
35705         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35706         (__ASSUME_O_CLOEXEC): Likewise.
35707         (__ASSUME_SOCK_CLOEXEC): Likewise.
35708         (__ASSUME_IN_NONBLOCK): Likewise.
35709         (__ASSUME_PIPE2): Likewise.
35710         (__ASSUME_EVENTFD2): Likewise.
35711         (__ASSUME_SIGNALFD4): Likewise.
35712         (__ASSUME_DUP3): Likewise.
35713         (__ASSUME_UTIMES): Undefine.
35715         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
35716         feclearexcept.  Remove symbol versioning code.
35717         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
35718         symbol versioning code.
35719         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
35720         symbol versioning code.
35721         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
35722         feupdateenv.  Remove symbol versioning code.
35723         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
35724         fegetexceptflag.  Remove symbol versioning code.
35725         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
35726         fesetexceptflag.  Remove symbol versioning code.
35727         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
35728         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
35729         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
35730         (__posix_fadvise64_l32): Remove prototype.
35731         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
35732         code.
35734 2014-05-13  Roland McGrath  <roland@hack.frob.com>
35736         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
35737         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
35738         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
35739         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
35741 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
35743         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
35744         current working directory
35746 2014-05-13  Roland McGrath  <roland@hack.frob.com>
35748         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
35749         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
35750         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
35751         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
35752         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
35753         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
35754         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
35755         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
35756         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
35757         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
35758         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
35759         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
35760         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
35761         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
35762         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
35763         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
35764         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
35765         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
35766         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
35767         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
35768         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
35769         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
35770         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
35771         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
35772         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
35773         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
35774         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
35775         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
35776         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
35777         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
35778         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
35779         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
35780         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
35781         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
35782         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
35783         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
35784         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
35785         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
35786         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
35787         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
35788         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
35789         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
35791         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
35792         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
35794         * sysdeps/unix/sysv/linux/arm/Makefile
35795         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
35796         Add rt-aeabi_unwind_cpp_pr1.
35797         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
35798         Add nptl-aeabi_unwind_cpp_pr1.
35799         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
35800         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
35801         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
35802         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
35803         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
35804         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
35806         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
35807         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
35808         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
35809         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
35811         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
35812         Deconditionalize the code that was previously under [RESET_PID].
35813         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
35815         * sysdeps/generic/exit-thread.h: New file.
35816         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
35817         * include/unistd.h (__exit_thread): Remove declaration.
35818         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
35819         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
35820         * csu/libc-start.c: Include <exit-thread.h>.
35821         (LIBC_START_MAIN): Pass no argument to __exit_thread.
35822         * nptl/pthread_create.c: Include <exit-thread.h>.
35823         (start_thread): Call __exit_thread in place of __exit_thread_inline.
35824         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
35825         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
35826         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
35827         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
35828         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
35829         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
35830         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
35831         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
35832         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
35833         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
35834         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
35835         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
35836         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
35837         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
35838         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
35839         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
35841 2014-05-13  Andreas Schwab  <schwab@suse.de>
35843         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
35845 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
35847         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
35848         (__ASSUME_UTIMES): Do not condition on kernel version.
35849         (__ASSUME_PSELECT): Define unconditionally.
35850         (__ASSUME_PPOLL): Likewise.
35851         (__ASSUME_ATFCTS): Likewise.
35852         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
35853         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
35854         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
35855         (__ASSUME_UTIMENSAT): Define unconditionally.
35856         (__ASSUME_PRIVATE_FUTEX): Likewise.
35857         (__ASSUME_FALLOCATE): Likewise.
35858         (__ASSUME_O_CLOEXEC): Likewise.
35859         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
35860         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
35861         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
35862         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
35863         (__ASSUME_IN_NONBLOCK): Likewise.
35864         (__ASSUME_PIPE2): Likewise.
35865         (__ASSUME_EVENTFD2): Likewise.
35866         (__ASSUME_SIGNALFD4): Likewise.
35867         (__ASSUME_DUP3): Likewise.
35868         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35869         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
35870         (__ASSUME_AT_RANDOM): Likewise.
35871         (__ASSUME_PREADV): Likewise.
35872         (__ASSUME_PWRITEV): Likewise.
35873         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
35874         (__ASSUME_F_GETOWN_EX): Define unconditionally.
35875         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
35876         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35877         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
35878         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35879         (__ASSUME_O_CLOEXEC): Define unconditionally.
35880         (__ASSUME_PSELECT): Do not undefine conditionally.
35881         (__ASSUME_PPOLL): Likewise.
35882         (__ASSUME_ATFCTS): Likewise.
35883         (__ASSUME_SET_ROBUST_LIST): Likewise.
35884         (__ASSUME_UTIMENSAT): Likewise.
35885         (__ASSUME_FDATASYNC): Define unconditionally.
35886         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35887         (__ASSUME_SIGFRAME_V2): Likewise.
35888         )__ASSUME_EVENTFD2): Likewise.
35889         (__ASSUME_SIGNALFD4): Likewise.
35890         (__ASSUME_PSELECT): Do not undefine conditionally.
35891         (__ASSUME_PPOLL): Likewise.
35892         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35893         (__ASSUME_PSELECT): Define unconditionally.
35894         (__ASSUME_PPOLL): Likewise.
35895         (__ASSUME_O_CLOEXEC): Likewise.
35896         (__ASSUME_SOCK_CLOEXEC): Likewise.
35897         (__ASSUME_IN_NONBLOCK): Likewise.
35898         (__ASSUME_PIPE2): Likewise.
35899         (__ASSUME_EVENTFD2): Likewise.
35900         (__ASSUME_SIGNALFD4): Likewise.
35901         (__ASSUME_DUP3): Likewise.
35902         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35903         (__ASSUME_O_CLOEXEC): Likewise.
35904         (__ASSUME_SOCK_CLOEXEC): Likewise.
35905         (__ASSUME_IN_NONBLOCK): Likewise.
35906         (__ASSUME_PIPE2): Likewise.
35907         (__ASSUME_EVENTFD2): Likewise.
35908         (__ASSUME_SIGNALFD4): Likewise.
35909         (__ASSUME_DUP3): Likewise.
35910         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35911         (__ASSUME_EVENTFD2): Likewise.
35912         (__ASSUME_SIGNALFD4): Likewise.
35913         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35915 2014-05-12  Andreas Schwab  <schwab@suse.de>
35917         [BZ #16932]
35918         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
35919         (_nss_nis_gethostbyname4_r): Return error if item length is larger
35920         than maximum RPC packet size.
35921         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
35922         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
35923         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
35924         (_nss_nis_getservbyport_r): Likewise.
35926 2014-05-12  Will Newton  <will.newton@linaro.org>
35928         * malloc/Makefile (tests): Add tst-mallopt.
35929         * malloc/tst-mallopt.c: New file.
35931 2014-05-09  Roland McGrath  <roland@hack.frob.com>
35933         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
35934         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
35936 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35938         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
35939         (tst-tlsmod6.so): Likewise.
35941 2014-05-09  Roland McGrath  <roland@hack.frob.com>
35943         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
35945 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
35947         [BZ #16064]
35948         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
35949         and <dl-procinfo.h>.
35950         (__fegetenv): Save SSE state in envp->__eip if supported.
35951         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
35952         envp->__eip if supported.
35953         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
35954         and <dl-procinfo.h>.
35955         (__fesetenv): Always set __eip, __cs_selector, __opcode,
35956         __data_offset and __data_selector in environment to 0.  Set SSE
35957         state if supported.
35958         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
35959         test-fenv-sse.
35960         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
35961         -mfpmath=sse.
35962         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
35964 2014-05-09  Will Newton  <will.newton@linaro.org>
35966         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
35967         and libc_relro_required for ARM.
35968         * sysdeps/arm/preconfigure: Regenerate.
35970 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
35971             Stefan Liebler  <stli@linux.vnet.ibm.com>
35973         * config.make.in (enable-lock-elision): New Makefile variable.
35974         * configure.ac: Likewise.
35975         * configure: Regenerate.
35976         * sysdeps/s390/configure.ac:
35977         Add check for gcc transactions support.
35978         * sysdeps/s390/configure: Regenerate.
35979         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
35980         Build elision files if enabled.
35981         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
35982         Add lock elision support for s390.
35983         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
35984         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
35985         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
35986         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
35987         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
35988         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
35989         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
35990         Likewise.
35991         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
35992         Likewise.
35993         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
35994         Likewise.
35995         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
35996         Likewise.
35997         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
35998         (__lll_timedlock_elision, __lll_lock_elision)
35999         (__lll_unlock_elision, __lll_trylock_elision)
36000         (lll_timedlock_elision, lll_lock_elision)
36001         (lll_unlock_elision, lll_trylock_elision): Add.
36002         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36003         (pthread_mutex_t): Add lock elision support for s390.
36005 2014-05-14  Wilco  <wdijkstr@arm.com>
36007         * sysdeps/arm/fclrexcpt.c: Cleanup.
36008         * sysdeps/arm/fedisblxcpt.c: Cleanup.
36009         * sysdeps/arm/feenablxcpt.c: Cleanup.
36010         * sysdeps/arm/fegetenv.c: Cleanup.
36011         * sysdeps/arm/fegetexcept.c: Cleanup.
36012         * sysdeps/arm/fegetround.c: Cleanup.
36013         * sysdeps/arm/feholdexcpt.c: Cleanup.
36014         * sysdeps/arm/fesetenv.c: Cleanup.
36015         * sysdeps/arm/fesetround.c: Cleanup.
36016         * sysdeps/arm/feupdateenv.c: Cleanup.
36017         * sysdeps/arm/fgetexcptflg.c: Cleanup.
36018         * sysdeps/arm/fraiseexcpt.c: Cleanup.
36019         * sysdeps/arm/fsetexcptflg.c: Cleanup.
36020         * sysdeps/arm/ftestexcept.c: Cleanup.
36021         * sysdeps/arm/get-rounding-mode.h: Cleanup.
36022         * sysdeps/arm/setfpucw.c: Cleanup.
36024 2014-05-09  Will Newton  <will.newton@linaro.org>
36026         * sysdeps/arm/armv7/strcmp.S: New file.
36027         * NEWS: Mention addition of ARMv7 optimized strcmp.
36029 2014-05-08  Roland McGrath  <roland@hack.frob.com>
36031         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
36032         look for %.ac rather than %.in.
36034         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
36035         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
36036         * sysdeps/mach/hurd/configure: Regenerated.
36037         * sysdeps/unix/sysv/linux/configure: Regenerated.
36039         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
36041 2014-05-07  Steve Ellcey  <sellcey@mips.com>
36043         [BZ# 16922]
36044         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
36045         (LONG_SUB): Ditto.
36046         (PTR_SUB): Ditto.
36048 2014-05-07  Andreas Schwab  <schwab@suse.de>
36050         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
36051         when skipping over non-matching result from nscd.
36053 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
36055         [BZ #16876]
36056         * nptl/sockperf.c (client): Check socket return value.
36058         [BZ #16877]
36059         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
36060         nscd security class.
36062 2014-05-06  Roland McGrath  <roland@hack.frob.com>
36064         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
36065         * sysdeps/arm/unwind.h: ... here.
36067 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
36069         [BZ# 16916]
36070         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
36071         Define.
36073 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36075         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
36076         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
36077         multiarch strncpy for PPC64.
36078         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
36079         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
36080         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
36081         multiarch optimizations.
36082         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36083         (__libc_ifunc_impl_list): Likewise.
36084         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
36085         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
36086         multiarch stpncpy for PPC64.
36087         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
36088         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
36090 2014-05-06  Andreas Schwab  <schwab@suse.de>
36092         [BZ #16912]
36093         * gmon/mcount.c (_MCOUNT_DECL): Use
36094         atomic_compare_and_exchange_bool_acq instead of
36095         catomic_compare_and_exchange_bool_acq.
36097 2014-05-05  Roland McGrath  <roland@hack.frob.com>
36099         * elf/Makefile (others, install-bin): Remove pldd.
36100         (pldd-modules): Variable removed.
36101         ($(objpfx)pldd): Target removed.
36102         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
36103         (others, install-bin): Append pldd here.
36104         ($(objpfx)pldd): New target.
36106         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
36107         to 0, so the first #if test emitted later doesn't see it undefined.
36108         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
36109         * sysdeps/gnu/errlist.c: Regenerated.
36111 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36113         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
36114         [libc_hidden_builtin_def]: Define to empty value.
36115         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
36116         [libc_hidden_builtin_def]: Likewise.
36117         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
36118         [libc_hidden_builtin_def]: Likewise.
36119         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
36120         [libc_hidden_builtin_def]: Likewise.
36121         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
36122         __redirect_memcpy and define ifunc as default hidden symbol.
36123         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
36124         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
36126 2014-05-04  Adam Conrad  <adconrad@0c3.net>
36128         * locale/iso-4217.def: Reintroduce XDR currency.
36130 2014-05-04  Allan McRae  <allan@archlinux.org>
36132         * po/eo.po: Update Esperanto translation from translation project.
36134 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
36136         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
36137         and FEATURE_INDEX_MAX to 1.
36138         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
36140 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36142         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
36143         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
36144         * iconvdata/big5.c (ONE_DIRECTION): Define.
36145         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
36146         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
36147         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
36148         * iconvdata/cp932.c (ONE_DIRECTION): Define.
36149         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
36150         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
36151         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
36152         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
36153         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
36154         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
36155         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
36156         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
36157         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
36158         * iconvdata/gbk.c (ONE_DIRECTION): Define.
36159         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
36160         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
36161         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
36162         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
36163         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
36164         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
36165         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
36166         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
36167         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
36168         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
36169         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
36170         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
36171         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
36172         * iconvdata/iso646.c (ONE_DIRECTION): Define.
36173         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
36174         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
36175         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
36176         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
36177         * iconvdata/johab.c (ONE_DIRECTION): Define.
36178         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
36179         * iconvdata/sjis.c (ONE_DIRECTION): Define.
36180         * iconvdata/t.61.c (ONE_DIRECTION): Define.
36181         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
36182         * iconvdata/tscii.c (ONE_DIRECTION): Define.
36183         * iconvdata/uhc.c (ONE_DIRECTION): Define.
36184         * iconvdata/unicode.c (ONE_DIRECTION): Define.
36185         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
36186         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
36187         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
36189 2014-05-01  Roland McGrath  <roland@hack.frob.com>
36191         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
36192         (_IO_JUMPS_OFFSET): Define to 0.
36194         * nptl/sysdeps/pthread/bits/libc-lock.h
36195         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
36196         (__libc_lock_define_initialized_recursive): Always define using
36197         initializer.  Modern compilers treat uninitialized (implicit zero) and
36198         explicit zero initializers the same (i.e. put the datum in bss).
36200 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36202         * nscd/nscd-client.h: Include <string.h>.
36204 2014-05-01  David S. Miller  <davem@davemloft.net>
36206         [BZ #16885]
36207         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
36208         multiple zero bytes exist at the end of a string.
36209         Reported by Aurelien Jarno <aurelien@aurel32.net>
36211         * string/test-strcmp.c (check): Add explicit test for situations where
36212         there are multiple zero bytes after the first.
36214 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36216         [BZ #16890]
36217         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
36218         when compiling wprintf.
36219         * stdio-common/tstdiomisc.c (t3): New function.
36220         (main): Call it.
36222 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36224         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
36225         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
36226         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
36227         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
36229 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36231         * stdlib/longlong.h: Updated from GCC.
36233 2014-05-01  Will Newton  <will.newton@linaro.org>
36234             Bernard Ogden  <bernie.ogden@linaro.org>
36236         * NEWS: Update fixed bug list.
36238         [BZ #15119]
36239         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
36241 2014-04-30  David S. Miller  <davem@davemloft.net>
36243         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
36244         (libc_feholdexcept_setround_sparc_ctx): New function.
36245         (libc_fesetenv_sparc_ctx): Likewise.
36246         (libc_feupdateenv_sparc_ctx): Likewise.
36247         (libc_feholdsetround_sparc_ctx): Likewise.
36248         (libc_feholdexcept_setround_ctx): Define.
36249         (libc_feholdexcept_setroundf_ctx): Likewise.
36250         (libc_feholdexcept_setroundl_ctx): Likewise.
36251         (libc_fesetenv_ctx): Likewise.
36252         (libc_fesetenvf_ctx): Likewise.
36253         (libc_fesetenvl_ctx): Likewise.
36254         (libc_feupdateenv_ctx): Likewise.
36255         (libc_feupdateenvf_ctx): Likewise.
36256         (libc_feupdateenvl_ctx): Likewise.
36257         (libc_feresetround_ctx): Likewise.
36258         (libc_feresetroundf_ctx): Likewise.
36259         (libc_feresetroundl_ctx): Likewise.
36260         (libc_feholdsetround_ctx): Likewise.
36261         (libc_feholdsetroundf_ctx): Likewise.
36262         (libc_feholdsetroundl_ctx): Likewise.
36264         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36265         with __USE_GNU instead of XOPEN cpp guards.
36267         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
36268         0.
36270         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36271         with XOPEN cpp guards.
36273 2014-04-30  Julian Brown  <julian@codesourcery.com>
36275         [BZ #16888]
36276         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
36277         handling.
36279 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
36281         [BZ #9894]
36282         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
36283         Change to 2.6.32.
36284         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
36285         * sysdeps/unix/sysv/linux/configure: Regenerated.
36286         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
36287         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
36288         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
36289         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
36290         * README: Update reference to required Linux kernel version.
36291         * manual/install.texi (Linux): Update reference to required Linux
36292         kernel headers version.
36293         * INSTALL: Regenerated.
36295         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
36296         header inclusion.
36297         [POSIX] (limits.h): Likewise.
36298         [POSIX] (math.h): Likewise.
36299         [POSIX] (sys/wait.h): Likewise.
36300         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
36301         function.
36302         [POSIX] (stddef.h): Do not allow header inclusion.
36304 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36306         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
36308 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
36310         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
36311         Return immediately after lll_futex_wake.
36313 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36315         [BZ #16791]
36316         * nscd/nscd-client.h (datahead_init_common): Initialize entire
36317         structure.
36318         (datahead_init_pos): Call datahead_init_common early.
36319         (datahead_init_neg): Likewise.
36321         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
36322         datahead_init_neg): New functions.
36323         * nscd/aicache.c (addhstaiX): Use them.
36324         * nscd/grpcache.c (cache_addgr): Likewise.
36325         * nscd/hstcache.c (cache_addhst): Likewise.
36326         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36327         * nscd/netgroupcache.c (do_notfound): Likewise.
36328         (addgetnetgrentX): Likewise.
36329         (addinnetgrX): Likewise.
36330         * nscd/pwdcache.c (cache_addpw): Likewise.
36331         * nscd/servicescache.c (cache_addserv): Likewise.
36333 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36334             Atsushi Onoe  <atsushi@onoe.org>
36336         [BZ #14308]
36337         [BZ #12994]
36338         [BZ #13651]
36339         * resolv/res_query.c (__libc_res_nsearch): Return if at least
36340         one response is valid.
36341         * resolv/res_send.c (send_dg): Check for validity of other
36342         response if the current response is a referral.
36344 2014-04-29  Steve Ellcey  <sellcey@mips.com>
36346         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
36348 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
36350         [BZ #16823]
36351         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
36352         Always divide by positive zero when computing -Inf result.
36353         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
36354         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
36356 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36358         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
36359         FPSCR if value do not change.
36360         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36361         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
36362         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
36363         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
36364         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
36365         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
36366         function.
36368 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
36370         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
36371         * sysdeps/unix/sysv/linux/hppa: Move directory from
36372         ports/systeps/unix/sysv/linux/hppa.
36373         * README: Update listing for hppa-*-linux-gnu.
36375 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
36377         [BZ #16754]
36378         * manual/stdio.texi (Hook functions): Fix types of stream hook
36379         functions.
36380         [BZ #16854]
36381         * socket/sys/socket.h: Fix typo in comment.
36383 2014-04-28  Wilco  <wdijkstr@arm.com>
36385         * sysdeps/arm/fenv_private.h: New file.
36386         * sysdeps/arm/math_private.h: New file.
36387         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
36389 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
36391         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
36392         with __int128_t.
36393         (La_x86_64_retval): Likewise.
36395 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
36397         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
36398         fpsr if value didn't change.
36399         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
36400         to fpcr if value didn't change.
36401         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
36402         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
36403         fpsr or fpcr if value didn't change.
36404         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36405         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
36406         fpcr if value didn't change.
36407         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
36408         to fpsr if value didn't change.
36410 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36412         * nptl/tst-sem3.c: Use test-skeleton.c
36413         (main): Rename to do_test.  Use return instead of
36414         exit.
36415         * nptl/tst-sem4.c: Use test-skeleton.c
36416         (main): Rename to do_test.
36418 2014-04-22  David S. Miller  <davem@davemloft.net>
36420         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
36421         (struct sigaction): New struct member __glibc_reserved0, change
36422         type of sa_flags to int.
36424 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
36426         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
36427         (COUNT_LEADING_ZEROS_0): Define for AArch64.
36429 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36431         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
36432         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
36434 2014-04-22  Will Newton  <will.newton@linaro.org>
36435             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
36437         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
36438         (__longjmp): Add longjmp and longjmp_target SystemTap
36439         probes.
36440         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
36441         (__sigsetjmp): Add setjmp SystemTap probe.
36443 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
36445         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
36446         match manual order.
36448 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36450         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
36452         * sysdeps/powerpc/fpu/fenv_private.h
36453         (libc_feholdexcept_setroundl_ctx): Define to
36454         libc_feholdexcept_setround_ppc_ctx.
36455         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
36456         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
36457         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
36458         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
36460 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
36462         * sysdeps/aarch64/math-tests.h: New file.
36464 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
36466         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
36467         New.
36468         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36469         Check and set bit_AVX2_Usable.
36470         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
36471         macro.
36472         (bit_AVX2): Likewise.
36473         (index_AVX2_Usable): Likewise.
36474         (CPUID_AVX2): Likewise.
36475         (HAS_AVX2): Likewise.
36477 2014-04-17  Will Newton  <will.newton@linaro.org>
36479         * manual/setjmp.texi (System V contexts): Add note that
36480         calling setcontext on a context created by a call to a
36481         signal handler is undefined.  Update text to note that
36482         setcontext from a signal handler is possible but not
36483         recommended.
36485         [BZ #16629]
36486         * stdlib/tst-setcontext.c: Include signal.h.
36487         (main): Check that the signal stack before and
36488         after swapcontext is the same.
36490         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
36491         Re-implement to restore registers in user code and avoid
36492         rt_sigreturn system call.
36494 2014-04-17  Wilco  <wdijkstr@arm.com>
36496         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
36497         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
36498         * math/test-fenv.c: Skip exception trap tests on targets which only
36499         support non-stop mode.
36501 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
36502             Wilco Dijkstra  <wilco.dijkstra@arm.com>
36504         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
36505         (libc_feholdsetround_aarch64_ctx)
36506         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
36507         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
36508         (libc_feresetround_ctx, libc_feresetroundf_ctx)
36509         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
36510         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
36511         (libc_feresetround_noexl_ctx): Define.
36513 2014-04-16  Richard Henderson  <rth@redhat.com>
36515         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
36517         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
36518         unwind tables.
36520         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
36521         const from the non-libc, non-ldso copy.
36523         * sysdeps/alpha/libm-test-ulps: Regenerate.
36525 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
36526             Wilco Dijkstra  <wilco.dijkstra@arm.com>
36528         * sysdeps/aarch64/fpu/math_private.h: New file.
36530 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36532         * sysdeps/aarch64/libm-test-ulps: Regenerate.
36534 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
36536         [BZ #16275]
36537         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
36538         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
36539         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
36540         Intel MPX bound registers before _dl_profile_fixup.
36541         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
36542         registers after _dl_profile_fixup.  Save and restore bound
36543         registers bnd0/bnd1 when calling _dl_call_pltexit.
36544         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
36545         (LR_BND_OFFSET): Likewise.
36546         (LRV_BND0_OFFSET): Likewise.
36547         (LRV_BND1_OFFSET): Likewise.
36549 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36551         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
36552         to...
36553         * sysdeps/mach/hurd/i386/tls.h: ... here.
36554         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
36555         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
36556         fields.
36558 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36560         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
36562 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36564         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36566 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36568         [BZ #14770]
36569         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
36570         * sysdeps/s390/configure: Regenerate.
36572         [BZ #16824]
36573         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
36574         Set round-to-nearest internally to reduce error accumulation.
36576 2014-04-16  Alan Modra  <amodra@gmail.com>
36578         [BZ #16740]
36579         [BZ #16619]
36580         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
36581         * math/libm-test.inc (frexp_test_data): Add tests.
36582         * NEWS: Update fixed bug list.
36584 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36586         * benchtests/Makefile: Depend on libraries in build directory.
36587         (bench-math): Separate out math tests.
36588         (bench-pthread): Separate out pthread tests.
36589         (bench): Include math and pthread tests.
36591 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
36593         [BZ #16831]
36594         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
36595         _dl_debug_initialize.
36597         * configure.ac: Remove SELinux header check.
36598         * configure: Regenerate.
36599         * nscd/selinux.c (perms): Array of const char* to permission names.
36600         (nscd_request_avc_has_perm): Call security_deny_unknown to find
36601         default policy. Call string_to_security_class and string_to_av_perm to
36602         translate strings. Enforce default policy and call avs_has_perm with
36603         results of translated strings.
36605 2014-04-13  David S. Miller  <davem@davemloft.net>
36607         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36609 2014-04-12  Allan McRae  <allan@archlinux.org>
36611         [BZ #16838]
36612         * manual/string.texi (Collation Functions): Fix qsort argument
36613         order in example.
36614         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36616 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
36618         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
36619         Make the test a no-op if there are no exceptions defined.
36621 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
36623         * elf/Makefile (tests): make tst-dlopen-aout conditional on
36624         enable-hardcoded-path-in-tests
36626 2014-04-11  Will Newton  <will.newton@linaro.org>
36628         * benchtests/Makefile (extra-objs): Add json-lib.o.
36629         (bench-func): Tidy up JSON output.
36630         * benchtests/bench-skeleton.c: Include json-lib.h.
36631         (main): Use JSON library functions to do output of
36632         benchmark results.
36633         * benchtests/bench-timing-type.c (main): Output the
36634         timing type simply, leaving formatting to the user.
36635         * benchtests/json-lib.c: New file.
36636         * benchtests/json-lib.h: Likewise.
36638 2014-04-11  Torvald Riegel  <triegel@redhat.com>
36640         [BZ #15215]
36641         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
36642         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
36643         memory barriers.  Add comments.
36644         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
36645         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
36646         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
36647         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
36648         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
36649         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
36651 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36653         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
36654         * sysdeps/s390/s390-64/configure.ac: ... this ...
36655         * sysdeps/s390/configure.ac: ... to here.
36656         * sysdeps/s390/s390-32/configure: Delete file.
36657         * sysdeps/s390/s390-64/configure: Delete file.
36658         * sysdeps/s390/configure: Regenerate.
36660 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
36662         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
36664 2014-04-11  Will Newton  <will.newton@linaro.org>
36666         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
36667         to zero if it is not defined elsewhere.  (mtrim): Test
36668         the value of MALLOC_DEBUG with #if rather than #ifdef.
36670 2014-04-10 Torvald Riegel  <triegel@redhat.com>
36672         * benchtests/pthread_once-inputs: New file.
36673         * benchtests/pthread_once-source.c: New file.
36674         * benchtests/README: Update documentation.
36676 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
36677             H.J. Lu  <hongjiu.lu@intel.com>
36679         [BZ #16275]
36680         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
36681         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
36682         * sysdeps/x86_64/configure: Regenerated.
36683         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
36684         macro.
36685         (REGISTER_SAVE_RAX): Likewise.
36686         (REGISTER_SAVE_RCX): Likewise.
36687         (REGISTER_SAVE_RDX): Likewise.
36688         (REGISTER_SAVE_RSI): Likewise.
36689         (REGISTER_SAVE_RDI): Likewise.
36690         (REGISTER_SAVE_R8): Likewise.
36691         (REGISTER_SAVE_R9): Likewise.
36692         (REGISTER_SAVE_BND0): Likewise.
36693         (REGISTER_SAVE_BND1): Likewise.
36694         (REGISTER_SAVE_BND2): Likewise.
36695         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
36696         bound registers when calling _dl_fixup.
36698 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36700         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
36701         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
36702         of its definition.
36703         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
36704         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
36705         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
36706         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
36707         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
36708         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
36709         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
36711 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
36713         [BZ #15514]
36714         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
36715         pathconf(_PC_NAME_MAX).
36717 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36719         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
36720         Remove macro usage.
36721         (__PTHREAD_SPINS): Move definition to ...
36722         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36723         (__PTHREAD_SPINS): ... here.
36724         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36725         (__PTHREAD_SPIN): Likewise.
36726         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
36727         (__PTHREAD_SPIN): Likewise.
36728         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
36729         (__PTHREAD_SPIN): Likewise.
36730         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
36731         (__PTHREAD_SPIN): Likewise.
36732         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
36733         (__PTHREAD_SPIN): Likewise.
36734         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
36735         (__PTHREAD_SPIN): Likewise.
36736         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
36737         (__PTHREAD_SPIN): Likewise.
36738         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
36739         (__PTHREAD_SPIN): Likewise.
36740         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
36741         (__PTHREAD_SPIN): Likewise.
36742         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
36743         (__PTHREAD_SPIN): Likewise.
36744         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
36745         (__PTHREAD_SPIN): Likewise.
36746         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
36747         (__PTHREAD_SPIN): Likewise.
36749         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
36750         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
36751         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
36752         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
36753         imply folder.
36754         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
36755         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
36756         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
36757         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
36758         correct imply path.
36759         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
36760         strlen symbol for non multi-arch builds.
36761         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
36762         missing hidden_def and weak_alias.
36764 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
36766         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
36768 2014-04-07  Will Newton  <will.newton@linaro.org>
36770         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
36771         and contents.  [!_LIBC] Remove #ifndef and contents.
36772         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
36773         * string/memccpy.c (__memccpy): Use ANSI prototype.
36774         * string/memfrob.c (memfrob): Likewise.
36775         * string/strcoll.c (STRCOLL): Likewise.
36776         * string/strlen.c (strlen): Likewise.
36777         * string/strtok.c (STRTOK): Likewise.
36778         * string/strcat.c: Remove unused #include of memcopy.h.
36779         (strcat): Use ANSI prototype.
36780         * string/strchr.c: Remove unused #include of memcopy.h.
36781         (strchr): Use ANSI prototype.
36782         * string/strcmp.c: Remove unused #include of memcopy.h.
36783         (strcmp): Use ANSI prototype.
36784         * string/strcpy.c: Remove unused #include of memcopy.h.
36785         (strcpy): Use ANSI prototype.
36787 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36789         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
36790         * config.make.in (config-extra-cppflags): Set it from
36791         libc_extra_cppflags.
36792         * configure.ac (libc_extra_cflags): Make it accumulate over
36793         configure fragments.
36794         (libc_extra_cppflags): New flag.
36795         * configure. Regenerate.
36796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
36797         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
36798         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
36799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
36801         [BZ #16815]
36802         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
36803         result for FE_DOWNWARD rounding mode.
36804         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
36805         Likewise.
36806         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36808 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
36810         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
36811         in function argument name.
36813 2014-04-03  David Svoboda  <svoboda@cert.org>
36815         [BZ #5666]
36816         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
36817         explicitly.
36819 2014-04-03  Roland McGrath  <roland@hack.frob.com>
36821         * elf/dl-unmap-segments.h: New file.
36822         * sysdeps/generic/ldsodefs.h
36823         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
36824         * elf/dl-close.c: Include <dl-unmap-segments.h>.
36825         * elf/dl-fptr.c: Likewise.
36826         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
36827         * sysdeps/aarch64/tlsdesc.c: Likewise.
36828         * sysdeps/arm/tlsdesc.c: Likewise.
36829         * sysdeps/i386/tlsdesc.c: Likewise.
36830         * sysdeps/tile/dl-runtime.c: Likewise.
36831         * sysdeps/x86_64/tlsdesc.c: Likewise.
36832         * elf/dl-load.h: New file.
36833         * elf/dl-load.c: Include it.
36834         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
36835         Macros moved to dl-load.h.
36836         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
36837         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
36838         Use _dl_unmap_segments in place of __munmap.
36839         Break out segment-mapping loop into ...
36840         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
36842 2014-04-03  Will Newton  <will.newton@linaro.org>
36844         * elf/dl-lookup.c (do_lookup_x): Remove comment
36845         referring to nested function and move variable
36846         declarations down to before first use.
36848 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
36850         [BZ #16799]
36851         [BZ #16800]
36852         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
36853         with 0 numerator.
36854         * math/s_catanf.c (__catanf): Likewise.
36855         * math/s_catanh.c (__catanh): Likewise.
36856         * math/s_catanhf.c (__catanhf): Likewise.
36857         * math/s_catanhl.c (__catanhl): Likewise.
36858         * math/s_catanl.c (__catanl): Likewise.
36859         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
36860         by positive zero when computing -Inf result.
36861         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
36862         (catanh_test): Likewise.
36863         * sysdeps/i386/fpu/libm-test-ulps: Update.
36864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36866         [BZ #16789]
36867         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
36868         instead of using underflowing value in computing result.
36869         * math/s_clog10.c (__clog10): Likewise.
36870         * math/s_clog10f.c (__clog10f): Likewise.
36871         * math/s_clog10l.c (__clog10l): Likewise.
36872         * math/s_clogf.c (__clogf): Likewise.
36873         * math/s_clogl.c (__clogl): Likewise.
36874         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
36875         (clog10_test): Likewise.
36876         * sysdeps/i386/fpu/libm-test-ulps: Update.
36877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36879 2014-04-02  Alan Modra  <amodra@gmail.com>
36881         [BZ #16739]
36882         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
36883         output when value is near a power of two.  Use int64_t for lx and
36884         remove casts.  Use decimal rather than hex exponent constants.
36885         Don't use long double multiplication when double will suffice.
36886         * math/libm-test.inc (nextafter_test_data): Add tests.
36887         * NEWS: Add 16739 and 16786 to bug list.
36889         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
36891         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
36893 2014-04-01  Will Newton  <will.newton@linaro.org>
36895         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
36896         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
36898 2014-04-01  Florian Weimer  <fweimer@redhat.com>
36900         [BZ #13347]
36901         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
36902         * nptl/tst-setuid2.c: New file.
36903         * nptl/Makefile (xtests): Add tst-setuid2.
36905 2014-04-01  Alan Modra  <amodra@gmail.com>
36907         [BZ #16786]
36908         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
36910 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
36912         [BZ #6803]
36913         [BZ #6804]
36914         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
36915         set errno as appropriate.
36916         * math/w_scalbf.c (__scalbf): Likewise.
36917         * math/w_scalbl.c (__scalbl): Likewise.
36918         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
36919         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
36920         * math/libm-test.inc (scalb_test_data): Add errno expectations.
36921         Add more NaN tests.
36923         [BZ #16349]
36924         * math/w_atan2.c: Include <errno.h>.
36925         (__atan2): Set errno for result underflowing to zero.
36926         * math/w_atan2f.c: Include <errno.h>.
36927         (__atan2f): Set errno for result underflowing to zero.
36928         * math/w_atan2l.c: Include <errno.h>.
36929         (__atan2l): Set errno for result underflowing to zero.
36930         * math/auto-libm-test-in: Don't allow missing errno for some atan2
36931         tests.
36932         * math/auto-libm-test-out: Regenerated.
36934 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36936         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
36937         Encode instruction correctly in little endian.
36938         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
36939         Likewise.
36940         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
36941         Likewise.
36942         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
36943         Likewise.
36944         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
36945         Likewise.
36947 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
36949         [BZ #9894]
36950         * sysdeps/unix/sysv/linux/kernel-features.h
36951         [__sparc__ && !__arch64__ && !__sparc_v9__]
36952         (__ASSUME_SET_ROBUST_LIST): Do not define.
36953         [__sparc__ && !__arch64__ && !__sparc_v9__]
36954         (__ASSUME_FUTEX_LOCK_PI): Likewise.
36955         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
36956         Likewise.
36957         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36958         (__ASSUME_FUTEX_LOCK_PI): Undefine.
36959         (__ASSUME_REQUEUE_PI): Likewise.
36960         (__ASSUME_SET_ROBUST_LIST): Likewise.
36961         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36962         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
36963         Undefine.
36964         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36965         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
36966         Likewise.
36967         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
36968         Likewise.
36969         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
36970         Likewise.
36971         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36972         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
36973         Undefine.
36974         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
36975         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
36976         Likewise.
36978         [BZ #16648]
36979         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36980         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
36981         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
36983 2014-03-31  Will Newton  <will.newton@linaro.org>
36985         * benchtests/Makefile (bench): Add ffs and ffsll to list
36986         of tests.
36987         * benchtests/ffs-inputs: New file.
36988         * benchtests/ffsll-inputs: Likewise.
36990 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
36992         [BZ #16770]
36993         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
36994         too large before casting to int.
36995         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
36996         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
36997         * math/libm-test.inc (scalb_test_data): Add more tests.
36999 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37001         * benchtests/Makefile (DETAILED_OPT): New make option.
37002         (bench-func): Run benchmark program with -d if DETAILED_OPT is
37003         set.
37004         * benchtests/bench-skeleton.c: Include stdbool.h.
37005         (main): Store and print timings per input.
37006         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
37007         member to each argument value.
37008         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
37009         (_print_arg_data): Initialize per-input timing to 0.
37011         * benchtests/Makefile (timing-type): New binary.
37012         (bench-clean): Also remove bench-timing-type.
37013         (bench): New target for timing-type.
37014         (bench-func): Print output in JSON format.
37015         * benchtests/bench-skeleton.c (main): Print output in JSON
37016         format.
37017         * benchtests/bench-timing-type.c: New file.
37018         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
37019         (TIMING_PRINT_STATS): Remove.
37020         * benchtests/scripts/bench.py (_print_arg_data): Store variant
37021         name separately.
37023         * benchtests/bench-modf.c: Remove.
37024         * benchtests/modf-inputs: New inputs file.
37026 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
37028         [BZ #16362]
37029         * math/s_clog10.c (M_PI_LOG10E): New macro.
37030         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
37031         imaginary parts are 0.
37032         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
37033         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
37034         imaginary parts are 0.
37035         * math/s_clog10l.c (M_PI_LOG10El): New macro.
37036         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
37037         imaginary parts are 0.
37038         * math/libm-test.inc (clog10_test_data): Update expected results
37039         for when real and imaginary parts are 0.
37041 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
37043         * elf/dl-load.c: Finish conversion of __builtin_expect into
37044         __glibc_{un}likely.
37046 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
37048         [BZ #16348]
37049         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
37050         1+x for argument with exponent below -67.
37051         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
37052         Likewise.
37053         * math/auto-libm-test-in: Add more tests of exp.
37054         * math/auto-libm-test-out: Regenerated.
37056 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37058         [BZ #16759]
37059         * inet/getnetgrent_r.c (get_nonempty_val): New function.
37060         (nscd_getnetgrent): Use it.
37062         [BZ #16760]
37063         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
37064         of stpcpy.
37066 2014-03-27  Andi Kleen  <ak@linux.intel.com>
37068         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
37069         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37070         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37071         (lll_robust_unlock): Remove out of line section. Use cfi
37072         intrinsics.
37073         (LLL_STUB_UNWIND_INFO*): Remove.
37074         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
37075         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37076         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37077         (lll_robust_unlock): Remove out of line section. Use cfi
37078         intrinsics.
37079         (LLL_STUB_UNWIND_INFO*): Remove.
37081 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37083         [BZ #16758]
37084         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
37085         blank values.
37087 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
37089         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
37091 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
37093         [BZ #16198]
37094         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
37095         fnstenv.
37096         * math/test-fenv-preserve.c: New file.
37097         * math/Makefile (tests): Add test-fenv-preserve.
37099 2014-03-26  Will Newton <will.newton@linaro.org>
37101         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
37103 2014-03-25  Roland McGrath  <roland@hack.frob.com>
37105         * scripts/versionlist.awk: Partition the version sets and emit all
37106         GLIBC_* (sorted) before all others (sorted).
37108 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37110         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
37111         GLIBC_2.2.5 version.
37113 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37115         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
37116         calls.
37118         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
37119         previous change.
37121         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37123 2014-03-25  Andreas Schwab  <schwab@suse.de>
37125         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
37126         label to be used after in6ailist is initialized.
37128 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37130         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37131         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37133 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37135         [BZ #16357]
37136         [BZ #16599]
37137         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
37138         min_plus_half.
37139         (fp_formats): Update initializers.
37140         (init_fp_formats): Initialize new field.
37141         (output_for_one_input_case): Allow underflow for results up to
37142         min_plus_half.
37143         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
37144         * math/auto-libm-test-in: Don't mark some underflows from asin and
37145         atanh as spurious.
37146         * math/auto-libm-test-out: Regenerated.
37147         * sysdeps/i386/fpu/libm-test-ulps: Update.
37148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37150 2014-03-25  Andreas Schwab  <schwab@suse.de>
37152         * libio/Makefile (tst-ftell-partial-wide-ENV)
37153         (tst-ftell-active-handler-ENV): Define.
37155 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
37157         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
37159 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37161         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
37163 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37165         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
37166         * sysdeps/x86_64/fpu/multiarch/e_exp.c
37167         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
37169 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37171         [BZ #16634]
37172         * elf/dl-load.c (open_verify): Add mode parameter.
37173         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
37174         (open_path): Change from boolean 'secure' to complete flag 'mode'
37175         (_dl_map_object): Adjust.
37176         * elf/Makefile (tests): Add tst-dlopen-aout.
37177         * elf/tst-dlopen-aout.c: New test.
37179 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
37181         [BZ #16714]
37182         * sysdeps/unix/sysv/linux/s390/bits/stat.h
37183         (struct stat): Rename member pad0 to __glibc_reserved0.
37185         [BZ #16712]
37186         * sysdeps/s390/s390-32/bits/wordsize.h
37187         (__WORDSIZE32_SIZE_ULONG): New define.
37188         * sysdeps/s390/s390-64/bits/wordsize.h
37189         (__WORDSIZE32_SIZE_ULONG): Likewise.
37190         * sysdeps/generic/stdint.h (SIZE_MAX):
37191         Define as UL if __WORDSIZE32_SIZE_ULONG.
37193         [BZ #16713]
37194         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37195         (__glibc_reserved0): New variable.
37196         (sa_flags): Change type to int.
37198         * posix/Makefile (before-compile): Use += before-compile instead
37199         of a :=.
37201         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37202         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37204 2014-03-20  Andreas Schwab  <schwab@suse.de>
37206         [BZ #16743]
37207         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
37208         non-matching result from nscd.
37210 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37212         * scripts/bench.py: Moved to ...
37213         * benchtests/scripts/bench.py: ... here.
37214         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
37216 2014-03-24  Andreas Schwab  <schwab@suse.de>
37218         [BZ #16002]
37219         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
37220         alloca_account and account alloca use for struct in6ailist.
37222 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37224         [BZ #16284]
37225         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
37226         rounding mode to recompute results that overflow to infinity or
37227         underflow to zero.
37228         * math/auto-libm-test-in: Don't mark tests as expected to fail for
37229         bug 16284.
37230         * math/auto-libm-test-out: Regenerated.
37231         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
37232         (ccosh_test): Likewise.
37233         (csin_test_data): Use plus_oflow.
37234         (csin_test): Use ALL_RM_TEST.
37235         (csinh_test_data): Use plus_oflow.
37236         (csinh_test): Use ALL_RM_TEST.
37237         * sysdeps/i386/fpu/libm-test-ulps: Update.
37238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37240 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
37242         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
37243         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
37244         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
37246         [BZ #16731]
37247         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
37248         when x - 1 is zero.
37249         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
37250         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
37251         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
37252         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
37253         argument is 1.
37254         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
37255         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
37256         zero.
37257         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
37258         * sysdeps/i386/fpu/libm-test-ulps: Update.
37259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37261 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37263         * scripts/bench.pl: Remove file.
37264         * scripts/bench.py: New benchmark script.
37265         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
37266         * benchtests/README: Mention python dependency.
37267         * scripts/pylintrc: New file.
37268         * scripts/pylint: New file.
37270         * bits/mathdef.h: Use #ifdef instead of #if.
37271         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
37272         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37273         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
37274         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37275         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
37276         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37278 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37279             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37281         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
37282         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
37283         and strpbrk-ppc64 objects.
37284         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37285         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
37286         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
37287         multiarch strpbrk for POWER7.
37288         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
37289         multiarch strpbrk for PPC64.
37290         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
37291         ifunc selector.
37292         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
37293         strpbrk for POWER7.
37295 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37297         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
37298         (atan_test): Likewise.
37299         (atanh_test_data): Use NO_TEST_INLINE for two tests.
37300         (atanh_test): Use ALL_RM_TEST.
37301         (atan2_test_data): Likewise.
37302         (cabs_test): Likewise.
37303         (cacosh_test): Likewise.
37304         (carg_test): Likewise.
37305         (casin_test): Likewise.
37306         (casinh_test): Likewise.
37307         (cbrt_test): Likewise.
37308         (csqrt_test): Likewise.
37309         (erf_test): Likewise.
37310         (erfc_test): Likewise.
37311         (pow10_test): Likewise.
37312         (exp2_test): Likewise.
37313         (hypot_test): Likewise.
37314         (j0_test): Likewise.
37315         (j1_test): Likewise.
37316         (lgamma_test): Likewise.
37317         (gamma_test): Likewise.
37318         (sincos_test): Likewise.
37319         (tanh_test): Likewise.
37320         (y0_test): Likewise.
37321         (y1_test): Likewise.
37322         * sysdeps/i386/fpu/libm-test-ulps: Update.
37323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37325 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37327         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
37328         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
37329         and strcspn-ppc64 objects.
37330         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37331         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
37332         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
37333         multiarch strcspn for POWER7.
37334         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
37335         multiarch strcspn for PPC64.
37336         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
37337         ifunc selector.
37338         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
37339         strcspn for POWER7.
37341 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37343         * math/gen-libm-test.pl (generate_testfile): Expect only function
37344         name as argument to AUTO_TESTS_* and pass results for all rounding
37345         modes to parse_args.
37346         (parse_auto_input): Separate inputs of automatic tests from
37347         outputs before storing in %auto_tests.
37348         * math/libm-test.inc (acos_test_data): Update call to
37349         AUTO_TESTS_f_f.
37350         (acos_test): Use ALL_RM_TEST.
37351         (acos_tonearest_test_data): Remove.
37352         (acos_test_tonearest): Likewise.
37353         (acos_towardzero_test_data): Likewise.
37354         (acos_test_towardzero): Likewise.
37355         (acos_downward_test_data): Likewise.
37356         (acos_test_downward): Likewise.
37357         (acos_upward_test_data): Likewise.
37358         (acos_test_upward): Likewise.
37359         (acosh_test_data): Update call to AUTO_TESTS_f_f.
37360         (asin_test_data): Likewise.
37361         (asin_test): Use ALL_RM_TEST.
37362         (asin_tonearest_test_data): Remove.
37363         (asin_test_tonearest): Likewise.
37364         (asin_towardzero_test_data): Likewise.
37365         (asin_test_towardzero): Likewise.
37366         (asin_downward_test_data): Likewise.
37367         (asin_test_downward): Likewise.
37368         (asin_upward_test_data): Likewise.
37369         (asin_test_upward): Likewise.
37370         (asinh_test_data): Update call to AUTO_TESTS_f_f.
37371         (atan_test_data): Likewise.
37372         (atanh_test_data): Likewise.
37373         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
37374         (cabs_test_data): Update call to AUTO_TESTS_c_f.
37375         (carg_test_data): Likewise.
37376         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
37377         (ccos_test_data): Update call to AUTO_TESTS_c_c.
37378         (ccosh_test_data): Likewise.
37379         (cexp_test_data): Likewise.
37380         (clog_test_data): Likewise.
37381         (clog10_test_data): Likewise.
37382         (cos_test_data): Update call to AUTO_TESTS_f_f.
37383         (cos_test): Use ALL_RM_TEST.
37384         (cos_tonearest_test_data): Remove.
37385         (cos_test_tonearest): Likewise.
37386         (cos_towardzero_test_data): Likewise.
37387         (cos_test_towardzero): Likewise.
37388         (cos_downward_test_data): Likewise.
37389         (cos_test_downward): Likewise.
37390         (cos_upward_test_data): Likewise.
37391         (cos_test_upward): Likewise.
37392         (cosh_test_data): Update call to AUTO_TESTS_f_f.
37393         (cosh_test): Use ALL_RM_TEST.
37394         (cosh_tonearest_test_data): Remove.
37395         (cosh_test_tonearest): Likewise.
37396         (cosh_towardzero_test_data): Likewise.
37397         (cosh_test_towardzero): Likewise.
37398         (cosh_downward_test_data): Likewise.
37399         (cosh_test_downward): Likewise.
37400         (cosh_upward_test_data): Likewise.
37401         (cosh_test_upward): Likewise.
37402         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
37403         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
37404         (ctan_test_data): Likewise.
37405         (ctan_test): Use ALL_RM_TEST.
37406         (ctan_tonearest_test_data): Remove.
37407         (ctan_test_tonearest): Likewise.
37408         (ctan_towardzero_test_data): Likewise.
37409         (ctan_test_towardzero): Likewise.
37410         (ctan_downward_test_data): Likewise.
37411         (ctan_test_downward): Likewise.
37412         (ctan_upward_test_data): Likewise.
37413         (ctan_test_upward): Likewise.
37414         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
37415         (ctanh_test): Use ALL_RM_TEST.
37416         (ctanh_tonearest_test_data): Remove.
37417         (ctanh_test_tonearest): Likewise.
37418         (ctanh_towardzero_test_data): Likewise.
37419         (ctanh_test_towardzero): Likewise.
37420         (ctanh_downward_test_data): Likewise.
37421         (ctanh_test_downward): Likewise.
37422         (ctanh_upward_test_data): Likewise.
37423         (ctanh_test_upward): Likewise.
37424         (erf_test_data): Update call to AUTO_TESTS_f_f.
37425         (erfc_test_data): Likewise.
37426         (exp_test_data): Likewise.
37427         (exp_test): Use ALL_RM_TEST.
37428         (exp_tonearest_test_data): Remove.
37429         (exp_test_tonearest): Likewise.
37430         (exp_towardzero_test_data): Likewise.
37431         (exp_test_towardzero): Likewise.
37432         (exp_downward_test_data): Likewise.
37433         (exp_test_downward): Likewise.
37434         (exp_upward_test_data): Likewise.
37435         (exp_test_upward): Likewise.
37436         (exp10_test_data): Update call to AUTO_TESTS_f_f.
37437         (exp10_test): Use ALL_RM_TEST.
37438         (exp10_tonearest_test_data): Remove.
37439         (exp10_test_tonearest): Likewise.
37440         (exp10_towardzero_test_data): Likewise.
37441         (exp10_test_towardzero): Likewise.
37442         (exp10_downward_test_data): Likewise.
37443         (exp10_test_downward): Likewise.
37444         (exp10_upward_test_data): Likewise.
37445         (exp10_test_upward): Likewise.
37446         (exp2_test_data): Update call to AUTO_TESTS_f_f.
37447         (expm1_test_data): Likewise.
37448         (expm1_test): Use ALL_RM_TEST.
37449         (expm1_tonearest_test_data): Remove.
37450         (expm1_test_tonearest): Likewise.
37451         (expm1_towardzero_test_data): Likewise.
37452         (expm1_test_towardzero): Likewise.
37453         (expm1_downward_test_data): Likewise.
37454         (expm1_test_downward): Likewise.
37455         (expm1_upward_test_data): Likewise.
37456         (expm1_test_upward): Likewise.
37457         (fma_test_data): Update call to AUTO_TESTS_fff_f.
37458         (fma_test): Use ALL_RM_TEST.
37459         (fma_towardzero_test_data): Remove.
37460         (fma_test_towardzero): Likewise.
37461         (fma_downward_test_data): Likewise.
37462         (fma_test_downward): Likewise.
37463         (fma_upward_test_data): Likewise.
37464         (fma_test_upward): Likewise.
37465         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
37466         (j0_test_data): Update call to AUTO_TESTS_f_f.
37467         (j1_test_data): Likewise.
37468         (jn_test_data): Update call to AUTO_TESTS_if_f.
37469         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
37470         (log_test_data): Update call to AUTO_TESTS_f_f.
37471         (log10_test_data): Likewise.
37472         (log1p_test_data): Likewise.
37473         (log2_test_data): Likewise.
37474         (pow_test_data): Update call to AUTO_TESTS_ff_f.
37475         (pow_tonearest_test_data): Likewise.
37476         (sin_test_data): Update call to AUTO_TESTS_f_f.
37477         (sin_test): Use ALL_RM_TEST.
37478         (sin_tonearest_test_data): Remove.
37479         (sin_test_tonearest): Likewise.
37480         (sin_towardzero_test_data): Likewise.
37481         (sin_test_towardzero): Likewise.
37482         (sin_downward_test_data): Likewise.
37483         (sin_test_downward): Likewise.
37484         (sin_upward_test_data): Likewise.
37485         (sin_test_upward): Likewise.
37486         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
37487         (sinh_test_data): Update call to AUTO_TESTS_f_f.
37488         (sinh_test): Use ALL_RM_TEST.
37489         (sinh_tonearest_test_data): Remove.
37490         (sinh_test_tonearest): Likewise.
37491         (sinh_towardzero_test_data): Likewise.
37492         (sinh_test_towardzero): Likewise.
37493         (sinh_downward_test_data): Likewise.
37494         (sinh_test_downward): Likewise.
37495         (sinh_upward_test_data): Likewise.
37496         (sinh_test_upward): Likewise.
37497         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
37498         (sqrt_test): Use ALL_RM_TEST.
37499         (sqrt_tonearest_test_data): Remove.
37500         (sqrt_test_tonearest): Likewise.
37501         (sqrt_towardzero_test_data): Likewise.
37502         (sqrt_test_towardzero): Likewise.
37503         (sqrt_downward_test_data): Likewise.
37504         (sqrt_test_downward): Likewise.
37505         (sqrt_upward_test_data): Likewise.
37506         (sqrt_test_upward): Likewise.
37507         (tan_test_data): Update call to AUTO_TESTS_f_f.
37508         (tan_test): Use ALL_RM_TEST.
37509         (tan_tonearest_test_data): Remove.
37510         (tan_test_tonearest): Likewise.
37511         (tan_towardzero_test_data): Likewise.
37512         (tan_test_towardzero): Likewise.
37513         (tan_downward_test_data): Likewise.
37514         (tan_test_downward): Likewise.
37515         (tan_upward_test_data): Likewise.
37516         (tan_test_upward): Likewise.
37517         (tanh_test_data): Update call to AUTO_TESTS_f_f.
37518         (tgamma_test_data): Likewise.
37519         (y0_test_data): Likewise.
37520         (y1_test_data): Likewise.
37521         (yn_test_data): Update call to AUTO_TESTS_if_f.
37522         (main): Do not call removed functions.
37524 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
37526         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
37527         (ldexp_test_data): Remove.
37528         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
37529         scalbn_test_data.
37530         (scalb_test): Use ALL_RM_TEST.
37532 2014-03-19  Andreas Schwab  <schwab@suse.de>
37534         * nscd/nscd.service: Also invalidate netgroup cache on reload.
37536 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
37538         [BZ #16649]
37539         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37540         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
37541         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
37542         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37543         (__ASSUME_PREADV): Undefine.
37544         (__ASSUME_PWRITEV): Likewise.
37546 2014-03-18  Roland McGrath  <roland@hack.frob.com>
37548         * bits/mman-linux.h: Add comment about non-Linux use.
37549         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
37550         bits/mman-linux.h resting place.
37552         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
37553         * bits/mman-linux.h: ... here.
37555 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37557         * conform/conformtest.pl: Add standard definition when calling C
37558         preprocessor on data files.
37559         (checknamespace): Remove unused variable.
37561 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
37563         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
37564         minus_oflow, plus_uflow and minus_uflow in expected results.
37565         * math/libm-test.inc (scalbn_test_data): Add more tests of
37566         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
37567         minus_uflow.
37568         (scalbn_test): Use ALL_RM_TEST.
37569         (scalbln_test_data): Add more tests of negative arguments.  Use
37570         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
37571         (scalbln_test): Use ALL_RM_TEST.
37573 2014-03-18  Roland McGrath  <roland@hack.frob.com>
37575         * scripts/abilist.awk: Ignore symbols marked with .hidden.
37577 2014-03-18  Will Newton  <will.newton@linaro.org>
37579         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
37580         inaccurate comment.
37582 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
37584         * Makerules [!subdir] (check-abi): Exit with error status if a
37585         test failed.
37587 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
37589         * math/libm-test.inc (nearbyint_test_data): Include all tests used
37590         for rint.  Include results for all rounding modes.
37591         (nearbyint_test): Use ALL_RM_TEST.
37592         (rint_test_data): Include all tests used for nearbyint.
37594 2014-03-17  Will Newton  <will.newton@linaro.org>
37596         * nptl/sysdeps/pthread/pthread.h: Revert previous
37597         change.
37599         * sysdeps/generic/ldsodefs.h: Revert previous
37600         change.
37602         * libio/genops.c: Revert previous change.
37603         * libio/libioP.h: Likewise.
37604         * stdio-common/vfprintf.c: Likewise.
37606         * sysdeps/generic/math_private.h: Revert previous
37607         change.
37609         * sysdeps/generic/math_private.h: Check whether
37610         HAVE_RM_CTX is defined with #ifdef rather
37611         than #if.
37613         * argp/argp-fmtstream.h: Check whether
37614         __STRICT_ANSI__ is defined with #ifdef rather
37615         than #if.
37616         * argp/argp.h: Likewise.
37618         * libio/genops.c: Check whether
37619         _IO_JUMPS_OFFSET is defined with #ifdef rather
37620         than #if.
37621         * libio/libioP.h: Likewise.
37622         * stdio-common/vfprintf.c: Likewise.
37624         * sysdeps/generic/ldsodefs.h: Check whether
37625         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
37626         than #if.
37628         * nptl/sysdeps/pthread/pthread.h: Check
37629         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
37630         its value.
37632 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37634         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
37635         setting O_APPEND.
37636         * libio/tst-ftell-active-handler.c (do_append_test): Add a
37637         test case.
37639         [BZ #16680]
37640         * libio/fileops.c (_IO_file_open): Seek to end of file but
37641         don't cache the offset.
37642         (get_file_offset): Remove function.
37643         (do_ftell): Use cached offset when available.
37644         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
37645         don't cache the offset.
37646         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
37647         case.
37648         (do_one_test): Call it.
37649         (do_ftell_test): Fix up expected old offset for a+ mode.
37650         * libio/wfileops.c (do_ftell_wide): Used cached offset when
37651         available.
37653         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
37654         up test status with function return status.
37655         (do_write_test): Likewise.
37656         (do_append_test): Likewise.
37658         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
37659         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
37660         Remove.
37662 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
37664         * math/gen-libm-test.pl (parse_args): Handle results specified for
37665         each rounding mode separately.
37666         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
37667         tests and results from lrint_tonearest_test_data,
37668         lrint_towardzero_test_data, lrint_downward_test_data and
37669         lrint_upward_test_data.
37670         (lrint_test): Use ALL_RM_TEST.
37671         (lrint_tonearest_test_data): Remove.
37672         (lrint_test_tonearest): Likewise.
37673         (lrint_towardzero_test_data): Likewise.
37674         (lrint_test_towardzero): Likewise.
37675         (lrint_downward_test_data): Likewise.
37676         (lrint_test_downward): Likewise.
37677         (lrint_upward_test_data): Likewise.
37678         (lrint_test_upward): Likewise.
37679         (llrint_test_data): Merge in per-rounding-mode tests and results
37680         from llrint_tonearest_test_data, llrint_towardzero_test_data,
37681         llrint_downward_test_data and llrint_upward_test_data.
37682         (llrint_test): Use ALL_RM_TEST.
37683         (llrint_tonearest_test_data): Remove.
37684         (llrint_test_tonearest): Likewise.
37685         (llrint_towardzero_test_data): Likewise.
37686         (llrint_test_towardzero): Likewise.
37687         (llrint_downward_test_data): Likewise.
37688         (llrint_test_downward): Likewise.
37689         (llrint_upward_test_data): Likewise.
37690         (llrint_test_upward): Likewise.
37691         (rint_test_data): Merge in per-rounding-mode tests and results
37692         from rint_tonearest_test_data, rint_towardzero_test_data,
37693         rint_downward_test_data and rint_upward_test_data.  Add
37694         per-rounding-mode results for tests not in those arrays.
37695         (rint_test): Use ALL_RM_TEST.
37696         (rint_tonearest_test_data): Remove.
37697         (rint_test_tonearest): Likewise.
37698         (rint_towardzero_test_data): Likewise.
37699         (rint_test_towardzero): Likewise.
37700         (rint_downward_test_data): Likewise.
37701         (rint_test_downward): Likewise.
37702         (rint_upward_test_data): Likewise.
37703         (rint_test_upward): Likewise.
37704         (main): Don't call removed functions.
37706 2014-03-14  Roland McGrath  <roland@hack.frob.com>
37708         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
37709         "Compiled on ..." crapola.  It is anti-useful.
37711 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
37713         * scripts/evaluate-test.sh: Handle fourth argument to determine
37714         whether test run should stop on failure.
37715         * Makeconfig (stop-on-test-failure): New variable.
37716         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
37717         $(stop-on-test-failure).
37718         * Makefile (tests): Give a summary of results from testing and
37719         exit with failure status if they include an ERROR or FAIL.
37720         (xtests): Likewise.
37721         * manual/install.texi (Configuring and compiling): Mention
37722         stop-on-test-failure=y.
37723         * INSTALL: Regenerated.
37725 2014-03-14  Roland McGrath  <roland@hack.frob.com>
37727         * scripts/versionlist.awk: New file.
37728         * Makerules [$(build-shared) = yes]
37729         (postclean-generated): Add Versions.def, not Versions.def.v and
37730         Versions.def.v.i.
37731         ($(common-objpfx)Versions.def.v.i): Target removed.
37732         ($(common-objpfx)Versions.def): New target.
37733         ($(common-objpfx)Versions.all): Depend on that rather that
37734         $(common-objpfx)Versions.def.v.
37735         * Versions.def: File removed.
37737         * Makeconfig (+gccwarn): Add -Wundef.
37738         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
37739         a dl-sysdep.h breaking its contract.
37740         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
37741         * include/stackinfo.h: New file.
37742         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
37743         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
37744         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
37745         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
37746         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
37747         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
37748         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37749         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37750         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37751         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37752         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37753         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
37754         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37755         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37756         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37758 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37760         [BZ #16707]
37761         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
37762         implementation.
37763         * math/libm-test.inc (round_test_data): Add more tests.
37765         [BZ #16706]
37766         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
37767         implementation.
37768         * math/libm-test.inc (nearbyint_test_data): Add more tests.
37770         [BZ #16701]
37771         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
37772         implementation.
37773         * math/libm-test.inc (ceil_test_data): Add more tests.
37775         * math/libm-test.inc (trunc_test_data): Add more tests related to
37776         BZ#16414.
37778 2014-03-14  Roland McGrath  <roland@hack.frob.com>
37780         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
37781         with #if rather than #ifdef.
37782         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
37784 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
37786         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
37787         first.  Disable AVX-512 GCC support if assembler doesn't support
37788         it.
37789         * sysdeps/x86_64/configure: Regenerated.
37791 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
37793         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
37794         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
37795         (__old_pthread_attr_setstack): Likewise.
37796         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
37797         [!_STACK_GROWS_DOWN]: Likewise.
37799 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
37801         * config.make.in (have-bash2): Delete.
37802         * configure.ac (libc_cv_have_bash2): Delete.
37803         * configure: Regenerate.
37804         * elf/Makefile (common-ldd-rewrite): Rename to ...
37805         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
37806         (sh-ldd-rewrite): Delete.
37807         (bash-ldd-rewrite): Delete.
37808         (have-bash2): Delete checks.
37809         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
37810         ldd-rewrite.
37812         * config.make.in (have-ksh): Delete.
37813         (KSH): Delete.
37814         * configure.ac (libc_cv_have_ksh): Delete.
37815         * configure: Regenerate.
37817         * elf/Makefile: Delete $(have-ksh) check.
37818         ($(objpfx)sotruss): Change KSH to BASH.
37819         * elf/sotruss.ksh: Rename to ...
37820         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
37821         function style to match POSIX.  Drop ksh vim mode setting.
37823         * manual/time.texi (Specifying the Time Zone with TZ): Change
37824         Tuesday to Thursday.
37826         * debug/tst-longjmp_chk2.c: Update header comment.
37827         (stackoverflow_handler): Add comment.  Call assert on pass value.
37829 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
37831         [BZ #16194]
37832         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
37833         (HAVE_AVX512_ASM_SUPPORT): Likewise.
37834         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
37835         (La_x86_64_vector): Add zmm.
37836         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
37837         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
37838         ($(objpfx)tst-audit10): New target.
37839         ($(objpfx)tst-audit10.out): Likewise.
37840         (tst-audit10-ENV): New.
37841         (AVX512-CFLAGS): Likewise.
37842         (CFLAGS-tst-audit10.c): Likewise.
37843         (CFLAGS-tst-auditmod10a.c): Likewise.
37844         (CFLAGS-tst-auditmod10b.c): Likewise.
37845         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
37846         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
37847         * sysdeps/x86_64/configure: Regenerated.
37848         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
37849         AVX-512 zmm register support.
37850         (_dl_x86_64_save_sse): Likewise.
37851         (_dl_x86_64_restore_sse): Likewise.
37852         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
37853         size vector registers.
37854         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
37855         (ZMM_SIZE): Likewise.
37856         * sysdeps/x86_64/tst-audit10.c: New file.
37857         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
37858         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
37860 2014-03-13  Roland McGrath  <roland@hack.frob.com>
37862         * configure.ac (HAVE_EHDR_START): New check.
37863         * configure: Regenerated.
37864         * config.h.in (HAVE_EHDR_START): New #undef.
37865         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
37866         assuming the lowest-addressed segment maps the start of the file.
37868 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
37870         * INSTALL: Regenerated.
37872 2014-03-13  Will Newton  <will.newton@linaro.org>
37874         * manual/setjmp.texi (System V contexts): Improve
37875         clarity and grammar of documentation.
37877 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
37879         [BZ #16381]
37880         * elf/Makefile (tests): Add tst-pie2.
37881         (tests-pie): Add tst-pie2.
37882         * elf/tst-pie2.c: New file.
37883         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
37884         for ET_EXEC.
37885         * elf/rtld.c (map_doit): Load executable as lt_executable.
37886         (dl_main): Likewise.
37888 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
37890         [BZ #16642]
37891         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37892         (__ASSUME_PSELECT): Undefine.
37894 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37896         [BZ #16689]
37897         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
37898         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
37899         static build.
37900         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
37901         selector for static builds.
37903 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37905         [BZ #16695]
37906         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
37907         key in the buffer.
37909 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37911         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
37912         IFUNC selector for static builds.
37914 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
37916         * sysdeps/mips/math_private.h [__mips_hard_float]
37917         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
37918         libc_feresetround_mips_ctx.
37919         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
37920         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
37921         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
37923         [BZ #16677]
37924         * math/s_nextafter.c (__nextafter): Do not return value from
37925         overflowing computation.
37926         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
37927         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
37928         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
37929         Likewise.
37930         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
37931         Likewise.
37932         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
37933         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
37935 2014-03-11  Roland McGrath  <roland@hack.frob.com>
37937         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
37938         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
37939         Move sfi_sp use from the load-multiple (that no longer sets sp) to
37940         the new mov targetting sp.
37942 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37944         [BZ #16683]
37945         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
37946         Define it for static builds as well.
37947         (NO_BZERO_IMPL): Likewise.
37949 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37951         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
37952         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
37953         multiarch strspn for PPC64.
37954         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
37955         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
37956         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37957         (__libc_ifunc_impl_list): Likewise.
37958         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
37959         multiarch optimizations
37960         * string/strspn.c (strspn): Using macro to redefine symbol name.
37962 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37963             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37965         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
37966         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
37967         multiarch strncat for PPC64.
37968         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
37969         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
37970         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37971         (__libc_ifunc_impl_list): Likewise.
37972         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
37973         multiarch optimizations
37975 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37977         [BZ #16639]
37978         * nscd/nscd.service: Make service type forking.
37980 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37982         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
37983         sign in non default rounding modes.
37984         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
37986 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
37988         * math/libm-test.inc (ALL_RM_TEST): New macro.
37989         (ceil_test): Use ALL_RM_TEST.
37990         (cimag_test): Likewise.
37991         (conj_test): Likewise.
37992         (copysign_test): Likewise.
37993         (cproj_test): Likewise.
37994         (creal_test): Likewise.
37995         (fabs_test): Likewise.
37996         (floor_test): Likewise.
37997         (fmax_test): Likewise.
37998         (fmin_test): Likewise.
37999         (fmod_test): Likewise.
38000         (fpclassify_test): Likewise.
38001         (frexp_test): Likewise.
38002         (ilogb_test): Likewise.
38003         (isfinite_test): Likewise.
38004         (finite_test): Likewise.
38005         (isgreater_test): Likewise.
38006         (isgreaterequal_test): Likewise.
38007         (isinf_test): Likewise.
38008         (isless_test): Likewise.
38009         (islessequal_test): Likewise.
38010         (islessgreater_test): Likewise.
38011         (isnan_test): Likewise.
38012         (isnormal_test): Likewise.
38013         (issignaling_test): Likewise.
38014         (isunordered_test): Likewise.
38015         (logb_test): Likewise.
38016         (logb_downward_test_data): Remove.
38017         (logb_test_downward): Likewise.
38018         (lround_test): Use ALL_RM_TEST.
38019         (llround_test): Likewise.
38020         (modf_test): Likewise.
38021         (nexttoward_test): Likewise.
38022         (remainder_test): Likewise.
38023         (drem_test): Likewise.
38024         (remainder_tonearest_test_data): Likewise.
38025         (remainder_test_tonearest): Likewise.
38026         (drem_test_tonearest): Likewise.
38027         (remainder_towardzero_test_data): Likewise.
38028         (remainder_test_towardzero): Likewise.
38029         (drem_test_towardzero): Likewise.
38030         (remainder_downward_test_data): Likewise.
38031         (remainder_test_downward): Likewise.
38032         (drem_test_downward): Likewise.
38033         (remainder_upward_test_data): Likewise.
38034         (remainder_test_upward): Likewise.
38035         (drem_test_upward): Likewise.
38036         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
38037         (round_test): Use ALL_RM_TEST.
38038         (signbit_test): Likewise.
38039         (trunc_test): Likewise.
38040         (significand_test): Likewise.
38041         (main): Don't call removed functions.
38043 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38045         [BZ #16674]
38046         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
38047         || __USE_XOPEN2K8].
38048         (ILL_ILLOPN): Likewise.
38049         (ILL_ILLADR): Likewise.
38050         (ILL_ILLTRP): Likewise.
38051         (ILL_PRVOPC): Likewise.
38052         (ILL_PRVREG): Likewise.
38053         (ILL_COPROC): Likewise.
38054         (ILL_BADSTK): Likewise.
38055         (FPE_INTDIV): Likewise.
38056         (FPE_INTOVF): Likewise.
38057         (FPE_FLTDIV): Likewise.
38058         (FPE_FLTOVF): Likewise.
38059         (FPE_FLTUND): Likewise.
38060         (FPE_FLTRES): Likewise.
38061         (FPE_FLTINV): Likewise.
38062         (FPE_FLTSUB): Likewise.
38063         (SEGV_MAPERR): Likewise.
38064         (SEGV_ACCERR): Likewise.
38065         (BUS_ADRALN): Likewise.
38066         (BUS_ADRERR): Likewise.
38067         (BUS_OBJERR): Likewise.
38068         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38069         (TRAP_TRACE): Likewise.
38070         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38071         __USE_XOPEN2K8].
38072         (CLD_KILLED): Likewise.
38073         (CLD_DUMPED): Likewise.
38074         (CLD_TRAPPED): Likewise.
38075         (CLD_STOPPED): Likewise.
38076         (CLD_CONTINUED): Likewise.
38077         (POLL_IN): Likewise.
38078         (POLL_OUT): Likewise.
38079         (POLL_MSG): Likewise.
38080         (POLL_ERR): Likewise.
38081         (POLL_PRI): Likewise.
38082         (POLL_HUP): Likewise.
38083         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
38084         Likewise.
38085         (ILL_ILLOPN): Likewise.
38086         (ILL_ILLADR): Likewise.
38087         (ILL_ILLTRP): Likewise.
38088         (ILL_PRVOPC): Likewise.
38089         (ILL_PRVREG): Likewise.
38090         (ILL_COPROC): Likewise.
38091         (ILL_BADSTK): Likewise.
38092         (FPE_INTDIV): Likewise.
38093         (FPE_INTOVF): Likewise.
38094         (FPE_FLTDIV): Likewise.
38095         (FPE_FLTOVF): Likewise.
38096         (FPE_FLTUND): Likewise.
38097         (FPE_FLTRES): Likewise.
38098         (FPE_FLTINV): Likewise.
38099         (FPE_FLTSUB): Likewise.
38100         (SEGV_MAPERR): Likewise.
38101         (SEGV_ACCERR): Likewise.
38102         (BUS_ADRALN): Likewise.
38103         (BUS_ADRERR): Likewise.
38104         (BUS_OBJERR): Likewise.
38105         (BUS_MCEERR_AR): Likewise.
38106         (BUS_MCEERR_AO): Likewise.
38107         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38108         (TRAP_TRACE): Likewise.
38109         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38110         __USE_XOPEN2K8].
38111         (CLD_KILLED): Likewise.
38112         (CLD_DUMPED): Likewise.
38113         (CLD_TRAPPED): Likewise.
38114         (CLD_STOPPED): Likewise.
38115         (CLD_CONTINUED): Likewise.
38116         (POLL_IN): Likewise.
38117         (POLL_OUT): Likewise.
38118         (POLL_MSG): Likewise.
38119         (POLL_ERR): Likewise.
38120         (POLL_PRI): Likewise.
38121         (POLL_HUP): Likewise.
38122         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
38123         (ILL_ILLOPN): Likewise.
38124         (ILL_ILLADR): Likewise.
38125         (ILL_ILLTRP): Likewise.
38126         (ILL_PRVOPC): Likewise.
38127         (ILL_PRVREG): Likewise.
38128         (ILL_COPROC): Likewise.
38129         (ILL_BADSTK): Likewise.
38130         (FPE_INTDIV): Likewise.
38131         (FPE_INTOVF): Likewise.
38132         (FPE_FLTDIV): Likewise.
38133         (FPE_FLTOVF): Likewise.
38134         (FPE_FLTUND): Likewise.
38135         (FPE_FLTRES): Likewise.
38136         (FPE_FLTINV): Likewise.
38137         (FPE_FLTSUB): Likewise.
38138         (SEGV_MAPERR): Likewise.
38139         (SEGV_ACCERR): Likewise.
38140         (BUS_ADRALN): Likewise.
38141         (BUS_ADRERR): Likewise.
38142         (BUS_OBJERR): Likewise.
38143         (BUS_MCEERR_AR): Likewise.
38144         (BUS_MCEERR_AO): Likewise.
38145         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38146         (TRAP_TRACE): Likewise.
38147         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38148         __USE_XOPEN2K8].
38149         (CLD_KILLED): Likewise.
38150         (CLD_DUMPED): Likewise.
38151         (CLD_TRAPPED): Likewise.
38152         (CLD_STOPPED): Likewise.
38153         (CLD_CONTINUED): Likewise.
38154         (POLL_IN): Likewise.
38155         (POLL_OUT): Likewise.
38156         (POLL_MSG): Likewise.
38157         (POLL_ERR): Likewise.
38158         (POLL_PRI): Likewise.
38159         (POLL_HUP): Likewise.
38160         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
38161         Likewise.
38162         (ILL_ILLOPN): Likewise.
38163         (ILL_ILLADR): Likewise.
38164         (ILL_ILLTRP): Likewise.
38165         (ILL_PRVOPC): Likewise.
38166         (ILL_PRVREG): Likewise.
38167         (ILL_COPROC): Likewise.
38168         (ILL_BADSTK): Likewise.
38169         (ILL_BADIADDR): Likewise.
38170         (ILL_BREAK): Likewise.
38171         (FPE_INTDIV): Likewise.
38172         (FPE_INTOVF): Likewise.
38173         (FPE_FLTDIV): Likewise.
38174         (FPE_FLTOVF): Likewise.
38175         (FPE_FLTUND): Likewise.
38176         (FPE_FLTRES): Likewise.
38177         (FPE_FLTINV): Likewise.
38178         (FPE_FLTSUB): Likewise.
38179         (FPE_DECOVF): Likewise.
38180         (FPE_DECDIV): Likewise.
38181         (FPE_DECERR): Likewise.
38182         (FPE_INVASC): Likewise.
38183         (FPE_INVDEC): Likewise.
38184         (SEGV_MAPERR): Likewise.
38185         (SEGV_ACCERR): Likewise.
38186         (SEGV_PSTKOVF): Likewise.
38187         (BUS_ADRALN): Likewise.
38188         (BUS_ADRERR): Likewise.
38189         (BUS_OBJERR): Likewise.
38190         (BUS_MCEERR_AR): Likewise.
38191         (BUS_MCEERR_AO): Likewise.
38192         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38193         (TRAP_TRACE): Likewise.
38194         (TRAP_BRANCH): Likewise.
38195         (TRAP_HWBKPT): Likewise.
38196         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38197         __USE_XOPEN2K8].
38198         (CLD_KILLED): Likewise.
38199         (CLD_DUMPED): Likewise.
38200         (CLD_TRAPPED): Likewise.
38201         (CLD_STOPPED): Likewise.
38202         (CLD_CONTINUED): Likewise.
38203         (POLL_IN): Likewise.
38204         (POLL_OUT): Likewise.
38205         (POLL_MSG): Likewise.
38206         (POLL_ERR): Likewise.
38207         (POLL_PRI): Likewise.
38208         (POLL_HUP): Likewise.
38209         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
38210         (ILL_ILLOPN): Likewise.
38211         (ILL_ILLADR): Likewise.
38212         (ILL_ILLTRP): Likewise.
38213         (ILL_PRVOPC): Likewise.
38214         (ILL_PRVREG): Likewise.
38215         (ILL_COPROC): Likewise.
38216         (ILL_BADSTK): Likewise.
38217         (FPE_INTDIV): Likewise.
38218         (FPE_INTOVF): Likewise.
38219         (FPE_FLTDIV): Likewise.
38220         (FPE_FLTOVF): Likewise.
38221         (FPE_FLTUND): Likewise.
38222         (FPE_FLTRES): Likewise.
38223         (FPE_FLTINV): Likewise.
38224         (FPE_FLTSUB): Likewise.
38225         (SEGV_MAPERR): Likewise.
38226         (SEGV_ACCERR): Likewise.
38227         (BUS_ADRALN): Likewise.
38228         (BUS_ADRERR): Likewise.
38229         (BUS_OBJERR): Likewise.
38230         (BUS_MCEERR_AR): Likewise.
38231         (BUS_MCEERR_AO): Likewise.
38232         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38233         (TRAP_TRACE): Likewise.
38234         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38235         __USE_XOPEN2K8].
38236         (CLD_KILLED): Likewise.
38237         (CLD_DUMPED): Likewise.
38238         (CLD_TRAPPED): Likewise.
38239         (CLD_STOPPED): Likewise.
38240         (CLD_CONTINUED): Likewise.
38241         (POLL_IN): Likewise.
38242         (POLL_OUT): Likewise.
38243         (POLL_MSG): Likewise.
38244         (POLL_ERR): Likewise.
38245         (POLL_PRI): Likewise.
38246         (POLL_HUP): Likewise.
38247         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
38248         (ILL_ILLOPN): Likewise.
38249         (ILL_ILLADR): Likewise.
38250         (ILL_ILLTRP): Likewise.
38251         (ILL_PRVOPC): Likewise.
38252         (ILL_PRVREG): Likewise.
38253         (ILL_COPROC): Likewise.
38254         (ILL_BADSTK): Likewise.
38255         (FPE_INTDIV): Likewise.
38256         (FPE_INTOVF): Likewise.
38257         (FPE_FLTDIV): Likewise.
38258         (FPE_FLTOVF): Likewise.
38259         (FPE_FLTUND): Likewise.
38260         (FPE_FLTRES): Likewise.
38261         (FPE_FLTINV): Likewise.
38262         (FPE_FLTSUB): Likewise.
38263         (SEGV_MAPERR): Likewise.
38264         (SEGV_ACCERR): Likewise.
38265         (BUS_ADRALN): Likewise.
38266         (BUS_ADRERR): Likewise.
38267         (BUS_OBJERR): Likewise.
38268         (BUS_MCEERR_AR): Likewise.
38269         (BUS_MCEERR_AO): Likewise.
38270         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38271         (TRAP_TRACE): Likewise.
38272         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38273         __USE_XOPEN2K8].
38274         (CLD_KILLED): Likewise.
38275         (CLD_DUMPED): Likewise.
38276         (CLD_TRAPPED): Likewise.
38277         (CLD_STOPPED): Likewise.
38278         (CLD_CONTINUED): Likewise.
38279         (POLL_IN): Likewise.
38280         (POLL_OUT): Likewise.
38281         (POLL_MSG): Likewise.
38282         (POLL_ERR): Likewise.
38283         (POLL_PRI): Likewise.
38284         (POLL_HUP): Likewise.
38285         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
38286         (ILL_ILLOPN): Likewise.
38287         (ILL_ILLADR): Likewise.
38288         (ILL_ILLTRP): Likewise.
38289         (ILL_PRVOPC): Likewise.
38290         (ILL_PRVREG): Likewise.
38291         (ILL_COPROC): Likewise.
38292         (ILL_BADSTK): Likewise.
38293         (FPE_INTDIV): Likewise.
38294         (FPE_INTOVF): Likewise.
38295         (FPE_FLTDIV): Likewise.
38296         (FPE_FLTOVF): Likewise.
38297         (FPE_FLTUND): Likewise.
38298         (FPE_FLTRES): Likewise.
38299         (FPE_FLTINV): Likewise.
38300         (FPE_FLTSUB): Likewise.
38301         (SEGV_MAPERR): Likewise.
38302         (SEGV_ACCERR): Likewise.
38303         (BUS_ADRALN): Likewise.
38304         (BUS_ADRERR): Likewise.
38305         (BUS_OBJERR): Likewise.
38306         (BUS_MCEERR_AR): Likewise.
38307         (BUS_MCEERR_AO): Likewise.
38308         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38309         (TRAP_TRACE): Likewise.
38310         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38311         __USE_XOPEN2K8].
38312         (CLD_KILLED): Likewise.
38313         (CLD_DUMPED): Likewise.
38314         (CLD_TRAPPED): Likewise.
38315         (CLD_STOPPED): Likewise.
38316         (CLD_CONTINUED): Likewise.
38317         (POLL_IN): Likewise.
38318         (POLL_OUT): Likewise.
38319         (POLL_MSG): Likewise.
38320         (POLL_ERR): Likewise.
38321         (POLL_PRI): Likewise.
38322         (POLL_HUP): Likewise.
38323         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
38324         (ILL_ILLOPN): Likewise.
38325         (ILL_ILLADR): Likewise.
38326         (ILL_ILLTRP): Likewise.
38327         (ILL_PRVOPC): Likewise.
38328         (ILL_PRVREG): Likewise.
38329         (ILL_COPROC): Likewise.
38330         (ILL_BADSTK): Likewise.
38331         (ILL_DBLFLT): Likewise.
38332         (ILL_HARDWALL): Likewise.
38333         (FPE_INTDIV): Likewise.
38334         (FPE_INTOVF): Likewise.
38335         (FPE_FLTDIV): Likewise.
38336         (FPE_FLTOVF): Likewise.
38337         (FPE_FLTUND): Likewise.
38338         (FPE_FLTRES): Likewise.
38339         (FPE_FLTINV): Likewise.
38340         (FPE_FLTSUB): Likewise.
38341         (SEGV_MAPERR): Likewise.
38342         (SEGV_ACCERR): Likewise.
38343         (BUS_ADRALN): Likewise.
38344         (BUS_ADRERR): Likewise.
38345         (BUS_OBJERR): Likewise.
38346         (BUS_MCEERR_AR): Likewise.
38347         (BUS_MCEERR_AO): Likewise.
38348         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38349         (TRAP_TRACE): Likewise.
38350         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38351         __USE_XOPEN2K8].
38352         (CLD_KILLED): Likewise.
38353         (CLD_DUMPED): Likewise.
38354         (CLD_TRAPPED): Likewise.
38355         (CLD_STOPPED): Likewise.
38356         (CLD_CONTINUED): Likewise.
38357         (POLL_IN): Likewise.
38358         (POLL_OUT): Likewise.
38359         (POLL_MSG): Likewise.
38360         (POLL_ERR): Likewise.
38361         (POLL_PRI): Likewise.
38362         (POLL_HUP): Likewise.
38363         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
38364         (ILL_ILLOPN): Likewise.
38365         (ILL_ILLADR): Likewise.
38366         (ILL_ILLTRP): Likewise.
38367         (ILL_PRVOPC): Likewise.
38368         (ILL_PRVREG): Likewise.
38369         (ILL_COPROC): Likewise.
38370         (ILL_BADSTK): Likewise.
38371         (FPE_INTDIV): Likewise.
38372         (FPE_INTOVF): Likewise.
38373         (FPE_FLTDIV): Likewise.
38374         (FPE_FLTOVF): Likewise.
38375         (FPE_FLTUND): Likewise.
38376         (FPE_FLTRES): Likewise.
38377         (FPE_FLTINV): Likewise.
38378         (FPE_FLTSUB): Likewise.
38379         (SEGV_MAPERR): Likewise.
38380         (SEGV_ACCERR): Likewise.
38381         (BUS_ADRALN): Likewise.
38382         (BUS_ADRERR): Likewise.
38383         (BUS_OBJERR): Likewise.
38384         (BUS_MCEERR_AR): Likewise.
38385         (BUS_MCEERR_AO): Likewise.
38386         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38387         (TRAP_TRACE): Likewise.
38388         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38389         __USE_XOPEN2K8].
38390         (CLD_KILLED): Likewise.
38391         (CLD_DUMPED): Likewise.
38392         (CLD_TRAPPED): Likewise.
38393         (CLD_STOPPED): Likewise.
38394         (CLD_CONTINUED): Likewise.
38395         (POLL_IN): Likewise.
38396         (POLL_OUT): Likewise.
38397         (POLL_MSG): Likewise.
38398         (POLL_ERR): Likewise.
38399         (POLL_PRI): Likewise.
38400         (POLL_HUP): Likewise.
38401         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
38402         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
38404         [BZ #16670]
38405         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
38406         before #include of <time.h>.
38407         [!__USE_XOPEN2K] (__need_timespec): Likewise.
38408         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
38409         (test-xfail-UNIX98/sched.h/conform): Likewise.
38411 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38413         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
38414         error absence of trapping exception support.
38415         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
38417 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38419         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
38420         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
38421         * timezone/Makefile (testdata): Move definition above include of
38422         Rules.
38423         (test-zones): New variable.
38424         (tests-special): Add zone files.
38425         (build-testdata): Use $(evaluate-test).
38427         * elf/Makefile (tests-special): Rename tests to end with .out.
38428         ($(objpfx)noload-mem): Likewise.
38429         ($(objpfx)tst-leaks1-mem): Likewise.
38430         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
38431         * iconv/Makefile (xtests-special): Change test-iconvconfig to
38432         $(objpfx)test-iconvconfig.out.
38433         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
38434         set -e inside subshell and redirect output to file.
38435         * iconvdata/Makefile (generated): Rename tests to end with .out.
38436         Correct type.
38437         (tests-special): Rename tests to end with .out.
38438         ($(objpfx)mtrace-tst-loading): Likewise.
38439         * intl/Makefile (generated): Likewise.
38440         (tests-special): Likewise.
38441         ($(objpfx)mtrace-tst-gettext): Likewise.
38442         * misc/Makefile (generated): Likewise.
38443         (tests-special): Likewise.
38444         ($(objpfx)tst-error1-mem): Likewise.
38445         * nptl/Makefile (tests-special): Likewise.
38446         ($(objpfx)tst-stack3-mem): Likewise.
38447         (generated): Likewise.
38448         * posix/Makefile (generated): Likewise.
38449         (tests-special): Likewise.
38450         (xtests-special): Likewise.
38451         ($(objpfx)tst-fnmatch-mem): Likewise.
38452         ($(objpfx)bug-regex2-mem): Likewise.
38453         ($(objpfx)bug-regex14-mem): Likewise.
38454         ($(objpfx)bug-regex21-mem): Likewise.
38455         ($(objpfx)bug-regex31-mem): Likewise.
38456         ($(objpfx)tst-vfork3-mem): Likewise.
38457         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
38458         ($(objpfx)tst-pcre-mem): Likewise.
38459         ($(objpfx)tst-boost-mem): Likewise.
38460         ($(objpfx)bug-ga2-mem): Likewise.
38461         ($(objpfx)bug-glob2-mem): Likewise.
38462         * resolv/Makefile (generate): Likewise.
38463         (tests-special): Likewise.
38464         (xtests-special): Likewise.
38465         (generated): Likewise.
38466         ($(objpfx)mtrace-tst-leaks): Likewise.
38467         ($(objpfx)mtrace-tst-leaks2): Likewise.
38469         * scripts/merge-test-results.sh: New file.
38470         * Makefile (tests-special-notdir): New variable.
38471         (tests): Run merge-test-results.sh.
38472         (xtests): Likewise.
38473         * Rules (tests-special-notdir): New variable.
38474         (xtests-special-notdir): Likewise.
38475         (tests): Run merge-test-results.sh
38476         (xtests): Likewise.
38478         * Makeconfig (test-xfail-name): New variable.
38479         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
38480         compute variable name for expected failures.
38481         * conform/Makefile (conformtest-headers-data): New variable.
38482         (conformtest-standards): Likewise.
38483         (conformtest-headers-ISO): Likewise.
38484         (conformtest-headers-ISO99): Likewise.
38485         (conformtest-headers-ISO11): Likewise.
38486         (conformtest-headers-POSIX): Likewise.
38487         (conformtest-headers-XPG3): Likewise.
38488         (conformtest-headers-XPG4): Likewise.
38489         (conformtest-headers-UNIX98): Likewise.
38490         (conformtest-headers-XOPEN2K): Likewise.
38491         (conformtest-headers-POSIX2008): Likewise.
38492         (conformtest-headers-XOPEN2K8): Likewise.
38493         (conformtest-header-list-base): Likewise.
38494         (conformtest-header-list-tests): Likewise.
38495         (conformtest-header-base): Likewise.
38496         (conformtest-header-tests): Likewise.
38497         (tests-special): Add $(conformtest-header-list-tests).  If
38498         [$(fast-check) && !$(cross-compiling)], add
38499         $(conformtest-header-tests) instead of
38500         $(objpfx)run-conformtest.out.
38501         (generated): Add $(conformtest-header-list-base).  If
38502         [$(fast-check) && !$(cross-compiling)], add
38503         $(conformtest-header-base).  Remove previous setting.
38504         ($(conformtest-header-list-tests)): New target.
38505         (test-xfail-run-conformtest): Remove variable.
38506         ($(objpfx)run-conformtest.out): Remove target.
38507         (test-xfail-ISO11/complex.h/conform): New variable.
38508         (test-xfail-ISO11/stdalign.h/conform): Likewise.
38509         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
38510         (test-xfail-XPG3/varargs.h/conform): Likewise.
38511         (test-xfail-XPG4/varargs.h/conform): Likewise.
38512         (test-xfail-UNIX98/varargs.h/conform): Likewise.
38513         (test-xfail-XPG4/ndbm.h/conform): Likewise.
38514         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
38515         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
38516         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
38517         (test-xfail-XPG3/fcntl.h/conform): Likewise.
38518         (test-xfail-XPG3/ftw.h/conform): Likewise.
38519         (test-xfail-XPG3/grp.h/conform): Likewise.
38520         (test-xfail-XPG3/langinfo.h/conform): Likewise.
38521         (test-xfail-XPG3/limits.h/conform): Likewise.
38522         (test-xfail-XPG3/pwd.h/conform): Likewise.
38523         (test-xfail-XPG3/search.h/conform): Likewise.
38524         (test-xfail-XPG3/signal.h/conform): Likewise.
38525         (test-xfail-XPG3/stdio.h/conform): Likewise.
38526         (test-xfail-XPG3/stdlib.h/conform): Likewise.
38527         (test-xfail-XPG3/string.h/conform): Likewise.
38528         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
38529         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
38530         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
38531         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
38532         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
38533         (test-xfail-XPG3/sys/types.h/conform): Likewise.
38534         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
38535         (test-xfail-XPG3/termios.h/conform): Likewise.
38536         (test-xfail-XPG3/time.h/conform): Likewise.
38537         (test-xfail-XPG3/unistd.h/conform): Likewise.
38538         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
38539         (test-xfail-XPG4/fcntl.h/conform): Likewise.
38540         (test-xfail-XPG4/langinfo.h/conform): Likewise.
38541         (test-xfail-XPG4/netdb.h/conform): Likewise.
38542         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
38543         (test-xfail-XPG4/signal.h/conform): Likewise.
38544         (test-xfail-XPG4/stdio.h/conform): Likewise.
38545         (test-xfail-XPG4/stdlib.h/conform): Likewise.
38546         (test-xfail-XPG4/stropts.h/conform): Likewise.
38547         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
38548         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
38549         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
38550         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
38551         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
38552         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
38553         (test-xfail-XPG4/sys/time.h/conform): Likewise.
38554         (test-xfail-XPG4/sys/types.h/conform): Likewise.
38555         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
38556         (test-xfail-XPG4/termios.h/conform): Likewise.
38557         (test-xfail-XPG4/ucontext.h/conform): Likewise.
38558         (test-xfail-XPG4/unistd.h/conform): Likewise.
38559         (test-xfail-XPG4/utmpx.h/conform): Likewise.
38560         (test-xfail-POSIX/sched.h/conform): Likewise.
38561         (test-xfail-POSIX/signal.h/conform): Likewise.
38562         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
38563         (test-xfail-POSIX/tar.h/conform): Likewise.
38564         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
38565         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
38566         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
38567         (test-xfail-UNIX98/netdb.h/conform): Likewise.
38568         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
38569         (test-xfail-UNIX98/sched.h/conform): Likewise.
38570         (test-xfail-UNIX98/signal.h/conform): Likewise.
38571         (test-xfail-UNIX98/stdio.h/conform): Likewise.
38572         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
38573         (test-xfail-UNIX98/stropts.h/conform): Likewise.
38574         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
38575         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
38576         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
38577         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
38578         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
38579         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
38580         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
38581         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
38582         (test-xfail-UNIX98/unistd.h/conform): Likewise.
38583         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
38584         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
38585         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
38586         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
38587         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
38588         (test-xfail-XOPEN2K/math.h/conform): Likewise.
38589         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
38590         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
38591         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
38592         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
38593         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
38594         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
38595         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
38596         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
38597         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
38598         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
38599         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
38600         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
38601         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
38602         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
38603         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
38604         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
38605         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
38606         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
38607         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
38608         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
38609         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
38610         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
38611         (test-xfail-POSIX2008/signal.h/conform): Likewise.
38612         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
38613         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
38614         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
38615         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
38616         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
38617         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
38618         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
38619         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
38620         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
38621         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
38622         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
38623         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
38624         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
38625         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
38626         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
38627         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
38628         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
38629         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
38630         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
38631         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
38632         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
38633         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
38634         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
38635         (conformtest-cc-flags): Likewise.
38636         ($(conformtest-header-tests): New target.
38637         * conform/check-header-lists.sh: New file.
38638         * conform/run-conformtest.sh: Remove.
38640         * conform/conformtest.pl: Allow ' and \ in values given for
38641         constants.
38642         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
38643         inclusion.
38644         [POSIX] (sys/types.h): Likewise.
38645         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
38646         inclusion.
38647         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
38648         inclusion.
38649         * conform/data/signal.h-data (SIGIO): Remove expectation.
38650         [XPG3] (SIGBUS): Do not expect.
38651         [POSIX || XPG3] (SIGPOLL): Likewise.
38652         [POSIX || XPG3] (SIGPROF): Likewise.
38653         [POSIX || XPG3] (SIGSYS): Likewise.
38654         [XPG3] (SIGTRAP): Likewise.
38655         [POSIX || XPG3] (SIGURG): Likewise.
38656         [POSIX || XPG3] (SIGVTALRM): Likewise.
38657         [POSIX || XPG3] (SIGXCPU): Likewise.
38658         [POSIX || XPG3] (SIGXFSZ): Likewise.
38659         [POSIX] (SA_SIGINFO): Expect.
38660         [XPG3] (siginfo_t): Do not expect type or contents.
38661         [POSIX] (si_pid): Do not expect element.
38662         [POSIX] (si_uid): Likewise.
38663         [POSIX] (si_addr): Likewise.
38664         [POSIX] (si_status): Likewise.
38665         [POSIX] (si_band): Likewise.
38666         [XPG4] (si_value): Likewise.
38667         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
38668         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
38669         [POSIX || XPG3] (ILL_ILLADR): Likewise.
38670         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
38671         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
38672         [POSIX || XPG3] (ILL_PRVREG): Likewise.
38673         [POSIX || XPG3] (ILL_COPROC): Likewise.
38674         [POSIX || XPG3] (ILL_BADSTK): Likewise.
38675         [POSIX || XPG3] (FPE_INTDIV): Likewise.
38676         [POSIX || XPG3] (FPE_INTOVF): Likewise.
38677         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
38678         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
38679         [POSIX || XPG3] (FPE_FLTUND): Likewise.
38680         [POSIX || XPG3] (FPE_FLTRES): Likewise.
38681         [POSIX || XPG3] (FPE_FLTINV): Likewise.
38682         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
38683         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
38684         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
38685         [POSIX || XPG3] (BUS_ADRALN): Likewise.
38686         [POSIX || XPG3] (BUS_ADRERR): Likewise.
38687         [POSIX || XPG3] (BUS_OBJERR): Likewise.
38688         [POSIX || XPG3] (CLD_EXITED): Likewise.
38689         [POSIX || XPG3] (CLD_KILLED): Likewise.
38690         [POSIX || XPG3] (CLD_DUMPED): Likewise.
38691         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
38692         [POSIX || XPG3] (CLD_STOPPED): Likewise.
38693         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
38694         [POSIX || XPG3] (POLL_IN): Likewise.
38695         [POSIX || XPG3] (POLL_OUT): Likewise.
38696         [POSIX || XPG3] (POLL_MSG): Likewise.
38697         [POSIX || XPG3] (POLL_ERR): Likewise.
38698         [POSIX || XPG3] (POLL_PRI): Likewise.
38699         [POSIX || XPG3] (POLL_HUP): Likewise.
38700         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
38701         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
38702         (SIG*): Do not allow.
38703         [XPG3] (si_*): Likewise.
38704         [XPG3] (SI_*): Likewise.
38705         [XPG3 || XPG4] (sigev_*): Likewise.
38706         [XPG3 || XPG4] (SIGEV_*): Likewise.
38707         [XPG3 || XPG4] (sival_*): Likewise.
38708         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
38709         [POSIX || XPG3] (BUS_*): Likewise.
38710         [POSIX || XPG3] (CLD_*): Likewise.
38711         [POSIX || XPG3] (FPE_*): Likewise.
38712         [POSIX || XPG3] (ILL_*): Likewise.
38713         [POSIX || XPG3] (POLL_*): Likewise.
38714         [POSIX || XPG3] (SEGV_*): Likewise.
38715         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
38716         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
38717         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
38718         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
38719         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
38720         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
38721         Specify type and value.
38722         (TVERSLEN): Likewise.
38723         (REGTYPE): Likewise.
38724         (AREGTYPE): Likewise.
38725         (LNKTYPE): Likewise.
38726         (SYMTYPE): Likewise.
38727         (CHRTYPE): Likewise.
38728         (BLKTYPE): Likewise.
38729         (DIRTYPE): Likewise.
38730         (FIFOTYPE): Likewise.
38731         (CONTTYPE): Likewise.
38732         (TSUID): Likewise.
38733         (TSGID): Likewise.
38734         (TSVTX): Likewise.
38735         (TUREAD): Likewise.
38736         (TUWRITE): Likewise.
38737         (TUEXEC): Likewise.
38738         (TGREAD): Likewise.
38739         (TGWRITE): Likewise.
38740         (TGEXEC): Likewise.
38741         (TOREAD): Likewise.
38742         (TOWRITE): Likewise.
38743         (TOEXEC): Likewise.
38744         [POSIX] (TSVTX): Expect constant.
38746 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
38748         * Makefile (tests): Change dependencies to ....
38749         (tests-special): ... additions to this variable.
38750         (tests): Depend on $(tests-special).
38751         * Makerules (check-abi-list): New variable.
38752         (check-abi): Depend on $(check-abi-list).
38753         [$(subdir) = elf] (tests-special): Add
38754         $(objpfx)check-abi-libc.out.
38755         [$(build-shared) = yes && subdir] (tests-special): Add
38756         $(check-abi-list).
38757         [$(build-shared) = yes && subdir] (tests): Do not depend on
38758         check-abi.
38759         * Rules (tests): Depend on $(tests-special).
38760         (xtests): Depend on $(xtests-special).
38761         * catgets/Makefile (tests): Change dependencies to ....
38762         (tests-special): ... additions to this variable.
38763         * conform/Makefile (tests): Change dependencies to ....
38764         (tests-special): ... additions to this variable.
38765         * elf/Makefile (tests): Change dependencies to ....
38766         (tests-special): ... additions to this variable.
38767         * grp/Makefile (tests): Change dependencies to ....
38768         (tests-special): ... additions to this variable.
38769         * iconv/Makefile (xtests): Change dependencies to ....
38770         (xtests-special): ... additions to this variable.
38771         * iconvdata/Makefile (tests): Change dependencies to ....
38772         (tests-special): ... additions to this variable.
38773         * intl/Makefile (tests): Change dependencies to ....
38774         (tests-special): ... additions to this variable.  Also add
38775         $(objpfx)tst-gettext.out.
38776         * io/Makefile (tests): Change dependencies to ....
38777         (tests-special): ... additions to this variable.
38778         * libio/Makefile (tests): Change dependencies to ....
38779         (tests-special): ... additions to this variable.
38780         * malloc/Makefile (tests): Change dependencies to ....
38781         (tests-special): ... additions to this variable.
38782         * misc/Makefile (tests): Change dependencies to ....
38783         (tests-special): ... additions to this variable.
38784         * nptl/Makefile (tests): Change dependencies to ....
38785         (tests-special): ... additions to this variable.
38786         * nptl_db/Makefile (tests): Change dependencies to ....
38787         (tests-special): ... additions to this variable.
38788         * posix/Makefile (tests): Change dependencies to ....
38789         (tests-special): ... additions to this variable.
38790         (xtests): Change dependencies to ....
38791         (xtests-special): ... additions to this variable.
38792         * resolv/Makefile (tests): Change dependencies to ....
38793         (tests-special): ... additions to this variable.
38794         (xtests): Change dependencies to ....
38795         (xtests-special): ... additions to this variable.
38796         * stdio-common/Makefile (tests): Change dependencies to ....
38797         (tests-special): ... additions to this variable.
38798         (do-tst-unbputc): Remove target.
38799         (do-tst-printf): Likewise.
38800         * stdlib/Makefile (tests): Change dependencies to ....
38801         (tests-special): ... additions to this variable.
38802         * string/Makefile (tests): Change dependencies to ....
38803         (tests-special): ... additions to this variable.
38804         * sysdeps/x86/Makefile (tests): Change dependencies to ....
38805         (tests-special): ... additions to this variable.
38807         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
38808         whole file.
38809         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
38810         whole file.
38811         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
38812         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
38814         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
38815         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
38816         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
38817         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
38818         * conform/data/libgen.h-data [XPG3]: Likewise.
38819         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
38820         * conform/data/ndbm.h-data [XPG3]: Likewise.
38821         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
38822         * conform/data/netdb.h-data [XPG3]: Likewise.
38823         * conform/data/netinet/in.h-data [XPG3]: Likewise.
38824         * conform/data/poll.h-data [XPG3]: Likewise.
38825         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
38826         * conform/data/strings.h-data [XPG3]: Likewise.
38827         * conform/data/stropts.h-data [XPG3]: Likewise.
38828         * conform/data/sys/mman.h-data [XPG3]: Likewise.
38829         * conform/data/sys/resource.h-data [XPG3]: Likewise.
38830         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
38831         Likewise.
38832         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
38833         * conform/data/sys/time.h-data [XPG3]: Likewise.
38834         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
38835         * conform/data/sys/uio.h-data [XPG3]: Likewise.
38836         * conform/data/sys/un.h-data [XPG3]: Likewise.
38837         * conform/data/syslog.h-data [XPG3]: Likewise.
38838         * conform/data/ucontext.h-data [XPG3]: Likewise.
38839         * conform/data/utmpx.h-data [XPG3]: Likewise.
38840         * conform/data/varargs.h-data [UNIX98]: Enable file.
38842         * manual/Makefile (INSTALL_INFO): Remove variable setting.
38844         * math/libm-test.inc (struct test_f_f_data): Move expected results
38845         into structure for each rounding mode.
38846         (struct test_ff_f_data): Likewise.
38847         (struct test_ff_f_data_nexttoward): Likewise.
38848         (struct test_fi_f_data): Likewise.
38849         (struct test_fl_f_data): Likewise.
38850         (struct test_if_f_data): Likewise.
38851         (struct test_fff_f_data): Likewise.
38852         (struct test_c_f_data): Likewise.
38853         (struct test_f_f1_data): Likewise.
38854         (struct test_fF_f1_data): Likewise.
38855         (struct test_ffI_f1_data): Likewise.
38856         (struct test_c_c_data): Likewise.
38857         (struct test_cc_c_data): Likewise.
38858         (struct test_f_i_data): Likewise.
38859         (struct test_ff_i_data): Likewise.
38860         (struct test_f_l_data): Likewise.
38861         (struct test_f_L_data): Likewise.
38862         (struct test_fFF_11_data): Likewise.
38863         (RM_): New macro.
38864         (RM_FE_DOWNWARD): Likewise.
38865         (RM_FE_TONEAREST): Likewise.
38866         (RM_FE_TOWARDZERO): Likewise.
38867         (RM_FE_UPWARD): Likewise.
38868         (RUN_TEST_LOOP_f_f): Update references to expected results.
38869         (RUN_TEST_LOOP_2_f): Likewise.
38870         (RUN_TEST_LOOP_fff_f): Likewise.
38871         (RUN_TEST_LOOP_c_f): Likewise.
38872         (RUN_TEST_LOOP_f_f1): Likewise.
38873         (RUN_TEST_LOOP_fF_f1): Likewise.
38874         (RUN_TEST_LOOP_fI_f1): Likewise.
38875         (RUN_TEST_LOOP_ffI_f1): Likewise.
38876         (RUN_TEST_LOOP_c_c): Likewise.
38877         (RUN_TEST_LOOP_cc_c): Likewise.
38878         (RUN_TEST_LOOP_f_i): Likewise.
38879         (RUN_TEST_LOOP_f_i_tg): Likewise.
38880         (RUN_TEST_LOOP_ff_i_tg): Likewise.
38881         (RUN_TEST_LOOP_f_b): Likewise.
38882         (RUN_TEST_LOOP_f_b_tg): Likewise.
38883         (RUN_TEST_LOOP_f_l): Likewise.
38884         (RUN_TEST_LOOP_f_L): Likewise.
38885         (RUN_TEST_LOOP_fFF_11): Likewise.
38886         * math/gen-libm-test.pl (parse_args): Output four copies of
38887         expected results for each test.
38889         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38890         (__ASSUME_UTIMES): Remove.
38891         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38892         (__ASSUME_UTIMES): Likewise.
38894         * math/gen-auto-libm-tests.c: Update comment on output format.
38895         (output_for_one_input_case): Generate before-rounding and
38896         after-rounding information as conditions on output flags not
38897         floating-point format.
38898         * math/auto-libm-test-out: Regenerated.
38899         * math/gen-libm-test.pl (cond_value): New function.
38900         (or_cond_value): Use cond_value.
38901         (generate_testfile): Handle conditional exceptions.
38903 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
38905         * math/libm-test.inc (max_valid_error): New variable.
38906         (init_max_error): Take new argument specifying whether function
38907         results are exactly determined.  Set max_valid_error and bound
38908         other variables for errors based on this argument.
38909         (set_max_error): Do not record results above max_valid_error.
38910         (check_float_internal): Only accept errors of up to 0.5ulps if
38911         also at most max_valid_error.
38912         (START): Take new argument EXACT and pass it to init_max_error.
38913         (acos_test): Update call to START.
38914         (acos_test_tonearest): Likewise.
38915         (acos_test_towardzero): Likewise.
38916         (acos_test_downward): Likewise.
38917         (acos_test_upward): Likewise.
38918         (acosh_test): Likewise.
38919         (asin_test): Likewise.
38920         (asin_test_tonearest): Likewise.
38921         (asin_test_towardzero): Likewise.
38922         (asin_test_downward): Likewise.
38923         (asin_test_upward): Likewise.
38924         (asinh_test): Likewise.
38925         (atan_test): Likewise.
38926         (atanh_test): Likewise.
38927         (atan2_test): Likewise.
38928         (cabs_test): Likewise.
38929         (cacos_test): Likewise.
38930         (cacosh_test): Likewise.
38931         (carg_test): Likewise.
38932         (casin_test): Likewise.
38933         (casinh_test): Likewise.
38934         (catan_test): Likewise.
38935         (catanh_test): Likewise.
38936         (cbrt_test): Likewise.
38937         (ccos_test): Likewise.
38938         (ccosh_test): Likewise.
38939         (ceil_test): Likewise.
38940         (cexp_test): Likewise.
38941         (cimag_test): Likewise.
38942         (clog_test): Likewise.
38943         (clog10_test): Likewise.
38944         (conj_test): Likewise.
38945         (copysign_test): Likewise.
38946         (cos_test): Likewise.
38947         (cos_test_tonearest): Likewise.
38948         (cos_test_towardzero): Likewise.
38949         (cos_test_downward): Likewise.
38950         (cos_test_upward): Likewise.
38951         (cosh_test): Likewise.
38952         (cosh_test_tonearest): Likewise.
38953         (cosh_test_towardzero): Likewise.
38954         (cosh_test_downward): Likewise.
38955         (cosh_test_upward): Likewise.
38956         (cpow_test): Likewise.
38957         (cproj_test): Likewise.
38958         (creal_test): Likewise.
38959         (csin_test): Likewise.
38960         (csinh_test): Likewise.
38961         (csqrt_test): Likewise.
38962         (ctan_test): Likewise.
38963         (ctan_test_tonearest): Likewise.
38964         (ctan_test_towardzero): Likewise.
38965         (ctan_test_downward): Likewise.
38966         (ctan_test_upward): Likewise.
38967         (ctanh_test): Likewise.
38968         (ctanh_test_tonearest): Likewise.
38969         (ctanh_test_towardzero): Likewise.
38970         (ctanh_test_downward): Likewise.
38971         (ctanh_test_upward): Likewise.
38972         (erf_test): Likewise.
38973         (erfc_test): Likewise.
38974         (exp_test): Likewise.
38975         (exp_test_tonearest): Likewise.
38976         (exp_test_towardzero): Likewise.
38977         (exp_test_downward): Likewise.
38978         (exp_test_upward): Likewise.
38979         (exp10_test): Likewise.
38980         (exp10_test_tonearest): Likewise.
38981         (exp10_test_towardzero): Likewise.
38982         (exp10_test_downward): Likewise.
38983         (exp10_test_upward): Likewise.
38984         (pow10_test): Likewise.
38985         (exp2_test): Likewise.
38986         (expm1_test): Likewise.
38987         (expm1_test_tonearest): Likewise.
38988         (expm1_test_towardzero): Likewise.
38989         (expm1_test_downward): Likewise.
38990         (expm1_test_upward): Likewise.
38991         (fabs_test): Likewise.
38992         (fdim_test): Likewise.
38993         (floor_test): Likewise.
38994         (fma_test): Likewise.
38995         (fma_test_towardzero): Likewise.
38996         (fma_test_downward): Likewise.
38997         (fma_test_upward): Likewise.
38998         (fmax_test): Likewise.
38999         (fmin_test): Likewise.
39000         (fmod_test): Likewise.
39001         (fpclassify_test): Likewise.
39002         (frexp_test): Likewise.
39003         (hypot_test): Likewise.
39004         (ilogb_test): Likewise.
39005         (isfinite_test): Likewise.
39006         (finite_test): Likewise.
39007         (isgreater_test): Likewise.
39008         (isgreaterequal_test): Likewise.
39009         (isinf_test): Likewise.
39010         (isless_test): Likewise.
39011         (islessequal_test): Likewise.
39012         (islessgreater_test): Likewise.
39013         (isnan_test): Likewise.
39014         (isnormal_test): Likewise.
39015         (issignaling_test): Likewise.
39016         (isunordered_test): Likewise.
39017         (j0_test): Likewise.
39018         (j1_test): Likewise.
39019         (jn_test): Likewise.
39020         (ldexp_test): Likewise.
39021         (lgamma_test): Likewise.
39022         (gamma_test): Likewise.
39023         (lrint_test): Likewise.
39024         (lrint_test_tonearest): Likewise.
39025         (lrint_test_towardzero): Likewise.
39026         (lrint_test_downward): Likewise.
39027         (lrint_test_upward): Likewise.
39028         (llrint_test): Likewise.
39029         (llrint_test_tonearest): Likewise.
39030         (llrint_test_towardzero): Likewise.
39031         (llrint_test_downward): Likewise.
39032         (llrint_test_upward): Likewise.
39033         (log_test): Likewise.
39034         (log10_test): Likewise.
39035         (log1p_test): Likewise.
39036         (log2_test): Likewise.
39037         (logb_test): Likewise.
39038         (logb_test_downward): Likewise.
39039         (lround_test): Likewise.
39040         (llround_test): Likewise.
39041         (modf_test): Likewise.
39042         (nearbyint_test): Likewise.
39043         (nextafter_test): Likewise.
39044         (nexttoward_test): Likewise.
39045         (pow_test): Likewise.
39046         (pow_test_tonearest): Likewise.
39047         (pow_test_towardzero): Likewise.
39048         (pow_test_downward): Likewise.
39049         (pow_test_upward): Likewise.
39050         (remainder_test): Likewise.
39051         (drem_test): Likewise.
39052         (remainder_test_tonearest): Likewise.
39053         (drem_test_tonearest): Likewise.
39054         (remainder_test_towardzero): Likewise.
39055         (drem_test_towardzero): Likewise.
39056         (remainder_test_downward): Likewise.
39057         (drem_test_downward): Likewise.
39058         (remainder_test_upward): Likewise.
39059         (drem_test_upward): Likewise.
39060         (remquo_test): Likewise.
39061         (rint_test): Likewise.
39062         (rint_test_tonearest): Likewise.
39063         (rint_test_towardzero): Likewise.
39064         (rint_test_downward): Likewise.
39065         (rint_test_upward): Likewise.
39066         (round_test): Likewise.
39067         (scalb_test): Likewise.
39068         (scalbn_test): Likewise.
39069         (scalbln_test): Likewise.
39070         (signbit_test): Likewise.
39071         (sin_test): Likewise.
39072         (sin_test_tonearest): Likewise.
39073         (sin_test_towardzero): Likewise.
39074         (sin_test_downward): Likewise.
39075         (sin_test_upward): Likewise.
39076         (sincos_test): Likewise.
39077         (sinh_test): Likewise.
39078         (sinh_test_tonearest): Likewise.
39079         (sinh_test_towardzero): Likewise.
39080         (sinh_test_downward): Likewise.
39081         (sinh_test_upward): Likewise.
39082         (sqrt_test): Likewise.
39083         (sqrt_test_tonearest): Likewise.
39084         (sqrt_test_towardzero): Likewise.
39085         (sqrt_test_downward): Likewise.
39086         (sqrt_test_upward): Likewise.
39087         (tan_test): Likewise.
39088         (tan_test_tonearest): Likewise.
39089         (tan_test_towardzero): Likewise.
39090         (tan_test_downward): Likewise.
39091         (tan_test_upward): Likewise.
39092         (tanh_test): Likewise.
39093         (tgamma_test): Likewise.
39094         (trunc_test): Likewise.
39095         (y0_test): Likewise.
39096         (y1_test): Likewise.
39097         (yn_test): Likewise.
39098         (significand_test): Likewise.
39100         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
39101         individual tests in comment.
39102         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
39103         (prev_max_error): New variable.
39104         (prev_real_max_error): Likewise.
39105         (prev_imag_max_error): Likewise.
39106         (compare_ulp_data): Don't refer to test names in comment.
39107         (find_test_ulps): Remove function.
39108         (find_function_ulps): Likewise.
39109         (find_complex_function_ulps): Likewise.
39110         (init_max_error): Take function name as argument.  Look up ulps
39111         for that function.
39112         (print_ulps): Remove function.
39113         (print_max_error): Use prev_max_error instead of calling
39114         find_function_ulps.
39115         (print_complex_max_error): Use prev_real_max_error and
39116         prev_imag_max_error instead of calling find_complex_function_ulps.
39117         (check_float_internal): Take max_ulp parameter instead of calling
39118         find_test_ulps.  Don't call print_ulps.
39119         (check_float): Update call to check_float_internal.
39120         (check_complex): Update calls to check_float_internal.
39121         (START): Pass argument to init_max_error.
39122         * math/gen-libm-test.pl (%results): Don't include "kind"
39123         information.
39124         (parse_ulps): Don't handle ulps of individual tests.
39125         (print_ulps_file): Likewise.
39126         (output_ulps): Likewise.
39127         * math/README.libm-test: Update.
39128         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
39129         individual tests.
39130         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
39131         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
39132         * sysdeps/arm/libm-test-ulps: Likewise.
39133         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
39134         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
39135         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
39136         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
39137         * sysdeps/microblaze/libm-test-ulps: Likewise.
39138         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
39139         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
39140         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39141         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
39142         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39143         * sysdeps/sh/libm-test-ulps: Likewise.
39144         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39145         * sysdeps/tile/libm-test-ulps: Likewise.
39146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39148 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
39150         * math/libm-test.inc (print_complex_max_error): Check separately
39151         whether real and imaginary errors are within allowed range and
39152         pass 0 to print_complex_function_ulps instead of value within
39153         allowed range.
39155 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39157         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
39158         formatting.
39159         (get_handles_fopen): Likewise.
39160         (do_write_test): Likewise.
39162         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
39164         * libio/fileops.c (do_ftell): Use cached offset when
39165         available.
39166         * libio/iofwide.c (do_ftell_wide): Likewise.
39167         * libio/iofdopen.c (_IO_new_fdopen): Don't use
39168         _IO_file_attach.
39169         * libio/wfileops.c (_IO_fwide): Don't cache offset.
39171         [BZ #16532]
39172         * libio/libioP.h (get_file_offset): New function.
39173         * libio/fileops.c (get_file_offset): Likewise.
39174         (do_ftell): Likewise.
39175         (_IO_new_file_seekoff): Split out ftell logic.
39176         * libio/wfileops.c (do_ftell_wide): Likewise.
39177         (_IO_wfile_seekoff): Split out ftell logic.
39178         * libio/tst-ftell-active-handler.c: New test case.
39179         * libio/Makefile (tests): Add it.
39181 2014-03-03  Roland McGrath  <roland@hack.frob.com>
39183         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
39184         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
39186 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39188         [BZ #16639]
39189         * nscd/connections.c (nscd_init): Call do_exit.
39190         (start_threads): Call do_exit and notify_parent.
39191         (begin_drop_privileges): Call do_exit.
39192         (finish_drop_privileges): Likewise.
39193         * nscd/selinux.c (preserve_capabilities): Likewise.
39194         (install_real_capabilities): Likewise.
39195         (nscd_selinux_enabled): Likewise.
39196         (avc_create_thread): Likewise.
39197         (avc_alloc_lock): Likewise.
39198         (nscd_avc_init): Likewise.
39199         * nscd/nscd.c (parent_fd): New static variable.
39200         (main): Create a pipe between parent and child processes.
39201         Skip closing parent_fd.
39202         (monitor_child): New function.
39203         (do_exit): Likewise.
39204         (notify_parent): Likewise.
39205         * nscd/nscd.h (notify_parent): Likewise.
39206         (do_exit): Likewise.
39208 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
39210         * malloc/malloc.c (__libc_calloc): Revert last change.
39212 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39214         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39216 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39218         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
39219         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
39220         implementation.
39221         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39222         (__libc_ifunc_impl_list): Likewise.
39223         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
39224         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
39225         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
39226         * string/strrchr.c: Define STRRCHR.
39228 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
39230         * benchtest/bench-strtok.c (simple_strtok): Delete.
39231         (strtok_string): Use as benchmark.
39232         * string/strtok (STRTOK): New macro.
39234 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
39236         * manual/threads.texi: Add header and standard comments to all
39237         functions.
39239         * elf/dl-lookup.c (check_match): New function.
39240         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
39241         (do_lookup_x): Remove nested function check_match. Use non-nested
39242         function check_match.
39244 2014-02-28  Roland McGrath  <roland@hack.frob.com>
39246         * csu/Makefile (generated, before-compile): Use += rather than =.
39247         * catgets/Makefile (generated, generated-dirs): Likewise.
39248         * debug/Makefile (generated): Likewise.
39249         * dlfcn/Makefile (generated): Likewise.
39250         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
39251         * iconvdata/Makefile (before-compile, generated): Likewise.
39252         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
39253         * libio/Makefile (generated): Likewise.
39254         * malloc/Makefile (generated): Likewise.
39255         * manual/Makefile (generated, generated-dirs): Likewise.
39256         * misc/Makefile (generated): Likewise.
39257         * posix/Makefile (generated): Likewise.
39258         * resolv/Makefile (generated): Likewise.
39259         * sunrpc/Makefile (generated, generated-dirs): Likewise.
39260         * timezone/Makefile (generated, generated-dirs): Likewise.
39262         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
39264 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39266         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
39267         power8 implementation.
39268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
39269         file: POWER8 llround ifunc implementation.
39270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
39271         (__lllround): Add POWER8 implementation.
39272         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
39273         POWER8 llround implementation.
39275         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
39276         power8 implementation.
39277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
39278         file: POWER8 llrint ifunc implementation.
39279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
39280         Add POWER8 implementation.
39281         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
39282         POWER8 llrint implementation.
39284         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
39285         power8 implementation.
39286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
39287         file: POWER8 finite ifunc implementation.
39288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
39289         Add POWER8 implementation.
39290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
39291         Likewise.
39292         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
39293         POWER8 finite implementation.
39294         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
39296         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
39297         power8 implementation.
39298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
39299         file: POWER8 isinf ifunc implementation.
39300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
39301         POWER8 implementation.
39302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
39303         Likewise.
39304         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
39305         isinf implementation.
39306         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
39308         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
39309         (INIT_ARCH): Add hwcap2 initialization.
39310         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39311         power8 implementation.
39312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
39313         file: POWER8 isnan ifunc implementation.
39314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
39315         POWER8 implementation.
39316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
39317         Likewise.
39318         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
39319         isnan implementation.
39320         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
39322 2014-02-27  Joey Ye  <joey.ye@arm.com>
39324         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
39325         (_FP_NANFRAC_Q): Set to zero.
39327 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39329         [BZ #16623]
39330         * math/auto-libm-test-in: New test inputs.
39331         * math/auto-libm-test-out: Regenerate.
39332         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
39333         and DA.
39334         (__cos): Likewise.
39335         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
39337 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
39339         * scripts/evaluate-test.sh: Take new argument indicating whether
39340         failure is expected.
39341         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
39342         indicating whether failure is expected.
39343         * conform/Makefile (test-xfail-run-conformtest): New variable.
39344         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
39345         level.
39346         * posix/Makefile (test-xfail-annexc): New variable.
39347         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
39349 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
39351         * argp/Makefile: Include Makeconfig immediately after defining
39352         subdir.
39353         * assert/Makefile: Likewise.
39354         * benchtests/Makefile: Likewise.
39355         * catgets/Makefile: Likewise.
39356         * conform/Makefile: Likewise.
39357         * crypt/Makefile: Likewise.
39358         * csu/Makefile: Likewise.
39359         (all): Remove target.
39360         * ctype/Makefile: Include Makeconfig immediately after defining
39361         subdir.
39362         * debug/Makefile: Likewise.
39363         * dirent/Makefile: Likewise.
39364         * dlfcn/Makefile: Likewise.
39365         * gmon/Makefile: Likewise.
39366         * gnulib/Makefile: Likewise.
39367         * grp/Makefile: Likewise.
39368         * gshadow/Makefile: Likewise.
39369         * hesiod/Makefile: Likewise.
39370         * hurd/Makefile: Likewise.
39371         (all): Remove target.
39372         * iconvdata/Makefile: Include Makeconfig immediately after
39373         defining subdir.
39374         * inet/Makefile: Likewise.
39375         * intl/Makefile: Likewise.
39376         * io/Makefile: Likewise.
39377         * libio/Makefile: Likewise.
39378         (all): Remove target.
39379         * locale/Makefile: Include Makeconfig immediately after defining
39380         subdir.
39381         * login/Makefile: Likewise.
39382         * mach/Makefile: Likewise.
39383         (all): Remove target.
39384         * malloc/Makefile: Include Makeconfig immediately after defining
39385         subdir.
39386         (all): Remove target.
39387         * manual/Makefile: Include Makeconfig immediately after defining
39388         subdir.
39389         * math/Makefile: Likewise.
39390         * misc/Makefile: Likewise.
39391         * nis/Makefile: Likewise.
39392         * nss/Makefile: Likewise.
39393         * po/Makefile: Likewise.
39394         (all): Remove target.
39395         * posix/Makefile: Include Makeconfig immediately after defining
39396         subdir.
39397         * pwd/Makefile: Likewise.
39398         * resolv/Makefile: Likewise.
39399         * resource/Makefile: Likewise.
39400         * rt/Makefile: Likewise.
39401         * setjmp/Makefile: Likewise.
39402         * shadow/Makefile: Likewise.
39403         * signal/Makefile: Likewise.
39404         * socket/Makefile: Likewise.
39405         * soft-fp/Makefile: Likewise.
39406         * stdio-common/Makefile: Likewise.
39407         * stdlib/Makefile: Likewise.
39408         * streams/Makefile: Likewise.
39409         * string/Makefile: Likewise.
39410         * sunrpc/Makefile: Likewise.
39411         (all): Remove target.
39412         * sysvipc/Makefile: Include Makeconfig immediately after defining
39413         subdir.
39414         * termios/Makefile: Likewise.
39415         * time/Makefile: Likewise.
39416         * timezone/Makefile: Likewise.
39417         (all): Remove target.
39418         * wcsmbs/Makefile: Include Makeconfig immediately after defining
39419         subdir.
39420         * wctype/Makefile: Likewise.
39422 2014-02-26  Steve Ellcey  <sellcey@mips.com>
39424         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
39425         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
39426         (libc_feholdexcept_setround_mips): Ditto.
39427         (libc_feholdsetround): New.
39428         (libc_feholdsetroundf): New.
39429         (libc_feholdsetroundl): New.
39430         (libc_feupdateenv_test_mips): New.
39431         (libc_feupdateenv_test): New.
39432         (libc_feupdateenv_testf): New.
39433         (libc_feupdateenv_testl): New.
39434         (libc_feresetround): New.
39435         (libc_feresetroundf): New.
39436         (libc_feresetroundl): New.
39437         (libc_fetestexcept_mips): New.
39438         (libc_fetestexcept): New.
39439         (libc_fetestexceptf): New.
39440         (libc_fetestexceptl): New.
39441         (HAVE_RM_CTX): New.
39442         (libc_feholdexcept_setround_mips_ctx): New.
39443         (libc_feholdexcept_setround_ctx): New.
39444         (libc_feholdexcept_setroundf_ctx): New.
39445         (libc_feholdexcept_setroundl_ctx): New.
39446         (libc_fesetenv_mips_ctx): New.
39447         (libc_fesetenv_ctx): New.
39448         (libc_fesetenv_ctxf): New.
39449         (libc_fesetenv_ctxl): New.
39450         (libc_feupdateenv_mips_ctx): New.
39451         (libc_feupdateenv_ctx): New.
39452         (libc_feupdateenvf_ctx): New.
39453         (libc_feupdateenvl_ctx): New.
39454         (libc_feholdsetround_mips_ctx): New.
39455         (libc_feholdsetround_ctx): New.
39456         (libc_feholdsetroundf_ctx): New.
39457         (libc_feholdsetroundl_ctx): New.
39458         (libc_feresetround_mips_ctx): New.
39459         (libc_feresetround_ctx): New.
39460         (libc_feresetroundf_ctx): New.
39461         (libc_feresetroundl_ctx): New.
39463 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
39465         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
39467         * manual/ipc.texi: New file.
39468         * manual/Makefile (chapters): Add ipc.
39469         * manual/job.texi: Add "Inter-Process Communication" to next.
39470         * manual/process.texi: Add "Inter-Process Communication" to prev.
39472 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39474         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39476 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
39478         * malloc/malloc.c (__libc_calloc): Simplify implementation.
39480         * manual/arith.texi: Fix spaces after sentences.
39481         * manual/charset.texi: Likewise.
39482         * manual/errno.texi: Likewise.
39483         * manual/install.texi: Likewise.
39484         * manual/llio.texi: Likewise.
39485         * manual/locale.texi: Likewise.
39486         * manual/maint.texi: Likewise.
39487         * manual/math.texi: Likewise.
39488         * manual/memory.texi: Likewise.
39489         * manual/message.texi: Likewise.
39490         * manual/probes.texi: Likewise.
39491         * manual/resource.texi: Likewise.
39492         * manual/signal.texi: Likewise.
39493         * manual/socket.texi: Likewise.
39494         * manual/stdio.texi: Likewise.
39495         * manual/string.texi: Likewise.
39496         * manual/time.texi: Likewise.
39497         * manual/users.texi: Likewise.
39499 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
39501         [BZ #16632]
39502         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
39503         _DEFAULT_SOURCE is defined.
39505 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
39506             Carlos O'Donell  <carlos@redhat.com>
39508         [BZ #16613]
39509         * elf/dl-tls.c (_dl_count_modids): New function.
39510         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
39511         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
39512         audit library and increment generation counter.
39513         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
39514         * elf/tst-audit9.c: New file.
39515         * elf/tst-auditmod9a.c: New file.
39516         * elf/tst-auditmod9b.c: New file.
39517         * elf/Makefile: Add rules to build and run tst-audit9.
39519 2014-02-25  Florian Weimer  <fweimer@redhat.com>
39521         [BZ #15347]
39522         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
39524 2014-02-25  Will Newton  <will.newton@linaro.org>
39526         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
39527         (__longjmp): Restore sp and lr before restoring callee
39528         saved registers.  Add longjmp and longjmp_target
39529         SystemTap probe point.
39530         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
39531         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
39532         Define to zero to match jmpbuf layout.
39533         * sysdeps/arm/setjmp.S: Include stap-probe.h.
39534         (__sigsetjmp): Save sp and lr before saving callee
39535         saved registers.  Add setjmp SystemTap probe point.
39537 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
39539         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39541 2014-02-24  Andreas Schwab  <schwab@suse.de>
39543         [BZ #15804]
39544         * elf/pldd.c (wait_for_ptrace_stop): New function.
39545         (main): Call it after attaching.
39547 2014-02-22  Roland McGrath  <roland@hack.frob.com>
39549         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
39550         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
39551         Versions files is now verboten.
39552         * hurd/Versions (libc: GLIBC_2.0):
39553         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
39554         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
39555         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
39556         * mach/Versions: Likewise.
39558         * csu/Versions: Remove unused %include.
39559         * resolv/Versions: Likewise.
39561 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
39563         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
39564         ($(objpfx)check-local-headers.out): Likewise.
39565         ($(objpfx)begin-end-check.out): Likewise.
39566         * Makerules (check-abi-%.out): Likewise.
39567         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
39568         ($(objpfx)test2.cat): Likewise.
39569         ($(objpfx)de/libc.cat): Likewise.
39570         ($(objpfx)test-gencat.out): Likewise.
39571         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
39572         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
39573         ($(objpfx)noload-mem): Likewise.
39574         ($(objpfx)tst-pathopt.out): Likewise.
39575         ($(objpfx)tst-rtld-load-self.out): Likewise.
39576         ($(objpfx)tst-array1-cmp.out): Likewise.
39577         ($(objpfx)tst-array1-static-cmp.out): Likewise.
39578         ($(objpfx)tst-array2-cmp.out): Likewise.
39579         ($(objpfx)tst-array3-cmp.out): Likewise.
39580         ($(objpfx)tst-array4-cmp.out): Likewise.
39581         ($(objpfx)tst-array5-cmp.out): Likewise.
39582         ($(objpfx)tst-array5-static-cmp.out): Likewise.
39583         ($(objpfx)check-textrel.out): Likewise.
39584         ($(objpfx)check-execstack.out): Likewise.
39585         ($(objpfx)check-localplt.out): Likewise.
39586         ($(objpfx)order2-cmp.out): Likewise.
39587         ($(objpfx)tst-leaks1-mem): Likewise.
39588         ($(objpfx)tst-leaks1-static-mem): Likewise.
39589         ($(objpfx)tst-initorder-cmp.out): Likewise.
39590         ($(objpfx)tst-initorder2-cmp.out): Likewise.
39591         ($(objpfx)tst-unused-dep.out): Likewise.
39592         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
39593         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
39594         * iconv/Makefile (test-iconvconfig): Likewise.
39595         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
39596         ($(objpfx)iconv-test.out): Likewise.
39597         ($(objpfx)tst-tables.out): Likewise.
39598         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
39599         ($(objpfx)tst-gettext.out): Likewise.
39600         ($(objpfx)tst-translit.out): Likewise.
39601         ($(objpfx)tst-gettext2.out): Likewise.
39602         ($(objpfx)tst-gettext4.out): Likewise.
39603         ($(objpfx)tst-gettext6.out): Likewise.
39604         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
39605         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
39606         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
39607         ($(objpfx)tst-fopenloc-mem.out): Likewise.
39608         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
39609         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
39610         * posix/Makefile ($(objpfx)globtest.out): Likewise.
39611         ($(objpfx)wordexp-tst.out): Likewise.
39612         ($(objpfx)annexc.out): Likewise.
39613         ($(objpfx)tst-fnmatch-mem): Likewise.
39614         ($(objpfx)bug-regex2-mem): Likewise.
39615         ($(objpfx)bug-regex14-mem): Likewise.
39616         ($(objpfx)bug-regex21-mem): Likewise.
39617         ($(objpfx)bug-regex31-mem): Likewise.
39618         ($(objpfx)tst-vfork3-mem): Likewise.
39619         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
39620         ($(objpfx)tst-pcre-mem): Likewise.
39621         ($(objpfx)tst-boost-mem): Likewise.
39622         ($(objpfx)tst-getconf.out): Likewise.
39623         ($(objpfx)bug-ga2-mem): Likewise.
39624         ($(objpfx)bug-glob2-mem): Likewise.
39625         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
39626         ($(objpfx)mtrace-tst-leaks2): Likewise.
39627         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
39628         ($(objpfx)tst-printf.out): Likewise.
39629         ($(objpfx)tst-setvbuf1.out): Likewise.
39630         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
39631         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
39632         ($(objpfx)tst-fmtmsg.out): Likewise.
39633         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
39634         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
39636         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
39637         * bits/sigaction.h [__USE_MISC]: Likewise.
39638         * bits/waitstatus.h: Update #endif comments.
39639         * ctype/ctype.h: Likewise.
39640         * dirent/dirent.h: Likewise.
39641         [__USE_MISC]: Remove redundant conditionals.
39642         * grp/grp.h: Update #endif comments.
39643         [__USE_GNU]: Remove redundant conditionals.
39644         [__USE_MISC]: Likewise.
39645         * inet/netinet/in.h [__USE_GNU]: Likewise.
39646         * io/sys/stat.h [__USE_MISC]: Likewise.
39647         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
39648         * libio/bits/stdio.h: Update #endif comments.
39649         [__USE_MISC]: Remove redundant conditionals.
39650         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
39651         * libio/stdio.h: Update #endif comments.
39652         [__USE_MISC]: Remove redundant conditionals.
39653         * math/bits/math-finite.h [__USE_MISC]: Likewise.
39654         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
39655         * math/math.h: Update #else and #endif comments.
39656         [__USE_MISC]: Remove redundant conditionals.
39657         * misc/sys/uio.h: Update #endif comments.
39658         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
39659         * posix/glob.h [__USE_MISC]: Likewise.
39660         * posix/sys/types.h: Update #endif comments.
39661         [__USE_MISC]: Remove redundant conditionals.
39662         * posix/sys/wait.h: Update #endif comments.
39663         [__USE_MISC]: Remove redundant conditionals.
39664         * posix/unistd.h: Update #endif comments.
39665         [__USE_MISC]: Remove redundant conditionals.
39666         * pwd/pwd.h [__USE_GNU]: Likewise.
39667         [__USE_MISC]: Likewise.
39668         * resolv/netdb.h [__USE_GNU]: Likewise.
39669         * signal/signal.h: Update #endif comments.
39670         [__USE_MISC]: Remove redundant conditionals.
39671         * stdlib/stdlib.h: Update #else and #endif comments.
39672         [__USE_MISC]: Remove redundant conditionals.
39673         [__USE_GNU]: Likewise.
39674         * string/bits/string2.h [__USE_MISC]: Likewise.
39675         * string/string.h: Update #endif comments.
39676         [__USE_MISC]: Remove redundant conditionals.
39677         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
39678         Likewise.
39679         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
39680         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
39681         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
39682         Likewise.
39683         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
39684         Likewise.
39685         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
39686         comments.
39687         [__USE_MISC]: Remove redundant conditionals.
39688         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
39689         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
39690         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
39691         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
39692         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
39693         Likewise.
39694         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
39695         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
39696         Likewise.
39697         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
39698         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
39699         Likewise.
39700         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
39701         Likewise.
39702         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
39703         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
39704         Likewise.
39705         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
39706         Likewise.
39707         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
39708         * sysdeps/x86/bits/string.h: Update #endif comments.
39709         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
39710         conditionals.
39711         * time/sys/time.h: Update #endif comments.
39712         * time/time.h: Likewise.
39713         [__USE_MISC]: Remove redundant conditionals.
39715 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
39717         [BZ #16600]
39718         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
39720 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
39722         * Versions.def (librt): Add GLIBC_2.17.
39724 2014-02-21  Adam Conrad  <adconrad@0c3.net>
39726         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
39727         synonym for _SYS_AUXV_H to allow direct inclusion.
39728         * sysdeps/sparc/bits/hwcap.h: Likewise.
39729         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
39730         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
39731         * sysdeps/sparc/sysdep.h: Likewise.
39733 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39735         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
39737 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39739         * benchtests/bench-strrchr.c: Print length instead of position.
39741 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
39743         [BZ #16611]
39744         * sysdeps/unix/sysv/linux/kernel-features.h
39745         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
39746         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
39747         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
39748         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
39749         Likewise.
39750         [__i386__ || __powerpc__ || __sh__ || __sparc__]
39751         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39752         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
39753         (__ASSUME_SENDMMSG): Define instead of using previous
39754         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
39755         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39756         (__ASSUME_SENDMMSG_SYSCALL): Define.
39757         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39758         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
39759         Likewise.
39760         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39761         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39762         Likewise.
39763         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39764         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39765         Likewise.
39766         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
39767         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
39768         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
39769         [__ASSUME_SENDMMSG]: Change conditionals to
39770         [__ASSUME_SENDMMSG_SOCKETCALL].
39771         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39772         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
39773         Define.
39774         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39775         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
39776         Likewise.
39777         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
39778         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
39779         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
39780         [!__ASSUME_SENDMMSG]: Change conditional to
39781         [!__ASSUME_SENDMMSG_SOCKETCALL].
39782         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39783         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39784         Define.
39786         [BZ #16610]
39787         * sysdeps/unix/sysv/linux/kernel-features.h
39788         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
39789         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
39790         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
39791         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
39792         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39793         [__i386__ || __sparc__]
39794         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39795         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
39796         (__ASSUME_RECVMMSG): Define instead of using previous
39797         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
39798         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39799         (__ASSUME_RECVMMSG_SYSCALL): Define.
39800         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39801         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39802         Likewise.
39803         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39804         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39805         Likewise.
39806         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39807         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39808         Likewise.
39809         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
39810         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
39811         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
39812         [__ASSUME_RECVMMSG]: Change condition to
39813         [__ASSUME_RECVMMSG_SOCKETCALL].
39814         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39815         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39816         Define.
39817         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39818         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39819         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39820         Likewise.
39821         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
39822         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
39823         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
39824         [!__ASSUME_RECVMMSG]: Change condition to
39825         [!__ASSUME_RECVMMSG_SOCKETCALL].
39826         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39827         (__ASSUME_RECVMMSG_SYSCALL): Define.
39829         [BZ #16609]
39830         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
39831         __powerpc__ || __s390__ || __sh__ || __sparc__]
39832         (__ASSUME_SOCKETCALL): Define.
39833         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
39834         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
39835         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
39836         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
39837         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39838         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
39839         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
39840         (__ASSUME_ACCEPT4): Define instead of using previous
39841         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
39842         __powerpc__ || __sparc__ || __s390__)] condition.
39843         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39844         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
39845         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
39846         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
39847         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
39848         [!__ASSUME_ACCEPT4]: Change condition to
39849         [!__ASSUME_ACCEPT4_SOCKETCALL].
39850         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39851         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
39852         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
39853         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39854         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
39855         __ASSUME_ACCEPT4_SYSCALL.
39856         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
39857         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
39858         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39859         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
39860         __ASSUME_ACCEPT4_SYSCALL.
39861         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
39862         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
39863         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
39864         [__ASSUME_ACCEPT4]: Change condition to
39865         [__ASSUME_ACCEPT4_SOCKETCALL].
39866         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39867         (__ASSUME_SOCKETCALL): Define.
39868         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
39869         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39870         (__ASSUME_SOCKETCALL): Define.
39871         (__ASSUME_ACCEPT4): Remove.
39872         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
39873         Define.
39874         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39875         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
39876         Likewise.
39877         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39878         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
39880         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
39881         macro.
39882         (HWCAP_ARM_LPAE): Likewise.
39883         (HWCAP_ARM_EVTSTRM): Likewise.
39884         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
39885         Add vpfd32, lpae and evtstrm.
39886         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
39887         Increase to 22.
39889 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
39891         * math/auto-libm-test-in: Add tests of clog10.
39892         * math/auto-libm-test-out: Regenerated.
39893         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
39894         * sysdeps/i386/fpu/libm-test-ulps: Update.
39895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39897 2014-02-18  Andreas Schwab  <schwab@suse.de>
39899         [BZ #16574]
39900         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
39901         Store non-zero if the second buffer was newly allocated.
39902         (send_dg): Likewise.
39903         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
39904         to send_vc and send_dg.
39905         (res_nsend): Pass NULL for ansp2_malloced.
39906         * resolv/res_query.c (__libc_res_nquery): Add parameter
39907         answerp2_malloced and pass it down to __libc_res_nsend.
39908         (res_nquery): Pass additional NULL to __libc_res_nquery.
39909         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
39910         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
39911         second answer buffer if answerp2_malloced was set.
39912         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
39913         (__libc_res_nquerydomain): Add parameter
39914         answerp2_malloced and pass it down to __libc_res_nquery.
39915         (res_nquerydomain): Pass additional NULL to
39916         __libc_res_nquerydomain.
39917         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
39918         additional NULL to __libc_res_nsend and __libc_res_nquery.
39919         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
39920         additional NULL to __libc_res_nsearch.
39921         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
39922         parameter of __libc_res_nsearch to check for separately allocated
39923         second buffer.
39924         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
39925         __libc_res_nquery.
39926         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
39927         additional NULL to __libc_res_nquery.
39928         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
39929         __libc_res_nsearch.
39930         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
39931         * include/resolv.h: Update prototypes of __libc_res_nquery,
39932         __libc_res_nsearch, __libc_res_nsend.
39934 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
39936         * math/auto-libm-test-in: Add tests of fma.
39937         * math/auto-libm-test-out: Regenerated.
39938         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
39939         (fma_towardzero_test_data): Likewise.
39940         (fma_downward_test_data): Likewise.
39941         (fma_upward_test_data): Likewise.
39942         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
39943         mpc_mode.
39944         (rounding_modes): Add values for new field.
39945         (func_calc_method): Add value mpfr_fff_f.
39946         (func_calc_desc): Add mpfr_fff_f union field.
39947         (test_function): Add field exact_args.
39948         (FUNC): Add macro argument EXACT_ARGS.
39949         (FUNC_mpfr_f_f): Update call to FUNC.
39950         (FUNC_mpfr_f_f): Likewise.
39951         (FUNC_mpfr_ff_f): Likewise.
39952         (FUNC_mpfr_if_f): Likewise.
39953         (FUNC_mpc_c_f): Likewise.
39954         (FUNC_mpc_c_c): Likewise.
39955         (test_functions): Add fma.  Update calls to FUNC.
39956         (handle_input_arg): Add argument exact_args.
39957         (add_test): Update call to handle_input_arg.
39958         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
39959         (output_for_one_input_case): Update call to calc_generic_results.
39960         Recalculate exact zero results in each rounding mode.
39962         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
39963         non-negative before setting low bit.
39964         * math/auto-libm-test-in: Mark one asin test possibly having
39965         spurious underflow.
39966         * math/auto-libm-test-out: Regenerated.
39967         * sysdeps/i386/fpu/libm-test-ulps: Update.
39968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39970 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
39972         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
39973         * sysdeps/unix/sysv/linux/microblaze: Move directory from
39974         ports/sysdeps/unix/sysv/linux/microblaze.
39975         * README: Add missing listing for microblaze*-*-linux-gnu.
39977 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
39979         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
39980         duplicate code
39982 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
39984         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
39985         * sysdeps/unix/sysv/linux/ia64: Move directory from
39986         ports/sysdeps/unix/sysv/linux/ia64.
39987         * README: Update listing for ia64-*-linux-gnu.
39989 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
39990             Joseph Myers  <joseph@codesourcery.com>
39992         * Makeconfig (test-name): New variable.
39993         (evaluate-test): Likewise.
39994         * Makerules (do-test-clean): Remove .test-result files.
39995         (common-mostlyclean): Likewise.
39996         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
39997         * scripts/evaluate-test.sh: New file.
39999 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
40001         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
40002         separate $(objpfx)tst-fopenloc-cmp.out and
40003         $(objpfx)tst-fopenloc-mem.out targets.
40004         (tests): Update dependencies.
40005         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
40006         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
40007         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
40008         (tst-rxspencer-no-utf8-ARGS): New variable.
40009         (tst-rxspencer-no-utf8-ENV): Likewise.
40010         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
40011         instead of $(objpfx)tst-rxspencer-mem.
40012         ($(objpfx)tst-rxspencer-mem): Change target to
40013         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
40014         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
40015         * posix/tst-rxspencer-no-utf8.c: New file.
40017         * elf/Makefile ($(objpfx)order.out): Remove rule.
40018         [$(run-built-tests) = yes] (tests): Depend on
40019         $(objpfx)order-cmp.out.
40020         ($(objpfx)order-cmp.out): New rule.
40021         [$(run-built-tests) = yes] (tests): Depend on
40022         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
40023         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
40024         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
40025         $(objpfx)tst-array5-static-cmp.out.
40026         ($(objpfx)tst-array1.out): Remove rule.
40027         ($(objpfx)tst-array1-cmp.out): New rule.
40028         ($(objpfx)tst-array1-static.out): Remove rule.
40029         ($(objpfx)tst-array1-static-cmp.out): New rule.
40030         ($(objpfx)tst-array2.out): Remove rule.
40031         ($(objpfx)tst-array2-cmp.out): New rule.
40032         ($(objpfx)tst-array3.out): Remove rule.
40033         ($(objpfx)tst-array3-cmp.out): New rule.
40034         ($(objpfx)tst-array4.out): Remove rule.
40035         ($(objpfx)tst-array4-cmp.out): New rule.
40036         ($(objpfx)tst-array5.out): Remove rule.
40037         ($(objpfx)tst-array5-cmp.out): New rule.
40038         ($(objpfx)tst-array5-static.out): Remove rule.
40039         ($(objpfx)tst-array5-static-cmp.out): New rule.
40040         [$(run-built-tests) = yes] (tests): Depend on
40041         $(objpfx)order2-cmp.out.
40042         ($(objpfx)order2.out): Remove rule.
40043         ($(objpfx)order2-cmp.out): New rule.
40044         ($(objpfx)tst-initorder.out): Remove rule.
40045         [$(run-built-tests) = yes] (tests): Depend on
40046         $(objpfx)tst-initorder-cmp.out.
40047         ($(objpfx)tst-initorder-cmp.out): New rule.
40048         ($(objpfx)tst-initorder2.out): Remove rule.
40049         [$(run-built-tests) = yes] (tests): Depend on
40050         $(objpfx)tst-initorder2-cmp.out.
40051         ($(objpfx)tst-initorder2-cmp.out): New rule.
40052         [$(run-built-tests) = yes] (tests): Depend on
40053         $(objpfx)tst-unused-dep-cmp.out.
40054         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
40055         ($(objpfx)tst-unused-dep-cmp.out): New rule.
40056         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
40057         on $(objpfx)tst-setvbuf1-cmp.out.
40058         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
40059         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
40060         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
40061         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
40062         ($(objpfx)tst-svc.out): Remove rule.
40063         ($(objpfx)tst-svc-cmp.out): New rule.
40065 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
40067         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
40068         * ctype/ctype.h [__USE_MISC]: Likewise.
40069         * dirent/dirent.h [__USE_MISC]: Likewise.
40070         * grp/grp.h [__USE_MISC]: Likewise.
40071         * io/fcntl.h [__USE_MISC]: Likewise.
40072         * io/sys/stat.h [__USE_MISC]: Likewise.
40073         * libio/stdio.h [__USE_MISC]: Likewise.
40074         * posix/unistd.h [__USE_MISC]: Likewise.
40075         * pwd/pwd.h [__USE_MISC]: Likewise.
40076         * stdlib.h [__USE_MISC]: Likewise.
40077         * string/bits/string2.h [__USE_MISC]: Likewise.
40078         * string/string.h [__USE_MISC]: Likewise.
40079         * time/time.h [__USE_MISC]: Likewise.
40081 2014-02-13  Andreas Schwab  <schwab@suse.de>
40083         [BZ #16574]
40084         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
40085         second answer buffer if it was separately allocated.
40087 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
40089         * sysdeps/mips/math-tests.h: Include <features.h>.
40090         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40091         (ROUNDING_TESTS_long_double): Do not define.
40092         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40093         (EXCEPTION_TESTS_long_double): Likewise.
40094         * sysdeps/mips/mips64/libm-test-ulps: Update.
40096         * include/features.h (__USE_BSD): Remove macro definitions.
40097         (__USE_SVID): Likewise.
40098         (_BSD_SOURCE): Likewise.
40099         (_SVID_SOURCE): Likewise.
40100         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
40101         from definition of _DEFAULT_SOURCE.
40102         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
40103         [_DEFAULT_SOURCE].
40104         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
40105         * bits/mman.h [__USE_BSD]: Likewise.
40106         * bits/termios.h [__USE_BSD]: Likewise.
40107         * bits/waitstatus.h [__USE_BSD]: Likewise.
40108         * ctype/ctype.h [__USE_SVID]: Likewise.
40109         * dirent/dirent.h [__USE_BSD]: Likewise.
40110         * grp/grp.h [__USE_SVID]: Likewise.
40111         [__USE_BSD]: Likewise.
40112         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
40113         * io/fcntl.h [__USE_BSD]: Likewise.
40114         * io/ftw.h [__USE_BSD]: Likewise.
40115         * io/sys/stat.h [__USE_BSD]: Likewise.
40116         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
40117         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
40118         * libio/stdio.h [__USE_SVID]: Likewise.
40119         [__USE_BSD]: Likewise.
40120         * math/math.h [__USE_SVID]: Likewise.
40121         [__USE_BSD]: Likewise.
40122         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
40123         * misc/bits/syslog.h [__USE_BSD]: Likewise.
40124         * misc/search.h [__USE_SVID]: Likewise.
40125         * misc/sys/mman.h [__USE_BSD]: Likewise.
40126         * misc/sys/syslog.h [__USE_BSD]: Likewise.
40127         * misc/sys/uio.h [__USE_BSD]: Likewise.
40128         * posix/bits/unistd.h [__USE_BSD]: Likewise.
40129         * posix/glob.h [__USE_BSD]: Likewise.
40130         * posix/regex.h [__USE_BSD]: Likewise.
40131         * posix/sys/types.h [__USE_BSD]: Likewise.
40132         [__USE_SVID]: Likewise.
40133         * posix/sys/utsname.h [__USE_SVID]: Likewise.
40134         * posix/sys/wait.h [__USE_BSD]: Likewise.
40135         [__USE_SVID]: Likewise.
40136         * posix/unistd.h [__USE_BSD]: Likewise.
40137         [__USE_SVID]: Likewise.
40138         * pwd/pwd.h [__USE_SVID]: Likewise.
40139         * resolv/netdb.h [__USE_BSD]: Likewise.
40140         * setjmp/setjmp.h [__USE_BSD]: Likewise.
40141         * signal/signal.h [__USE_BSD]: Likewise.
40142         [__USE_SVID]: Likewise.
40143         * socket/sys/socket.h [__USE_BSD]: Likewise.
40144         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
40145         * stdlib/stdlib.h [__USE_BSD]: Likewise.
40146         [__USE_SVID]: Likewise.
40147         * string/bits/string2.h [__USE_BSD]: Likewise.
40148         [__USE_SVID]: Likewise.
40149         * string/bits/string3.h [__USE_BSD]: Likewise.
40150         * string/endian.h [__USE_BSD]: Likewise.
40151         * string/string.h [__USE_SVID]: Likewise.
40152         [__USE_BSD]: Likewise.
40153         * string/strings.h [__USE_BSD]: Likewise.
40154         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
40155         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
40156         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
40157         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
40158         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
40159         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
40160         Likewise.
40161         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
40162         Likewise.
40163         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
40164         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
40165         Likewise.
40166         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
40167         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
40168         Likewise.
40169         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
40170         Likewise.
40171         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
40172         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
40173         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
40174         Likewise.
40175         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
40176         Likewise.
40177         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
40178         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
40179         * termios/termios.h [__USE_BSD]: Likewise.
40180         * time/sys/time.h [__USE_BSD]: Likewise.
40181         * time/time.h [__USE_BSD]: Likewise.
40182         [__USE_SVID]: Likewise.
40184         * Makefile (subdir_targets): Remove subdir_lint.out.
40186         * stdio-common/Makefile (do-tst-unbputc): Remove target.
40187         (do-tst-printf): Likewise.
40188         (tests): Depend directly on $(objpfx)tst-unbputc.out and
40189         $(objpfx)tst-printf.out.
40191         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
40193         * Makerules (check-abi-%): Change target to
40194         $(objpfx)check-abi-%.out.
40195         (check-abi target): Update dependencies.
40196         (check-abi-pattern variable): Redirect output of diff to $@.
40197         (check-abi variable): Likewise.
40198         * elf/Makefile (check-abi): Update dependencies.
40200         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
40201         unused.
40202         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
40203         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
40204         subnormal range.
40205         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
40206         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
40207         value has largest subnormal exponent.
40208         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
40209         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
40210         * sysdeps/aarch64/soft-fp/sfp-machine.h
40211         (_FP_TININESS_AFTER_ROUNDING): New macro.
40212         * sysdeps/alpha/soft-fp/sfp-machine.h
40213         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40214         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40215         Likewise.
40216         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
40217         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40218         * sysdeps/mips/soft-fp/sfp-machine.h
40219         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40220         * sysdeps/powerpc/soft-fp/sfp-machine.h
40221         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40222         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40223         Likewise.
40224         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40225         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40226         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40227         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40228         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40229         Likewise.
40231 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
40233         [BZ #16545]
40234         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
40235         model 1.
40237 2014-02-12  Richard Henderson  <rth@redhat.com>
40239         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
40240         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
40241         * sysdeps/unix/sysv/linux/alpha: Move directory from
40242         ports/sysdeps/unix/sysv/linux/alpha.
40243         * README: Update listing for alpha-*-linux-gnu.
40245 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
40247         * include/features.h: Update comment documenting feature test
40248         macros.
40249         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
40250         _DEFAULT_SOURCE.
40251         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
40252         (_SVID_SOURCE): Likewise.
40253         (_DEFAULT_SOURCE): Update description of default features.
40254         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
40255         with _GNU_SOURCE.
40256         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
40257         (S_ISVTX): Likewise.
40258         * manual/math.texi (Mathematical Constants): Likewise.
40259         * manual/signal.texi (Interrupted Primitives): Likewise.
40260         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
40261         * math/test-matherr.c (_SVID_SOURCE): Do not define.
40262         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
40263         Don't refer to _SVID_SOURCE in warning text.
40265         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40267         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
40268         already defined.
40269         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
40270         * sysdeps/mips/dl-lookup.c: Remove.
40271         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
40273 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40275         [BZ #16447]
40276         * math/auto-libm-test-in: Add testcase for expl.
40277         * math/auto-libm-test-out: Regenerate.
40278         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
40279         calculation of unsafe.
40280         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
40282 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40284         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
40285         * sysdeps/unix/sysv/linux/aarch64: Move directory from
40286         ports/sysdeps/unix/sysv/linux/aarch64.
40287         * README: Update listing for aarch64*-*-linux-gnu.
40289 2014-02-11  Will Newton  <will.newton@linaro.org>
40291         * manual/probes.texi (Mathematical Function Probes): Use
40292         "triggered" instead of "hit".
40294         * manual/probes.texi (Internal Probes): Add documentation
40295         of setjmp, longjmp and longjmp_target probes.
40297         * include/stap-probe.h: Add comment about probe argument
40298         format.
40300         * malloc/mtrace.c (attribute_hidden): Remove unused macro
40301         definition.  (tr_where, tr_freehook, tr_mallochook,
40302         tr_reallochook, tr_memalignhook): Use ANSI protoype.
40304 2014-02-11  David S. Miller  <davem@davemloft.net>
40306         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
40307         processing int_tests.
40309 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
40311         * sysdeps/mips: Move directory from ports/sysdeps/mips.
40312         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
40313         * sysdeps/unix/sysv/linux/mips: Move directory from
40314         ports/sysdeps/unix/sysv/linux/mips.
40315         * README: Update listing for mips-*-linux-gnu and
40316         mips64-*-linux-gnu.
40318 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
40320         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
40321         * sysdeps/unix/sysv/linux/m68k: Move directory from
40322         ports/sysdeps/unix/sysv/linux/m68k.
40323         * README: Update listing for m68k-*-linux-gnu.
40325 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
40327         * sysdeps/tile: Move directory from ports/sysdeps/tile.
40328         * sysdeps/unix/sysv/linux/generic: Move directory from
40329         ports/sysdeps/unix/sysv/linux/generic.
40330         * sysdeps/unix/sysv/linux/tile: Move directory from
40331         ports/sysdeps/unix/sysv/linux/tile.
40332         * README: Update listing for tile*-*-linux-gnu.
40334 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
40336         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
40337         __builtin_expect.
40338         * benchtests/bench-memmem.c (simple_memmem): Likewise.
40339         * catgets/open_catalog.c (__open_catalog): Likewise.
40340         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
40341         * debug/confstr_chk.c: Likewise.
40342         * debug/fread_chk.c (__fread_chk): Likewise.
40343         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
40344         * debug/getgroups_chk.c: Likewise.
40345         * debug/mbsnrtowcs_chk.c: Likewise.
40346         * debug/mbsrtowcs_chk.c: Likewise.
40347         * debug/mbstowcs_chk.c: Likewise.
40348         * debug/memcpy_chk.c: Likewise.
40349         * debug/memmove_chk.c: Likewise.
40350         * debug/mempcpy_chk.c: Likewise.
40351         * debug/memset_chk.c: Likewise.
40352         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
40353         * debug/strcat_chk.c (__strcat_chk): Likewise.
40354         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
40355         * debug/strncat_chk.c (__strncat_chk): Likewise.
40356         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
40357         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
40358         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
40359         * debug/wcpncpy_chk.c: Likewise.
40360         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
40361         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
40362         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
40363         * debug/wcsncpy_chk.c: Likewise.
40364         * debug/wcsnrtombs_chk.c: Likewise.
40365         * debug/wcsrtombs_chk.c: Likewise.
40366         * debug/wcstombs_chk.c: Likewise.
40367         * debug/wmemcpy_chk.c: Likewise.
40368         * debug/wmemmove_chk.c: Likewise.
40369         * debug/wmempcpy_chk.c: Likewise.
40370         * debug/wmemset_chk.c: Likewise.
40371         * dirent/scandirat.c (SCANDIRAT): Likewise.
40372         * dlfcn/dladdr1.c (dladdr1): Likewise.
40373         * dlfcn/dladdr.c (dladdr): Likewise.
40374         * dlfcn/dlclose.c (dlclose_doit): Likewise.
40375         * dlfcn/dlerror.c (__dlerror): Likewise.
40376         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
40377         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
40378         * dlfcn/dlopen.c (dlopen_doit): Likewise.
40379         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
40380         * dlfcn/dlsym.c (dlsym_doit): Likewise.
40381         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
40382         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
40383         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
40384         Likewise.
40385         * elf/dl-conflict.c: Likewise.
40386         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
40387         * elf/dl-dst.h: Likewise.
40388         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
40389         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
40390         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
40391         * elf/dl-init.c (call_init, _dl_init): Likewise.
40392         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
40393         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
40394         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
40395         Likewise.
40396         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
40397         Likewise.
40398         * elf/dl-minimal.c (__libc_memalign): Likewise.
40399         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
40400         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
40401         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
40402         * elf/dl-sym.c (do_sym): Likewise.
40403         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
40404         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
40405         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
40406         * elf/dl-writev.h (_dl_writev): Likewise.
40407         * elf/ldconfig.c (search_dir): Likewise.
40408         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
40409         (dl_main): Likewise.
40410         * elf/setup-vdso.h (setup_vdso): Likewise.
40411         * grp/compat-initgroups.c (compat_call): Likewise.
40412         * grp/fgetgrent.c (fgetgrent): Likewise.
40413         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
40414         * grp/putgrent.c (putgrent): Likewise.
40415         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
40416         Likewise.
40417         * hurd/hurdinit.c: Likewise.
40418         * iconvdata/8bit-gap.c (struct): Likewise.
40419         * iconvdata/ansi_x3.110.c : Likewise.
40420         * iconvdata/big5.c : Likewise.
40421         * iconvdata/big5hkscs.c : Likewise.
40422         * iconvdata/cp1255.c: Likewise.
40423         * iconvdata/cp1258.c : Likewise.
40424         * iconvdata/cp932.c : Likewise.
40425         * iconvdata/euc-cn.c: Likewise.
40426         * iconvdata/euc-jisx0213.c : Likewise.
40427         * iconvdata/euc-jp.c: Likewise.
40428         * iconvdata/euc-jp-ms.c : Likewise.
40429         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
40430         * iconvdata/gb18030.c : Likewise.
40431         * iconvdata/gbbig5.c (const): Likewise.
40432         * iconvdata/gbgbk.c: Likewise.
40433         * iconvdata/gbk.c : Likewise.
40434         * iconvdata/ibm1364.c : Likewise.
40435         * iconvdata/ibm930.c : Likewise.
40436         * iconvdata/ibm932.c: Likewise.
40437         * iconvdata/ibm933.c : Likewise.
40438         * iconvdata/ibm935.c : Likewise.
40439         * iconvdata/ibm937.c : Likewise.
40440         * iconvdata/ibm939.c : Likewise.
40441         * iconvdata/ibm943.c: Likewise.
40442         * iconvdata/iso_11548-1.c: Likewise.
40443         * iconvdata/iso-2022-cn.c : Likewise.
40444         * iconvdata/iso-2022-cn-ext.c : Likewise.
40445         * iconvdata/iso-2022-jp-3.c: Likewise.
40446         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
40447         * iconvdata/iso-2022-kr.c : Likewise.
40448         * iconvdata/iso646.c (gconv_end): Likewise.
40449         * iconvdata/iso_6937-2.c : Likewise.
40450         * iconvdata/iso_6937.c : Likewise.
40451         * iconvdata/iso8859-1.c: Likewise.
40452         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
40453         * iconvdata/shift_jisx0213.c : Likewise.
40454         * iconvdata/sjis.c : Likewise.
40455         * iconvdata/t.61.c : Likewise.
40456         * iconvdata/tcvn5712-1.c : Likewise.
40457         * iconvdata/tscii.c: Likewise.
40458         * iconvdata/uhc.c : Likewise.
40459         * iconvdata/unicode.c (gconv_end): Likewise.
40460         * iconvdata/utf-16.c (gconv_end): Likewise.
40461         * iconvdata/utf-32.c (gconv_end): Likewise.
40462         * iconvdata/utf-7.c (base64): Likewise.
40463         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
40464         * iconv/gconv_close.c (__gconv_close): Likewise.
40465         * iconv/gconv_open.c (__gconv_open): Likewise.
40466         * iconv/gconv_simple.c (internal_ucs4_loop_single)
40467         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
40468         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
40469         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
40470         (ucs4le_internal_loop_single): Likewise.
40471         * iconv/iconv.c (iconv): Likewise.
40472         * iconv/iconv_close.c: Likewise.
40473         * iconv/loop.c (SINGLE): Likewise.
40474         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
40475         * include/atomic.h: Likewise.
40476         * inet/inet6_option.c (option_alloc): Likewise.
40477         * intl/bindtextdom.c (set_binding_values): Likewise.
40478         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
40479         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
40480         * intl/localealias.c (read_alias_file): Likewise.
40481         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
40482         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
40483         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
40484         * libio/fmemopen.c (fmemopen): Likewise.
40485         * libio/iofgets.c (_IO_fgets): Likewise.
40486         * libio/iofgets_u.c (fgets_unlocked): Likewise.
40487         * libio/iofgetws.c (fgetws): Likewise.
40488         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
40489         * libio/iogetdelim.c (_IO_getdelim): Likewise.
40490         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
40491         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
40492         * locale/findlocale.c (_nl_find_locale): Likewise.
40493         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
40494         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
40495         Likewise.
40496         * locale/setlocale.c (setlocale): Likewise.
40497         * login/programs/pt_chown.c (main): Likewise.
40498         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
40499         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
40500         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
40501         (mmap, mmap64, mremap, munmap): Likewise.
40502         * math/e_exp2l.c: Likewise.
40503         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
40504         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
40505         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
40506         * math/s_catan.c (__catan): Likewise.
40507         * math/s_catanf.c (__catanf): Likewise.
40508         * math/s_catanh.c (__catanh): Likewise.
40509         * math/s_catanhf.c (__catanhf): Likewise.
40510         * math/s_catanhl.c (__catanhl): Likewise.
40511         * math/s_catanl.c (__catanl): Likewise.
40512         * math/s_ccosh.c (__ccosh): Likewise.
40513         * math/s_ccoshf.c (__ccoshf): Likewise.
40514         * math/s_ccoshl.c (__ccoshl): Likewise.
40515         * math/s_cexp.c (__cexp): Likewise.
40516         * math/s_cexpf.c (__cexpf): Likewise.
40517         * math/s_cexpl.c (__cexpl): Likewise.
40518         * math/s_clog10.c (__clog10): Likewise.
40519         * math/s_clog10f.c (__clog10f): Likewise.
40520         * math/s_clog10l.c (__clog10l): Likewise.
40521         * math/s_clog.c (__clog): Likewise.
40522         * math/s_clogf.c (__clogf): Likewise.
40523         * math/s_clogl.c (__clogl): Likewise.
40524         * math/s_csin.c (__csin): Likewise.
40525         * math/s_csinf.c (__csinf): Likewise.
40526         * math/s_csinh.c (__csinh): Likewise.
40527         * math/s_csinhf.c (__csinhf): Likewise.
40528         * math/s_csinhl.c (__csinhl): Likewise.
40529         * math/s_csinl.c (__csinl): Likewise.
40530         * math/s_csqrt.c (__csqrt): Likewise.
40531         * math/s_csqrtf.c (__csqrtf): Likewise.
40532         * math/s_csqrtl.c (__csqrtl): Likewise.
40533         * math/s_ctan.c (__ctan): Likewise.
40534         * math/s_ctanf.c (__ctanf): Likewise.
40535         * math/s_ctanh.c (__ctanh): Likewise.
40536         * math/s_ctanhf.c (__ctanhf): Likewise.
40537         * math/s_ctanhl.c (__ctanhl): Likewise.
40538         * math/s_ctanl.c (__ctanl): Likewise.
40539         * math/w_pow.c: Likewise.
40540         * math/w_powf.c: Likewise.
40541         * math/w_powl.c: Likewise.
40542         * math/w_scalb.c (sysv_scalb): Likewise.
40543         * math/w_scalbf.c (sysv_scalbf): Likewise.
40544         * math/w_scalbl.c (sysv_scalbl): Likewise.
40545         * misc/error.c (error_tail): Likewise.
40546         * misc/pselect.c (__pselect): Likewise.
40547         * nis/nis_callback.c (__nis_create_callback): Likewise.
40548         * nis/nis_call.c (__nisfind_server): Likewise.
40549         * nis/nis_creategroup.c (nis_creategroup): Likewise.
40550         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
40551         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
40552         * nis/nis_getservlist.c (nis_getservlist): Likewise.
40553         * nis/nis_lookup.c (nis_lookup): Likewise.
40554         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
40555         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
40556         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
40557         * nis/nis_xdr.c (xdr_endpoint): Likewise.
40558         * nis/nss_compat/compat-grp.c (getgrent_next_file)
40559         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
40560         * nis/nss_compat/compat-initgroups.c (add_group)
40561         (internal_getgrent_r): Likewise.
40562         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
40563         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
40564         * nis/nss_compat/compat-spwd.c (getspent_next_file)
40565         (internal_getspnam_r): Likewise.
40566         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
40567         (_nss_nis_getaliasbyname_r): Likewise.
40568         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
40569         (_nss_nis_getntohost_r): Likewise.
40570         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
40571         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
40572         (_nss_nis_getgrgid_r): Likewise.
40573         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
40574         (internal_nis_gethostent_r, internal_gethostbyname2_r)
40575         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
40576         (_nss_nis_gethostbyname4_r): Likewise.
40577         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
40578         (initgroups_netid): Likewise.
40579         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
40580         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
40581         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
40582         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
40583         (_nss_nis_getprotobynumber_r): Likewise.
40584         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
40585         (_nss_nis_getsecretkey): Likewise.
40586         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
40587         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
40588         (_nss_nis_getpwuid_r): Likewise.
40589         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
40590         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
40591         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
40592         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
40593         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
40594         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
40595         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
40596         Likewise.
40597         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
40598         (_nss_nisplus_getntohost_r): Likewise.
40599         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
40600         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
40601         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
40602         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
40603         Likewise.
40604         * nis/nss_nisplus/nisplus-initgroups.c
40605         (_nss_nisplus_initgroups_dyn): Likewise.
40606         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
40607         (_nss_nisplus_getnetbyaddr_r): Likewise.
40608         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
40609         (_nss_nisplus_getprotobynumber_r): Likewise.
40610         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
40611         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
40612         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
40613         Likewise.
40614         * nis/nss_nisplus/nisplus-service.c
40615         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
40616         (_nss_nisplus_getservbyport_r): Likewise.
40617         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
40618         (_nss_nisplus_getspnam_r): Likewise.
40619         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
40620         Likewise.
40621         * nscd/aicache.c (addhstaiX): Likewise.
40622         * nscd/cache.c (cache_search, prune_cache): Likewise.
40623         * nscd/connections.c (register_traced_file, send_ro_fd)
40624         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
40625         (main_loop_epoll): Likewise.
40626         * nscd/grpcache.c (addgrbyX): Likewise.
40627         * nscd/hstcache.c (addhstbyX): Likewise.
40628         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40629         * nscd/mem.c (gc, mempool_alloc): Likewise.
40630         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
40631         (addinnetgrX): Likewise.
40632         * nscd/nscd-client.h (__nscd_acquire_maplock)
40633         (__nscd_drop_map_ref): Likewise.
40634         * nscd/nscd_getai.c (__nscd_getai): Likewise.
40635         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
40636         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
40637         Likewise.
40638         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
40639         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40640         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
40641         (__nscd_get_map_ref): Likewise.
40642         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
40643         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
40644         Likewise.
40645         * nscd/pwdcache.c (addpwbyX): Likewise.
40646         * nscd/selinux.c (preserve_capabilities): Likewise.
40647         * nscd/servicescache.c (addservbyX): Likewise.
40648         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
40649         * posix/fnmatch.c (fnmatch): Likewise.
40650         * posix/getopt.c (_getopt_internal_r): Likewise.
40651         * posix/glob.c (glob, glob_in_dir): Likewise.
40652         * posix/wordexp.c (exec_comm_child): Likewise.
40653         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
40654         (getanswer_r, gaih_getanswer_slice): Likewise.
40655         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
40656         * resolv/res_init.c: Likewise.
40657         * resolv/res_mkquery.c (res_nmkquery): Likewise.
40658         * resolv/res_query.c (__libc_res_nquery): Likewise.
40659         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
40660         Likewise.
40661         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
40662         * stdio-common/perror.c (perror): Likewise.
40663         * stdio-common/printf_fp.c (___printf_fp): Likewise.
40664         * stdio-common/tmpnam.c (tmpnam): Likewise.
40665         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
40666         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
40667         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
40668         Likewise.
40669         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
40670         * stdlib/putenv.c (putenv): Likewise.
40671         * stdlib/setenv.c (__add_to_environ): Likewise.
40672         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
40673         * stdlib/strtol_l.c (INTERNAL): Likewise.
40674         * string/memmem.c (memmem): Likewise.
40675         * string/strerror.c (strerror): Likewise.
40676         * string/strnlen.c (__strnlen): Likewise.
40677         * string/test-memmem.c (simple_memmem): Likewise.
40678         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
40679         * sunrpc/pm_getport.c (__get_socket): Likewise.
40680         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
40681         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
40682         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
40683         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
40684         Likewise.
40685         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
40686         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
40687         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
40688         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
40689         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
40690         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
40691         Likewise.
40692         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
40693         Likewise.
40694         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
40695         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
40696         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
40697         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
40698         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
40699         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
40700         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
40701         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
40702         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
40703         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
40704         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40705         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
40706         Likewise.
40707         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
40708         Likewise.
40709         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
40710         Likewise.
40711         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
40712         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40713         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
40714         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
40715         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
40716         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
40717         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40718         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
40719         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
40720         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
40721         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
40722         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40723         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
40724         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
40725         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40726         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
40727         Likewise.
40728         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
40729         Likewise.
40730         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
40731         Likewise.
40732         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
40733         Likewise.
40734         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40735         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40736         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
40737         Likewise.
40738         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
40739         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
40740         * sysdeps/posix/opendir.c (__opendirat): Likewise.
40741         * sysdeps/posix/sleep.c: Likewise.
40742         * sysdeps/posix/tempname.c: Likewise.
40743         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
40744         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
40745         Likewise.
40746         * sysdeps/powerpc/powerpc32/dl-machine.h
40747         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
40748         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
40749         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
40750         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
40751         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
40752         Likewise.
40753         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
40754         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
40755         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
40756         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
40757         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
40758         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
40759         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
40760         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
40761         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40762         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
40763         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
40764         (elf_machine_lazy_rel): Likewise.
40765         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40766         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
40767         (elf_machine_lazy_rel): Likewise.
40768         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
40769         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
40770         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
40771         * sysdeps/unix/grantpt.c (grantpt): Likewise.
40772         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
40773         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
40774         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
40775         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40776         Likewise.
40777         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
40778         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
40779         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
40780         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
40781         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
40782         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
40783         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
40784         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
40785         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
40786         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
40787         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
40788         Likewise.
40789         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
40790         (__posix_fallocate64_l64): Likewise.
40791         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
40792         (posix_fallocate): Likewise.
40793         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
40794         Likewise.
40795         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40796         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
40797         (getifaddrs_internal): Likewise.
40798         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
40799         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
40800         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
40801         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
40802         * sysdeps/unix/sysv/linux/posix_fallocate64.c
40803         (__posix_fallocate64_l64): Likewise.
40804         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
40805         Likewise.
40806         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
40807         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
40808         (__get_clockfreq): Likewise.
40809         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
40810         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
40811         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
40812         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40813         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40814         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
40815         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
40816         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
40817         Likewise.
40818         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
40819         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
40820         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
40821         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
40822         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
40823         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
40824         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
40825         Likewise.
40826         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40827         (posix_fallocate): Likewise.
40828         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40829         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
40830         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
40831         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
40832         (elf_machine_rela, elf_machine_rela_relative)
40833         (elf_machine_lazy_rel): Likewise.
40834         * time/asctime.c (asctime_internal): Likewise.
40835         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
40836         * time/tzset.c (__tzset_parse_tz): Likewise.
40837         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
40838         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
40839         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
40840         * wcsmbs/wcsmbsload.h: Likewise.
40842         [BZ #15894]
40843         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
40845         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
40846         (arena_get2): Remove THREAD_STATS conditionals.
40847         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
40848         (__malloc_stats, int): Likewise.
40850 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
40852         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
40853         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
40855         * manual/setjmp.texi: Fix typos/grammar errors.
40857         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
40858         Only return early when n is <= 0.  Delete unused return statement.
40860         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
40861         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
40862         * debug/tst-longjmp_chk3.c: New file.
40864         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
40865         (test_main): Replace code with set_fortify_handler call.
40866         * debug/test-strcpy_chk.c: Likewise.
40867         * debug/tst-chk1.c: Likewise.
40868         * debug/tst-longjmp_chk.c: Likewise.
40869         * test-skeleton.c: Include fcntl.h & paths.h
40870         (set_fortify_handler): Define.
40872         * debug/tst-longjmp_chk.c: Add header comment and include
40873         ../test-skeleton.c.
40874         (do_test): Mark static.
40875         (TEST_FUNCTION): Define.
40877         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
40878         (IP_PMTUDISC_INTERFACE): Likewise.
40879         (IP_MULTICAST_IF): Likewise.
40880         (IP_MULTICAST_TTL): Likewise.
40881         (IP_MULTICAST_LOOP): Likewise.
40882         (IP_ADD_MEMBERSHIP): Likewise.
40883         (IP_DROP_MEMBERSHIP): Likewise.
40884         (IP_UNBLOCK_SOURCE): Likewise.
40885         (IP_BLOCK_SOURCE): Likewise.
40886         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
40887         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
40888         (IP_MSFILTER): Likewise.
40889         (MCAST_JOIN_GROUP): Likewise.
40890         (MCAST_BLOCK_SOURCE): Likewise.
40891         (MCAST_UNBLOCK_SOURCE): Likewise.
40892         (MCAST_LEAVE_GROUP): Likewise.
40893         (MCAST_JOIN_SOURCE_GROUP): Likewise.
40894         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
40895         (MCAST_MSFILTER): Likewise.
40896         (IP_MULTICAST_ALL): Likewise.
40897         (IP_UNICAST_IF): Likewise.
40899         * timezone/Makefile: Delete $(have-ksh) check.
40900         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
40901         * timezone/tzselect.ksh: Add +x mode bits.
40903         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
40904         (ANON_INODE_FS_MAGIC): Likewise.
40905         (BDEVFS_MAGIC): Likewise.
40906         (BINFMTFS_MAGIC): Likewise.
40907         (BTRFS_TEST_MAGIC): Likewise.
40908         (CRAMFS_MAGIC_WEND): Likewise.
40909         (DEBUGFS_MAGIC): Likewise.
40910         (ECRYPTFS_SUPER_MAGIC): Likewise.
40911         (EXT3_SUPER_MAGIC): Likewise.
40912         (EXT4_SUPER_MAGIC): Likewise.
40913         (FUTEXFS_SUPER_MAGIC): Likewise.
40914         (HOSTFS_SUPER_MAGIC): Likewise.
40915         (HUGETLBFS_MAGIC): Likewise.
40916         (MINIX3_SUPER_MAGIC): Likewise.
40917         (MTD_INODE_FS_MAGIC): Likewise.
40918         (NILFS_SUPER_MAGIC): Likewise.
40919         (OPENPROM_SUPER_MAGIC): Likewise.
40920         (PIPEFS_MAGIC): Likewise.
40921         (PSTOREFS_MAGIC): Likewise.
40922         (QNX6_SUPER_MAGIC): Likewise.
40923         (RAMFS_MAGIC): Likewise.
40924         (REISERFS_SUPER_MAGIC_STRING): Likewise.
40925         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
40926         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
40927         (SECURITYFS_MAGIC): Likewise.
40928         (SELINUX_MAGIC): Likewise.
40929         (SMACK_MAGIC): Likewise.
40930         (SOCKFS_MAGIC): Likewise.
40931         (SQUASHFS_MAGIC): Likewise.
40932         (STACK_END_MAGIC): Likewise.
40933         (TMPFS_MAGIC): Likewise.
40934         (USBDEVICE_SUPER_MAGIC): Likewise.
40935         (V9FS_MAGIC): Likewise.
40936         (XENFS_SUPER_MAGIC): Likewise.
40937         (CRAMFS_MAGIC): Fix typo in comment.
40938         (EXT2_SUPER_MAGIC): Update comment.
40939         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
40941 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
40943         * sysdeps/arm: Move directory from ports/sysdeps/arm.
40944         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
40945         * sysdeps/unix/sysv/linux/arm: Move directory from
40946         ports/sysdeps/unix/sysv/linux/arm.
40947         * README: Update listing for arm-*-linux-gnueabi.
40949         * README: Remove mention of am33.
40951 2014-02-07  Roland McGrath  <roland@hack.frob.com>
40953         * bits/sigset.h (__sigemptyset): Use a statement expression rather
40954         than the comma operator, to avoid "rhs of comma has no effect"
40955         compiler warnings.
40956         (__sigfillset, __sigandset, __sigorset): Likewise.
40957         * include/signal.h (__sigemptyset): Likewise.
40958         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
40960 2014-02-07  Allan McRae  <allan@archlinux.org>
40962         * version.h (RELEASE): Set to "development".
40963         (VERSION): Set to "2.19.90"
40964         * NEWS: Add 2.20 section.
40966 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
40968         [BZ #16529]
40969         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
40971 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40973         * manual/contrib.texi: Update entry for Carlos O'Donell,
40974         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
40976 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
40978         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
40980         * sysdeps/unix/sysv/linux/kernel-features.h
40981         [__LINUX_KERNEL_VERSION >= 0x020621]
40982         (__ASSUME_PROC_PID_TASK_COMM): Define.
40984 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40986         [BZ #16398]
40987         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
40988         conversion when destination buffer does not have enough space.
40989         * libio/tst-ftell-partial-wide.c: New test case.
40990         * libio/Makefile (tests): Add tst-ftell-partial-wide.
40992         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
40993         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
40994         Leonard and Allan McRae.
40996 2014-02-04  David S. Miller  <davem@davemloft.net>
40998         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
40999         32-bit.
41001 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
41004         New file
41005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
41006         New file
41007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
41008         New file.
41009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
41010         New file.
41011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
41012         New file.
41013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
41014         New file.
41015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
41016         New file.
41017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
41018         New file.
41019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
41020         New file.
41021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
41022         New file.
41023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
41024         New file.
41025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
41026         New file.
41027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
41028         New file.
41030 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41032         * nptl/shlib-versions: Change powerpc*le start to 2.17.
41033         * shlib-versions: Likewise.
41035 2014-02-04  Roland McGrath  <roland@hack.frob.com>
41036             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41038         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
41039         (abilist-pattern): New variable, set to %-le.abilist.
41041         * Makerules (abilist-pattern): New variable.
41042         (vpath): Use $(abilist-pattern) in place of %.abilist.
41043         (check-abi-% pattern rule): Likewise.
41044         (check-abi, update-abi): Likewise.
41046 2014-02-04  Eric Wong  <normalperson@yhbt.net>
41048         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41050 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
41052         * manual/startup.texi: Add next, previous, and top entries for
41053         the `Program Arguments' and `Environment Variables' nodes.
41055 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
41057         * manual/macros.texi: Add comments before MTASC-safety macros.
41059         * manual/users.texi: Document MTASC-safety properties.
41061         * manual/threads.texi (pthread_key_create, pthread_key_delete)
41062         (pthread_getspecific, pthread_setspecific): Format with
41063         @deftypefun, and add @safety note.
41064         * manual/signal.texi: Move comments that analyze the above
41065         functions to their home place.
41067 2014-02-03  Allan McRae  <allan@archlinux.org>
41069         * po/sl.po: Update Slovenian translation from translation project.
41071 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
41073         * manual/time.texi (timegm): Add missing blank after @c.
41074         Reported by Joseph Myers <joseph@codesourcery.com>.
41076 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
41078         * manual/check-safety.sh: New.
41079         * manual/Makefile ($(objpfx)stamp-summary): Run it.
41081         * manual/terminal.texi: Document MTASC-safety properties.
41083         * manual/filesys.texi: Document MTASC-safety properties.
41085         * manual/errno.texi: Document MTASC-safety properties.
41087         * manual/intro.texi: Document safety identifiers and
41088         conditionals.
41090         * manual/string.texi (wcstok): Fix prototype.
41091         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
41093         * manual/time.texi: Document MTASC-safety properties.
41095         * manual/string.texi: Document MTASC-safety properties.
41097         * manual/threads.texi: Document MTASC-safety properties.
41099         * manual/stdio.texi: Document MTASC-safety properties.
41101         * manual/syslog.texi: Document MTASC-safety properties.
41103         * manual/sysinfo.texi: Document MTASC-safety properties.
41105         * manual/startup.texi: Document MTASC-safety properties.
41107         * manual/socket.texi: Document MTASC-safety properties.
41109         * manual/signal.texi: Document MTASC-safety properties.
41111 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
41113         * manual/setjmp.texi: Document MTASC-safety properties.
41115         * manual/search.texi: Document MTASC-safety properties.
41117         * manual/resource.texi: Document MTASC-safety properties.
41119         * manual/process.texi: Document MTASC-safety properties.
41121         * manual/platform.texi: Document MTASC-safety properties.
41123         * manual/pipe.texi: Document MTASC-safety properties.
41125         * manual/pattern.texi: Document MTASC-safety properties.
41127         * manual/message.texi: Document MTASC-safety properties.
41129         [BZ #12751]
41130         * manual/memory.texi: Document MTASC-safety properties.
41132         * manual/math.texi: Document MTASC-safety properties.
41134         * manual/locale.texi: Document MTASC-safety properties.
41136         * manual/llio.texi: Document MTASC-safety properties.
41138         * manual/libdl.texi: New.
41140         * manual/lang.texi: Document MTASC-safety properties.
41142         * manual/job.texi: Document MTASC-safety properties.
41144         * manual/getopt.texi: Document MTASC-safety properties.
41146         * manual/ctype.texi: Document MTASC-safety properties.
41148 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
41150         [BZ #16046]
41151         * csu/libc-tls.c (static_map): Remove variable.
41152         (__libc_setup_tls): Use main executable's link map for TLS data.
41153         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
41154         casing for LM_ID_BASE and GL(dl_nns).
41155         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
41156         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
41157         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
41158         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
41159         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
41160         member.
41161         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
41162         l_phnum members.
41164 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
41166         * manual/debug.texi: Document MTASC-safety properties.
41168 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
41170         [BZ #16510]
41171         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
41172         of __x86_64__ when disabling x87 inline functions.
41174 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
41176         * manual/charset.texi: Document MTASC-safety properties.
41178         * manual/crypt.texi: Document MTASC-safety properties.
41180         * manual/conf.texi: Document MTASC-safety properties.
41182         * manual/arith.texi: Document MTASC-safety properties.
41184         * manual/argp.texi: Document MTASC-safety properties.
41186         * manual/macros.texi: Introduce macros to document multi
41187         thread, asynchronous signal and asynchronous cancellation
41188         safety properties.
41189         * manual/intro.texi: Introduce the properties themselves.
41191 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41193         * sysdeps/sh/sh4/Makefile: New file.
41195 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
41197         * math/gen-libm-test.pl ($srcdir): New variable.
41198         ($auto_input): Use it.
41200 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41202         [BZ #16506]
41203         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
41204         access beyond array bounds when parsing netgroups file.
41206         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
41207         the old buffer before realloc.
41209 2014-01-27  Allan McRae  <allan@archlinux.org>
41211         * po/fr.po: Update French translation from translation project.
41213 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41215         * sysdeps/sh/libm-test-ulps: Regenerate.
41217 2014-01-24  David S. Miller  <davem@davemloft.net>
41219         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
41221 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41223         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
41224         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
41226 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41228         [BZ #16474]
41229         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
41230         string pointers after reallocation.
41232 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41234         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
41235         __SH4A__ instead of __SH_FPU_ANY__.
41237 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41239         * sysdeps/sh/fpu_control.h: New file.
41240         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
41241         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
41242         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
41243         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
41244         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
41245         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
41246         * sysdeps/sh/sys/ucontext.h: Remove.
41247         * sysdeps/sh/sys: Remove directory.
41249 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41251         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
41252         s390/sys/ucontext.h.
41253         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
41254         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
41256 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
41258         [BZ #15605]
41259         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
41261 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41263         [BZ#16431]
41264         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
41265         Adjust the vDSO correctly for internal calls.
41266         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
41268 2014-01-20  Allan McRae  <allan@archlinux.org>
41270         * po/ca.po: Update Catalan translation from translation project.
41272 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
41274         * sysdeps/s390/sotruss-lib.c: New file.
41276 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41278         [BZ#16430]
41279         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
41280         (__GI___gettimeofday): Alias for a different internal symbol to avoid
41281         local calls issues by not having a PLT stub required for IFUNC calls.
41282         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
41284 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
41286         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
41287         * math/test-fpucw-static.c: Likewise.
41289 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41291         [BZ #16453]
41292         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
41294 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41296         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
41297         implementation for powerpc.
41299 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
41301         [BZ #14782]
41302         * sysdeps/posix/system.c (__libc_system): Do not enable
41303         asynchronous cancellation.
41305 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41307         [BZ #16427]
41308         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
41309         handling only for numbers special also in the IEEE case.
41311 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41313         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41315 2014-01-11  Allan McRae  <allan@archlinux.org>
41317         * po/bg.po: Update Bulgarian translation from translation project.
41319         * po/de.po: Update German translation from translation project.
41321 2014-01-10  Roland McGrath  <roland@hack.frob.com>
41323         * sysdeps/generic/gcc-compat.h: New file.
41325 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41327         * benchtests/asin-inputs: Correct slow inputs.
41328         * benchtests/acos-inputs: Likewise.
41330 2014-01-10  Allan McRae  <allan@archlinux.org>
41332         * po:sv.po: Update Swedish translation from translation project.
41334         * po/vi.po: Update Vietnamese translation from translation project.
41336         * po/eo.po: Update Esperanto translation from translation project.
41338         * po/cs.po: Update Czech translation from translation project.
41340         * po/nl.po: Update Dutch translation from translation project.
41342         * po/pl.po: Update Polish translation from translation project.
41344         * po/ru.po: Update Russian translation from translation project.
41346         * po/uk.po: Update Ukrainian translation from translation project.
41348 2014-01-08  Brooks Moses  <bmoses@google.com>
41350         * elf/dl-load.c: Fix comment typo.
41352 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
41354         * po/header.pot: Rename to...
41355         * po/pot.header: ... this.
41356         * po/Makefile: Use pot.header.
41358 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
41359             Maxim Kuvyrkov  <maxim@kugelworks.com>
41361         [BZ #16394]
41362         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
41363         SRC and DEST against LEN.
41365 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41367         [BZ #16414]
41368         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
41369         implementation.
41370         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
41372 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41376 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
41378         [BZ #16408]
41379         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
41380         for large positive arguments.
41382 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
41384         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41386         * math/auto-libm-test-in: Mark various tests with
41387         xfail-rounding:ldbl-128ibm.
41388         * math/auto-libm-test-out: Regenerated.
41390         [BZ #16407]
41391         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
41392         Increase overflow threshold.
41394 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
41396         [BZ #14286]
41397         * stdio-common/vfprintf.c: Check for integer overflow.
41399 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41401         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
41402         the first argument and return value of __tls_get_addr_internal.
41404 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41406         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
41407         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
41409 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41411         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
41412         * sysdeps/s390/rtld-global-offsets.sym: New file.
41413         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
41414         GLIBC_2.19 symbol.
41415         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
41416         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
41417         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
41418         ... this.
41419         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
41420         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
41421         ... this.
41422         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41423         Regenerate.
41424         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41425         Regenerate.
41426         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
41427         halfs of GPRs for high_gprs contexts.
41428         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
41429         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
41430         field.
41431         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
41432         uc_flags field.
41433         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
41434         64 bit versions:
41435         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
41436         for high GPRs (uc_high_gprs) and for future extensions
41437         (__reserved).
41438         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
41439         for future extensions (__reserved).
41440         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
41441         64 bit versions:
41442         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
41443         SC_HIGHGPRS offset definition.
41444         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
41445         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
41447         * Versions.def: Add GLIBC_2.19 for libpthread.
41448         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
41449         siglongjmp for libpthread with GLIBC_2.19 symver.
41450         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
41451         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
41452         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
41453         * sysdeps/s390/__longjmp.c: New file.
41454         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
41455         * sysdeps/s390/longjmp.c: New file.
41456         * sysdeps/s390/setjmp.S: New file.
41457         * sysdeps/s390/sigjmp.S: New file.
41458         * sysdeps/s390/v1-longjmp.c: New file.
41459         * sysdeps/s390/v1-setjmp.h: New file.
41460         * sysdeps/s390/v1-sigjmp.c: New file.
41461         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
41462         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
41463         GLIBC_2.19 version.
41464         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
41465         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
41466         versioned symbols for ____longjmp_chk.
41467         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
41468         Likewise.
41469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41470         Regenerate.
41471         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41472         Regenerate.
41473         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41474         Regenerate.
41475         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41476         Regenerate.
41477         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
41478         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
41479         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
41480         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
41481         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
41482         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
41483         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
41484         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
41485         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
41486         * sysdeps/s390/rtld-__longjmp.c: New file.
41487         * sysdeps/s390/rtld-setjmp.S: New file.
41489 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
41491         [BZ #16400]
41492         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
41493         Return -__logl (x) for small positive arguments without evaluating
41494         a polynomial.
41496 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
41498         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
41499         Rename to ...
41500         (__ptrace_peeksiginfo_args): ... this.
41501         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41502         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41503         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41505 2014-01-06  Allan McRae  <allan@archlinux.org>
41507         * inet/netinet/in.h: Fix typo in comment.
41509 2014-01-05  Andreas Jaeger  <aj@suse.de>
41511         * sysdeps/i386/fpu/libm-test-ulps: Update.
41513 2014-01-05  Allan McRae  <allan@archlinux.org>
41515         * po/libc.pot: Regenerated.
41517         * malloc/memusagestat.c: Fix gettext call formatting.
41519 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
41521         * nscd/nscd.c: Improve usage() output.
41523 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
41525         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
41526         * sysdeps/unix/sysv/linux/configure: Regenerated.
41527         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
41528         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
41530 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
41532         [BZ #16390]
41533         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
41534         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
41536 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41538         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
41539         extra tokens at end of #undef directive.
41540         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
41541         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
41542         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
41544 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
41546         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41548         * math/auto-libm-test-in: Mark various tests with
41549         xfail-rounding:ldbl-128ibm.
41550         * math/auto-libm-test-out: Regenerated.
41552 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
41554         [BZ #16386]
41555         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
41556         numbers with subnormal high part when calculating exponent.
41558         [BZ #16385]
41559         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
41560         fabs.
41562         [BZ #16384]
41563         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
41564         M_LN2l.
41565         (__ieee754_acoshl): Use __log1pl not __log1p.
41567 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
41569         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
41570         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
41571         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
41572         (grow_heap, heap_trim, _int_new_arena, get_free_list)
41573         (reused_arena, arena_get2): Convert to GNU style.
41574         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
41575         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
41576         (memalign_check, __malloc_set_state): Likewise.
41577         * malloc/mallocbug.c (main): Likewise.
41578         * malloc/malloc.c (__malloc_assert, malloc_init_state)
41579         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
41580         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
41581         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
41582         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
41583         (__posix_memalign, malloc_info): Likewise.
41584         * malloc/malloc.h: Likewise.
41585         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
41586         (mallochook, memalignhook, reallochook, mabort): Likewise.
41587         * malloc/mcheck.h: Likewise.
41588         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
41589         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
41590         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
41591         * malloc/morecore.c (__default_morecore): Likewise.
41592         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
41593         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
41594         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
41595         (print_and_abort): Likewise.
41596         * malloc/obstack.h: Likewise.
41597         * malloc/set-freeres.c (__libc_freeres): Likewise.
41598         * malloc/tst-mallocstate.c (main): Likewise.
41599         * malloc/tst-mtrace.c (main): Likewise.
41600         * malloc/tst-realloc.c (do_test): Likewise.
41602 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41604         [BZ #16366]
41605         * nscd/netgroupcache.c (do_notfound): New function.
41606         (addgetnetgrentX): Use it.
41608         [BZ # 16365]
41609         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
41610         NSS_STATUS_NOTFOUND.
41612 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
41614         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
41615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41617 2014-01-01  Allan McRae  <allan@archlinux.org>
41619         * scripts/update-copyrights: Update configure input file suffix.
41621         * NEWS: Update copyright year.
41622         * catgets/gencat.c: Likewise.
41623         * csu/version.c: Likewise.
41624         * debug/catchsegv.sh: Likewise.
41625         * debug/pcprofiledump.c: Likewise.
41626         * debug/xtrace.sh: Likewise.
41627         * elf/ldconfig.c: Likewise.
41628         * elf/ldd.bash.in: Likewise.
41629         * elf/pldd.c: Likewise.
41630         * elf/sotruss.ksh: Likewise.
41631         * elf/sprof.c: Likewise.
41632         * iconv/iconv_prog.c: Likewise.
41633         * iconv/iconvconfig.c: Likewise.
41634         * locale/programs/locale.c: Likewise.
41635         * locale/programs/localedef.c: Likewise.
41636         * login/programs/pt_chown.c: Likewise.
41637         * malloc/memusage.sh: Likewise.
41638         * malloc/memusagestat.c: Likewise.
41639         * malloc/mtrace.pl: Likewise.
41640         * manual/libc.texinfo: Likewise.
41641         * nscd/nscd.c: Likewise.
41642         * nss/getent.c: Likewise.
41643         * nss/makedb.c: Likewise.
41644         * posix/getconf.c: Likewise.
41645         * scripts/test-installation.pl: Likewise.
41647         * All files with FSF copyright notices: Update copyright dates
41648         using scripts/update-copyrights.
41649         * intl/plural.c: Regenerated.
41650         * locale/programs/charmap-kw.h: Likewise.
41651         * locale/programs/locfile-kw.h: Likewise.
41653 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
41655         * sysdeps/unix/sysv/linux/configure: Regenerated.
41656         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
41657         the linux/fanotify.h header.
41658         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
41659         HAVE_LINUX_FANOTIFY_H is defined.
41661 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41663         * benchtests/cos-inputs: New inputs.
41664         * benchtests/sin-inputs: Likewise.
41666         * benchtests/atan-inputs: New inputs. Fix name of multiple
41667         precision fallback inputs.
41669         * benchtests/atanh-inputs: New inputs.
41670         * benchtests/tanh-inputs: Likewise.
41672         * benchtests/acosh-inputs: New inputs.
41673         * benchtests/asinh-inputs: Likewise.
41675         * benchtests/cosh-inputs: New inputs.
41676         * benchtests/sinh-inputs: Likewise.
41678         * benchtests/acos-inputs: Add more inputs.
41679         * benchtests/asin-inputs: Likewise.
41681 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
41683         [BZ #16375]
41684         * manual/arith.texi: Fix spelling.
41685         * manual/charset.texi: Likewise.
41686         * manual/errno.texi: Likewise.
41687         * manual/filesys.texi: Likewise.
41688         * manual/lang.texi: Likewise.
41689         * manual/llio.texi: Likewise.
41690         * manual/locale.texi: Likewise.
41691         * manual/message.texi: Likewise.
41692         * manual/resource.texi: Likewise.
41693         * manual/search.texi: Likewise.
41694         * manual/setjmp.texi: Likewise.
41695         * manual/stdio.texi: Likewise.
41696         * manual/string.texi: Likewise.
41697         * manual/sysinfo.texi: Likewise.
41698         * manual/time.texi: Likewise.
41700 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
41702         * po/sl.po: New file.
41704 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
41706         * .gitignore: Add core/.gdbinit/.gdb_history.
41708 2013-12-27  Allan McRae  <allan@archlinux.org>
41710         [BZ #16369]
41711         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
41712         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
41714 2013-12-24  Brooks Moses  <bmoses@google.com>
41716         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
41717         all compilers that claim C++98 compliance, not just GCC.
41718         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
41719         Likewise.
41721 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
41723         * NEWS: Restore accidentally deleted bug-fix entries.
41725 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
41726             Ondřej Bílka  <neleai@seznam.cz>
41728         [BZ #15073]
41729         * malloc/malloc.c (_int_free): Perform sanity check only if we
41730         have_lock.
41732 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
41734         [BZ #12986]
41735         * manual/stdio.texi (String Input Conversions): Clarify that character
41736         classes are not supported.
41738 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41740         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41742 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
41744         [BZ #16337]
41745         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
41746         Calculate results for small negative arguments directly rather
41747         than using reflection formula with special underflow handling.
41749         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
41750         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
41751         sysdeps/unix/bsd/bsd4.4/syscalls.list.
41752         (fchflags): Likewise.
41753         (revoke): Likewise.
41754         (setlogin): Likewise.
41755         (sigaltstack): Likewise.
41756         (wait4): Likewise.
41757         (sigblock): Remove.
41758         (sigsetmask): Likewise.
41759         (wait3): Likewise.
41760         (waitpid): Likewise.
41761         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
41762         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
41763         file.
41764         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
41765         * sysdeps/unix/bsd/Makefile: ... here.
41766         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
41767         * sysdeps/unix/bsd/Versions: ... here.
41768         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
41769         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
41770         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
41771         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
41772         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
41773         * sysdeps/unix/bsd/sigblock.c: ... here.
41774         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
41775         * sysdeps/unix/bsd/sigsetmask.c: ... here.
41776         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
41777         * sysdeps/unix/bsd/sigvec.c: ... here.
41778         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
41779         * sysdeps/unix/bsd/tcdrain.c: ... here.
41780         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
41781         * sysdeps/unix/bsd/tcgetattr.c: ... here.
41782         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
41783         * sysdeps/unix/bsd/tcsetattr.c: ... here.
41784         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
41785         * sysdeps/unix/bsd/wait.c: ... here.
41786         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
41787         * sysdeps/unix/bsd/wait3.c: ... here.
41788         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
41789         * sysdeps/unix/bsd/waitpid.c: ... here.
41791 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
41793         [BZ #16356]
41794         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
41795         round-to-nearest for [!USE_AS_EXPM1L].
41796         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
41797         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
41798         more tests of exp and exp10.  Expect some exp10 tests to miss
41799         exceptions or fail in directed rounding modes.
41800         * math/auto-libm-test-out: Regenerated.
41801         * math/libm-test.inc (exp10_tonearest_test_data): New array.
41802         (exp10_test_tonearest): New function.
41803         (exp10_towardzero_test_data): New array.
41804         (exp10_test_towardzero): New function.
41805         (exp10_downward_test_data): New array.
41806         (exp10_test_downward): New function.
41807         (exp10_upward_test_data): New array.
41808         (exp10_test_upward): New function.
41809         (main): Call the new functions.
41810         * sysdeps/i386/fpu/libm-test-ulps: Update.
41811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41813 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
41815         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
41816         asinh, atan, atan2, atanh, cbrt, cos and cosh.
41817         * math/auto-libm-test-out: Regenerated.
41818         * math/libm-test.inc (acosh_test_data): Add more tests.
41819         (atanh_test_data): Likewise.
41820         (ceil_test_data): Likewise.
41821         (copysign_test_data): Likewise.
41822         * sysdeps/i386/fpu/libm-test-ulps: Update.
41823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41825         * timezone/checktab.awk: Update from tzcode 2013i.
41826         * timezone/private.h: Likewise.
41827         * timezone/scheck.c: Likewise.
41828         * timezone/tzfile.h: Likewise.
41829         * timezone/tzselect.ksh: Likewise.
41830         * timezone/zdump.c: Likewise.
41831         * timezone/zic.c: Likewise.
41833         * math/auto-libm-test-in: Add tests of cpow.
41834         * math/auto-libm-test-out: Regenerated.
41835         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
41836         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41837         mpc_cc_c.
41838         (func_calc_desc): Add mpc_cc_c union field.
41839         (test_functions): Add cpow.
41840         (special_fill_2pi): New function.
41841         (special_real_inputs): Add 2pi.
41842         (calc_generic_results): Handle mpc_cc_c.
41843         * sysdeps/i386/fpu/libm-test-ulps: Update.
41844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41846         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
41847         csqrt, ctan and ctanh.
41848         * math/auto-libm-test-out: Regenerated.
41849         * math/libm-test.inc (TEST_COND_x86_64): New macro.
41850         (TEST_COND_x86): Likewise.
41851         (ccos_test_data): Use AUTO_TESTS_c_c.
41852         (ccosh_test_data): Likewise.
41853         (cexp_test_data): Likewise.
41854         (clog_test_data): Likewise.
41855         (csqrt_test_data): Likewise.
41856         (ctan_test_data): Likewise.
41857         (ctan_tonearest_test_data): Likewise.
41858         (ctan_towardzero_test_data): Likewise.
41859         (ctan_downward_test_data): Likewise.
41860         (ctan_upward_test_data): Likewise.
41861         (ctanh_test_data): Likewise.
41862         (ctanh_tonearest_test_data): Likewise.
41863         (ctanh_towardzero_test_data): Likewise.
41864         (ctanh_downward_test_data): Likewise.
41865         (ctanh_upward_test_data): Likewise.
41866         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41867         mpc_c_c.
41868         (func_calc_desc): Add mpc_c_c union field.
41869         (FUNC_mpc_c_c): New macro.
41870         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
41871         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
41872         ctanh.
41873         (special_fill_min_subnorm_p120): New function.
41874         (special_real_inputs): Add min_subnorm_p120.
41875         (calc_generic_results): Handle mpc_c_c.
41876         * sysdeps/i386/fpu/libm-test-ulps: Update.
41877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41879 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41881         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
41882         (do_sin_slow): New functions.
41883         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
41884         (cslow2, csloww1, csloww2): Use the new functions.
41886         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
41887         Use M to change sign of result instead of X.  Assume X is
41888         positive.
41889         (csloww1): Likewise.
41890         (__sin): Adjust.
41891         (__cos): Adjust.
41893         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
41894         arguments A and DA.
41895         (__sin): Adjust.
41896         (__cos): Likewise.
41898         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
41899         (__cos): Likewise.
41900         (sloww1): Don't adjust sign of DX.
41901         (csloww1): Likewise.
41902         (sloww2): Use X directly and don't adjust sign of DX.
41903         (csloww2): Likewise.
41905 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41907         * math/auto-libm-test-in: Add tests of cabs and carg.
41908         * math/auto-libm-test-out: Regenerated.
41909         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
41910         (carg_test_data): Likewise.
41911         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41912         mpc_c_f.
41913         (func_calc_desc): Add mpc_c_f union field.
41914         (test_functions): Add cabs and carg.
41915         (calc_generic_results): Handle mpc_c_f.
41917         * sysdeps/powerpc/powerpc32/libgcc-compat.S
41918         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
41919         as a macro and a compat symbol.
41920         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
41921         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
41922         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
41923         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
41924         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
41925         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
41926         not use .hidden.
41927         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
41928         Likewise.
41929         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
41930         Likewise.
41931         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
41932         Likewise.
41933         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
41934         Likewise.
41935         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
41936         Likewise.
41937         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
41938         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
41939         from GLIBC_2.3.2.
41941 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41943         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41945 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41947         * manual/texinfo.tex: Update to version 2013-11-26.10 with
41948         trailing whitespace removed.
41949         * scripts/config.guess: Update to version 2013-11-29.
41950         * scripts/config.sub: Update to version 2013-10-01.
41952         * math/auto-libm-test-in: Add tests of sincos.
41953         * math/auto-libm-test-out: Regenerated.
41954         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
41955         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41956         mpfr_f_11.
41957         (func_calc_desc): Add mpfr_f_11 union field.
41958         (test_functions): Add sincos.
41959         (calc_generic_results): Handle mpfr_f_11.
41960         * sysdeps/i386/fpu/libm-test-ulps: Update.
41961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41963 2013-12-19  Andreas Schwab  <schwab@suse.de>
41965         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
41966         CALL_MCOUNT.
41967         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
41968         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
41969         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
41971 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41973         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
41974         * sysdeps/i386/fpu/libm-test-ulps: Update.
41975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41977         [BZ #16293]
41978         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
41979         round-to-nearest mode when using frndint.
41980         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
41981         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41982         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
41983         Likewise.
41984         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
41985         sinh test to fail.
41986         * math/auto-libm-test-out: Regenerated.
41987         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
41988         (TEST_COND_x86): Likewise.
41989         (expm1_tonearest_test_data): New array.
41990         (expm1_test_tonearest): New function.
41991         (expm1_towardzero_test_data): New array.
41992         (expm1_test_towardzero): New function.
41993         (expm1_downward_test_data): New array.
41994         (expm1_test_downward): New function.
41995         (expm1_upward_test_data): New array.
41996         (expm1_test_upward): New function.
41997         (main): Run the new test functions.
41998         * sysdeps/i386/fpu/libm-test-ulps: Update.
41999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42001         * include/features.h: Update comment documenting feature test
42002         macros.  Mention _DEFAULT_SOURCE in comment.
42003         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
42004         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
42005         _BSD_SOURCE and _SVID_SOURCE.
42006         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
42007         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
42008         !_SVID_SOURCE]: Likewise.
42009         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42010         (__USE_POSIX_IMPLICITLY): Define.
42011         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42012         (_POSIX_SOURCE): Undefine and redefine.
42013         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42014         (_POSIX_C_SOURCE): Likewise.
42015         * manual/creature.texi (_DEFAULT_SOURCE): Document.
42016         (Feature Test Macros): Update documentation of default features.
42018 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42020         * benchtests/Makefile: Add bench-strtok.
42021         * benchtests/bench-strtok.c: New file: strtok benchtest.
42023 2013-12-19  Allan McRae  <allan@archlinux.org>
42025         * manual/install.texi: Suppress menu for plain text output.
42026         * INSTALL: Regenerated.
42028 2013-12-18  Brooks Moses  <bmoses@google.com>
42030         [BZ #15846]
42031         * misc/getauxval.c: Include errno.h.
42032         (__getauxval): Set errno to ENOENT if the requested type is not
42033         found.
42034         * misc/sys/auxv.h (getauxval): Document that it may set errno;
42035         don't declare with __attribute_const__.
42036         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
42037         * manual/startup.texi: Document that getauxval sets errno.
42039 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42041         * math/auto-libm-test-in: Add tests of jn and yn.
42042         * math/auto-libm-test-out: Regenerated.
42043         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
42044         (yn_test_data): Likewise.
42045         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42046         mpfr_if_f.
42047         (func_calc_desc): Add mpfr_if_f union field.
42048         (FUNC_mpfr_if_f): New macro.
42049         (test_functions): Add jn and yn.
42050         (calc_generic_results): Assert type of second input for
42051         mpfr_ff_f.  Handle mpfr_if_f.
42052         (output_for_one_input_case): Disable all checking for arguments
42053         fitting floating-point types in case of an integer argument.
42054         * sysdeps/i386/fpu/libm-test-ulps: Update.
42055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42058         Don't expect fegetround reference in libm.so.
42060 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42062         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
42063         $(config-cflags-nofma).
42065 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42067         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
42068         * math/auto-libm-test-out: Regenerated.
42070         [BZ #16338]
42071         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
42072         to determine exponent and adjust argument to have exponent of -1.
42073         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
42074         log2.
42075         * math/auto-libm-test-out: Regenerated.
42076         * sysdeps/i386/fpu/libm-test-ulps: Update.
42077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42079 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
42081         * manual/probes.texi: Remove cases when per-thread arenas are
42082         disabled.
42084 2013-12-18  Andreas Schwab  <schwab@suse.de>
42086         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
42087         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
42088         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
42089         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
42090         * sysdeps/i386/i686/multiarch/Makefile: Update.
42091         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
42093 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42095         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
42096         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
42098 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
42100         [BZ #15968]
42101         Support TZ transition times < 00:00:00.
42102         This is needed for version-3 tz-format files; it supports time
42103         stamps past 2037 for America/Godthab (the only entry in the tz
42104         database for which this change is relevant).
42105         * manual/time.texi (TZ Variable): Document transition times
42106         from -167:59:59 through -00:00:01.
42107         * time/tzset.c (tz_rule): Time of day is now signed.
42108         (__tzset_parse_tz): Parse negative time of day.
42110         Document TZ transition times >= 25:00:00.
42111         * manual/time.texi (TZ Variable): Document transition times from
42112         25:00:00 through 167:59:59.  These are already supported, and this
42113         support will help with version-3 tz-format files.
42115         * manual/time.texi (TZ Variable): Modernize North America example
42116         to reflect current (i.e., 2007-and-later) daylight saving rules.
42118         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
42120 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42122         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
42123         * sysdeps/unix/bsd/bits/stat.h: Likewise.
42124         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
42125         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42126         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
42127         * sysdeps/unix/bsd/bsdstat.h: Likewise.
42128         * sysdeps/unix/bsd/clock.c: Likewise.
42129         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
42130         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
42131         * sysdeps/unix/bsd/init-posix.c: Likewise.
42132         * sysdeps/unix/bsd/poll.c: Likewise.
42133         * sysdeps/unix/bsd/ptsname.c: Likewise.
42134         * sysdeps/unix/bsd/seekdir.c: Likewise.
42135         * sysdeps/unix/bsd/setegid.c: Likewise.
42136         * sysdeps/unix/bsd/seteuid.c: Likewise.
42137         * sysdeps/unix/bsd/setgid.c: Likewise.
42138         * sysdeps/unix/bsd/setrgid.c: Likewise.
42139         * sysdeps/unix/bsd/setruid.c: Likewise.
42140         * sysdeps/unix/bsd/setsid.c: Likewise.
42141         * sysdeps/unix/bsd/setuid.c: Likewise.
42142         * sysdeps/unix/bsd/sigaction.c: Likewise.
42143         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
42144         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
42145         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
42146         * sysdeps/unix/bsd/telldir.c: Likewise.
42147         * sysdeps/unix/bsd/times.c: Likewise.
42148         * sysdeps/unix/bsd/usleep.c: Likewise.
42150         * misc/Makefile (install-lib): Remove libbsd-compat.a.
42151         ($(objpfx)libbsd-compat.a): Remove rule.
42153         * include/features.h (__FAVOR_BSD): Do not define.
42154         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
42155         features conflicting with POSIX.
42156         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
42157         (_BSD_SOURCE): Remove description of not being a subset of other
42158         feature test macros.
42159         * manual/job.texi (getpgrp): Do not document BSD version.
42160         (getpgid): Do not document by reference to BSD getpgrp.
42161         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
42162         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
42163         * signal/signal.h [__FAVOR_BSD]: Likewise.
42164         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
42165         instead of making contents conditional on [__FAVOR_BSD].
42166         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
42168 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42170         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42172 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42174         [BZ #16314]
42175         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
42176         values below 2**-450, not 2**-500.
42177         * math/auto-libm-test-in: Don't allow spurious underflow from
42178         hypot.
42179         * math/auto-libm-test-out: Regenerated.
42181         [BZ #16316]
42182         [BZ #16330]
42183         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
42184         values of ha and hb and sort them after adjusting subnormal
42185         arguments.
42186         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
42187         Likewise.
42188         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
42189         values of ea and eb and sort them after adjusting subnormal
42190         arguments.
42191         * math/auto-libm-test-in: Do not expect some hypot tests of
42192         subnormals to fail.  Add more hypot tests.
42193         * math/auto-libm-test-out: Regenerated.
42195 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42197         [BZ #13304]
42198         * sysdeps/sh/s_fma.c: New file.
42199         * sysdeps/sh/s_fmaf.c: New file.
42200         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
42201         version.
42202         * sysdeps/sh/Implies: Add sh/soft-fp.
42204 2013-12-16  Roland McGrath  <roland@hack.frob.com>
42206         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
42207         level of indirection to members `objname', `errstring', `malloced'.
42208         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
42209         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
42210         it as the __longjmp argument (just pass 1 instead).
42211         (_dl_catch_error): Initialize C with argument pointers and address of
42212         volatile local ERRCODE rather than copying values out of C at return.
42214 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
42216         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
42217         * math/auto-libm-test-out: Regenerated.
42218         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
42219         (hypot_test_data): Likewise.
42220         (pow_test_data): Likewise.
42221         (pow_tonearest_test_data): Likewise.
42222         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42223         mpfr_ff_f.
42224         (func_calc_desc): Add mpfr_ff_f union field.
42225         (FUNC_mpfr_ff_f): New macro.
42226         (test_functions): Add atan2, hypot and pow.
42227         (special_fill_min): New function.
42228         (special_fill_minus_min): Likewise.
42229         (special_fill_min_subnorm): Likewise.
42230         (special_fill_minus_min_subnorm): Likewise.
42231         (special_real_inputs): Add min, -min, min_subnorm and
42232         -min_subnorm.
42233         (calc_generic_results): Handle mpfr_ff_f.
42234         * sysdeps/i386/fpu/libm-test-ulps: Update.
42235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42237 2013-12-16  Will Newton  <will.newton@linaro.org>
42239         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
42240         (Aligned Memory Blocks): Add documentation for aligned_alloc
42241         and suggest it as an alternative to posix_memalign.
42242         (Hooks for Malloc): Document __memalign_hook is also called
42243         for aligned_alloc.  (Summary of Malloc): Add summary for
42244         aligned alloc.  Document __memalign_hook is also called
42245         for aligned_alloc.
42247 2013-12-16  Will Newton  <will.newton@linaro.org>
42249         * manual/memory.texi (Malloc Examples): Clarify default
42250         alignment documentation.  Suggest posix_memalign rather
42251         than memalign or valloc.
42252         (Aligned Memory Blocks): Remove suggestion to use memalign
42253         or valloc.  Remove obsolete comment about BSD.
42254         Document memalign errno values and mark the function obsolete.
42255         Document posix_memalign returned error codes.  Mark valloc
42256         as obsolete.  (Hooks for Malloc): __memalign_hook is also
42257         called for posix_memalign and valloc.
42258         (Summary of Malloc): Add posix_memalign to function summary.
42259         __memalign_hook is also called for posix_memalign and valloc.
42261 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42263         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
42264         TAYLOR_SIN.
42265         (__sin): Adjust.
42266         (__cos): Likewise.
42267         (sloww): Use mynumber union.  Expand ternary operator into
42268         if-else statements.
42269         (cslow): use mynumber union.
42271 2013-12-16  Allan McRae  <allan@archlinux.org>
42273         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
42274         * configure: Regenerated.
42276         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
42278         [BZ #14120]
42279         * configure.ac: Added --enable-maintainer-mode. Check for
42280         autoconf when enabled.
42281         * configure: Regenerated.
42283         * nscd/nscd.service: New file.
42284         * nscd/nscd.tmpfiles: New file.
42286 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
42288         [BZ #12100]
42289         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
42290         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
42291         * sysdeps/x86_64/multiarch/strstr.c: ... here.
42292         (strstr): Add __strstr_sse2_unaligned ifunc.
42293         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
42294         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
42295         (strcasestr): Remove __strcasestr_sse42 ifunc.
42296         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
42297         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
42298         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
42300 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42302         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
42303         * sysdeps/sh/bits/fenv.h: ... here.
42304         * sysdeps/sh/sh4/fpu/bits: Remove directory.
42306 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42308         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
42310         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
42311         hypotf multiarch implementations.
42312         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
42313         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
42314         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
42315         multiarch hypot for PPC64.
42316         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
42317         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
42318         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
42319         multiarch hypotf for PPC64.
42321         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
42322         modff multiarch implementations.
42323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
42324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
42325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
42326         multiarch modf for PPC64.
42327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
42328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
42329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
42330         multiarch modff for PPC64.
42332         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
42333         and logl multiarch implementations.
42334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
42335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
42336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
42337         multiarch logb for PPC64.
42338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
42339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
42340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
42341         multiarch logb for PPC64.
42342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
42343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
42344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
42345         multiarch logb for PPC64.
42347         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
42348         isinff multiarch implementation.
42349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
42350         file.
42351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
42352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
42353         multiarch isinf for PPC64.
42354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
42355         file.
42356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
42357         multiarch isinff for PPC64.
42359         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
42360         finitef multiarch implementation.
42361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
42362         file.
42363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
42364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
42365         multiarch finite for PPC64.
42366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
42367         file.
42368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
42369         multiarch finitef for PPC64.
42371         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
42372         lrint multiarch implementation.
42373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
42374         file.
42375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
42376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
42377         multiarch llrint for PPC64.
42378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
42379         multiarch lrint for PPC64.
42381         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
42382         copysignf multiarch implementation.
42383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
42384         file.
42385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
42386         file.
42387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
42388         multiarch copysign for PPC64.
42389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
42390         multiarch copysignf for PPC64.
42392         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
42393         multiarch implementation.
42394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
42395         file.
42396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
42397         file.
42398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
42399         file.
42400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
42401         file.
42402         multiarch llround for PPC64.
42403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
42404         multiarch trunc for PPC64.
42405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
42406         multiarch truncf for PPC64.
42408         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
42409         multiarch implementation.
42410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
42411         file.
42412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
42413         file.
42414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
42415         file.
42416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
42417         file.
42418         multiarch llround for PPC64.
42419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
42420         multiarch round for PPC64.
42421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
42422         multiarch roundf for PPC64.
42424         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
42425         multiarch implementation.
42426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
42427         file.
42428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
42429         file.
42430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
42431         file.
42432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
42433         file.
42434         multiarch llround for PPC64.
42435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
42436         multiarch floor for PPC64.
42437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
42438         multiarch floorf for PPC64.
42440         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
42441         multiarch implementation.
42442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
42443         file.
42444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
42445         file.
42446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
42447         file.
42448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
42449         file.
42450         multiarch llround for PPC64.
42451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
42452         multiarch ceil for PPC64.
42453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
42454         multiarch ceilf for PPC64.
42456         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
42457         multiarch implementation.
42458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
42459         file.
42460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
42461         file.
42462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
42463         file.
42464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
42465         multiarch llround for PPC64.
42466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
42467         multiarch lround for PPC64.
42469         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
42470         multiarch implementation.
42471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
42472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
42473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
42474         file.
42475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
42476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
42477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
42478         multiarch isnan for PPC64.
42479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
42480         multiarch isnanf for PPC64.
42482         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
42483         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
42484         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
42485         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
42486         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
42487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
42489         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
42490         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42491         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42492         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42494         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
42495         multiarch implementations.
42496         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42497         (__libc_ifunc_impl_list): Likewise.
42498         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
42499         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
42500         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
42501         multiarch stpcpy for PPC64.
42503         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
42504         multiarch implementations.
42505         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42506         (__libc_ifunc_impl_list): Likewise.
42507         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
42508         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
42509         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
42510         multiarch strcpy for PPC64.
42512         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
42513         redefine function name.
42514         (_wordcopy_fwd_dest_aligned): Likewise.
42515         (_wordcopy_bwd_aligned): Likewise.
42516         (_wordcopy_bwd_dest_aligned): Likewise.
42517         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
42518         multiarch implementations.
42519         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42520         (__libc_ifunc_impl_list): Likewise.
42521         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
42522         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
42523         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
42524         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
42525         multiarch wcscpy for PPC64.
42527         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
42528         multiarch implementations.
42529         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42530         (__libc_ifunc_impl_list): Likewise.
42531         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
42532         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
42533         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
42534         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
42535         multiarch wcscpy for PPC64.
42537         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
42538         multiarch implementations.
42539         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42540         (__libc_ifunc_impl_list): Likewise.
42541         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
42542         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
42543         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
42544         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
42545         multiarch wcsrchr for PPC64.
42547         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
42548         multiarch implementations.
42549         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42550         (__libc_ifunc_impl_list): Likewise.
42551         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
42552         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
42553         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
42554         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
42555         multiarch wcschr for PPC64.
42557         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
42558         multiarch implementations.
42559         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42560         (__libc_ifunc_impl_list): Likewise.
42561         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
42562         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
42563         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
42564         multiarch strchrnul for PPC64.
42566         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
42567         implementations.
42568         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42569         (__libc_ifunc_impl_list): Likewise.
42570         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
42571         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
42572         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
42573         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
42574         strchr for PPC64.
42576         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
42577         implementations.
42578         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42579         (__libc_ifunc_impl_list): Likewise.
42580         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
42581         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
42582         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
42583         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
42584         strncmp for PPC64.
42586         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
42587         multiarch implementations.
42588         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42589         (__libc_ifunc_impl_list): Likewise.
42590         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
42591         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
42592         strncasecmp for PPC64.
42593         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
42594         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
42595         multiarch strncasecmp_l for PPC64.
42597         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
42598         multiarch implementations.
42599         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42600         (__libc_ifunc_impl_list): Likewise.
42601         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
42602         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
42603         multiarch strcasecmp for PPC64.
42604         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
42605         file.
42606         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
42607         multiarch strcasecmp_l for PPC64.
42609         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
42610         implementations.
42611         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42612         (__libc_ifunc_impl_list): Likewise.
42613         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
42614         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
42615         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
42616         strnlen for PPC64.
42618         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
42619         implementations.
42620         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42621         (__libc_ifunc_impl_list): Likewise.
42622         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
42623         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
42624         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
42625         strlen for PPC64.
42627         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
42628         implementations.
42629         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42630         (__libc_ifunc_impl_list): Likewise.
42631         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
42632         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
42633         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
42634         rawmemrchr for PPC64.
42636         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
42637         implementation.
42638         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42639         (__libc_ifunc_impl_list): Likewise.
42640         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
42641         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
42642         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
42643         memrchr for PPC64.
42645         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
42646         implementation.
42647         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42648         (__libc_ifunc_impl_list): Likewise.
42649         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
42650         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
42651         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
42652         memchr for PPC64.
42654         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
42655         implementation.
42656         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42657         (__libc_ifunc_impl_list): Likewise.
42658         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
42659         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
42660         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
42661         mempcpy for PPC64.
42663         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
42664         avoid cretion of __bzero symbol.
42665         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
42666         Likewise.
42667         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
42668         Likewise.
42669         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
42670         Likewise.
42671         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
42672         multiarch implementations.
42673         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42674         (__libc_ifunc_impl_list): Likewise.
42675         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
42676         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
42677         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
42678         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
42679         bzero for PPC32.
42680         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
42681         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
42682         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
42683         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
42684         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
42685         memset for PPC64.
42686         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
42688         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
42689         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
42690         implementations.
42691         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42692         (__libc_ifunc_impl_list): Likewise.
42693         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
42694         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
42695         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
42696         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
42697         memcmp for PPC64.
42699         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
42700         multiarch for POWER/PPC64.
42701         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
42702         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
42703         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
42704         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
42705         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
42706         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
42707         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
42708         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
42709         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
42710         memcpy for PPC64.
42712         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
42713         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
42714         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
42715         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
42716         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
42717         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
42718         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
42719         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
42720         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
42721         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
42722         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
42723         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
42724         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
42725         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
42726         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
42727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
42728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
42729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
42730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
42731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
42732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
42733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
42735 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42737         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
42739 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42741         * benchtests/Makefile (bench): Add exp2 and log2.
42742         (LDLIBS-bench-exp2): Add -lm.
42743         (LDLIBS-bench-log2): Likewise.
42744         * benchtests/exp2-inputs: New inputs file.
42745         * benchtests/log2-inputs: New inputs file.
42746         * benchtests/log-inputs: Add new inputs.
42747         * benchtests/tan-inputs: Likewise.
42749 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42751         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
42752         definition...
42753         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
42754         (csloww2): ... from here.
42756         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
42757         instead of structures.
42758         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
42759         (POLYNOMIAL): Likewise.
42760         (TAYLOR_SLOW): Likewise.
42761         (__sin): Likewise.
42762         (__cos): Likewise.
42763         (slow1): Likewise.
42764         (slow2): Likewise.
42765         (sloww): Likewise.
42766         (sloww1); Likewise.
42767         (sloww2): Likewise.
42768         (bsloww1): Likewise.
42769         (bsloww2): Likewise.
42770         (cslow2): Likewise.
42771         (csloww): Likewise.
42772         (csloww1): Likewise.
42773         (csloww2): Likewise.
42775 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
42777         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
42778         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
42779         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
42780         * malloc/hooks.c (realloc_check): Likewise.
42782         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
42783         * malloc/arena.c: Remove PER_THREAD conditional.
42784         [!PER_THREAD]: Remove code.
42785         (ptmalloc_unlock_all2): Likewise.
42786         (ptmalloc_init): Likewise.
42787         (_int_new_arena): Likewise.
42788         (arena_get2): Likewise.
42789         * malloc/hooks.c (__malloc_get_state): Likewise.
42790         (__malloc_set_state): Likewise.
42791         * malloc/malloc.c: Likewise.
42792         (struct malloc_state): Likewise.
42793         (struct malloc_par): Likewise.
42794         (__libc_realloc): Likewise.
42795         (__libc_mallopt): Likewise.
42797 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42799         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
42801 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
42803         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
42804         macro to a function.  Check for zero perturb_byte.
42805         (_int_malloc, _int_free): Remove zero perturb_byte checks.
42807         * malloc/malloc.c: (force_reg): Remove.
42808         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
42809         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
42810         force_reg by atomic_forced_read.
42811         * malloc/arena.c (ptmalloc_init): Likewise.
42812         * malloc/hooks.c (top_check): Likewise.
42814 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42816         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42818 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
42820         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42822 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
42824         * math/auto-libm-test-in: Add tests of lgamma.
42825         * math/auto-libm-test-out: Regenerated.
42826         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
42827         (M_LOG_2_SQRT_PIl): Likewise.
42828         (lgamma_test_data): Use AUTO_TESTS_f_f1.
42829         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42830         mpfr_f_f1.
42831         (func_calc_desc): Add mpfr_f_f1 union field.
42832         (ARGS1): New macro.
42833         (ARGS2): Likewise.
42834         (ARGS3): Likewise.
42835         (ARGS4): Likewise.
42836         (RET1): Likewise.
42837         (RET2): Likewise.
42838         (CALC): Likewise.
42839         (FUNC): Likewise.
42840         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
42841         (test_functions): Add lgamma.
42842         (calc_generic_results): Handle mpfr_f_f1.
42843         * sysdeps/i386/fpu/libm-test-ulps: Update.
42844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42846 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42848         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
42849         __mpn_add_n for PowerPC64/POWER7.
42850         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
42851         __mpn_sub_n for PowerPC64/POWER7.
42853         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
42854         __mpn_addmul_1 for PowerPC64.
42855         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
42856         __mpn_submul_1 for PowerPC64.
42857         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
42858         for PowerPC64.
42859         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
42860         for PowerPC64.
42862 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
42864         [BZ #15089]
42865         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
42867 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42869         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
42871         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
42872         add multiarch folders.
42873         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
42874         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
42875         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
42876         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
42877         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
42878         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
42879         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
42880         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
42881         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
42882         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
42883         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
42884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
42885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
42886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
42887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
42888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
42889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
42891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
42892         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
42893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
42894         New file.
42895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
42896         New file.
42897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
42898         multiarch __ieee754_hypot for PowerPC32.
42899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
42900         New file.
42901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
42902         New file.
42903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
42904         multiarch __ieee754_hypotf for PowerPC32.
42906         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
42907         long_double_symbol only if __logbl is defined.
42908         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
42909         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
42910         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
42911         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
42912         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
42913         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
42914         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
42915         path for implementation.
42916         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
42917         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
42918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
42919         logb, and logbl multiarch implementations for PowerPC32.
42920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
42921         file.
42922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
42923         file.
42924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
42925         multiarch logb for PowerPC32.
42926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
42927         file.
42928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
42929         file.
42930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
42931         multiarch logbf for PowerPC32.
42932         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
42933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
42934         file.
42935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
42936         multiarch logbl implementation for PowerPC32.
42938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
42939         and modff multiarch implementations.
42940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
42941         New file.
42942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
42943         New file.
42944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
42945         multiarch modf for PowerPC32.
42946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
42947         New file.
42948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
42949         New file.
42950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
42951         multiarch modff for PowerPC32.
42953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
42954         and lrintf multiarch implementations.
42955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
42956         New file.
42957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
42958         New file.
42959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
42960         multiarch lrint for PowerPC32.
42961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
42962         file: multiarch lrintf for PowerPC32.
42964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
42965         and lroundf multiarch implementations.
42966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
42967         New file.
42968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
42969         New file.
42970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
42971         New file.
42972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
42973         multiarch lround for PowerPC32.
42974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
42975         file: multiarch lroundf for PowerPC32.
42977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
42978         copysign and copysignf multiarch implementations.
42979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
42980         New file.
42981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
42982         New file.
42983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
42984         file: multiarch copysign for PowerPC32.
42985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
42986         file: multiarch copysignf for PowerPC32.
42988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
42989         and truncf multiarch implementations.
42990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
42991         New file.
42992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
42993         file.
42994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
42995         multiarch trunc for PowerPC32.
42996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
42997         New file.
42998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
42999         New file.
43000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
43001         multiarch truncf for PowerPC32.
43003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
43004         and roundf multiarch implementations.
43005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
43006         New file.
43007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
43008         file.
43009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
43010         multiarch round for PowerPC32.
43011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
43012         New file.
43013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
43014         New file.
43015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
43016         multiarch roundf for PowerPC32.
43018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
43019         and floorf multiarch implementations.
43020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
43021         New file.
43022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
43023         file.
43024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
43025         multiarch floor for PowerPC32.
43026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
43027         New file.
43028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
43029         New file.
43030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
43031         multiarch floorf for PowerPC32.
43033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
43034         and ceilf multiarch implementations.
43035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
43036         New file.
43037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
43038         file.
43039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
43040         multiarch ceil for PowerPC32.
43041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
43042         New file.
43043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
43044         file.
43045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
43046         multiarch ceilf for PowerPC32.
43048         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
43049         is defined.
43050         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
43051         FINITEF is defined.
43052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
43053         and finitef multiarch implementations.
43054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
43055         New file.
43056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
43057         file.
43058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
43059         multiarch finite for PowerPC32.
43060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
43061         New file.
43062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
43063         file: multiarch finitef for PowerPC32.
43065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
43066         and isinff multiarch implementations.
43067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
43068         file.
43069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
43070         file.
43071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
43072         multiarch isinf for PowerPC32.
43073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
43074         New file.
43075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
43076         multiarch isinff for PowerPC32.
43078         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
43079         alias when __isnan is defined.
43080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
43081         and isnanf multiarch implementations.
43082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
43083         file.
43084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
43085         file.
43086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
43087         file.
43088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
43089         file.
43090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
43091         multiarch isnan for PowerPC32.
43092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
43093         New file.
43094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
43095         New file.
43096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
43097         multiarch isnanf for PowerPC32.
43099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
43100         and sqrtf multiarch implementations.
43101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
43102         file.
43103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
43104         file.
43105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
43106         multiarch sqrt for PowerPC32.
43107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
43108         file.
43109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
43110         file.
43111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
43112         multiarch sqrtf for PowerPC32.
43114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
43115         and llroundf multiarch implementations.
43116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
43117         New file.
43118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
43119         New file.
43120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
43121         New file.
43122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
43123         file: multiarch llround for PowerPC32.
43124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
43125         file: multiarch llroundf for PowerPC32.
43127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
43128         multiarch PowerPC32 fpu implementations.
43129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
43130         New file.
43131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
43132         New file.
43133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
43134         multiarch llrint for PowerPC32.
43135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
43136         New file.
43137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
43138         New file.
43139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
43140         file.
43142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
43144         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
43145         file.
43146         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
43147         file.
43148         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
43149         file.
43150         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
43151         multiarch wordcopy for PPC32.
43152         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43153         wordcopy objects.
43154         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43155         (__libc_ifunc_impl_list): Likewise.
43156         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
43157         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
43158         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
43159         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
43160         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
43161         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
43163         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
43164         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
43165         file.
43166         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
43167         file.
43168         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
43169         file.
43170         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
43171         multiarch wcscpy for PPC32.
43172         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43173         multiarch objects.
43174         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43175         (__libc_ifunc_impl_list): Likewise.
43176         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43177         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43178         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
43179         sysdeps/powerpc/power6/wcscpy.c.
43181         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
43182         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
43183         file.
43184         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
43185         file.
43186         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
43187         file.
43188         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
43189         multiarch wcsrchr for PPC32.
43190         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43191         multiarch objects.
43192         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43193         (__libc_ifunc_impl_list): Likewise.
43194         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43195         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43196         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
43197         sysdeps/powerpc/power6/wcsrchr.c.
43199         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
43200         file.
43201         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
43202         file.
43203         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
43204         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
43205         multiarch wcschr for PPc32.
43206         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43207         multiarch objects.
43208         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43209         (__libc_ifunc_impl_list): Likewise.
43210         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
43211         * sysdeps/powerpc/power6/wcschr.c: ... to here.
43212         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
43213         sysdeps/powerpc/power6/wcschr.c.
43215         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
43216         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
43217         file.
43218         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
43219         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
43220         file: multiarch strchr for PPC32.
43221         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
43222         multiarch objects.
43223         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43224         (__libc_ifunc_impl_list): Likewise.
43226         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
43227         name.
43228         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
43229         file.
43230         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
43231         file.
43232         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
43233         multiarch strchrnul for PPC32.
43234         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
43235         multiarch objects.
43236         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43237         (__libc_ifunc_impl_list): Likewise.
43239         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
43240         file.
43241         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
43242         multiarch strncasecmp for PPC32.
43243         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
43244         file.
43245         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
43246         multiarch strncasecmp_l for PPC32.
43247         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
43248         strncasecmp multiarch objects.
43249         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43250         (__libc_ifunc_impl_list): Likewise.
43252         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
43253         file.
43254         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
43255         multiarch strncasecmp for PPC32.
43256         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
43257         New file.
43258         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
43259         multiarch strcasecmp_l for PPC32.
43260         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
43261         multiarch objects.
43262         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43263         (__libc_ifunc_impl_list): Likewise.
43265         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
43266         file.
43267         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
43268         file.
43269         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
43270         multiarch strncmp for PPC32.
43271         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
43272         multiarch objects.
43273         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43274         (__libc_ifunc_impl_list): Likewise.
43276         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
43277         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
43278         file.
43279         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
43280         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
43281         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
43282         multiarch objects.
43283         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43284         (__libc_ifunc_impl_list): Likewise.
43286         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
43287         file.
43288         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
43289         file.
43290         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
43291         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
43292         multiarch objects.
43293         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43294         (__libc_ifunc_impl_list): Likewise.
43296         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
43297         file.
43298         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
43299         file.
43300         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
43301         multiarch rawmemchr for PPC32.
43302         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
43303         multiarch objects.
43304         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43305         (__libc_ifunc_impl_list): Likewise.
43307         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
43308         file.
43309         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
43310         file.
43311         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
43312         file: memrchr multiarch for PPC32.
43313         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
43314         multiarch objects.
43315         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43316         (__libc_ifunc_impl_list): Likewise.
43318         * string/memchr.c (__memchr): Using macro to redefine symbol name.
43319         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
43320         file.
43321         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
43322         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
43323         multiarch memchr for PPC32.
43324         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
43325         multiarch objects.
43326         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43327         (__libc_ifunc_impl_list): Likewise.
43329         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
43330         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
43331         file.
43332         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
43333         file.
43334         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
43335         file: multiarch mempcpy for PPC32.
43336         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
43337         multiarch objects.
43338         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43339         (__libc_ifunc_impl_list): Likewise.
43341         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
43342         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
43343         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
43344         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
43345         multiarch bzero for PPC32.
43346         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
43347         file.
43348         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
43349         file.
43350         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
43351         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
43352         file: multiarch memset for PPC32.
43353         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
43354         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
43355         memset multiarch objects.
43356         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43357         (__libc_ifunc_impl_list): Likewise.
43359         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
43360         file.
43361         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
43362         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
43363         memcmp for PPC32.
43364         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
43365         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
43366         multiarch objects.
43367         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43368         (__libc_ifunc_impl_list): Likewise.
43370         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
43371         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
43372         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
43373         file.
43374         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
43375         file.
43376         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
43377         file.
43378         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
43379         multiarch memcpy for PPC32.
43380         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
43381         multiarch objects.
43382         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43383         (__libc_ifunc_impl_list): Likewise.
43385         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
43386         support multiarch for POWER/PPC32.
43387         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
43388         Likewise.
43389         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
43391         Implies file to make multiarch folder appers before the fpu and
43392         default folder for power4 configuration.
43394 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43396         * scripts/bench.pl: Append volatile keyword to type.
43398 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43400         * sysdeps/sh/sotruss-lib.c: New file.
43401         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
43403 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43407 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
43409         [BZ #6810]
43410         * math/w_tgamma.c: Include <errno.h>.
43411         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
43412         * math/w_tgammaf.c: Include <errno.h>.
43413         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
43414         * math/w_tgammal.c: Include <errno.h>.
43415         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
43416         * math/auto-libm-test-in: Do not allow missing errno on tgamma
43417         underflow.  Add more tgamma tests.
43418         * math/auto-libm-test-out: Regenerated.
43419         * sysdeps/i386/fpu/libm-test-ulps: Update.
43420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43422         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
43423         sin, sinh, tan, tanh, tgamma, y0 and y1.
43424         * math/auto-libm-test-out: Regenerated.
43425         * math/libm-test.inc (TEST_COND_x86_64): New macro.
43426         (TEST_COND_x86): Likewise.
43427         (M_E2l): Remove macro.
43428         (M_E3l): Likewise.
43429         (M_2_SQRT_PIl): Likewise.
43430         (M_SQRT_PIl): Likewise.
43431         (M_1_DIV_El): Likewise.
43432         (log_test_data): Use AUTO_TESTS_f_f.
43433         (log10_test_data): Likewise.
43434         (log1p_test_data): Likewise.
43435         (log2_test_data): Likewise.
43436         (sin_test_data): Likewise.
43437         (sin_tonearest_test_data): Likewise.
43438         (sin_towardzero_test_data): Likewise.
43439         (sin_downward_test_data): Likewise.
43440         (sin_upward_test_data): Likewise.
43441         (sinh_test_data): Likewise.
43442         (sinh_tonearest_test_data): Likewise.
43443         (sinh_towardzero_test_data): Likewise.
43444         (sinh_downward_test_data): Likewise.
43445         (sinh_upward_test_data): Likewise.
43446         (tan_test_data): Likewise.
43447         (tan_tonearest_test_data): Likewise.
43448         (tan_towardzero_test_data): Likewise.
43449         (tan_downward_test_data): Likewise.
43450         (tan_upward_test_data): Likewise.
43451         (tanh_test_data): Likewise.
43452         (tgamma_test_data): Likewise.
43453         (y0_test_data): Likewise.
43454         (y1_test_data): Likewise.
43455         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
43456         (special_real_inputs): Add pi/4.
43457         * sysdeps/i386/fpu/libm-test-ulps: Update.
43458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43460 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43462         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
43463         "longjmp_target" static probes.
43464         (__longjmp): Rename to __longjmp_symbol.
43465         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43466         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
43467         on which longjmp to generate.
43468         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43469         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
43470         probe.
43471         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43472         (__sigjmp_save): Rename to __sigjmp_save_symbol.
43473         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43474         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
43475         and __sigjmp_save_symbol based on which sigsetjmp to generated.
43476         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
43478         __longjmp_symbol based on which __longjmp to generate.
43479         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
43480         probe.
43481         (setjmp): Rename to setjmp_symbol.
43482         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43483         (_setjmp): Rename to _setjmp_symbol.
43484         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43485         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
43486         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
43487         which setjmp to generate.
43488         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
43489         "longjmp_target" static probes.
43491 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43493         * benchtests/README: Add note about output arguments.
43494         * benchtests/bench-sincos.c: Remove file.
43495         * benchtests/sincos-inputs: New file.
43496         * scripts/bench.pl: Identify output arguments and define
43497         static variables for them.
43499         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
43501         [BZ #15941]
43502         * Makefile (INSTALL): Add install-plain.texi as the primary
43503         dependency.
43504         * manual/install-plain.texi: New file.
43505         * manual/install.texi: Include node directive only for
43506         non-plaintext output.
43508 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
43510         * stdlib/longlong.h: Update from GCC.
43512         [BZ #6807]
43513         [BZ #15901]
43514         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
43515         * math/w_j0f.c (y0f): Likewise.
43516         * math/w_j0l.c (__y0l): Likewise.
43517         * math/w_j1.c (y1): Likewise.
43518         * math/w_j1f.c (y1f): Likewise.
43519         * math/w_j1l.c (__y1l): Likewise.
43520         * math/w_jn.c (yn): Likewise.
43521         * math/w_jnf.c (ynf): Likewise.
43522         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
43523         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
43524         value for Bessel function domain errors outside _SVID_ mode.
43525         Adjust sign of return value for yn (negative integer, 0).
43526         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
43527         by zero in return for negative x and set sign appropriately for
43528         negative n.
43529         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
43530         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43531         * math/libm-test.inc (y0_test_data): Add more tests and adjust
43532         expectations in error cases.
43533         (y1_test_data): Likewise.
43534         (yn_test_data): Likewise.
43535         * sysdeps/i386/fpu/libm-test-ulps: Update.
43536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43538 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43540         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
43541         "64" to "64-v1".  Add "64-v2".
43542         (abi-64-options): Rename to ...
43543         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
43544         (abi-64-condition): Rename to ...
43545         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
43546         (abi-64-ld-soname): Rename to ...
43547         (abi-64-v1-ld-soname): ... this.
43548         (abi-64-v2-options): Define.
43549         (abi-64-v2-condition): Likewise.
43550         (abi-64-v2-ld-soname): Likewise.
43551         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
43552         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
43553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
43554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
43555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
43557 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43558             Alan Modra  <amodra@gmail.com>
43560         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
43561         New versions for use with the ELFv2 ABI.
43562         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
43563         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
43564         declaration.
43565         (struct La_ppc64v2_retval): Likewise.
43566         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
43567         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
43568         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
43569         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
43570         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
43571         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43572         Do not save or restore CR.
43573         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
43574         (_dl_profile_resolve): Do no save or restore CR.  Support extended
43575         return values for ELFv2 ABI.  Fix location of FPR return registers.
43576         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
43577         updated values for _CALL_ELF == 2.
43578         (La_regs, La_retval, int_retval): Likewise.
43580 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43582         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
43583         (FRAME_MIN_SIZE_PARM): Likewise.
43584         (FRAME_BACKCHAIN): Likewise.
43585         (FRAME_CR_SAVE): Likewise.
43586         (FRAME_LR_SAVE): Likewise.
43587         (FRAME_TOC_SAVE): Likewise.
43588         (FRAME_PARM_SAVE): Likewise.
43589         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
43590         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
43591         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
43592         (call_mcount_parm_offset): New macro.
43593         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
43594         (PROF): Use symbolic stack frame offsets.
43595         (TAIL_CALL_SYSCALL_ERROR): Likewise.
43596         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
43597         Redefine in terms of FRAME_MIN_SIZE.
43598         (_dl_runtime_resolve): Use symbolic stack frame offsets.
43599         (_dl_profile_resolve): Likewise.  Update comment.
43600         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
43601         symbols stack frame offsets.
43602         (__sigsetjmp): Likewise.
43603         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
43604         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
43605         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
43606         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
43608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
43609         (FRAME_BACKCHAIN): Remove.
43610         (FRAME_CR_SAVE): Likewise.
43611         (FRAME_LR_SAVE): Likewise.
43612         (FRAME_COMPILER_DW): Likewise.
43613         (FRAME_LINKER_DW): Likewise.
43614         (FRAME_TOC_SAVE): Likewise.
43615         (FRAME_PARM_SAVE): Likewise.
43616         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
43617         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
43618         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
43619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
43620         (CHECK_SP): Use symbolic stack frame offsets.
43621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
43622         zone" instead of caller's parameter save area for temp storage.
43623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43624         Likewise.  Also, use symbolic stack frame offsets.
43625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
43626         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
43627         our own stack frame instead of the caller's.
43628         (__socket): Use symbolic stack frame offsets.
43630 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43631             Alan Modra  <amodra@gmail.com>
43633         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
43634         Define.
43635         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
43636         (PPC64_LOCAL_ENTRY_OFFSET): Define.
43637         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
43638         New function.
43639         (elf_machine_fixup_plt): Call it.
43640         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
43641         reloc arguments.
43642         (elf_machine_rela): Update call to elf_machine_plt_conflict.
43643         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
43644         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
43645         r2 before calling target.
43647 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43648             Alan Modra  <amodra@gmail.com>
43650         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
43651         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
43652         versions of macros to support ELFv2 ABI.
43653         (LOCALENTRY): New macro.
43654         (ENTRY, EALIGN): Use it.
43655         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
43656         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
43657         fall through into ENTRY entry point.
43658         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
43659         Only define if _CALL_ELF != 2.
43661         (elf_machine_matches_host): Verify ABI version matches.
43662         (RTLD_START): Use LOCALENTRY.
43663         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
43664         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
43665         (PLT_ENTRY_WORDS): New macro.
43666         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
43667         (elf_machine_runtime_setup): Support ELFv2 ABI.
43668         (elf_machine_fixup_plt): Likewise.
43669         (elf_machine_plt_conflict): Likewise.
43670         (resolve_ifunc): Likewise.
43671         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
43672         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
43673         Likewise.
43674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
43675         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
43676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43677         (makecontext): Support ELFv2 ABI.
43678         * elf/elf.h (EF_PPC64_ABI): Define.
43680 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43682         * sysdeps/powerpc/powerpc64/sysdep.h
43683         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
43684         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
43685         (ENTRY) [ASSEMBLER]: ... but instead here ...
43686         (EALIGN) [ASSEMBLER]: ... and here.
43687         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
43688         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
43689         (ENTRY_2) [!ASSEMBLER]: Use it.
43690         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
43691         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
43692         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
43693         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
43694         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
43695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
43696         Use PPC64_LOAD_FUNCPTR.
43698         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
43700 2013-12-04  Alan Modra  <amodra@gmail.com>
43702         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
43703         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
43704         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
43705         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
43707         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
43708         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
43709         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
43710         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
43711         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
43712         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
43714 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43717         (__makecontext): Fix incorrect CFI when backtracing out of
43718         context created via makecontext.
43719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
43720         (__setcontext): Fix incorrect CFI during switch to new context.
43721         (__novec_setcontext): Likewise.
43723 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
43725         [BZ #4772]
43726         * time/strptime_l.c (__strptime_internal): Allow modifiers
43727         in strptime.
43728         * time/tst-strptime.c (day_tests): Add testcase.
43730 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43732         * scripts/bench.pl: Skip over blank lines.
43734 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
43736         [BZ #926]
43737         * manual/time.texi (Calendar Time): Clarify what timezone functions
43738         use.
43740 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43742         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43744 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
43746         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
43747         implementation.
43748         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
43749         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
43750         * debug/memset_chk.c (__memset_chk): Likewise.
43751         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
43752         * debug/strncpy_chk.c: Likewise.
43754 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
43756         [BZ #15268]
43757         [BZ #15425]
43758         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
43759         (__ieee754_exp): For possibly underflowing results, check size of
43760         result and force underflow exception if required.
43761         * math/auto-libm-test-in: Add more tests of exp.
43762         * math/auto-libm-test-out: Regenerated.
43763         * sysdeps/i386/fpu/libm-test-ulps: Update.
43764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43766         [BZ #16283]
43767         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
43768         * math/w_exp2f.c (__exp2f): Likewise.
43769         * math/w_exp2l.c (__exp2l): Likewise.
43770         * math/auto-libm-test-in: Do not allow missing errno on exp2
43771         underflow.
43772         * math/auto-libm-test-out: Regenerated.
43774 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
43776         [BZ #16274]
43777         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
43778         handle filename validation.
43779         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
43780         (do_open): Delete.
43782 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
43784         [BZ #6786]
43785         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
43786         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
43787         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
43788         <float.h>.
43789         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
43790         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
43791         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43792         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
43793         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43794         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
43795         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43796         * math/auto-libm-test-in: Don't allow missing errno from erfc.
43797         Add more erfc tests.
43798         * math/auto-libm-test-out: Regenerated.
43799         * sysdeps/i386/fpu/libm-test-ulps: Update.
43800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43802         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
43803         exp2, expm1, j0 and j1.
43804         * math/auto-libm-test-out: Regenerated.
43805         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
43806         (erfc_test_data): Likewise.
43807         (exp_test_data): Likewise.
43808         (exp_tonearest_test_data): Likewise.
43809         (exp_towardzero_test_data): Likewise.
43810         (exp_downward_test_data): Likewise.
43811         (exp_upward_test_data): Likewise.
43812         (exp10_test_data): Likewise.
43813         (exp2_test_data): Likewise.
43814         (expm1_test_data): Likewise.
43815         (j0_test_data): Likewise.
43816         (j1_test_data): Likewise.
43817         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
43818         (input_flag_type): Add flag_xfail_rounding.
43819         (input_flags): Add xfail-rounding.
43820         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
43821         (output_for_one_input_case): Handle flag_xfail_rounding.
43822         * sysdeps/i386/fpu/libm-test-ulps: Update.
43823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43825 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
43827         [BZ #16289]
43828         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
43829         division by 0.
43831 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43833         [BZ #16195]
43834         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
43835         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
43836         (STAP_PROBE0): New macro.
43837         (STAP_PROBE1): Likewise.
43838         (STAP_PROBE2): Likewise.
43839         (STAP_PROBE3): Likewise.
43840         (STAP_PROBE4): Likewise.
43842 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
43844         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
43846 2013-12-02  Steve Ellcey  <sellcey@mips.com>
43848         * benchtests/Makefile (bench): Add sqrt.
43849         (LDLIBS-bench-sqrt): New.
43850         * benchtests/sqrt-input: New.
43852 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
43854         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
43855         (GAIH_EAI): Likewise.
43856         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
43857         (gaih_inet): Likewise.
43858         (getaddrinfo): Don't use GAIH_EAI.
43860         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
43861         (struct gaih): Remove definition.
43863 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43865         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
43866         Use HERRNOP directly.
43868 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43870         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43872 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
43874         * math/gen-auto-libm-tests.c (test_functions): Add more
43875         single-argument functions.
43876         (special_fill_pi_2): New function.
43877         (special_fill_minus_pi_2): Likewise.
43878         (special_fill_pi_6): Likewise.
43879         (special_fill_minus_pi_6): Likewise.
43880         (special_fill_pi_3): Likewise.
43881         (special_fill_2pi_3): Likewise.
43882         (special_fill_e): Likewise.
43883         (special_fill_1_e): Likewise.
43884         (special_fill_e_minus_1): Likewise.
43885         (special_real_inputs): Add more special inputs.
43886         (output_for_one_input_case): Do not require ERANGE on underflow to
43887         zero if round-to-nearest result does not underflow to zero, unless
43888         exact results required.
43889         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
43890         atan, atanh, cbrt, cos and cosh.
43891         * math/auto-libm-test-out: Regenerated.
43892         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
43893         (acos_tonearest_test_data): Likewise.
43894         (acos_towardzero_test_data): Likewise.
43895         (acos_downward_test_data): Likewise.
43896         (acos_upward_test_data): Likewise.
43897         (acosh_test_data): Likewise.
43898         (asin_test_data): Likewise.
43899         (asin_tonearest_test_data): Likewise.
43900         (asin_towardzero_test_data): Likewise.
43901         (asin_upward_test_data): Likewise.
43902         (asinh_test_data): Likewise.
43903         (atan_test_data): Likewise.
43904         (atanh_test_data): Likewise.
43905         (cbrt_test_data): Likewise.
43906         (cos_test_data): Likewise.
43907         (cos_tonearest_test_data): Likewise.
43908         (cos_towardzero_test_data): Likewise.
43909         (cos_downward_test_data): Likewise.
43910         (cos_upward_test_data): Likewise.
43911         (cosh_test_data): Likewise.
43912         (cosh_tonearest_test_data): Likewise.
43913         (cosh_towardzero_test_data): Likewise.
43914         (cosh_downward_test_data): Likewise.
43915         (cosh_upward_test_data): Likewise.
43916         * sysdeps/i386/fpu/libm-test-ulps: Update.
43917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43919 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
43921         [BZ #6787]
43922         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
43923         * math/w_exp10f.c (__exp10f): Likewise.
43924         * math/w_exp10l.c (__exp10l): Likewise.
43925         * math/libm-test.inc (exp10_test_data): Add more tests and expect
43926         errno settings in existing tests.
43928         [BZ #14032]
43929         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
43930         precision control set to double precision.
43931         * sysdeps/i386/fpu/w_sqrt.c: New file.
43932         * math/auto-libm-test-in: Add more tests.
43933         * math/auto-libm-test-out: Update.
43935         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
43936         (sqrt_test_tonearest): New function.
43937         (sqrt_towardzero_test_data): New variable.
43938         (sqrt_test_towardzero): New function.
43939         (sqrt_downward_test_data): New variable.
43940         (sqrt_test_downward): New function.
43941         (sqrt_upward_test_data): New variable.
43942         (sqrt_test_upward): New function.
43943         (main): Call the new functions.
43945         * math/gen-auto-libm-tests.c: New file.
43946         * math/auto-libm-test-in: Likewise.
43947         * math/auto-libm-test-out: New generated file.
43948         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
43949         variables.
43950         (%beautify): Add generated representations of zero.
43951         (top level): Set $auto_input and call parse_auto_input.
43952         (beautify): Remove trailing "f" from hex float constants.
43953         (parse_args): Handle XFAIL_TEST.
43954         (convert_condition): New function.
43955         (or_value): Likewise.
43956         (or_cond_value): Likewise.
43957         (generate_testfile): Handle AUTO_TESTS_* lines.
43958         (parse_auto_input): New function.
43959         * math/libm-test.inc (XFAIL_TEST): New macro.
43960         (ERRNO_UNCHANGED): Update value.
43961         (ERRNO_EDOM): Likewise.
43962         (ERRNO_ERANGE): Likewise.
43963         (IGNORE_RESULT): Likewise.
43964         (TEST_COND_flt_32): New macro.
43965         (TEST_COND_dbl_64): Likewise.
43966         (TEST_COND_ldbl_96_intel): Likewise.
43967         (TEST_COND_ldbl_96_m68k): Likewise.
43968         (TEST_COND_ldbl_128): Likewise.
43969         (TEST_COND_ldbl_128ibm): Likewise.
43970         (TEST_COND_long32): Likewise.
43971         (TEST_COND_long64): Likewise.
43972         (TEST_COND_before_rounding): Likewise.
43973         (TEST_COND_after_rounding): Likewise.
43974         (enable_test): Handle XFAIL_TEST flag.
43975         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
43976         with finite results.
43977         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
43978         auto-libm-test-out.
43980 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43981             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43983         [BZ #16214]
43984         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
43985         __tls_get_addr_internal instead of __tls_get_offset in order to
43986         avoid GOT pointer dependency.  Make rtld export
43987         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
43988         __tls_get_addr since we are a __tls_get_offset platform.
43989         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
43990         GOT pointer being set up before.
43991         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
43993 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
43995         * manual/math.texi (Errors in Math Functions): Document accuracy
43996         goals.
43998         [BZ #15004]
43999         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
44000         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
44001         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44002         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44003         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44004         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44005         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44006         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44007         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44008         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44009         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44010         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44011         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44012         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44013         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44014         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44016         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
44017         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
44018         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
44019         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
44020         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
44021         Likewise.
44022         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
44023         Likewise.
44024         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
44025         Likewise.
44026         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
44027         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
44028         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
44029         atomic-feupdateenv and flt-rounds.
44030         * sysdeps/powerpc/nofpu/Versions (libc): Add
44031         __atomic_feholdexcept, __atomic_feclearexcept,
44032         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
44033         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
44034         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
44035         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
44036         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
44037         here.
44038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
44039         Update.
44041         * manual/arith.texi (FP Exceptions): Document that exceptions may
44042         not be raised when matherr is used.
44043         (Math Error Reporting): Document overflow in directed rounding
44044         modes.  Document that errno may not be set when finite values are
44045         returned on overflow.  Document intent to set errno on underflow
44046         only for underflow to zero.
44048         [BZ #16271]
44049         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
44050         round-to-nearest then adjust result for other rounding modes.
44051         * include/fenv.h (fegetround): Use libm_hidden_proto.
44052         * math/fegetround.c (fegetround): Use libm_hidden_def.
44053         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
44054         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
44055         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44056         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
44057         Likewise.
44058         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
44059         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44060         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
44061         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
44063 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44065         [BZ #16077]
44066         * nss/Versions (libnss_files): Add
44067         _nss_files_gethostbyname3_r.
44068         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
44069         New function.
44070         (HOST_DB_LOOKUP): Remove macro.
44071         (_nss_files_gethostbyname_r): Implement function without the
44072         HOST_DB_LOOKUP macro.
44073         (_nss_files_gethostbyname2_r): Likewise.
44075 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
44077         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
44079 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
44081         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
44082         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
44083         warning.
44085 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44087         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
44088         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
44089         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
44090         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
44091         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
44092         __fe_nomask_env_priv and attribute_hidden.
44093         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
44094         (libc_feupdateenv_test_ppc): Likewise.
44095         (libc_feresetround_ppc): Likewise.
44096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44097         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
44098         compat_symbol macro.
44099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44100         (__fe_nomask_env): Likewise.
44101         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
44103 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44105         * string/Makefile: Remove ifunc tests.
44106         * string/test-string.h: Define TEST_IFUNC.
44107         * string/test-bcopy-ifunc.c: Remove.
44108         * string/test-bzero-ifunc.c: Likewise.
44109         * string/test-memccpy-ifunc.c: Likewise.
44110         * string/test-memchr-ifunc.c: Likewise.
44111         * string/test-memcmp-ifunc.c: Likewise.
44112         * string/test-memcpy-ifunc.c: Likewise.
44113         * string/test-memmem-ifunc.c: Likewise.
44114         * string/test-memmove-ifunc.c: Likewise.
44115         * string/test-mempcpy-ifunc.c: Likewise.
44116         * string/test-memrchr-ifunc.c: Likewise.
44117         * string/test-memset-ifunc.c: Likewise.
44118         * string/test-rawmemchr-ifunc.c: Likewise.
44119         * string/test-stpcpy-ifunc.c: Likewise.
44120         * string/test-stpncpy-ifunc.c: Likewise.
44121         * string/test-strcasecmp-ifunc.c: Likewise.
44122         * string/test-strcasestr-ifunc.c: Likewise.
44123         * string/test-strcat-ifunc.c: Likewise.
44124         * string/test-strchr-ifunc.c: Likewise.
44125         * string/test-strchrnul-ifunc.c: Likewise.
44126         * string/test-strcmp-ifunc.c: Likewise.
44127         * string/test-strcpy-ifunc.c: Likewise.
44128         * string/test-strcspn-ifunc.c: Likewise.
44129         * string/test-strlen-ifunc.c: Likewise.
44130         * string/test-strncasecmp-ifunc.c: Likewise.
44131         * string/test-strncat-ifunc.c: Likewise.
44132         * string/test-strncmp-ifunc.c: Likewise.
44133         * string/test-strncpy-ifunc.c: Likewise.
44134         * string/test-strnlen-ifunc.c: Likewise.
44135         * string/test-strpbrk-ifunc.c: Likewise.
44136         * string/test-strrchr-ifunc.c: Likewise.
44137         * string/test-strspn-ifunc.c: Likewise.
44138         * string/test-strstr-ifunc.c: Likewise.
44140 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44142         * benchtests/Makefile: Remove ifunc tests.
44143         * benchtests/bench-string.h: Define TEST_IFUNC.
44144         * benchtests/bench-bcopy-ifunc.c: Remove.
44145         * benchtests/bench-bzero-ifunc.c: Likewise.
44146         * benchtests/bench-memccpy-ifunc.c: Likewise.
44147         * benchtests/bench-memchr-ifunc.c: Likewise.
44148         * benchtests/bench-memcmp-ifunc.c: Likewise.
44149         * benchtests/bench-memcpy-ifunc.c: Likewise.
44150         * benchtests/bench-memmem-ifunc.c: Likewise.
44151         * benchtests/bench-memmove-ifunc.c: Likewise.
44152         * benchtests/bench-mempcpy-ifunc.c: Likewise.
44153         * benchtests/bench-memrchr-ifunc.c: Likewise.
44154         * benchtests/bench-memset-ifunc.c: Likewise.
44155         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
44156         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
44157         * benchtests/bench-stpcpy-ifunc.c: Likewise.
44158         * benchtests/bench-stpncpy-ifunc.c: Likewise.
44159         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
44160         * benchtests/bench-strcasestr-ifunc.c: Likewise.
44161         * benchtests/bench-strcat-ifunc.c: Likewise.
44162         * benchtests/bench-strchr-ifunc.c: Likewise.
44163         * benchtests/bench-strchrnul-ifunc.c: Likewise.
44164         * benchtests/bench-strcmp-ifunc.c: Likewise.
44165         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
44166         * benchtests/bench-strcpy-ifunc.c: Likewise.
44167         * benchtests/bench-strcspn-ifunc.c: Likewise.
44168         * benchtests/bench-strlen-ifunc.c: Likewise.
44169         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
44170         * benchtests/bench-strncat-ifunc.c: Likewise.
44171         * benchtests/bench-strncmp-ifunc.c: Likewise.
44172         * benchtests/bench-strncpy-ifunc.c: Likewise.
44173         * benchtests/bench-strnlen-ifunc.c: Likewise.
44174         * benchtests/bench-strpbrk-ifunc.c: Likewise.
44175         * benchtests/bench-strrchr-ifunc.c: Likewise.
44176         * benchtests/bench-strsep-ifunc.c: Likewise.
44177         * benchtests/bench-strspn-ifunc.c: Likewise.
44178         * benchtests/bench-strstr-ifunc.c: Likewise.
44180 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44182         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
44184 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44186         * resolv/netdb.h: Use __glibc_reserved instead __unused.
44187         * rt/aio.h: Likewise.
44188         * sysdeps/gnu/bits/utmp.h: Likewise.
44189         * sysdeps/gnu/bits/utmpx.h: Likewise.
44190         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
44191         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
44192         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
44193         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
44194         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
44195         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
44196         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
44197         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
44198         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
44199         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
44200         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
44201         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
44202         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
44203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
44204         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
44205         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
44206         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
44207         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
44208         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
44209         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
44210         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
44211         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
44212         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
44213         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44214         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
44215         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44216         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
44217         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
44218         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
44219         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
44220         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
44221         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
44222         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
44223         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
44224         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
44225         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
44226         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
44227         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
44228         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
44229         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
44230         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
44231         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
44233 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
44235         [BZ #16245]
44236         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
44237         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
44239 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
44241         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
44242         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
44243         Likewise.
44245 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44247         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
44248         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
44249         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
44250         (__fesetround): Remove define.
44251         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
44252         rounding and exceptions handling.
44253         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
44254         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
44255         (__fe_nomask_env): Likewise.
44256         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
44257         __fegetround instead of fegetround.
44258         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
44259         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
44261 2013-11-21  Roland McGrath  <roland@hack.frob.com>
44263         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
44264         it's there.
44266         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
44268 2013-11-21  Meador Inge  <meadori@codesourcery.com>
44270         [BZ #11157]
44271         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
44272         (encrypt_r): Likewise.
44273         * malloc/obstack.h (obstack_free): Likewise.
44274         * posix/unistd.h (encrypt): Likewise.
44276 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
44278         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
44279         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
44280         DL_CALL_DT_FINI() that call the functions directly.
44281         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
44282         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
44283         * elf/dl-fini.c: Likewise.
44285 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
44287         * malloc/hooks.c (memalign_check): Add alignment rounding.
44288         * malloc/malloc.c (_mid_memalign): New function.
44289         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
44290         Implement by calling _mid_memalign.
44291         * manual/probes.texi (Memory Allocation Probes): Remove
44292         memory_valloc_retry and memory_pvalloc_retry.
44294 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44296         * locale/programs/locarchive.c (open_archive): Add const
44297         qualifier to ARCHIVEFNAME and copy default fname to
44298         DEFAULT_FNAME.
44300         [BZ #15601]
44301         * libio/tst-widetext.input: Rename Oriya to Odia.
44302         * locale/iso-639.def: Likewise.
44304         * manual/probes.texi (Mathematical Function Probes): Add
44305         documentation for sin, cos, asin and acos probes.
44306         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
44307         (__sin32): Add slowasin probe.
44308         (__cos32): Add slowacos probe.
44309         (__mpsin): Add slowsin probe.
44310         (__mpcos): Add slowcos probe.
44312 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
44314         [BZ #15483]
44315         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
44316         thread-local __sim_exceptions_thread and global
44317         __sim_exceptions_global.
44318         (__sim_disabled_exceptions): Change to thread-local
44319         __sim_disabled_exceptions_thread and global
44320         __sim_disabled_exceptions_global.
44321         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44322         and global __sim_round_mode_global.
44323         (__simulate_exceptions): Use thread-local floating-point state and
44324         set global state from it as needed.
44325         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
44326         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
44327         __sim_round_mode_thread.
44328         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
44329         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
44330         and global __sim_exceptions_global.
44331         (__sim_disabled_exceptions): Change to thread-local
44332         __sim_disabled_exceptions_thread and global
44333         __sim_disabled_exceptions_global.
44334         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44335         and global __sim_round_mode_global.
44336         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
44337         (SIM_SET_GLOBAL): Likewise.
44338         * sysdeps/powerpc/soft-fp/sfp-machine.h
44339         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
44340         __sim_round_mode_thread.
44341         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
44342         __sim_disabled_exceptions_thread.
44343         (__sim_exceptions): Change to __sim_exceptions_thread.
44344         (__sim_disabled_exceptions): Change to
44345         __sim_disabled_exceptions_thread.
44346         (__sim_round_mode): Change to __sim_round_mode_thread.
44347         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
44348         thread-local floating-point state and set global state from it as
44349         needed.
44350         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
44351         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
44352         (__sim_disabled_exceptions): Remove extern declaration.
44353         (feenableexcept): Use thread-local floating-point state and set
44354         global state from it as needed.
44355         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
44356         extern declaration.
44357         (__sim_disabled_exceptions): Likewise.
44358         (__sim_round_mode): Likewise.
44359         (__fegetenv): Use thread-local floating-point state.
44360         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
44361         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44362         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
44363         floating-point state and set global state from it as needed.
44364         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
44365         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
44366         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
44367         Likewise.
44368         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
44369         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
44370         Likewise.
44371         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
44372         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
44373         Use __sim_round_mode_thread.
44374         * math/test-fenv-tls.c: New file.
44375         * math/Makefile (tests): Add test-fenv-tls.
44376         ($(objpfx)test-fenv-tls): Depend on
44377         $(common-objpfx)nptl/libpthread.so.
44379 2013-11-19  Andreas Schwab  <schwab@suse.de>
44381         * locale/programs/locale.c (show_info): Decode wordarray elements.
44382         * locale/categories.def (LC_MONETARY): Add element for
44383         _NL_MONETARY_CRNCYSTR.
44384         * locale/C-monetary.c (conversion_rate): New variable.
44385         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
44386         element.
44388 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
44390         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
44391         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
44393 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44395         * elf/Makefile (tst-auxv): New test.
44396         * elf/tst-auxv.c: New
44397         * elf/rtld.c (dl_main): Adjust AT_EXECFN
44399 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
44401         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
44402         (hidden_proto): Caller changed.
44403         (hidden_tls_proto): New macro.
44404         (libc_hidden_tls_proto): Likewise.
44405         (rtld_hidden_tls_proto): Likewise.
44406         (libm_hidden_tls_proto): Likewise.
44407         (libresolv_hidden_tls_proto): Likewise.
44408         (librt_hidden_tls_proto): Likewise.
44409         (libdl_hidden_tls_proto): Likewise.
44410         (libnss_files_hidden_tls_proto): Likewise.
44411         (libnsl_hidden_tls_proto): Likewise.
44412         (libnss_nisplus_hidden_tls_proto): Likewise.
44413         (libutil_hidden_tls_proto): Likewise.
44415 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
44417         [BZ #10253]
44418         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
44419         (decompose_rpath): Defer expansion to fillin_rpath.
44420         (_dl_init_paths): Pass linkmap to fillin_rpath.
44422 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
44424         * benchtests/Makefile: Add strsep.
44425         * benchtests/bench-strsep.c: New file: strsep benchtest.
44426         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
44428 2013-11-18  Andreas Schwab  <schwab@suse.de>
44430         * locale/programs/locale.c (show_info) [case byte]: Check for
44431         '\377' instead of '\177'.
44432         * locale/C-monetary.c (not_available): Always use "\377".
44433         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
44434         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
44435         detect unavailable sign_posn locale elements.
44436         * locale/localeconv.c (__localeconv): For grouping and
44437         mon_grouping handle "\177" and "\377" like no grouping.
44438         (INT_ELEM): New macro.  Use it to set all numeric members.
44439         * locale/programs/ld-monetary.c (monetary_read)
44440         <tok_mon_grouping>: Normalize single -1 to the empty string.
44441         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
44442         Likewise.
44444 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
44446         [BZ #16055]
44447         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
44448         when we match (nil).
44449         * stdio-common/tst-sscanf.c (struct test): Add testcase.
44451 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
44453         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
44454         (NO_TEST_INLINE): Update value.
44455         (ERRNO_UNCHANGED): Likewise.
44456         (ERRNO_EDOM): Likewise.
44457         (ERRNO_ERANGE): Likewise.
44458         (IGNORE_RESULT): Likewise.
44459         (check_float_internal): Check signs of NaN results if
44460         TEST_NAN_SIGN used.
44461         (check_complex): Pass TEST_NAN_SIGN flag through to second
44462         check_float_internal call.
44463         (copysign_test_data): Add tests with quiet NaNs as second
44464         argument.  Use TEST_NAN_SIGN.
44465         (fabs_test_data): Add test of negative quiet NaN argument.  Use
44466         TEST_NAN_SIGN.
44467         (signbit_test_data): Add tests of quiet NaN argument.
44468         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
44470         * math/gen-libm-test.pl (show_exceptions): Take extra argument
44471         $ignore_result.
44472         (parse_args): Handle function results specified as IGNORE.
44473         * math/libm-test.inc (IGNORE_RESULT): New macro.
44474         (check_float_internal): Do not check numerical result if flag
44475         IGNORE_RESULT set.
44476         (check_complex): Pass through IGNORE_RESULT to second
44477         check_float_internal call.
44478         (check_int): Do not check numerical result if flag IGNORE_RESULT
44479         set.
44480         (check_long): Likewise.
44481         (check_bool): Likewise.
44482         (check_longlong): Likewise.
44483         (lrint_test_data): Add tests of infinite and NaN arguments.
44484         (lrint_tonearest_test_data): Likewise.
44485         (lrint_towardzero_test_data): Likewise.
44486         (lrint_downward_test_data): Likewise.
44487         (lrint_upward_test_data): Likewise.
44488         (llrint_test_data): Likewise.
44489         (llrint_tonearest_test_data): Likewise.
44490         (llrint_towardzero_test_data): Likewise.
44491         (llrint_downward_test_data): Likewise.
44492         (llrint_upward_test_data): Likewise.
44493         (lround_test_data): Likewise.
44494         (llround_test_data): Likewise.
44496         * math/libm-test.inc (NO_TEST_INLINE): New macro.
44497         (ERRNO_UNCHANGED): Update value.
44498         (ERRNO_EDOM): Likewise.
44499         (ERRNO_ERANGE): Likewise.
44500         (NO_TEST_INLINE_FLOAT): New macro.
44501         (NO_TEST_INLINE_DOUBLE): Likewise.
44502         (enable_test): New function.
44503         (RUN_TEST_f_f): Check enable_test before running test.
44504         (RUN_TEST_2_f): Likewise.
44505         (RUN_TEST_fff_f): Likewise.
44506         (RUN_TEST_c_f): Likewise.
44507         (RUN_TEST_f_f1): Likewise.
44508         (RUN_TEST_fF_f1): Likewise.
44509         (RUN_TEST_fI_f1): Likewise.
44510         (RUN_TEST_ffI_f1): Likewise.
44511         (RUN_TEST_c_c): Likewise.
44512         (RUN_TEST_cc_c): Likewise.
44513         (RUN_TEST_f_i): Likewise.
44514         (RUN_TEST_f_i_tg): Likewise.
44515         (RUN_TEST_ff_i_tg): Likewise.
44516         (RUN_TEST_f_b): Likewise.
44517         (RUN_TEST_f_b_tg): Likewise.
44518         (RUN_TEST_f_l): Likewise.
44519         (RUN_TEST_f_L): Likewise.
44520         (RUN_TEST_fFF_11): Likewise.
44521         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
44522         conditionals.
44523         (cosh_test_data): Likewise.
44524         (exp_test_data): Likewise.
44525         (expm1_test_data): Likewise.
44526         (hypot_test_data): Likewise.
44527         (pow_test_data): Likewise.
44528         (sinh_test_data): Likewise.
44529         (tanh_test_data): Likewise.
44530         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
44531         flags argument.
44533         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
44534         tests with quiet NaN input and output.
44535         (acosh_test_data): Likewise.
44536         (asin_test_data): Likewise.
44537         (asinh_test_data): Likewise.
44538         (atan_test_data): Likewise.
44539         (atanh_test_data): Likewise.
44540         (atan2_test_data): Likewise.
44541         (cbrt_test_data): Likewise.
44542         (cos_test_data): Likewise.
44543         (cosh_test_data): Likewise.
44544         (erf_test_data): Likewise.
44545         (erfc_test_data): Likewise.
44546         (exp_test_data): Likewise.
44547         (exp10_test_data): Likewise.
44548         (exp2_test_data): Likewise.
44549         (expm1_test_data): Likewise.
44550         (hypot_test_data): Likewise.
44551         (j0_test_data): Likewise.
44552         (j1_test_data): Likewise.
44553         (jn_test_data): Likewise.
44554         (lgamma_test_data): Likewise.
44555         (log_test_data): Likewise.
44556         (log10_test_data): Likewise.
44557         (log1p_test_data): Likewise.
44558         (log2_test_data): Likewise.
44559         (pow_test_data): Likewise.
44560         (scalb_test_data): Likewise.
44561         (sin_test_data): Likewise.
44562         (sincos_test_data): Likewise.
44563         (sinh_test_data): Likewise.
44564         (tan_test_data): Likewise.
44565         (tanh_test_data): Likewise.
44566         (tgamma_test_data): Likewise.
44567         (y0_test_data): Likewise.
44568         (y1_test_data): Likewise.
44569         (yn_test_data): Likewise.
44571         [BZ #16167]
44572         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
44573         argument being NaN and avoid computations with second argument in
44574         that case.
44575         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44576         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
44577         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44579 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
44581         * locale/iso-639.def: Add Chitwani Tharu (the).
44583 2013-11-14  Andreas Schwab  <schwab@suse.de>
44585         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
44586         word instead of empty string.
44588 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44591         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
44592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44593         (__fe_nomask_env): Likewise.
44595 2013-11-13  Steve Ellcey  <sellcey@mips.com>
44597         * benchtests/bench-timing.h: Include time.h.
44599 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
44601         [BZ #15997]
44602         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
44603         to 3.4.0 for x32.
44604         * sysdeps/unix/sysv/linux/configure: Regenerated.
44606 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
44608         [BZ #16151]
44609         * stdlib/strtod_l.c (round_and_return): Do not consider
44610         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
44611         exponent one less than half the least subnormal exponent.
44612         * stdlib/test-strtod-round-data: Add more tests.
44613         * stdlib/tst-strtod-round.c (tests): Regenerated.
44615 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44617         [BZ #14143]
44618         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
44619         (__fe_mask_env): Likewise.
44620         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
44621         libm_hidden_proto and add function prototype.
44622         (__fe_mask_env): Add function prototype.
44623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44624         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
44625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44626         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
44627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44628         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
44630 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44632         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
44633         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
44635 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44637         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
44638         of htab_find_slot().
44640 2013-11-11  David S. Miller  <davem@davemloft.net>
44642         [BZ #16150]
44643         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
44644         symbol in the non-vis3 case in static builds.
44645         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
44646         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
44647         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
44648         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
44650 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
44652         [BZ #387]
44653         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
44654         it is empty.
44656 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44658         * benchtests/Makefile: Add bench-strtod.
44659         * benchtests/bench-strtod.c: New file: strtod benchtest
44661 2013-11-11  Andreas Schwab  <schwab@suse.de>
44663         [BZ #16153]
44664         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
44665         terminating NUL in key length.
44667 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44669         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44670         Add artificial ODP entry for vDSO symbol for PPC64.
44671         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
44672         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
44674 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
44676         [BZ #15374]
44677         * nss/getent.c (services_keys): Recognize services starting with digit.
44679 2013-11-06  David S. Miller  <davem@davemloft.net>
44681         [BZ #15985]
44682         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
44683         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
44685 2013-11-06  Will Newton  <will.newton@linaro.org>
44687         * manual/memory.texi (Malloc Examples): Remove register
44688         keyword from examples.
44690 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
44692         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
44694 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
44696         [BZ #6981]
44697         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
44698         depending on [__GCC_IEC_559 > 0].
44699         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
44700         depending on [__GCC_IEC_559_COMPLEX > 0].
44702 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
44704         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
44705         to iso-639.def.
44707 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
44709         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
44711 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
44713         [BZ #16112]
44714         * malloc/malloc (malloc_info): Do not handle first bin as
44715         special case.
44717 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
44719         * locale/iso-639.def: Add Central Nahuatl (nhn).
44721 2013-11-01  Bruno Haible  <bruno@clisp.org>
44723         [BZ #7003]
44724         * manual/math.texi (BSD Random): Specify range upper bound as
44725         in POSIX.
44727 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
44729         * locale/iso-639.def: Add Meadow Mari (mhr).
44731 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
44733         [BZ #14752], [BZ #15763]
44734         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
44735         Validate name.
44736         * rt/tst_shm.c: Add test for escaping directory.
44738 2013-10-31  Andreas Schwab  <schwab@suse.de>
44740         [BZ #15917]
44741         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
44742         followed by 'x' as part of digit sequence.
44743         * stdio-common/tst-sscanf.c (double_tests2): New tests.
44745 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
44747         [BZ #16037]
44748         * configure.ac: allow GNU Make 4.0 and greater.
44749         * configure: Regenerated.
44751 2013-10-30  Will Newton  <will.newton@linaro.org>
44753         [BZ #16038]
44754         * malloc/hooks.c (memalign_check): Limit alignment to the
44755         maximum representable power of two.
44756         * malloc/malloc.c (__libc_memalign): Likewise.
44757         * malloc/tst-memalign.c (do_test): Add test for very
44758         large alignment values.
44759         * malloc/tst-posix_memalign.c (do_test): Likewise.
44761 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
44763         [BZ #11087]
44764         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
44765         (munmap_chunk): Likewise.
44766         (mremap_chunk): Likewise.
44768 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
44770         [BZ #15799]
44771         * stdlib/div.c (div): Remove obsolete code.
44772         * stdlib/ldiv.c (ldiv): Likewise.
44773         * stdlib/lldiv.c (lldiv): Likewise.
44775 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44777         [BZ #16071]
44778         * nss/nss_files/files-XXX.c (get_contents_ret): New
44779         enumerator.
44780         (get_contents): New function.
44781         (internal_getent): Use it.  Expand size of LINEBUFLEN.
44783 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
44785         * configure.in: Moved to ...
44786         * configure.ac: ... here. Change reference to configure.in
44787         to configure.ac.
44788         * sysdeps/arm/preconfigure.ac: ... here.
44789         configure.in to configure.ac.
44790         * sysdeps/gnu/configure.in: Moved to ...
44791         * sysdeps/gnu/configure.ac: ... here.
44792         * sysdeps/i386/configure.in: Moved to ...
44793         * sysdeps/i386/configure.ac: ... here.
44794         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
44795         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
44796         * sysdeps/mach/configure.in: Moved to ...
44797         * sysdeps/mach/configure.ac: ... here.
44798         * sysdeps/mach/hurd/configure.in: Moved to ...
44799         * sysdeps/mach/hurd/configure.ac: ... here.
44800         * sysdeps/powerpc/configure.in: Moved to ...
44801         * sysdeps/powerpc/configure.ac: ... here.
44802         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
44803         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
44804         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
44805         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
44806         * sysdeps/s390/s390-32/configure.in: Moved to ...
44807         * sysdeps/s390/s390-32/configure.ac: ... here.
44808         * sysdeps/s390/s390-64/configure.in: Moved to ...
44809         * sysdeps/s390/s390-64/configure.ac: ... here.
44810         * sysdeps/sh/configure.in: Moved to ...
44811         * sysdeps/sh/configure.ac: ... here.
44812         * sysdeps/sparc/configure.in: Moved to ...
44813         * sysdeps/sparc/configure.ac: ... here.
44814         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
44815         * sysdeps/unix/sysv/linux/configure.ac: ... here.
44816         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
44817         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
44818         * sysdeps/x86_64/configure.in: Moved to ...
44819         * sysdeps/x86_64/configure.ac: ... here.
44820         * sysdeps/x86_64/preconfigure.in: Moved to ...
44821         * sysdeps/x86_64/preconfigure.ac: ... here.
44822         * aclocal.m4: Change reference to configure.in to configure.ac.
44823         * config.h.in: Likewise.
44824         * manual/install.texi: Likewise.
44825         * manual/maint.texi: Likewise.
44826         * Makefile: Likewise.
44827         * malloc/Makefile: Likewise.
44828         * nscd/Makefile: Likewise.
44829         * Makeconfig: Change reference to configure.in and
44830         preconfigure.in to configure.ac and preconfigure.ac
44831         respectively.
44832         * INSTALL: Regenerated.
44833         * configure: Likewise.
44834         * sysdeps/gnu/configure: Likewise.
44835         * sysdeps/i386/configure: Likewise.
44836         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
44837         * sysdeps/mach/configure: Likewise.
44838         * sysdeps/mach/hurd/configure: Likewise.
44839         * sysdeps/powerpc/configure: Likewise.
44840         * sysdeps/powerpc/powerpc32/configure: Likewise.
44841         * sysdeps/powerpc/powerpc64/configure: Likewise.
44842         * sysdeps/s390/s390-32/configure: Likewise.
44843         * sysdeps/s390/s390-64/configure: Likewise.
44844         * sysdeps/sh/configure: Likewise.
44845         * sysdeps/sparc/configure: Likewise.
44846         * sysdeps/unix/sysv/linux/configure: Likewise.
44847         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
44848         * sysdeps/x86_64/configure: Likewise.
44849         * sysdeps/x86_64/preconfigure: Likewise.
44851 2013-10-29  Andreas Schwab  <schwab@suse.de>
44853         * stdio-common/Makefile (tst-swscanf-ENV): Define.
44855 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44857         * benchtests/pow-inputs: Add new inputs.
44859         * benchtests/exp-inputs: Add new inputs.
44861         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
44862         conditional check for return value.
44863         (__cos32): Likewise.
44865 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44867         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
44868         to provide a boost for large inputs with word alignment.
44869         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
44870         implementation based on optimized PPC64 strcpy.
44871         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
44872         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
44873         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
44874         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
44876 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
44878         [BZ #2801]
44879         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
44881 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
44883         [BZ #14876]
44884         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
44885         * time/tst-strptime.c (day_tests): Add testcase.
44887 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
44889         [BZ #14029]
44890         * manual/pattern.texi: Acknowledge that fnmatch can fail.
44892 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
44894         [BZ #16074]
44895         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
44896         MAP_FAILED on error.
44898 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44900         [BZ #16072]
44901         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
44902         heap for large requests.
44904 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
44906         [BZ #9954]
44907         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
44908         result if the result has no associated interface.
44909         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
44910         interface for all 127.X.Y.Z addresses.
44912 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
44914         * locale/iso-639.def: Add Ligurian (lij)
44916 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
44918         [BZ #15825]
44919         * sunrpc/rpc_main.c: Document rpcgen -5.
44921 2013-10-19  Michael Stahl  <mstahl@redhat.com>
44923         * elf/rtld.c (do_preload): Print the reason why preloading failed.
44925 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
44927         [BZ #10278]
44928         * posix/glob.c: Match only directories when trailing slash is present.
44929         * posix/tst-gnuglob.c (my_opendir): Do not open files.
44930         (main): Add testcase.
44932 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
44934         [BZ #15670]
44935         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
44937 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
44939         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
44940         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
44941         AUTH_DES and cindex for FIPS 140-2.
44942         (DES Encryption): Add cindex FIPS 46-3.
44944         * locale/locarchive.h (struct locarhandle): Add fname.
44945         * locale/programs/localedef.c (main): Pass ARGV[remaining]
44946         if an optional argument was specified to --list-archive,
44947         otherwise NULL.
44948         * locale/programs/locarchive.c (show_archive_content): Take new
44949         argument fname and pass it via ah.fname to open_archive.
44950         * locale/programs/localedef.h: Update decl.
44951         (open_archive): If AH->fname is non-null, open that file
44952         rather than the default file name, and don't ignore ENOENT.
44953         (create_archive): Set AH.fname to NULL.
44954         (delete_locales_from_archive): Likewise.
44955         (add_locales_to_archive): Likewise.
44956         * locale/programs/locfile.c (write_all_categories): Likewise.
44958 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
44959             Aldy Hernandez  <aldyh@redhat.com>
44961         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
44962         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
44963         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
44964         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
44965         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
44966         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
44967         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
44968         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
44969         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
44970         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
44971         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
44972         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
44973         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
44974         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
44975         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
44976         Likewise.
44977         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
44978         Likewise.
44979         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
44980         Likewise.
44981         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
44982         Likewise.
44983         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
44984         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
44985         Likewise.
44986         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
44987         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
44988         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
44989         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
44990         Likewise.
44991         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
44992         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
44993         * sysdeps/powerpc/preconfigure: Likewise.
44994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
44995         Likewise.
44996         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
44997         Replace contents of file by #include of <fenv_libc.h>.
44998         * sysdeps/powerpc/soft-fp/sfp-machine.h
44999         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
45000         and <sys/prctl.h>.
45001         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
45002         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
45003         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
45004         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
45005         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
45006         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
45007         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
45008         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
45009         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
45010         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
45011         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
45012         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
45013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45014         Allow copysignl PLT reference to be missing.
45016 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
45017             Joseph Myers  <joseph@codesourcery.com
45019         [BZ #15948]
45020         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
45021         single character.
45022         (add_to_tablewc): Assert sequence of wide characters is nonempty.
45024 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45026         * elf/tst-tls-dlinfo.c: Don't include tls.h.
45027         * elf/tst-tls1.c: Likewise.
45028         * elf/tst-tls10.h: Likewise.
45029         * elf/tst-tls14.c: Likewise.
45030         * elf/tst-tls2.c: Likewise.
45031         * elf/tst-tls3.c: Likewise.
45032         * elf/tst-tls4.c: Likewise.
45033         * elf/tst-tls5.c: Likewise.
45034         * elf/tst-tls6.c: Likewise.
45035         * elf/tst-tls7.c: Likewise.
45036         * elf/tst-tls8.c: Likewise.
45037         * elf/tst-tls9.c: Likewise.
45038         * elf/tst-tlsmod1.c: Likewise.
45039         * elf/tst-tlsmod13.c: Likewise.
45040         * elf/tst-tlsmod13a.c: Likewise.
45041         * elf/tst-tlsmod14a.c: Likewise.
45042         * elf/tst-tlsmod16a.c: Likewise.
45043         * elf/tst-tlsmod16b.c: Likewise.
45044         * elf/tst-tlsmod2.c: Likewise.
45045         * elf/tst-tlsmod3.c: Likewise.
45046         * elf/tst-tlsmod4.c: Likewise.
45047         * elf/tst-tlsmod5.c: Likewise.
45048         * elf/tst-tlsmod6.c: Likewise.
45050 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
45052         [BZ #12486]
45053         * malloc/malloc.c: remove checks for statistics.
45055 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45057         [BZ #15277]
45058         * inet/inet_net.c (inet_network): Detect additional invalid strings.
45059         * inet/tst-network.c: Add testcase.
45061 2013-10-17  Andreas Schwab  <schwab@suse.de>
45063         [BZ #15218]
45064         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
45065         to determine canonical name.
45067 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45069         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
45070         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
45071         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45072         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45073         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45074         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45075         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45076         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45077         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45078         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45079         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45080         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45081         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45082         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45083         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45084         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45085         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45086         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45087         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45088         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45089         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45090         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45091         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45092         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
45093         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
45094         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45095         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45096         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
45097         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45098         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
45099         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45100         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45101         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45102         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45103         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45104         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45105         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45106         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45107         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45108         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45109         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45110         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45111         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45112         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45113         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45114         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45115         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45116         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45117         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45118         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45119         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45120         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45121         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45122         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45123         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45124         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45125         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45126         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45128 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
45130         [BZ #16041]
45131         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
45132         make result into a quiet NaN.
45134 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
45136         * soft-fp/adddf3.c: Fix horizontal whitespace.
45137         * soft-fp/addsf3.c: Likewise.
45138         * soft-fp/addtf3.c: Likewise.
45139         * soft-fp/divdf3.c: Likewise.
45140         * soft-fp/divsf3.c: Likewise.
45141         * soft-fp/divtf3.c: Likewise.
45142         * soft-fp/double.h: Likewise.
45143         * soft-fp/eqdf2.c: Likewise.
45144         * soft-fp/eqsf2.c: Likewise.
45145         * soft-fp/eqtf2.c: Likewise.
45146         * soft-fp/extenddftf2.c: Likewise.
45147         * soft-fp/extended.h: Likewise.
45148         * soft-fp/extendsfdf2.c: Likewise.
45149         * soft-fp/extendsftf2.c: Likewise.
45150         * soft-fp/extendxftf2.c: Likewise.
45151         * soft-fp/fixdfdi.c: Likewise.
45152         * soft-fp/fixdfsi.c: Likewise.
45153         * soft-fp/fixdfti.c: Likewise.
45154         * soft-fp/fixsfdi.c: Likewise.
45155         * soft-fp/fixsfsi.c: Likewise.
45156         * soft-fp/fixsfti.c: Likewise.
45157         * soft-fp/fixtfdi.c: Likewise.
45158         * soft-fp/fixtfsi.c: Likewise.
45159         * soft-fp/fixtfti.c: Likewise.
45160         * soft-fp/fixunsdfdi.c: Likewise.
45161         * soft-fp/fixunsdfsi.c: Likewise.
45162         * soft-fp/fixunsdfti.c: Likewise.
45163         * soft-fp/fixunssfdi.c: Likewise.
45164         * soft-fp/fixunssfsi.c: Likewise.
45165         * soft-fp/fixunssfti.c: Likewise.
45166         * soft-fp/fixunstfdi.c: Likewise.
45167         * soft-fp/fixunstfsi.c: Likewise.
45168         * soft-fp/fixunstfti.c: Likewise.
45169         * soft-fp/floatdidf.c: Likewise.
45170         * soft-fp/floatdisf.c: Likewise.
45171         * soft-fp/floatditf.c: Likewise.
45172         * soft-fp/floatsidf.c: Likewise.
45173         * soft-fp/floatsisf.c: Likewise.
45174         * soft-fp/floatsitf.c: Likewise.
45175         * soft-fp/floattidf.c: Likewise.
45176         * soft-fp/floattisf.c: Likewise.
45177         * soft-fp/floattitf.c: Likewise.
45178         * soft-fp/floatundidf.c: Likewise.
45179         * soft-fp/floatundisf.c: Likewise.
45180         * soft-fp/floatunditf.c: Likewise.
45181         * soft-fp/floatunsidf.c: Likewise.
45182         * soft-fp/floatunsisf.c: Likewise.
45183         * soft-fp/floatunsitf.c: Likewise.
45184         * soft-fp/floatuntidf.c: Likewise.
45185         * soft-fp/floatuntisf.c: Likewise.
45186         * soft-fp/floatuntitf.c: Likewise.
45187         * soft-fp/fmadf4.c: Likewise.
45188         * soft-fp/fmasf4.c: Likewise.
45189         * soft-fp/fmatf4.c: Likewise.
45190         * soft-fp/gedf2.c: Likewise.
45191         * soft-fp/gesf2.c: Likewise.
45192         * soft-fp/getf2.c: Likewise.
45193         * soft-fp/ledf2.c: Likewise.
45194         * soft-fp/lesf2.c: Likewise.
45195         * soft-fp/letf2.c: Likewise.
45196         * soft-fp/muldf3.c: Likewise.
45197         * soft-fp/mulsf3.c: Likewise.
45198         * soft-fp/multf3.c: Likewise.
45199         * soft-fp/negdf2.c: Likewise.
45200         * soft-fp/negsf2.c: Likewise.
45201         * soft-fp/negtf2.c: Likewise.
45202         * soft-fp/op-1.h: Likewise.
45203         * soft-fp/op-2.h: Likewise.
45204         * soft-fp/op-4.h: Likewise.
45205         * soft-fp/op-8.h: Likewise.
45206         * soft-fp/op-common.h: Likewise.
45207         * soft-fp/quad.h: Likewise.
45208         * soft-fp/single.h: Likewise.
45209         * soft-fp/soft-fp.h: Likewise.
45210         * soft-fp/sqrtdf2.c: Likewise.
45211         * soft-fp/sqrtsf2.c: Likewise.
45212         * soft-fp/sqrttf2.c: Likewise.
45213         * soft-fp/subdf3.c: Likewise.
45214         * soft-fp/subsf3.c: Likewise.
45215         * soft-fp/subtf3.c: Likewise.
45216         * soft-fp/truncdfsf2.c: Likewise.
45217         * soft-fp/trunctfdf2.c: Likewise.
45218         * soft-fp/trunctfsf2.c: Likewise.
45219         * soft-fp/trunctfxf2.c: Likewise.
45220         * soft-fp/unorddf2.c: Likewise.
45221         * soft-fp/unordsf2.c: Likewise.
45222         * soft-fp/unordtf2.c: Likewise.
45224 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
45226         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
45227         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
45229 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
45231         * elf/dl-libc.c: Clear initfini list after freeing.
45233 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
45235         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
45236         * soft-fp/addsf3.c: Likewise.
45237         * soft-fp/addtf3.c: Likewise.
45238         * soft-fp/divdf3.c: Likewise.
45239         * soft-fp/divsf3.c: Likewise.
45240         * soft-fp/divtf3.c: Likewise.
45241         * soft-fp/double.h: Likewise.
45242         * soft-fp/eqdf2.c: Likewise.
45243         * soft-fp/eqsf2.c: Likewise.
45244         * soft-fp/eqtf2.c: Likewise.
45245         * soft-fp/extenddftf2.c: Likewise.
45246         * soft-fp/extended.h: Likewise.
45247         * soft-fp/extendsfdf2.c: Likewise.
45248         * soft-fp/extendsftf2.c: Likewise.
45249         * soft-fp/extendxftf2.c: Likewise.
45250         * soft-fp/fixdfdi.c: Likewise.
45251         * soft-fp/fixdfsi.c: Likewise.
45252         * soft-fp/fixdfti.c: Likewise.
45253         * soft-fp/fixsfdi.c: Likewise.
45254         * soft-fp/fixsfsi.c: Likewise.
45255         * soft-fp/fixsfti.c: Likewise.
45256         * soft-fp/fixtfdi.c: Likewise.
45257         * soft-fp/fixtfsi.c: Likewise.
45258         * soft-fp/fixtfti.c: Likewise.
45259         * soft-fp/fixunsdfdi.c: Likewise.
45260         * soft-fp/fixunsdfsi.c: Likewise.
45261         * soft-fp/fixunsdfti.c: Likewise.
45262         * soft-fp/fixunssfdi.c: Likewise.
45263         * soft-fp/fixunssfsi.c: Likewise.
45264         * soft-fp/fixunssfti.c: Likewise.
45265         * soft-fp/fixunstfdi.c: Likewise.
45266         * soft-fp/fixunstfsi.c: Likewise.
45267         * soft-fp/fixunstfti.c: Likewise.
45268         * soft-fp/floatdidf.c: Likewise.
45269         * soft-fp/floatdisf.c: Likewise.
45270         * soft-fp/floatditf.c: Likewise.
45271         * soft-fp/floatsidf.c: Likewise.
45272         * soft-fp/floatsisf.c: Likewise.
45273         * soft-fp/floatsitf.c: Likewise.
45274         * soft-fp/floattidf.c: Likewise.
45275         * soft-fp/floattisf.c: Likewise.
45276         * soft-fp/floattitf.c: Likewise.
45277         * soft-fp/floatundidf.c: Likewise.
45278         * soft-fp/floatundisf.c: Likewise.
45279         * soft-fp/floatunsidf.c: Likewise.
45280         * soft-fp/floatunsisf.c: Likewise.
45281         * soft-fp/floatuntidf.c: Likewise.
45282         * soft-fp/floatuntisf.c: Likewise.
45283         * soft-fp/floatuntitf.c: Likewise.
45284         * soft-fp/fmadf4.c: Likewise.
45285         * soft-fp/fmasf4.c: Likewise.
45286         * soft-fp/fmatf4.c: Likewise.
45287         * soft-fp/gedf2.c: Likewise.
45288         * soft-fp/gesf2.c: Likewise.
45289         * soft-fp/getf2.c: Likewise.
45290         * soft-fp/ledf2.c: Likewise.
45291         * soft-fp/lesf2.c: Likewise.
45292         * soft-fp/letf2.c: Likewise.
45293         * soft-fp/muldf3.c: Likewise.
45294         * soft-fp/mulsf3.c: Likewise.
45295         * soft-fp/multf3.c: Likewise.
45296         * soft-fp/negdf2.c: Likewise.
45297         * soft-fp/negsf2.c: Likewise.
45298         * soft-fp/negtf2.c: Likewise.
45299         * soft-fp/op-1.h: Likewise.
45300         * soft-fp/op-2.h: Likewise.
45301         * soft-fp/op-4.h: Likewise.
45302         * soft-fp/op-8.h: Likewise.
45303         * soft-fp/op-common.h: Likewise.
45304         * soft-fp/quad.h: Likewise.
45305         * soft-fp/single.h: Likewise.
45306         * soft-fp/soft-fp.h: Likewise.
45307         * soft-fp/sqrtdf2.c: Likewise.
45308         * soft-fp/sqrtsf2.c: Likewise.
45309         * soft-fp/sqrttf2.c: Likewise.
45310         * soft-fp/subdf3.c: Likewise.
45311         * soft-fp/subsf3.c: Likewise.
45312         * soft-fp/subtf3.c: Likewise.
45313         * soft-fp/truncdfsf2.c: Likewise.
45314         * soft-fp/trunctfdf2.c: Likewise.
45315         * soft-fp/trunctfsf2.c: Likewise.
45316         * soft-fp/trunctfxf2.c: Likewise.
45317         * soft-fp/unorddf2.c: Likewise.
45318         * soft-fp/unordsf2.c: Likewise.
45319         * soft-fp/unordtf2.c: Likewise.
45321 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
45323         [BZ #15672]
45324         * misc/error.c (error_tail): Fix possible buffer overflow.
45326 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
45328         [BZ #13028]
45329         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
45330         address.
45332 2013-10-14  P. J. McDermott  <pj@pehjota.net>
45334         [BZ #832]
45335         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
45336         testing pipefail option.
45338 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45340         * soft-fp/double.h: Indent preprocessor directives inside #if.
45341         * soft-fp/extended.h: Likewise.
45342         * soft-fp/op-2.h: Likewise.
45343         * soft-fp/op-4.h: Likewise.
45344         * soft-fp/op-common.h: Likewise.
45345         * soft-fp/quad.h: Likewise.
45346         * soft-fp/single.h: Likewise.
45347         * soft-fp/soft-fp.h: Likewise.
45349 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
45351         * iconv/iconv_prog.c: Fix typos.
45352         * stdio-common/psiginfo-data.h: Likewise.
45354 2013-10-12   Reuben Thomas <rrt@sc3d.org>
45356         [BZ #15764]
45357         * locale/setlocale.c: Fix typo.
45359 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45361         [BZ #16036]
45362         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
45363         signaling NaN arguments.
45364         * soft-fp/unordsf2.c (__unordsf2): Likewise.
45365         * soft-fp/unordtf2.c (__unordtf2): Likewise.
45367         [BZ #14910]
45368         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
45369         unordered operands.
45370         * soft-fp/gesf2.c (__gesf2): Likewise.
45371         * soft-fp/getf2.c (__getf2): Likewise.
45372         * soft-fp/ledf2.c (__ledf2): Likewise.
45373         * soft-fp/lesf2.c (__lesf2): Likewise.
45374         * soft-fp/letf2.c (__letf2): Likewise.
45376         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
45377         * soft-fp/eqsf2.c (__eqsf2): Likewise.
45378         * soft-fp/eqtf2.c (__eqtf2): Likewise.
45379         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
45380         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
45381         * soft-fp/fixdfti.c (__fixdfti): Likewise.
45382         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
45383         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
45384         * soft-fp/fixsfti.c (__fixsfti): Likewise.
45385         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
45386         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
45387         * soft-fp/fixtfti.c (__fixtfti): Likewise.
45388         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
45389         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
45390         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
45391         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
45392         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
45393         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
45394         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
45395         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
45396         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
45397         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
45398         * soft-fp/floatdisf.c (__floatdisf): Likewise.
45399         * soft-fp/floatsisf.c (__floatsisf): Likewise.
45400         * soft-fp/floattidf.c (__floattidf): Likewise.
45401         * soft-fp/floattisf.c (__floattisf): Likewise.
45402         * soft-fp/floattitf.c (__floattitf): Likewise.
45403         * soft-fp/floatundidf.c (__floatundidf): Likewise.
45404         * soft-fp/floatundisf.c (__floatundisf): Likewise.
45405         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
45406         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
45407         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
45408         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
45409         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
45410         * soft-fp/gesf2.c (__gesf2): Likewise.
45411         * soft-fp/getf2.c (__getf2): Likewise.
45412         * soft-fp/ledf2.c (__ledf2): Likewise.
45413         * soft-fp/lesf2.c (__lesf2): Likewise.
45414         * soft-fp/letf2.c (__letf2): Likewise.
45416         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
45417         Undefine and redefine.
45418         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
45419         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
45420         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
45421         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
45422         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45423         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
45424         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45425         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
45426         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45427         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
45428         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45429         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
45430         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45431         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
45432         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45434         [BZ #16032]
45435         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
45436         without decrementing exponent if mantissa >= that for the
45437         denominator, not >.
45438         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
45439         denominator, not >.  Decrement exponent in < case instead of
45440         incrementing in >= case.
45441         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
45442         without decrementing exponent if mantissa >= that for the
45443         denominator, not >.
45445         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
45446         computing saturated result for unsigned overflow.
45448 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45449             Jeff Law  <law@redhat.com>
45451         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
45452         (atan2Mp): Add systemtap probe marker.
45453         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
45454         (__ieee754_log): Add systemtap probe marker.
45455         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
45456         (atanMp): Add systemtap probe marker.
45457         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
45458         (tanMp): Add systemtap probe marker.
45459         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
45460         (__slowexp): Add systemtap probe marker.
45461         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
45462         (__slowpow): Add systemtap probe marker.
45463         * manual/probes.texi: Document probes.
45465 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
45467         [BZ #15362]
45468         * libio/fileops.c (_IO_new_file_write): Return count of bytes
45469         written.
45470         (_IO_new_file_xsputn): Don't return EOF if nothing has been
45471         written.
45472         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
45473         written to buffer but not flushed.
45474         * libio/iofwrite_u.c:  Likewise.
45475         * libio/iopadn.c:  Return bytes returned even if EOF was
45476         encountered.
45477         * libio/iowpadn.c:  Likewise.
45478         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
45479         if _IO_padn does not write the whole buffer.
45480         [!COMPILE_WPRINTF] (PAD): Likewise.
45482 2013-10-10  David S. Miller  <davem@davemloft.net>
45484         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
45485         directory block.
45487 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
45489         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
45490         instead of FSF address.
45491         * soft-fp/fixdfti.c: Likewise.
45492         * soft-fp/fixsfti.c: Likewise.
45493         * soft-fp/fixtfti.c: Likewise.
45494         * soft-fp/fixunsdfti.c: Likewise.
45495         * soft-fp/fixunssfti.c: Likewise.
45496         * soft-fp/fixunstfti.c: Likewise.
45497         * soft-fp/floattidf.c: Likewise.
45498         * soft-fp/floattisf.c: Likewise.
45499         * soft-fp/floattitf.c: Likewise.
45500         * soft-fp/floatuntidf.c: Likewise.
45501         * soft-fp/floatuntisf.c: Likewise.
45502         * soft-fp/floatuntitf.c: Likewise.
45503         * soft-fp/trunctfxf2.c: Likewise.
45505         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
45506         * soft-fp/fixdfti.c: Likewise.
45507         * soft-fp/fixsfti.c: Likewise.
45508         * soft-fp/fixtfti.c: Likewise.
45509         * soft-fp/fixunsdfti.c: Likewise.
45510         * soft-fp/fixunssfti.c: Likewise.
45511         * soft-fp/fixunstfti.c: Likewise.
45512         * soft-fp/floattidf.c: Likewise.
45513         * soft-fp/floattisf.c: Likewise.
45514         * soft-fp/floattitf.c: Likewise.
45515         * soft-fp/floatuntidf.c: Likewise.
45516         * soft-fp/floatuntisf.c: Likewise.
45517         * soft-fp/floatuntitf.c: Likewise.
45518         * soft-fp/trunctfxf2.c: Likewise.
45520 2013-10-10  David S. Miller  <davem@davemloft.net>
45522         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45524 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
45526         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
45527         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
45528         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
45529         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
45530         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
45531         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
45532         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
45534         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
45535         for NaNs before doing comparisons on argument.
45536         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
45537         Likewise.
45539 2013-10-10  Will Newton  <will.newton@linaro.org>
45541         * malloc/hooks.c (memalign_check): Ensure the value of bytes
45542         passed to _int_memalign does not overflow.
45544 2013-10-10  Torvald Riegel  <triegel@redhat.com>
45546         * scripts/bench.pl: Add include-sources directive.
45547         * benchtests/README: Update documentation.
45549 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
45551         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
45552         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
45553         instead of FP_INIT_ROUNDMODE.
45554         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
45555         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
45557         [BZ #16034]
45558         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
45559         copy class of input value.
45560         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
45561         not handle exceptions.
45562         * soft-fp/negsf2.c (__negsf2): Likewise.
45563         * soft-fp/negtf2.c (__negtf2): Likewise.
45564         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
45566 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
45568         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
45569         semicolon.  From Linux kernel.
45571 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
45573         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
45575 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
45577         [BZ #156]
45578         * manual/socket.texi: Added statement about buffer
45579         for gethostbyname2_r.
45581 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
45583         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
45584         Use .p2align directive instead, throughout.
45585         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
45586         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
45587         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
45588         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45589         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45590         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
45591         * sysdeps/x86_64/strchr.S: Likewise.
45592         * sysdeps/x86_64/strrchr.S: Likewise.
45594 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45596         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
45598         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
45600         * sysdeps/generic/math_private.h (__mpsin1): Remove
45601         declaration.
45602         (__mpcos1): Likewise.
45603         (__mpsin): New argument __range_reduce.
45604         (__mpcos): Likewise.
45605         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45606         (slow): Use __mpsin and __mpcos.
45607         (slow1): Likewise.
45608         (slow2): Likewise.
45609         (sloww): Likewise.
45610         (sloww1): Likewise.
45611         (sloww2): Likewise.
45612         (bsloww): Likewise.
45613         (bsloww1): Likewise.
45614         (bsloww2): Likewise.
45615         (cslow2): Likewise.
45616         (csloww): Likewise.
45617         (csloww1): Likewise.
45618         (csloww2): Likewise.
45619         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
45620         range_reduce.  Merge in __mpsin1.
45621         (__mpcos): Likewise.
45622         (__mpsin1): Remove.
45623         (__mpcos1): Likewise.
45625 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
45627         * locale/loadlocale.c (_nl_intern_locale_data): Use
45628         LOCFILE_ALIGNED_P.
45629         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
45630         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
45631         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
45632         obstack data is appropriately aligned.
45633         (obstack_int32_grow_fast): Likewise.
45634         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
45635         * locale/programs/locfile.c (add_locale_uint32): Likewise.
45636         (add_locale_uint32_array): Likewise.
45638 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45640         * benchtests/Makefile: Remove ARGLIST and RET variables.
45641         ($(objpfx)bench-%.c): Pass only function name to the script.
45642         * benchtests/README: Update documentation.
45643         * benchtests/acos-inputs: Add new directives.
45644         * benchtests/acosh-inputs: Likewise.
45645         * benchtests/asin-inputs: Likewise.
45646         * benchtests/asinh-inputs: Likewise.
45647         * benchtests/atan-inputs: Likewise.
45648         * benchtests/atanh-inputs: Likewise.
45649         * benchtests/cos-inputs: Likewise.
45650         * benchtests/cosh-inputs: Likewise.
45651         * benchtests/exp-inputs: Likewise.
45652         * benchtests/log-inputs: Likewise.
45653         * benchtests/pow-inputs: Likewise.
45654         * benchtests/rint-inputs: Likewise.
45655         * benchtests/sin-inputs: Likewise.
45656         * benchtests/sinh-inputs: Likewise.
45657         * benchtests/tan-inputs: Likewise.
45658         * benchtests/tanh-inputs: Likewise.
45659         * scripts/bench.pl: Add support for new directives.
45661 2013-10-07  Alan Modra  <amodra@gmail.com>
45663         * README: Fix careless merge.
45665 2013-10-05  Alan Modra  <amodra@gmail.com>
45667         * NEWS: Mention powerpc64le support and bugs fixed.
45668         * README: Both big-endian and little-endian powerpc64 supported.
45670 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45672         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
45673         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
45674         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
45675         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
45677 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
45679         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
45680         match prototype.
45682 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
45684         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
45685         Move -mhard-float appending from
45686         ports/sysdeps/powerpc/powerpc32/Makefile.
45687         [$(with-fp) = yes] (ASFLAGS): Likewise.
45688         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
45689         * sysdeps/powerpc/nofpu: Move directory from
45690         ports/sysdeps/powerpc/nofpu.
45691         * sysdeps/powerpc/soft-fp: Move directory from
45692         ports/sysdeps/powerpc/soft-fp.
45693         * sysdeps/powerpc/powerpc32/405: Move directory from
45694         ports/sysdeps/powerpc/powerpc32/405.
45695         * sysdeps/powerpc/powerpc32/440: Move directory from
45696         ports/sysdeps/powerpc/powerpc32/440.
45697         * sysdeps/powerpc/powerpc32/464: Move directory from
45698         ports/sysdeps/powerpc/powerpc32/464.
45699         * sysdeps/powerpc/powerpc32/476: Move directory from
45700         ports/sysdeps/powerpc/powerpc32/476.
45701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
45702         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
45703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
45704         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
45705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
45706         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
45707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
45708         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
45709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
45710         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
45711         * README: Update for powerpc-*-linux-gnu software floating point
45712         support in libc.
45714         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
45715         case to powerpc/powerpc32*.
45716         * sysdeps/unix/sysv/linux/configure: Regenerated.
45718         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
45719         (_FPU_MASK_OM): Define as 0x04.
45720         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
45721         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
45722         0x00c10080.
45723         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
45724         0x0000003c.
45725         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
45727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
45728         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
45729         getcontext_e500.
45730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
45731         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
45732         setcontext_e500.
45733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
45734         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
45735         and setcontext_e500.
45737 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
45739         * locale/iso-3166.def: Update iso-1366.def and related occurrences
45741 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45743         * manual/threads.texi (Default Thread Attributes): Fix typo.
45745 2013-10-04  Will Newton  <will.newton@linaro.org>
45747         * malloc/Makefile: Add tst-memalign.
45748         * malloc/tst-memalign.c: New file.
45750         * malloc/tst-posix_memalign.c: Add comments.
45751         (do_test): Add comments and call free on all potentially
45752         allocated pointers. Add space after cast.
45754         * malloc/tst-pvalloc.c: Add comments.
45755         (do_test): Add comments and call free on all potentially
45756         allocated pointers. Remove duplicate check for NULL pointer.
45757         Add space after cast.
45759         * malloc/tst-valloc.c: Add comments.
45760         (do_test): Add comments and call free on all potentially
45761         allocated pointers. Remove duplicate check for NULL pointer.
45762         Add space after cast.
45764 2013-10-04  Alan Modra  <amodra@gmail.com>
45766         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
45767         Use stdint types in rather than __attribute__((mode())).
45768         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
45770 2013-10-04  Alan Modra  <amodra@gmail.com>
45772         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
45773         Correct handling of unaligned relocs for little-endian.
45774         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
45776 2013-10-04  Alan Modra  <amodra@gmail.com>
45778         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
45779         * configure: Regenerate.
45780         * nptl/shlib-versions: Powerpc*le starts at 2.18.
45781         * shlib-versions: Likewise.
45783 2013-10-04  Alan Modra  <amodra@gmail.com>
45785         * string/tester.c (test_memrchr): Increment reported test cycle.
45787 2013-10-04  Alan Modra  <amodra@gmail.com>
45789         * string/test-memcpy.c (do_one_test): When reporting errors, print
45790         string address and don't overrun end of string.
45792 2013-10-04  Alan Modra  <amodra@gmail.com>
45794         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
45795         insrdi.  Make better use of reg selection to speed exit slightly.
45796         Schedule entry path a little better.  Remove useless "are we done"
45797         checks on entry to main loop.  Handle wrapping around zero address.
45798         Correct main loop count.  Handle single left-over word from main
45799         loop inline rather than by using loop_small.  Remove extra word
45800         case in loop_small caused by wrong loop count.  Add little-endian
45801         support.
45802         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
45803         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
45804         cache hint.
45805         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
45806         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
45807         support.  Avoid rlwimi.
45808         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
45810 2013-10-04  Alan Modra  <amodra@gmail.com>
45812         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
45813         insrdi.  Formatting.
45814         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
45815         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45816         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
45817         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
45818         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
45819         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
45821 2013-10-04  Alan Modra  <amodra@gmail.com>
45823         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
45824         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45825         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
45826         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
45827         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
45828         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
45829         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45830         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45831         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
45832         use of regs.  Use power7 mtocrf.  Tidy function tails.
45834 2013-10-04  Alan Modra  <amodra@gmail.com>
45836         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
45837         Formatting.  Consistently use rXXX register defines or rN defines.
45838         Use early exit labels that avoid restoring unused non-volatile regs.
45839         Make cr field use more consistent with rWORDn compares.  Rename
45840         regs used as shift registers for unaligned loop, using rN defines
45841         for short lifetime/multiple use regs.
45842         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
45843         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
45844         addi 1,1,64 to pop stack frame.  Simplify return value code.
45845         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45847 2013-10-04  Alan Modra  <amodra@gmail.com>
45849         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
45850         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
45851         rather than rlwimi.
45852         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
45853         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
45854         little-endian support.  Correct typos.
45855         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
45856         rather than rlwimi.
45857         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
45858         in loop and entry code to keep "and." results.
45859         (strchr): Add little-endian support.  Comment.  Move cntlzd
45860         earlier in tail.
45861         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
45863 2013-10-04  Alan Modra  <amodra@gmail.com>
45865         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
45866         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
45867         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
45868         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
45870 2013-10-04  Alan Modra  <amodra@gmail.com>
45872         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
45873         (rTMP): Define as r11.
45874         (strcmp): Add little-endian support.  Optimise tail.
45875         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
45876         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
45877         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
45878         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45879         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
45880         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45881         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45883 2013-10-04  Alan Modra  <amodra@gmail.com>
45885         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
45886         little-endian support.  Remove unnecessary "are we done" tests.
45887         Handle "s" wrapping around zero and extremely large "size".
45888         Correct main loop count.  Handle single left-over word from main
45889         loop inline rather than by using small_loop.  Correct comments.
45890         Delete "zero" tail, use "end_max" instead.
45891         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
45893 2013-10-04  Alan Modra  <amodra@gmail.com>
45895         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
45896         support.  Don't branch over align.
45897         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
45898         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
45899         support.  Rearrange tmp reg use to suit.  Comment.
45900         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
45902 2013-10-04  Alan Modra  <amodra@gmail.com>
45904         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
45906 2013-10-04  Alan Modra  <amodra@gmail.com>
45908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
45909         conditional form of branch and link when obtaining pc.
45910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
45912 2013-10-04  Alan Modra  <amodra@gmail.com>
45914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
45915         HIWORD/LOWORD.
45916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
45917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
45919 2013-10-04  Alan Modra  <amodra@gmail.com>
45921         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
45922         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
45923         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
45924         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
45925         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
45926         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
45927         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
45928         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45929         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
45930         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
45932 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45933             Alistair Popple <alistair@ozlabs.au.ibm.com>
45934             Alan Modra <amodra@gmail.com>
45936         [BZ #15723]
45937         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
45938         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
45939         _dl_hwcap access for little-endian.
45940         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
45941         destroy vmx regs when saving unaligned.
45942         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
45943         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
45944         destroy vmx regs when saving unaligned.
45946 2013-10-04  Alan Modra  <amodra@gmail.com>
45948         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
45949         Don't use a union to pack hi/low value.
45951 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45953         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
45954         for little-endian.
45955         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
45956         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
45957         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
45958         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
45959         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
45961 2013-10-04  Alan Modra  <amodra@gmail.com>
45963         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
45964         constants to usual value for .cst8 section, and remove redundant
45965         high address load.
45966         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
45967         constant for 0x1p52.  Load little-endian words of double from
45968         correct stack offsets.
45970 2013-10-04  Alan Modra  <amodra@gmail.com>
45972         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
45973         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
45974         words of double from correct stack offsets.
45975         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
45976         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
45977         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
45978         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
45979         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
45980         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
45981         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
45982         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
45983         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
45984         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
45985         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
45986         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
45987         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45988         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45989         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45990         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
45991         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
45993 2013-10-04  Alan Modra  <amodra@gmail.com>
45995         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
45996         64-bit int/double union.
45997         (_FPU_SETCW): Likewise.
45998         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
45999         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
46001 2013-10-04  Alan Modra  <amodra@gmail.com>
46003         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
46004         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
46006 2013-10-04  Alan Modra  <amodra@gmail.com>
46008         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
46009         use vector int constants.
46010         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
46012 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46014         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
46015         array with long long.
46016         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
46017         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
46018         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
46019         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
46020         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
46021         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
46022         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
46023         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
46024         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
46025         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
46026         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
46027         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
46028         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
46030 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46032         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
46033         (__signbit): Likewise.  Correct for little-endian.
46034         (__signbitl): Call __signbit.
46035         (lrint): Correct for little-endian.
46036         (lrintf): Call lrint.
46038 2013-10-04  Alan Modra  <amodra@gmail.com>
46040         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
46041         union 32-bit int array member with 64-bit int array.
46042         (t515, tm256): Double rather than long double.
46043         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
46045 2013-10-04  Alan Modra  <amodra@gmail.com>
46047         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
46048         Delete.
46049         (IEEE854_LONG_DOUBLE_BIAS): Delete.
46050         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
46051         version of math_ldbl.h.
46053 2013-10-04  Alan Modra  <amodra@gmail.com>
46055         [BZ #15734], [BZ #15735]
46056         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
46057         all uses of ieee875 long double macros and unions.  Simplify test
46058         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
46059         ldbl_extract_mantissa value for ix,iy exponents.  Properly
46060         normalize after ldbl_extract_mantissa, and don't add hidden bit
46061         already handled.  Don't treat low word of ieee854 mantissa like
46062         low word of IBM long double and mask off bit when testing for
46063         zero.
46064         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
46065         all uses of ieee875 long double macros and unions.  Simplify tests
46066         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
46067         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
46068         two1022, instead use their values.  Recognise that tests for large
46069         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
46070         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
46071         Rewrite all uses of ieee875 long double macros and unions.  Simplify
46072         test for 0.0L and nan.  Correct negation.
46073         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
46074         ieee875 long double macros and unions.  Correct output for large
46075         magnitude x.  Correct absolute value calculation.
46076         (__erfcl): Likewise.
46077         * math/libm-test.inc: Add tests for errors discovered in IBM long
46078         double versions of fmodl, remainderl, erfl and erfcl.
46080 2013-10-04  Alan Modra  <amodra@gmail.com>
46082         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
46083         all uses of ieee854 long double macros and unions.  Simplify tests
46084         for long doubles that are fully specified by the high double.
46085         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
46086         Likewise.
46087         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
46088         Remove dead code too.
46089         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
46090         (__ieee754_ynl): Likewise.
46091         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
46092         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
46093         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
46094         Remove dead code too.
46095         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
46096         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
46097         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
46098         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
46099         Simplify.
46100         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
46101         Simplify.
46102         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
46103         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
46104         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
46105         Comment on variable precision.
46106         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
46107         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
46108         Likewise.
46109         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
46110         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46111         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46112         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
46113         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
46115 2013-10-04  Alan Modra  <amodra@gmail.com>
46117         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
46118         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
46119         all uses of ieee854 long double macros and unions.
46120         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
46121         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
46122         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
46123         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
46124         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
46125         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
46126         Likewise.
46127         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
46128         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46129         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
46130         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46131         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
46132         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
46133         Simplify sign and nan test too.
46134         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
46135         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
46136         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
46137         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
46138         Likewise.
46139         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
46140         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
46141         Likewise.
46142         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46143         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
46144         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
46145         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
46146         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
46147         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
46149 2013-10-04  Alan Modra  <amodra@gmail.com>
46151         * stdio-common/printf_size.c (__printf_size): Don't use
46152         union ieee854_long_double in fpnum union.
46153         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
46154         signbit macro to retrieve sign from long double.
46155         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
46156         retrieve sign from long double.
46157         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
46158         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
46159         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
46160         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46161         * math/test-misc.c (main): Don't use union ieee854_long_double.
46163 2013-10-04  Alan Modra  <amodra@gmail.com>
46165         [BZ #15680]
46166         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
46167         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
46168         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
46169         calculation.  Remove unnecessary test for denormal exponent.
46170         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
46171         Correct handling of denormals.  Avoid undefined shift behaviour.
46172         Correct normalisation of low mantissa when low double is denormal.
46173         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
46174         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
46175         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
46176         Correct normalisation of low mantissa.  Test for overflow of high
46177         mantissa and normalise.
46178         (ldbl_nearbyint): Use more readable constant for two52.
46179         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
46180         (__mpn_construct_long_double): Fix test for overflow of high
46181         mantissa and correct normalisation.  Avoid undefined shift.
46183 2013-10-04  Alan Modra  <amodra@gmail.com>
46185         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
46186         (union ibm_extended_long_double): Define as an array of ieee754_double.
46187         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
46188         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
46189         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
46190         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
46191         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46192         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
46193         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46194         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
46195         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46196         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
46197         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
46199 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
46201         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
46202         page size instead of calling getpagesize.
46204         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
46205         (LOCFILE_ALIGN_MASK): Likewise.
46206         (LOCFILE_ALIGN_UP): Likewise.
46207         (LOCFILE_ALIGNED_P): Likewise.
46208         * locale/programs/ld-collate.c (collate_output): Use the new
46209         macros instead of __alignof__ (int32_t).
46210         * locale/weight.h (findidx): Likewise.
46212 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
46214         [BZ #431]
46215         * manual/string.texi: Fix strncat and wcsncat.
46217 2013-10-03  Brooks Moses  <bmoses@google.com>
46219         [BZ #15915]
46220         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
46221         * Makerules: ...here, and adjust associated comments.
46223 2013-10-02  Will Newton  <will.newton@linaro.org>
46225         * malloc/Makefile: Add tst-pvalloc.
46226         * malloc/tst-pvalloc.c: New file.
46228 2013-10-02  Will Newton  <will.newton@linaro.org>
46230         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
46231         improve test coverage.
46233 2013-10-02  Will Newton  <will.newton@linaro.org>
46235         * malloc/Makefile: Add tst-posix_memalign.
46236         * malloc/tst-posix_memalign.c: New file.
46238 2013-10-01  Eric Blake  <eblake@redhat.com>
46240         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
46241         Use __THROWNL rather than __THROW on static functions.
46243 2013-09-30  Petr Machata  <pmachata@redhat.com>
46245         * elf/elf.h (R_AARCH64_ABS16): New macro.
46246         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
46247         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
46248         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
46249         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
46250         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
46251         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
46252         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
46253         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
46254         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
46255         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
46256         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
46257         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
46258         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
46259         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
46260         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
46261         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
46262         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
46263         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
46264         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
46265         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
46266         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
46267         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
46268         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
46269         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
46270         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
46271         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
46272         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
46273         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
46274         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
46275         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
46276         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
46277         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
46278         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
46279         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
46280         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
46281         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
46282         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
46283         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
46284         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
46285         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
46286         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
46287         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
46288         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
46289         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
46290         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
46291         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
46292         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
46293         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
46294         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
46295         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
46296         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
46297         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
46298         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
46299         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
46300         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
46301         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
46302         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
46303         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
46304         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
46305         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
46306         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
46307         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
46308         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
46309         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
46310         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
46311         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
46312         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
46313         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
46314         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
46315         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
46316         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
46317         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
46318         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
46319         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
46320         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
46321         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
46322         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
46323         (R_AARCH64_TLSDESC_LDR): Likewise.
46324         (R_AARCH64_TLSDESC_ADD): Likewise.
46325         (R_AARCH64_TLSDESC_CALL): Likewise.
46327 2013-09-30  Andreas Schwab  <schwab@suse.de>
46329         [BZ #15048]
46330         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
46331         the nss database lookup.
46332         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46333         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46335 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
46337         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
46339 2013-09-28  P. J. McDermott  <pj@pehjota.net>
46341         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
46342         ${Bash-specific parameter/pattern/string} parameter expansion.
46343         * sysdeps/unix/make-syscalls.sh: Likewise.
46345 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46347         * sysdeps/sh/stackguard-macros.h: New file.
46349 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
46351         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
46352         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
46353         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
46354         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
46355         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46356         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
46358 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46360         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
46361         Fix thread ID register.
46363 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
46365         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
46366         [POSIX || UNIX98]: Require rather than permitting all symbols from
46367         <time.h>.
46368         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
46369         element of struct sched_param.
46370         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
46371         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
46372         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
46373         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
46374         constant.
46376 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
46378         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
46379         argument calculation.
46381 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46383         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
46384         Expect macro.
46385         [POSIX] (pthread_attr_t): Do not require type.
46386         [POSIX] (pthread_cond_t): Likewise.
46387         [POSIX] (pthread_condattr_t): Likewise.
46388         [POSIX] (pthread_key_t): Likewise.
46389         [POSIX] (pthread_mutex_t): Likewise.
46390         [POSIX] (pthread_mutexattr_t): Likewise.
46391         [POSIX] (pthread_once_t): Likewise.
46392         [POSIX] (pthread_t): Likewise.
46393         [POSIX-based standards] (pthread_atfork): Expect function.
46395 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46396             Richard Sandiford  <richard@codesourcery.com>
46398         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
46399         (swap_endianness_p): New extern variable.
46400         (set_big_endian): New inline function.
46401         (maybe_swap_uint32): Likewise.
46402         (maybe_swap_uint32_array): Likewise.
46403         (maybe_swap_uint32_obstack): Likewise.
46404         * locale/programs/locfile.c: Include <stdbool.h>.
46405         (swap_endianness_p): New variable.
46406         (add_locale_uint32): Call maybe_swap_uint32.
46407         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
46408         (write_locale_data): Call maybe_swap_uint32_array.
46409         * locale/programs/ld-collate.c (obstack_int32_grow): Call
46410         maybe_swap_uint32.
46411         (obstack_int32_grow_fast): Likewise.
46412         (output_weightwc): Call maybe_swap_uint32_obstack.
46413         (collate_output): Likewise.
46414         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
46415         (OPT_LITTLE_ENDIAN): Likewise.
46416         (options): Add --little-endian and --big-endian options.
46417         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
46418         * locale/programs/locarchive.c: Include "locfile.h".
46419         (GET): New macro.
46420         (SET): Likewise.
46421         (INC): Likewise.
46422         (create_archive): Use the new macros to access fields of
46423         structures directly mapped from or written to locale archives.
46424         (oldlocrecentcmp): Likewise.
46425         (enlarge_archive): Likewise.
46426         (insert_name): Likewise.
46427         (add_alias): Likewise.
46428         (add_locale): Likewise.
46429         (delete_locales_from_archive): Likewise.
46430         (show_archive_content): Likewise.
46431         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
46432         locale data.
46434 2013-09-24  Roland McGrath  <roland@hack.frob.com>
46436         * manual/freemanuals.texi: Updated from (newly) canonical copy at
46437         http://www.gnu.org/doc/freemanuals.texi.
46438         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
46440 2013-09-24  Will Newton  <will.newton@linaro.org>
46442         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
46443         macro.
46445 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
46447         * locale/hashval.h (compute_hashval): Interpret bytes of key as
46448         unsigned char.
46450 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
46452         * manual/threads.texi (POSIX Threads): Fix a typo.
46454 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
46456         [BZ #14547]
46457         * string/tst-strcoll-overflow.c: New test case.
46458         * string/Makefile (xtests): Add tst-strcoll-overflow.
46459         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
46460         cache if string sizes may cause integer overflow.
46462         [BZ #14547]
46463         * string/strcoll_l.c (coll_seq): New members rule, idx,
46464         save_idx and back_us.
46465         (get_next_seq_nocache): New function.
46466         (do_compare_nocache): New function.
46467         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
46468         when malloc fails.
46470 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
46472         [BZ #15754]
46473         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
46474         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
46475         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
46477         [BZ #15754]
46478         * elf/Makefile (tests): Add tst-ptrguard1.
46479         (tests-static): Add tst-ptrguard1-static.
46480         (tst-ptrguard1-ARGS): Define.
46481         (tst-ptrguard1-static-ARGS): Define.
46482         * elf/tst-ptrguard1.c: New file.
46483         * elf/tst-ptrguard1-static.c: New file.
46484         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
46485         * sysdeps/i386/stackguard-macros.h: Likewise.
46486         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
46487         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
46488         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
46489         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
46490         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
46491         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
46493 2013-09-23  Hector Marco  <hecmargi@upv.es>
46494             Ismael Ripoll  <iripoll@disca.upv.es>
46495             Carlos O'Donell  <carlos@redhat.com>
46497         [BZ #15754]
46498         * sysdeps/generic/stackguard-macros.h: Define
46499         __pointer_chk_guard_local and POINTER_CHK_GUARD.
46500         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
46501         Define __pointer_chk_guard_local.
46502         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
46503         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
46505 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
46507         [BZ #15859]
46508         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
46510 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
46512         * include/string.h (__ffs): Declare as hidden.
46513         * string/ffs.c (__ffs): Define as hidden.
46514         * sysdeps/i386/ffs.c (__ffs): Likewise.
46515         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
46516         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
46517         * sysdeps/s390/ffs.c (__ffs): Likewise.
46518         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
46520 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
46522         * NEWS: Mention malloc probes.
46524         * malloc/arena.c (new_heap): New memory_heap_new probe.
46525         (grow_heap): New memory_heap_more probe.
46526         (shrink_heap): New memory_heap_less probe.
46527         (heap_trim): New memory_heap_free probe.
46528         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
46529         (systrim): New memory_sbrk_less probe.
46530         * manual/probes.texi: Document them.
46532         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
46533         * manual/probes.texi: Document it.
46535         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
46536         (__libc_realloc): Add memory_realloc_retry probe.
46537         (__libc_memalign): Add memory_memalign_retry probe.
46538         (__libc_valloc): Add memory_valloc_retry probe.
46539         (__libc_pvalloc): Add memory_pvalloc_retry probe.
46540         (__libc_calloc): Add memory_calloc_retry probe.
46541         * manual/probes.texi: Document them.
46543         * malloc/arena.c (get_free_list): Add probe
46544         memory_arena_reuse_free_list.
46545         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
46546         and memory_arena_reuse.
46547         (arena_get2) [!PER_THREAD]: Likewise.
46548         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
46549         memory_arena_reuse_realloc.
46550         * manual/probes.texi: Document them.
46552         * malloc/malloc.c (__libc_free): Add
46553         memory_mallopt_free_dyn_thresholds probe.
46554         (__libc_mallopt): Add multiple memory_mallopt probes.
46555         * manual/probes.texi: Document them.
46557         * malloc/malloc.c: Include stap-probe.h.
46558         (__libc_mallopt): Add memory_mallopt probe.
46559         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
46560         * manual/probes.texi: New.
46561         * manual/Makefile (chapters): Add probes.
46562         * manual/threads.texi: Set next node.
46564 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
46566         [BZ #15963, #13985]
46567         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
46568         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
46569         Add `Chinese' to `nan' entry name.
46571 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46573         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
46574         (POLYNOMIAL): Likewise.
46575         (TAYLOR_SINCOS): Likewise.
46576         (TAYLOR_SLOW): Likewise.
46577         (__sin): Use TAYLOR_SINCOS.
46578         (__cos): Likewise.
46579         (slow): Use TAYLOR_SLOW.
46580         (sloww): Likewise.
46581         (bsloww): Likewise.
46582         (csloww): Likewise.
46584 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46586         * stdlib/strtod_l.c: Fix buffer overrun.
46588 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46590         * benchtests/Makefile (bench): Add sincos.
46591         * benchtests/bench-sincos.c: New file.
46593         * math/libm-test.inc (cos_test_data): New test inputs.
46594         (sin_test_data): Likewise.
46596         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
46597         macro.
46598         (__sin): Use it.
46599         (__cos): Likewise.
46600         (slow1): Likewise.
46601         (slow2): Likewise.
46602         (sloww1): Likewise.
46603         (sloww2): Likewise.
46604         (bsloww1): Likewise.
46605         (bsloww2): Likewise.
46606         (cslow2): Likewise.
46607         (csloww1): Likewise.
46608         (csloww2): Likewise.
46610         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
46611         function.
46612         (__sin): Use it.
46613         (__cos): Likewise.
46615         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
46616         gotos.
46617         (__cos): Likewise.
46619 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
46621         * config.h.in (HAVE_MIPS_NAN2008): New macro.
46622         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
46623         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
46624         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
46625         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
46626         * elf/cache.c (print_entry): Handle the new cache flags.
46628 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
46629             Aldy Hernandez  <aldyh@redhat.com>
46631         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
46632         Change condition to [_SOFT_FLOAT].
46633         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
46634         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
46635         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
46636         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
46637         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
46638         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
46639         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
46640         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
46641         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
46642         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
46643         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
46644         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
46645         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
46646         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
46647         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
46648         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
46649         declaration.
46651 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
46653         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
46654         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
46655         (__longjmp): Use LOAD_GP to load saved GPRs.
46656         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
46657         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
46658         (__sigsetjmp): Use SAVE_GP to save GPRs.
46660         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
46661         Do not append -msoft-float.
46662         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
46664 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46666         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
46668 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
46670         [BZ #15966]
46671         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
46672         (_FPU_GETCW): Use initial "__" on variable and field names but not
46673         on macro parameter name.
46674         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
46675         parentheses around reference to macro parameter.
46677 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
46679         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
46680         prototype.
46681         (ctype_startup): Use uint32_t in cast and sizeof for
46682         ctype->charnames.
46684 2013-09-11  Jia Liu  <proljc@gmail.com>
46686         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
46687         __daddr_t_defined.
46688         [__FreeBSD__]: Likewise.
46690 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
46692         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
46693         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
46694         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
46695         (strchr): Remove __strchr_sse42 ifunc selection.
46696         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
46697         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
46699 2013-09-11  Will Newton  <will.newton@linaro.org>
46701         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
46702         parameter to RES. Remove hardcoded 1000 value.
46703         * benchtests/bench-skeleton.c (main): Pass RES parameter
46704         to TIMING_INIT and multiply result by 1000.
46706 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46708         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46710 2013-09-11  Andreas Schwab  <schwab@suse.de>
46712         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
46713         if not defined.
46714         (O_TMPFILE) [__USE_GNU]: Define.
46715         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
46716         Define.
46718 2013-09-11  Will Newton  <will.newton@linaro.org>
46720         [BZ #15857]
46721         * malloc/malloc.c (__libc_memalign): Check the value of bytes
46722         does not overflow.
46724 2013-09-11  Will Newton  <will.newton@linaro.org>
46726         [BZ #15856]
46727         * malloc/malloc.c (__libc_valloc): Check the value of bytes
46728         does not overflow.
46730 2013-09-11  Will Newton  <will.newton@linaro.org>
46732         [BZ #15855]
46733         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
46734         does not overflow.
46736 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
46738         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
46739         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46740         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46741         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46742         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46744 2013-09-10  Allan McRae  <allan@archlinux.org>
46746         [BZ #15748]
46747         * manual/arith.texi (Parsing of Floats): Clarify
46748         cross-reference.
46750         [BZ #15849]
46751         * manual/install.texi (Running make install): Mention
46752         --enable-pt-chown.
46753         * INSTALL: Regenerated.
46755 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
46757         * csu/init-first.c (_init): Remove the !SHARED condition around
46758         FPU control word initialization.
46759         * elf/dl-support.c (_dl_fpu_control): New variable.
46760         (_dl_aux_init) <AT_FPUCW>: Initialize it.
46761         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
46762         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
46763         * math/test-fpucw-static.c: New file.
46764         * math/test-fpucw-ieee.c: New file.
46765         * math/test-fpucw-ieee-static.c: New file.
46766         * math/Makefile (tests): Add `test-fpucw-ieee' and
46767         `$(tests-static)'.
46768         (tests-static): New variable.
46769         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
46770         dependency to...
46771         [($(build-shared),yes)]
46772         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
46773         ... this.
46774         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
46775         New dependency.
46777 2013-09-09  Allan McRae  <allan@archlinux.org>
46779         [BZ #15939]
46780         * manual/string.texi (Collation Functions): Fix typo in
46781         strcoll example.
46782         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
46784         [BZ #15893]
46785         * stdlib/isomac.c (get_null_defines): Fix memory leak.
46787         [BZ #15892]
46788         * libio/memstream.c (open_memstream): Fix memory leak.
46789         * libio/wmemstream.c (open_wmemstream): Likewise.
46791         [BZ #15895]
46792         * nscd/netgroupcache.c: Fix nesting of ifdefs.
46794 2013-09-09  Will Newton  <will.newton@linaro.org>
46796         * malloc/Makefile: Add tst-realloc to tests.
46797         * malloc/tst-realloc.c: New file.
46799 2013-09-09  Allan McRae  <allan@archlinux.org>
46801         [BZ #15844]
46802         * COPYING: Update from GNU website to fix FSF address.
46803         * COPYING.LIB: Likewise.
46805 2013-09-06  David S. Miller  <davem@davemloft.net>
46807         * po/zh_TW.po: Update Chinese (traditional) translation from
46808         translation project.
46810 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
46811             Joseph Myers  <joseph@codesourcery.com>
46813         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
46814         "localeinfo.h".
46815         (obstack_chunk_alloc): New macro.
46816         (obstack_chunk_free): Likewise.
46817         (record_offset): New function.
46818         (init_locale_data): Likewise.
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): Take locale_file structure rather than an
46833         iovec.
46834         * locale/programs/locfile.h: Include "obstack.h".
46835         (struct locale_file): Change to store locale file contents instead
46836         of header.
46837         (init_locale_data): New prototype.
46838         (align_locale_data): Likewise.
46839         (add_locale_empty): Likewise.
46840         (add_locale_raw_data): Likewise.
46841         (add_locale_raw_obstack): Likewise.
46842         (add_locale_string): Likewise.
46843         (add_locale_wstring): Likewise.
46844         (add_locale_uint32): Likewise.
46845         (add_locale_uint32_array): Likewise.
46846         (add_locale_char): Likewise.
46847         (start_locale_structure): Likewise.
46848         (end_locale_structure): Likewise.
46849         (start_locale_prelude): Likewise.
46850         (end_locale_prelude): Likewise.
46851         (write_locale_data): Update prototype.
46852         * locale/programs/3level.h (struct TABLE): Remove result field.
46853         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
46854         Use new locale_file interface.
46855         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
46856         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
46857         * locale/programs/ld-address.c (address_output): Use new
46858         locale_file interface.
46859         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
46860         NO_ADD_LOCALE.
46861         (collate_finish): Don't call collseq_table_finalize.
46862         (collate_output): Use new locale_file interface.
46863         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
46864         in file.
46865         (NO_FINALIZE): Change to NO_ADD_LOCALE.
46866         (TABLE): Move defines earlier in file.
46867         (ELEMENT): Likewise.
46868         (DEFAULT): Likewise.
46869         (wctrans_table_add): Move macro and inline function earlier in
46870         file.
46871         (struct wctype_table): Move type earlier in file.
46872         (add_locale_wctype_table): New static prototype.
46873         (struct locale_ctype_t): Use logical types instead of struct iovec
46874         pointers for members.
46875         (ctype_output): Use new locale_file interface.
46876         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
46877         new locale_file interface.
46878         (allocate_arrays): Update for use of new locale_file interface.
46879         * locale/programs/ld-identification.c (identification_output): Use
46880         new locale_file interface.
46881         * locale/programs/ld-measurement.c (measurement_output): Likewise.
46882         * locale/programs/ld-messages.c (messages_output): Likewise.
46883         * locale/programs/ld-monetary.c (monetary_output): Likewise.
46884         * locale/programs/ld-name.c (name_output): Likewise.
46885         * locale/programs/ld-numeric.c (numeric_output): Likewise.
46886         * locale/programs/ld-paper.c (paper_output): Likewise.
46887         * locale/programs/ld-telephone.c (telephone_output): Likewise.
46888         * locale/programs/ld-time.c (time_output): Likewise.
46890 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46892         * benchtests/Makefile: Add memrchr benchmark.
46893         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
46894         benchmark as memrchr.
46895         * benchtests/bench-memrchr-ifunc.c: New file.
46896         * benchtests/bench-memrchr.c: New file.
46898 2013-09-06   Will Newton  <will.newton@linaro.org>
46900         * benchtests/Makefile (string-bench): Add memcpy.
46902 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
46903             Cong Wang  <amwang@redhat.com>
46905         [BZ #15850]
46906         * sysdeps/unix/sysv/linux/bits/in.h
46907         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
46908         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
46909         before __USE_KERNEL_IPV6_DEFS uses.
46910         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
46911         IPPROTO_BEETPH.
46912         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
46913         sockaddr_in6, or ipv6_mreq.
46915 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46917         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
46918         memory access for final bytes in some large inputs.
46919         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
46921 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46923         * string/test-memrchr.c: New file.
46924         * string/test-memrchr-ifunc.c: New file.
46925         * string/Makefile: Add new memrchr testcase.
46927 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
46929         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
46930         fanotify_init returns EPERM.
46932 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
46934         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
46935         errors.
46936         (top level): Treat second token from macro or constant entries for
46937         allowed headers as allowed.
46938         * include/complex.h: Condition internal declarations on
46939         [!_ISOMAC].
46940         * include/fenv.h: Condition include of <stdbool.h> and internal
46941         declarations on [!_ISOMAC].
46943 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
46945         [BZ #15923]
46946         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
46948 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
46950         * configure.in (--enable-versioning): Remove configure option.
46951         (libc_cv_asm_symver_directive): Remove configure test.
46952         (libc_cv_ld_version_script_option): Likewise.
46953         (VERSIONING): Remove variable and AC_SUBST.
46954         (DO_VERSIONING): Remove AC_DEFINE.
46955         * configure: Regenerated.
46956         * config.h.in (DO_VERSIONING): Remove macro.
46957         * Makerules [$(versioning) = yes]: Change conditionals to
46958         [$(build-shared) = yes].
46959         * config.make.in (versioning): Remove variable.
46960         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
46961         [$(build-shared) = yes].
46962         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
46963         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
46964         * elf/Makefile [$(versioning) = yes]: Change conditionals to
46965         [$(build-shared) = yes].
46966         * extra-lib.mk [$(versioning) = yes]: Likewise.
46967         * hurd/Makefile [$(versioning) = yes]: Likewise.
46968         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
46969         [SHARED].
46970         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
46971         [SHARED].
46972         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
46973         [SHARED && !NO_HIDDEN].
46974         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
46975         [SHARED].
46976         [SHARED && DO_VERSIONING]: Likewise..
46977         * libio/Makefile [$(versioning) = yes]: Change conditionals to
46978         [$(build-shared) = yes].
46979         * manual/install.texi (--disable-versioning): Remove
46980         documentation.
46981         * INSTALL: Regenerated.
46982         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
46983         to [SHARED].
46984         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
46985         [$(build-shared) = yes].
46986         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
46987         * sysdeps/i386/i686/multiarch/strstr-c.c
46988         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
46989         [SHARED && !NO_HIDDEN].
46990         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
46991         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
46992         * sysdeps/powerpc/powerpc32/dl-machine.c
46993         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
46994         * sysdeps/powerpc/powerpc32/sysdep.h
46995         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
46996         to [SHARED && PIC && !NO_HIDDEN].
46997         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
46998         conditional to [SHARED].
47000 2013-09-04   Will Newton  <will.newton@linaro.org>
47002         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
47003         * benchtests/bench-string.h: Include bench-timing.h instead
47004         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
47005         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
47006         call to HP_TIMING_DIFF_INIT.
47007         * benchtests/bench-memccpy.c: Use bench-timing.h macros
47008         instead of hp-timing.h macros.
47009         * benchtests/bench-memchr.c: Likewise.
47010         * benchtests/bench-memcmp.c: Likewise.
47011         * benchtests/bench-memcpy.c: Likewise.
47012         * benchtests/bench-memmem.c: Likewise.
47013         * benchtests/bench-memmove.c: Likewise.
47014         * benchtests/bench-memset.c: Likewise.
47015         * benchtests/bench-rawmemchr.c: Likewise.
47016         * benchtests/bench-strcasecmp.c: Likewise.
47017         * benchtests/bench-strcasestr.c: Likewise.
47018         * benchtests/bench-strcat.c: Likewise.
47019         * benchtests/bench-strchr.c: Likewise.
47020         * benchtests/bench-strcmp.c: Likewise.
47021         * benchtests/bench-strcpy.c: Likewise.
47022         * benchtests/bench-strcpy_chk.c: Likewise.
47023         * benchtests/bench-strlen.c: Likewise.
47024         * benchtests/bench-strncasecmp.c: Likewise.
47025         * benchtests/bench-strncat.c: Likewise.
47026         * benchtests/bench-strncmp.c: Likewise.
47027         * benchtests/bench-strncpy.c: Likewise.
47028         * benchtests/bench-strnlen.c: Likewise.
47029         * benchtests/bench-strpbrk.c: Likewise.
47030         * benchtests/bench-strrchr.c: Likewise.
47031         * benchtests/bench-strspn.c: Likewise.
47032         * benchtests/bench-strstr.c: Likewise.
47034 2013-09-04  Will Newton  <will.newton@linaro.org>
47036         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
47038 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
47040         [BZ #15427]
47041         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
47042         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
47043         * math/libm-test.inc (lgamma_test_data): Add more tests.
47044         * sysdeps/i386/fpu/libm-test-ulps: Update.
47045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47047 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
47049         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
47050         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47051         Add ifunc.
47052         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47053         Add strcmp-sse2-unaligned
47054         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
47056 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47058         * Versions.def (libc): Add GLIBC_2.19.
47060 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47062         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
47063         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
47065 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
47067         [BZ #14155]
47068         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
47069         intermediate calculations in recurrence.
47070         (__ieee754_ynf): Likewise.
47071         * math/libm-test.inc (jn_test_data): Do not allow spurious
47072         underflow exception.  Add more tests.
47073         (yn_test_data): Add more tests.
47074         * sysdeps/i386/fpu/libm-test-ulps: Update.
47075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47077 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
47079         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
47081 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
47083         * csu/init-first.c: Fix then/than typos.
47084         * locale/programs/ld-collate.c: Likewise.
47085         * locale/programs/linereader.h: Likewise.
47086         * manual/charset.texi: Likewise.
47087         * manual/filesys.texi: Likewise.
47088         * manual/stdio.texi: Likewise.
47089         * manual/string.texi: Likewise.
47090         * stdlib/fmtmsg.c: Likewise.
47091         * sysdeps/i386/stpncpy.S: Likewise.
47092         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47093         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
47094         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47095         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47097 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
47099         * elf/dl-open.c: Fix typos.
47100         * iconvdata/gbbig5.c: Likewise.
47101         * iconvdata/iso-2022-jp.c: Likewise.
47102         * iconv/gconv_int.h: Likewise.
47103         * iconv/loop.c: Likewise.
47104         * nis/rpcsvc/nis.h: Likewise.
47105         * resolv/ns_name.c: Likewise.
47106         * stdio-common/vfscanf.c: Likewise.
47107         * streams/stropts.h: Likewise.
47108         * sunrpc/rpc_thread.c: Likewise.
47109         * sysdeps/i386/strpbrk.S: Likewise.
47110         * sysdeps/ieee754/k_standard.c: Likewise.
47111         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47112         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47113         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
47114         * sysdeps/mach/hurd/profil.c: Likewise.
47115         * sysdeps/s390/dl-procinfo.h: Likewise.
47116         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
47117         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
47118         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
47119         * sysdeps/x86_64/dl-trampoline.S: Likewise.
47120         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47122 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
47124         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
47125         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
47127 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
47129         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
47130         aix specific files.
47131         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
47132         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
47133         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
47134         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
47135         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
47136         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
47137         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
47138         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
47140 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
47141             Roland McGrath  <roland@hack.frob.com>
47143         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
47144         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
47146 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47148         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
47149         __executable_start symbol instead of _start.
47151 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
47153         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
47154         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
47155         Move macros to...
47156         * sysdeps/gnu/ldsodefs.h: ... this new file.
47158         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
47159         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
47160         instead of ELFOSABI_LINUX.
47162         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
47163         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
47164         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
47165         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
47166         Likewise.
47167         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
47168         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
47169         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
47170         Likewise.
47171         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47172         (ibm_extended_long_double): Add ieee_nan member.
47173         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
47174         (do_test): New function.
47176         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
47177         TEST_TRUNC.
47178         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
47179         functions, renamed from truncdfsf_test, trunctfsf_test,
47180         trunctfdf_test.
47181         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
47182         functions.
47183         (do_test): Run all these.
47185 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
47187         * argp/argp-help.c: Fix typos.
47188         * argp/argp-parse.c: Likewise.
47189         * debug/backtracesyms.c: Likewise.
47190         * elf/elf.h: Likewise.
47191         * malloc/malloc.c: Likewise.
47192         * nis/nis_print.c: Likewise.
47193         * resolv/res_comp.c: Likewise.
47194         * stdlib/stdlib.h: Likewise.
47195         * sunrpc/clnt_tcp.c: Likewise.
47196         * sunrpc/clnt_udp.c: Likewise.
47197         * sunrpc/clnt_unix.c: Likewise.
47198         * sysdeps/unix/bsd/ptsname.c: Likewise.
47199         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
47200         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
47201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
47202         Likewise.
47203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
47204         Likewise.
47205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
47206         Likewise.
47207         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47209 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47211         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
47212         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47214 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
47216         [BZ #15897]
47217         * dlfcn/Makefile (tests): Add bug-dl-leaf.
47218         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
47219         ($(objpfx)bug-dl-leaf): New rule.
47220         ($(objpfx)bug-dl-leaf.so): Likewise.
47221         ($(objpfx)bug-dl-leaf.out): Likewise.
47222         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
47223         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
47224         * dlfcn/bug-dl-leaf.c: New test.
47225         * dlfcn/bug-dl-leaf-lib.c: Likewise.
47226         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
47227         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
47228         (dlclose): Likewise.
47229         (dlmopen): Likewise.
47231 2013-08-27  Roland McGrath  <roland@hack.frob.com>
47233         * include/netdb.h [!_ISOMAC]:
47234         Don't include <tls.h>.
47235         (h_errno, __libc_h_errno): Move declaration and macros out of
47236         [_LIBC_REENTRANT].
47238         * include/resolv.h [_RESOLV_H_]:
47239         Don't include <tls.h>.
47240         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
47241         * resolv/res_libc.c: Don't include <tls.h>.
47242         (_res): Use __attribute__ ((nocommon)) in place of
47243         __attribute__ ((section (".bss"))).
47245         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
47246         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
47248         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
47250         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
47251         only under [SIOCGIFCONF && SIOCGIFNETMASK].
47253         * resolv/res_mkquery.c: Include <sys/time.h>.
47255         * inet/ifreq.c: Moved to ...
47256         * sysdeps/unix/ifreq.c: ... here.
47257         * inet/ifreq.c: New file, true stub version.
47259         * socket/sa_len.c: New file.
47260         * socket/Makefile (aux): Add it.
47261         * sysdeps/unix/sysv/linux/Makefile
47262         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
47263         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
47264         and #include <socket/sa_len.c>.
47265         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
47266         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
47268         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
47269         * bits/socket.h: ... here.
47271         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
47272         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
47273         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
47275 2013-08-27  Andreas Schwab  <schwab@suse.de>
47277         [BZ #15736]
47278         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
47279         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
47280         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
47281         * string/test-strcasecmp.c (test_main): Run tests in several
47282         locales.
47283         * string/test-strncasecmp.c (test_main): Likewise.
47285         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
47286         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
47287         to __strcasecmp_nonascii and __strncasecmp_nonascii.
47288         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
47289         (__strncasecmp_ssse3) [PIC]: Likewise.
47291 2013-08-26  Roland McGrath  <roland@hack.frob.com>
47293         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
47295         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
47296         instead of explicitly declaring xdecrypt.
47297         * nis/nss_nis/nis-publickey.c: Likewise.
47299 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47301         [BZ #15890]
47302         * nscd/aicache.c: Include res_hconf.h.
47303         (addhstaiX): Initialize res_hconf.
47305 2013-08-26  Andreas Schwab  <schwab@suse.de>
47307         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
47308         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
47310 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47312         * nscd/aicache.c (addhstaiX): Fix indentation.
47314 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
47316         * configure.ac: Quote $build_pt_chown test.
47317         * configure: Regenerated.
47319 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
47321         [BZ #15532]
47322         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
47323         * math/s_cexpf.c (__cexpf): Likewise.
47324         * math/s_cexpl.c (__cexpl): Likewise.
47325         * math/libm-test.inc (cexp_test_data): Correct expected return
47326         value for NaN + i0.  Add another test.
47328 2013-08-22  David S. Miller  <davem@davemloft.net>
47330         * po/ca.po: Update Catalan translation from translation project.
47331         * po/uk.po: Add Ukrainian translations from translation project.
47333 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
47335         [BZ #15797]
47336         * math/s_fdim.c (__fdim): Check for infinite arguments if result
47337         is infinite, not alongside NaN test.
47338         * math/s_fdimf.c (__fdimf): Likewise.
47339         * math/s_fdiml.c (__fdiml): Likewise.
47340         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
47341         errno is unchanged.
47343 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
47345         * argp/argp-help.c: Fix typos.
47346         * crypt/speeds.c: Likewise.
47347         * csu/check_fds.c: Likewise.
47348         * elf/dl-load.c: Likewise.
47349         * elf/dl-open.c: Likewise.
47350         * elf/reldep3.c: Likewise.
47351         * elf/reldep.c: Likewise.
47352         * elf/sprof.c: Likewise.
47353         * iconv/iconv_charmap.c: Likewise.
47354         * iconv/skeleton.c: Likewise.
47355         * iconv/strtab.c: Likewise.
47356         * io/lockf64.c: Likewise.
47357         * libio/libioP.h: Likewise.
47358         * resolv/gai_notify.c: Likewise.
47359         * resolv/ns_name.c: Likewise.
47360         * resolv/ns_samedomain.c: Likewise.
47361         * resolv/res_send.c: Likewise.
47362         * stdlib/random.c: Likewise.
47363         * sunrpc/rpc/xdr.h: Likewise.
47364         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
47365         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47366         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47367         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47368         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47369         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47370         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47371         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47372         * sysdeps/mach/hurd/check_fds.c: Likewise.
47373         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
47374         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
47375         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47376         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
47377         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47378         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
47379         * sysdeps/pthread/aio_notify.c: Likewise.
47380         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
47381         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
47382         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
47383         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47384         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
47386 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47388         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
47389         version if bit_Slow_SSE4_2 is set.
47390         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47391         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47393 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47395         [BZ #15867]
47396         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
47397         trampoline stack frame information.
47398         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
47399         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
47400         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
47401         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
47402         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
47403         * sysdeps/unix/sysv/linux/powerpc/init-first.c
47404         (_libc_vdso_platform_setup): Initialize the signal trampolines.
47405         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
47406         sa_flags value.
47407         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
47408         interrupting a syscall and set with option SA_SIGINFO.
47410 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
47412         [BZ #15531]
47413         * math/s_cproj.c (__cproj): Only return an infinity if one part of
47414         argument is infinite.
47415         * math/s_cprojf.c (__cprojf): Likewise.
47416         * math/s_cprojl.c (__cprojl): Likewise.
47417         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
47418         * math/libm-test.inc (cproj_test_data): Add more tests.
47420         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
47422         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
47423         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
47424         size.  Use __ffs to determine corresponding shift.
47426 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
47427             Roland McGrath  <roland@hack.frob.com>
47429         * Makefile (INSTALL): Remove trailing blank lines from output of
47430         makeinfo.
47432 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47434         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
47435         Align 32 bit compat elf_greg to 8 bytes.
47437 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
47439         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
47441 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47443         * string/strcoll_l.c (coll_seq): New structure.
47444         (get_next_seq_cached): New function.
47445         (get_next_seq): New function.
47446         (do_compare): New function.
47447         (STRCOLL): Use GNU style definition.  Simplify implementation
47448         by using get_next_seq, get_next_seq_cached and do_compare.
47450 2013-08-16  Florian Weimer  <fweimer@redhat.com>
47452         [BZ #14699]
47453         CVE-2013-4237
47454         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
47455         member.
47456         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
47457         member.
47458         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
47459         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
47460         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
47461         conditional.
47462         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
47463         GETDENTS_64BIT_ALIGNED.
47464         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
47465         * manual/filesys.texi (Reading/Closing Directory): Document
47466         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
47467         strongly.
47468         * manual/conf.texi (Limits for Files): Add portability note to
47469         NAME_MAX, PATH_MAX.
47470         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
47472 2013-08-13  Andreas Schwab  <schwab@suse.de>
47474         [BZ #15749]
47475         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
47476         of fabs.
47477         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
47478         LDBL_MAX_EXP >= 16384]: Add tests for it.
47480 2013-08-12  David S. Miller  <davem@davemloft.net>
47482         * version.h (RELEASE): Set to "development".
47483         (VERSION): Set to "2.18.90".
47484         * NEWS: Add 2.19 section.
47486 2013-08-03  David S. Miller  <davem@davemloft.net>
47488         * po/ko.po: Update Korean translation from translation project.
47490 2013-08-01  David S. Miller  <davem@davemloft.net>
47492         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
47493         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
47494         Bilka.
47496 2013-07-30  David S. Miller  <davem@davemloft.net>
47498         * po/fr.po: Update French translation from translation project.
47500 2013-07-28  David S. Miller  <davem@davemloft.net>
47502         * po/cs.po: Update Czech translation from translation project.
47504         * po/sv.po: Update Swedish translation from translation project.
47506 2013-07-27  David S. Miller  <davem@davemloft.net>
47508         * po/eo.po: Update Esperanto translation from translation project.
47510         * po/vi.po: Update Vietnamese translation from translation project.
47512         * po/de.po: Update German translation from translation project.
47514 2013-07-26  David S. Miller  <davem@davemloft.net>
47516         * po/bg.po: Update Bulgarian translation from translation project.
47518         * po/nl.po: Update Dutch translation from translation project.
47519         * po/pl.po: Update Polish translation from translation project.
47520         * po/ru.po: Update Russian translation from translation project.
47522 2013-07-24  David S. Miller  <davem@davemloft.net>
47524         * po/libc.pot: Update.
47526 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47528         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
47529         variable page size.
47530         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
47531         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
47532         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
47534 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47536         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
47538 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47539             Andreas Schwab  <schwab@suse.de>
47540             Roland McGrath  <roland@hack.frob.com>
47541             Joseph Myers  <joseph@codesourcery.com>
47542             Carlos O'Donell  <carlos@redhat.com>
47544         [BZ #15755]
47545         * config.h.in: Define HAVE_PT_CHOWN.
47546         * config.make.in (build-pt-chown): New variable.
47547         * configure.in (--enable-pt_chown): New configure option.
47548         * configure: Regenerate.
47549         * login/Makefile: Include Makeconfig.  Build pt_chown only if
47550         build-pt-chown is enabled.
47551         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
47552         pt_chown to fix pty ownership.
47553         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
47554         CLOSE_ALL_FDS.
47555         * manual/install.texi (Configuring and compiling): Mention
47556         --enable-pt_chown. Add @findex for grantpt.
47557         * INSTALL: Regenerate.
47559 2013-07-20  David S. Miller  <davem@davemloft.net>
47561         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
47562         difference between 32-bit and 64-bit.
47564 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
47566         [BZ #15711]
47567         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
47568         Avoid system header dependency with -ffreestanding.
47569         ($(objpfx)bits/syscall%d): Likewise.
47571 2013-07-13  David S. Miller  <davem@davemloft.net>
47573         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
47574         underflows from atanl/atan2l due to bug 15319.
47575         (casinh_test_data): Likewise.
47577 2013-07-07  David S. Miller  <davem@davemloft.net>
47579         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
47581 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
47583         * sysdeps/i386/fpu/libm-test-ulps: Update.
47584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47586 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47588         * configure.in (--enable-lock-elision): Fix message text.
47589         * INSTALL: Regenerate.
47590         * configure: Regenerate.
47592 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47594         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47596 2013-07-03  Andreas Jaeger  <aj@suse.de>
47598         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
47599         define.
47600         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
47601         (ptrace_peeksiginfo_args): Add.
47602         (__ptrace_peeksiginfo_flags): Add.
47603         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47604         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47605         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47607 2013-07-03  Allan McRae  <allan@archlinux.org>
47609         * sysdeps/i386/fpu/libm-test-ulps: Update.
47611 2013-07-02  David S. Miller  <davem@davemloft.net>
47613         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47615 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
47617         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47619 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
47621         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
47622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47624 2013-07-02  Andi Kleen <ak@linux.intel.com>
47626         * config.h.in (ENABLE_LOCK_ELISION): Add.
47627         * configure.in (--enable-lock-elision): Add option.
47628         * manual/install.texi: Document --enable lock elision.
47629         * configure: Regenerate
47630         * INSTALL: Regenerate.
47632 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
47634         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
47635         SSE4.2 strcasecmp for libc.a.
47636         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
47638 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
47640         [BZ #13304]
47641         * soft-fp/op-common.h (_FP_FMA): New macro.
47642         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
47643         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
47644         (_FP_MUL_MEAT_1_imm): ... here.
47645         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
47646         (_FP_MUL_MEAT_1_wide): ... here.
47647         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
47648         (_FP_MUL_MEAT_1_hard): ... here.
47649         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
47650         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
47651         (_FP_MUL_MEAT_2_wide): ... here.
47652         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
47653         (_FP_MUL_MEAT_2_wide_3mul): ... here.
47654         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
47655         (_FP_MUL_MEAT_2_gmp): ... here.
47656         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
47657         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
47658         (_FP_MUL_MEAT_4_wide): ... here.
47659         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
47660         (_FP_MUL_MEAT_4_gmp): ... here.
47661         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
47662         (_FP_WFRACBITS_DW_S): Likewise.
47663         (_FP_WFRACXBITS_DW_S): Likewise.
47664         (_FP_HIGHBIT_DW_S): Likewise.
47665         (FP_FMA_S): Likewise.
47666         (_FP_FRAC_HIGH_DW_S): Likewise.
47667         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
47668         (_FP_WFRACBITS_DW_D): Likewise.
47669         (_FP_WFRACXBITS_DW_D): Likewise.
47670         (_FP_HIGHBIT_DW_D): Likewise.
47671         (FP_FMA_D): Likewise.
47672         (_FP_FRAC_HIGH_DW_D): Likewise.
47673         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
47674         (_FP_WFRACBITS_DW_E): Likewise.
47675         (_FP_WFRACXBITS_DW_E): Likewise.
47676         (_FP_HIGHBIT_DW_E): Likewise.
47677         (FP_FMA_E): Likewise.
47678         (_FP_FRAC_HIGH_DW_E): Likewise.
47679         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
47680         (_FP_WFRACBITS_DW_Q): Likewise.
47681         (_FP_WFRACXBITS_DW_Q): Likewise.
47682         (_FP_HIGHBIT_DW_Q): Likewise.
47683         (FP_FMA_Q): Likewise.
47684         (_FP_FRAC_HIGH_DW_Q): Likewise.
47685         * soft-fp/fmasf4.c: New file.
47686         * soft-fp/fmadf4.c: Likewise.
47687         * soft-fp/fmatf4.c: Likewise.
47689 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47691         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47692         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
47693         Silvermont.
47694         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
47695         macro.
47696         (index_Slow_SSE4_2): Likewise.
47697         (index_Prefer_PMINUB_for_stringop): Likewise.
47698         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
47699         bit_Slow_SSE4_2 is set.
47700         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
47701         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47703 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47705         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
47706         rtld_global._dl_hwcap2.
47707         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
47708         POWER8.
47709         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
47710         POWER8 feature descriptions defined in _dl_hwcap2.
47711         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
47712         string handling for POWER8 feature bits.
47713         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
47714         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
47715         _dl_powerpc_cap_flags.
47716         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
47717         * sysdeps/powerpc/rtld-global-offsets.sym
47718         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
47719         _dl_hwcap2 in the rtld_global_ro structure.
47721 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47723         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
47724         hardware capabilities in support of AT_HWCAP2.
47725         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
47726         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
47727         GLRO(dl_hwcap2).
47728         (_dl_show_auxv): Add support for calling _dl_procinfo to display
47729         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
47730         explicitly the unknown a_type display mechanism is used.
47731         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
47732         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
47733         struct member.
47734         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
47735         to macro prototype for AT_HWCAP2 support.
47736         * sysdeps/i386/dl-procinfo.h: Likewise.
47737         * sysdeps/s390/dl-procinfo.h: Likewise.
47738         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
47739         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
47740         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
47741         return -1 for unknown a_type display fallback.
47742         * sysdeps/sparc/dl-procinfo.h: Likewise.
47743         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
47744         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
47746 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
47748         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
47749         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
47751 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
47753         [BZ #12492]
47754         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
47755         mprotect making __stack_prot writable.
47757 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
47758             Joseph Myers  <joseph@codesourcery.com>
47760         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
47761         as being properly aligned.
47763 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
47765         * dlfcn/modstatic5.c: New file.
47766         * dlfcn/tststatic5.c: New file.
47767         * dlfcn/Makefile (tests): Add tststatic5.
47768         (tests-static): Likewise.
47769         (modules-names): Add modstatic5.
47770         (tststatic5-ENV): New variable.
47771         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
47773         [BZ #15022]
47774         * elf/dl-support.c (_dl_main_map): New variable.
47775         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
47776         (_dl_nns, _dl_load_adds): Set to 1.
47777         (_dl_initial_searchlist): Refer to _dl_main_map.
47778         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
47779         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
47780         call to _dl_get_origin.
47781         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
47782         around call_map.
47783         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
47784         * dlfcn/modstatic3.c: New file.
47785         * dlfcn/tststatic3.c: New file.
47786         * dlfcn/tststatic4.c: New file.
47787         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
47788         (tests-static): Likewise.
47789         (modules-names): Add modstatic3.
47790         (tststatic3-ENV, tststatic4-ENV): New variables.
47791         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
47792         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
47794 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
47796         * configure.in (CC): Require GCC version 4.4 or later.
47797         * configure: Regenerated.
47798         * manual/install.texi (Tools for Compilation): Update GCC version
47799         requirement.
47800         * INSTALL: Regenerated.
47802 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47804         [BZ #15674]
47805         * string/test-memcmp.c (check2): New.
47806         (main): Call check2.
47808         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
47810 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
47812         [BZ #15022]
47813         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
47814         over to...
47815         (dl_open_worker) [!SHARED]: ... here.
47817 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47819         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
47821 2013-06-25  Richard Henderson  <rth@redhat.com>
47823         * locale/programs/locarchive.c: Include <libc-internal.h>
47825 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
47827         * manual/texinfo.tex: Update to version 2013-06-21.17, with
47828         trailing whitespace removed.
47830 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
47832         [BZ #10283]
47833         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
47834         * locale/programs/locarchive.c: Include libc-mmap.h.
47835         (prepare_address_space): Take two new outputs (the mmap base and len).
47836         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
47837         values.
47838         (create_archive): Declare new mmap base and len values for
47839         prepare_address_space, and store the result in ah.
47840         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
47841         (enlarge_archive): If ah->mmap_base is not NULL, use that and
47842         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
47843         Declare new mmap base and len values for
47844         prepare_address_space, and store the result in new_ah.
47845         (open_archive): Declare new mmap base and len values for
47846         prepare_address_space, and store the result in ah.
47847         (close_archive): If ah->mmap_base is not NULL, use that and
47848         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
47849         * sysdeps/generic/libc-mmap.h: New file.
47851 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
47853         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
47854         (ALIGN_UP): Likewise.
47855         (PTR_ALIGN_DOWN): Likewise.
47856         (PTR_ALIGN_UP): Likewise.
47858 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47860         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
47861         entry mapped to PPC_PLATFORM_POWER8.
47862         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
47863         POWER8.
47864         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
47865         (_dl_string_platform): Add case for exporting platform position for
47866         POWER8.
47867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
47868         search path to sysdeps/powerpc/powerpc32/power8 directory.
47869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
47870         search path to sysdeps/powerpc/powerpc64/power8 directory.
47871         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
47872         power7 directories.
47873         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
47874         power7 directories.
47876 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47878         * INSTALL: Regenerate.
47880         * nscd/connections.c (nscd_init): Fix comment.
47882 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
47884         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
47886         [BZ #15667]
47887         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
47888         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
47890 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
47892         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
47893         DL_DST_REQ_STATIC.
47894         (DL_DST_REQ_STATIC): Remove macro.
47896 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
47898         [BZ #7006]
47899         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
47900         with a shift of 0 bits.
47902 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
47904         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
47905         $(tststatic-ENV).
47907 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47909         [BZ #15655]
47910         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
47912 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47914         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
47915         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
47916         accepts -fno-tree-loop-distribute-patterns.
47917         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
47918         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
47919         recursive call.
47920         * string/memset.c (memset): Likewise.
47921         * string/test-memmove.c (simple_memmove): Disable loop transformation
47922         to library calls.
47923         * string/test-memset.c (simple_memset): Likewise.
47924         * benchtests/bench-memmove.c (simple_memmove): Likewise.
47925         * benchtests/bench-memset.c (simple_memset): Likewise.
47926         * configure: Regenerated.
47928 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
47930         * math/test-misc.c (main): Ignore fesetround failure when failures
47931         of subsequent rounding tests would be ignored.
47933         [BZ #15654]
47934         * math/fedisblxcpt.c (fedisableexcept): Return 0.
47935         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
47936         * math/fegetenv.c (__fegetenv): Return 0.
47937         * math/fegetexcept.c (fegetexcept): Return 0.
47938         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
47939         FE_TONEAREST.
47940         * math/feholdexcpt.c (feholdexcept): Return 0.
47941         * math/fesetenv.c (__fesetenv): Return 0.
47942         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
47943         argument FE_TONEAREST.
47944         * math/feupdateenv.c (__feupdateenv): Return 0.
47945         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
47947 2013-06-18  Roland McGrath  <roland@hack.frob.com>
47949         * elf/rtld-Rules (rtld-compile-command.S): New variable.
47950         (rtld-compile-command.s, rtld-compile-command.c): New variables.
47951         ($(objpfx)rtld-%.os rules): Use them.
47953 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47955         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
47956         fields.
47958 2013-06-17  Roland McGrath  <roland@hack.frob.com>
47960         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
47961         length of target pattern, then descending length of dependency pattern.
47962         * configure.in (AWK): Require gawk 3.1.2 or newer.
47963         * manual/install.texi (Tools for Compilation): Say that we do.
47964         * configure: Regenerated.
47966         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
47967         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
47968         * scripts/sysd-rules.awk: ... this new script.
47969         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
47970         than a glob-style pattern.
47972 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
47974         * math/test-misc.c (main): Do not treat incorrectly rounded
47975         conversions as failure unless ROUNDING_TESTS passes.
47977 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
47979         [BZ #15631]
47980         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
47981         restore exception state around main square root computation, then
47982         check for inexactness explicitly.
47984         * math/libm-test.inc (fma_test_data): Add another test.
47986 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47988         * manual/threads.texi (Non-POSIX Extensions): New document
47989         node.  Document pthread_getattr_default_np and
47990         pthread_setattr_default_np.
47992         * Versions.def (libpthread): Add GLIBC_2.18.
47993         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
47994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47995         Likewise.
47996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47997         Likewise.
47998         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47999         Likewise.
48000         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48001         Likewise.
48002         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
48003         Likewise.
48004         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48005         Likewise.
48006         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48007         Likewise.
48008         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48009         Likewise.
48010         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48011         Likewise.
48013 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48015         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48016         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
48018 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48019             H.J. Lu  <hjl.tools@gmail.com>
48021         [BZ #15627]
48022         * sysdeps/x86_64/rtld-memset.c: Remove file.
48023         * sysdeps/x86_64/rtld-memset.S: New file.
48025 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
48027         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
48028         (test_in_one_mode): Take arguments for whether the rounding mode
48029         is supported for each floating-point type.
48030         (do_test): Pass new arguments to test_in_one_mode using
48031         ROUNDING_TESTS.
48033 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48035         * posix/tst-waitid.c (do_test): Distinguish different instances of
48036         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
48037         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
48038         before entering the kernel for waitpid.
48040 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48042         * NEWS: Fix note on clock function precision.  Text by Roland
48043         McGrath.
48045 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48047         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
48048         it into place only when and if the sanity check passes.
48050 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
48052         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
48053         output for whether conversion result is exact.  Take argument
48054         indicating whether type is IBM long double.
48055         (round_for_all): Change need_exact field to ibm_ld.
48056         * stdlib/tst-strtod-round.c (struct exactness): New type.
48057         (struct test): Change bool ld_ok field to struct exactness exact.
48058         (TEST): Update all definitions for change to field.
48059         (tests): Regenerate array contents.
48060         (test_in_one_mode): Take pointer to new field instead of old ld_ok
48061         field value.  Check for IBM long double here.
48062         (do_test): Update calls to test_in_one_mode.
48064 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48066         [BZ #12515]
48067         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
48068         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
48070 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48072         [BZ #15605]
48073         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
48074         generated by the compiler on loop optimizations.
48075         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
48076         general definitions.
48078 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
48080         * math/bug-nextafter.c: Include <math-tests.h>.
48081         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48082         the relevant type.
48083         * math/bug-nexttoward.c: Include <math-tests.h>.
48084         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48085         the relevant type.
48086         * math/test-misc.c: Include <math-tests.h>.
48087         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48088         the relevant type.
48090 2013-06-12  Andreas Jaeger  <aj@suse.de>
48092         * po/ia.po: Update Interlingua translation from translation
48093         project.
48095 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48097         * include/fenv.h: Include stdbool.h.
48098         (struct rm_ctx): New structure.
48099         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
48100         Define macro.
48101         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
48102         (SET_RESTORE_ROUNDF): Likewise.
48103         (SET_RESTORE_ROUNDL): Likewise.
48104         (SET_RESTORE_ROUND_NOEX): Likewise.
48105         (SET_RESTORE_ROUND_NOEXF): Likewise.
48106         (SET_RESTORE_ROUND_NOEXL): Likewise.
48107         (SET_RESTORE_ROUND_53BIT): Likewise.
48108         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
48109         (libc_feresetround_noexf_ctx): Likewise.
48110         (libc_feresetround_noexl_ctx): Likewise.
48111         (libc_feholdsetround_53bit_ctx): Likewise.
48112         (libc_feresetround_53bit_ctx): Likewise.
48113         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
48114         (libc_feholdexcept_setround_sse_ctx): New function.
48115         (libc_fesetenv_sse_ctx): Likewise.
48116         (libc_feupdateenv_sse_ctx): Likewise.
48117         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
48118         (libc_feholdexcept_setround_387_ctx): Likewise.
48119         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
48120         (libc_feholdsetround_387_prec_ctx): Likewise.
48121         (libc_feholdsetround_387_ctx): Likewise.
48122         (libc_feholdsetround_387_53bit_ctx): Likewise.
48123         (libc_feholdsetround_sse_ctx): Likewise.
48124         (libc_feresetround_sse_ctx): Likewise.
48125         (libc_feresetround_387_ctx): Likewise.
48126         (libc_feupdateenv_387_ctx): Likewise.
48127         (libc_feholdexcept_setroundf_ctx): Define macro.
48128         (libc_fesetenvf_ctx): Likewise.
48129         (libc_feupdateenvf_ctx): Likewise.
48130         (libc_feholdsetroundf_ctx): Likewise.
48131         (libc_feresetroundf_ctx): Likewise.
48132         (libc_feholdexcept_setround_ctx): Likewise.
48133         (libc_fesetenv_ctx): Likewise.
48134         (libc_feupdateenv_ctx): Likewise.
48135         (libc_feholdsetround_ctx): Likewise.
48136         (libc_feresetround_ctx): Likewise.
48137         (libc_feholdexcept_setroundl_ctx): Likewise.
48138         (libc_feupdateenvl_ctx): Likewise.
48139         (libc_feholdsetroundl_ctx): Likewise.
48140         (libc_feresetroundl_ctx): Likewise.
48141         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
48142         (libc_feresetround_53bit_ctx): Likewise.
48144 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48146         * locale/iso-639.def: Convert to UTF-8.
48148 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
48150         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
48151         (EXCEPTION_TESTS_double): Likewise.
48152         (EXCEPTION_TESTS_long_double): Likewise.
48153         (EXCEPTION_TESTS): Likewise.
48154         * math/libm-test.inc (test_exceptions): Only test exceptions if
48155         EXCEPTION_TESTS (FLOAT).
48157 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48159         * benchtests/Makefile (string-bench): Add strcpy_chk and
48160         stpcpy_chk.
48161         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
48162         * benchtests/bench-stpcpy_chk.c: New file.
48163         * benchtests/bench-strcpy_chk-ifunc.c: New file.
48164         * benchtests/bench-strcpy_chk.c: New file.
48165         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
48166         code.
48167         (do_test): Likewise.
48169 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48171         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
48172         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
48173         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
48174         with tabs where appropriate.
48175         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
48176         dl-procinfo.h.
48177         [PPC_PLATFORM_PPC440]: Likewise.
48178         [PPC_PLATFORM_PPC464]: Likewise.
48179         [PPC_PLATFORM_PPC476]: Likewise.
48180         (_dl_string_platform): Add support for detecting ppc405, ppc440,
48181         ppc464, and ppc476 platform strings merging from ports/
48182         dl-procinfo.h.
48184 2013-06-11  Andreas Schwab  <schwab@suse.de>
48186         [BZ #14991]
48187         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
48188         (from_ucs4_idx): Regenerate.
48189         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
48190         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
48191         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
48192         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
48193         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
48194         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
48195         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
48196         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
48197         from FROM_LOOP and TO_LOOP specific macros.
48198         (BODY): Handle combining characters.
48199         * iconvdata/BIG5HKSCS.irreversible: Update.
48200         * iconvdata/BIG5HKSCS.precomposed: New file.
48201         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
48202         characters.
48203         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
48205 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48207         * include/sys/time.h: Fix indentation and add copyright header.
48209         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
48210         (do_test): Likewise.
48211         * string/test-memchr.c (do_one_test): Likewise.
48212         (do_test): Likewise.
48213         * string/test-memcmp.c (do_one_test): Likewise.
48214         (do_test): Likewise.
48215         * string/test-memcpy.c (do_one_test): Likewise.
48216         (do_test): Likewise.
48217         * string/test-memmem.c (do_one_test): Likewise.
48218         (do_test): Likewise.
48219         (do_random_tests): Likewise.
48220         * string/test-memmove.c (do_one_test): Likewise.
48221         (do_test): Likewise.
48222         * string/test-memset.c (do_one_test): Likewise.
48223         (do_test): Likewise.
48224         * string/test-rawmemchr.c (do_one_test): Likewise.
48225         (do_test): Likewise.
48226         * string/test-strcasecmp.c (do_one_test): Likewise.
48227         (do_test): Likewise.
48228         * string/test-strcasestr.c (do_one_test): Likewise.
48229         (do_test): Likewise.
48230         * string/test-strcat.c (do_one_test): Likewise.
48231         (do_test): Likewise.
48232         * string/test-strchr.c (do_one_test): Likewise.
48233         (do_test): Likewise.
48234         * string/test-strcmp.c (do_one_test): Likewise.
48235         (do_test): Likewise.
48236         * string/test-strcpy.c (do_one_test): Likewise.
48237         (do_test): Likewise.
48238         * string/test-string.h: Likewise.
48239         (test_init): Likewise.
48240         * string/test-strlen.c (do_one_test): Likewise.
48241         (do_test): Likewise.
48242         * string/test-strncasecmp.c (do_one_test): Likewise.
48243         (do_test): Likewise.
48244         * string/test-strncat.c (do_one_test): Likewise.
48245         (do_test): Likewise.
48246         * string/test-strncmp.c (do_one_test): Likewise.
48247         (do_test_limit): Likewise.
48248         (do_test): Likewise.
48249         * string/test-strncpy.c (do_one_test): Likewise.
48250         (do_test): Likewise.
48251         * string/test-strnlen.c (do_one_test): Likewise.
48252         (do_test): Likewise.
48253         * string/test-strpbrk.c (do_one_test): Likewise.
48254         (do_test): Likewise.
48255         * string/test-strrchr.c (do_one_test): Likewise.
48256         (do_test): Likewise.
48257         * string/test-strspn.c (do_one_test): Likewise.
48258         (do_test): Likewise.
48259         * string/test-strstr.c (do_one_test): Likewise.
48260         (do_test): Likewise.
48262         * benchtests/Makefile (string-bench): Add string benchmarks.
48263         * benchtests/bench-bcopy-ifunc.c: New file.
48264         * benchtests/bench-bcopy.c: New file.
48265         * benchtests/bench-bzero-ifunc.c: New file.
48266         * benchtests/bench-bzero.c: New file.
48267         * benchtests/bench-memccpy-ifunc.c: New file.
48268         * benchtests/bench-memccpy.c: New file.
48269         * benchtests/bench-memchr-ifunc.c: New file.
48270         * benchtests/bench-memchr.c: New file.
48271         * benchtests/bench-memcmp-ifunc.c: New file.
48272         * benchtests/bench-memcmp.c: New file.
48273         * benchtests/bench-memmem-ifunc.c: New file.
48274         * benchtests/bench-memmem.c: New file.
48275         * benchtests/bench-memmove-ifunc.c: New file.
48276         * benchtests/bench-memmove.c: New file.
48277         * benchtests/bench-mempcpy-ifunc.c: New file.
48278         * benchtests/bench-mempcpy.c: New file.
48279         * benchtests/bench-memset-ifunc.c: New file.
48280         * benchtests/bench-memset.c: New file.
48281         * benchtests/bench-rawmemchr-ifunc.c: New file.
48282         * benchtests/bench-rawmemchr.c: New file.
48283         * benchtests/bench-stpcpy-ifunc.c: New file.
48284         * benchtests/bench-stpcpy.c: New file.
48285         * benchtests/bench-stpncpy-ifunc.c: New file.
48286         * benchtests/bench-stpncpy.c: New file.
48287         * benchtests/bench-strcasecmp-ifunc.c: New file.
48288         * benchtests/bench-strcasecmp.c: New file.
48289         * benchtests/bench-strcasestr-ifunc.c: New file.
48290         * benchtests/bench-strcasestr.c: New file.
48291         * benchtests/bench-strcat-ifunc.c: New file.
48292         * benchtests/bench-strcat.c: New file.
48293         * benchtests/bench-strchr-ifunc.c: New file.
48294         * benchtests/bench-strchr.c: New file.
48295         * benchtests/bench-strchrnul-ifunc.c: New file.
48296         * benchtests/bench-strchrnul.c: New file.
48297         * benchtests/bench-strcmp-ifunc.c: New file.
48298         * benchtests/bench-strcmp.c: New file.
48299         * benchtests/bench-strcpy-ifunc.c: New file.
48300         * benchtests/bench-strcpy.c: New file.
48301         * benchtests/bench-strcspn-ifunc.c: New file.
48302         * benchtests/bench-strcspn.c: New file.
48303         * benchtests/bench-strlen-ifunc.c: New file.
48304         * benchtests/bench-strlen.c: New file.
48305         * benchtests/bench-strncasecmp-ifunc.c: New file.
48306         * benchtests/bench-strncasecmp.c: New file.
48307         * benchtests/bench-strncat-ifunc.c: New file.
48308         * benchtests/bench-strncat.c: New file.
48309         * benchtests/bench-strncmp-ifunc.c: New file.
48310         * benchtests/bench-strncmp.c: New file.
48311         * benchtests/bench-strncpy-ifunc.c: New file.
48312         * benchtests/bench-strncpy.c: New file.
48313         * benchtests/bench-strnlen-ifunc.c: New file.
48314         * benchtests/bench-strnlen.c: New file.
48315         * benchtests/bench-strpbrk-ifunc.c: New file.
48316         * benchtests/bench-strpbrk.c: New file.
48317         * benchtests/bench-strrchr-ifunc.c: New file.
48318         * benchtests/bench-strrchr.c: New file.
48319         * benchtests/bench-strspn-ifunc.c: New file.
48320         * benchtests/bench-strspn.c: New file.
48321         * benchtests/bench-strstr-ifunc.c: New file.
48322         * benchtests/bench-strstr.c: New file.
48324         * benchtests/Makefile: Disable parallel execution of targets.
48325         (string-bench): Add memcpy.
48326         (benchset): New variable to store a list of benchmark sets.
48327         (bench-func): Renamed from bench.
48328         (bench-set): New target.
48329         (bench): Depend on bench-func and bench-set.
48330         * benchtests/README: Add section on benchmark sets.
48331         * benchtests/bench-memcpy-ifunc.c: New file.
48332         * benchtests/bench-memcpy.c: New file.
48333         * benchtests/bench-string.h: New file.
48335 2013-06-11  Andreas Schwab  <schwab@suse.de>
48337         [BZ #15577]
48338         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
48339         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
48340         values in the triple.
48341         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
48342         terminator in the group key.
48344 2013-06-11  Andreas Jaeger  <aj@suse.de>
48346         * po/zh_TW.po: Update Chinese (traditional) translation from
48347         translation project.
48349 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48351         * include/time.h (__clock_gettime): Add libc_hidden_proto.
48352         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
48353         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
48354         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48355         (clock_getcpuclockid): Likewise.
48356         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
48357         Add weak_alias and libc_hidden_def.
48358         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
48359         * rt/clock_gettime.c (clock_gettime): Rename to
48360         __clock_gettime.  Add weak_alias and libc_hidden_def.
48361         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
48362         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
48363         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
48364         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
48365         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
48366         Likewise.
48367         * rt/clock_settime.c (clock_settime): Rename to
48368         __clock_settime.  Add weak_alias and libc_hidden_def.
48369         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
48371 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
48373         * mach/err_boot.sub: Remove trailing whitespace.
48374         * mach/err_ipc.sub: Likewise.
48375         * mach/err_mach.sub: Likewise.
48377         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
48378         (ROUNDING_TESTS_double): Likewise.
48379         (ROUNDING_TESTS_long_double): Likewise.
48380         (ROUNDING_TESTS): Likewise.
48381         * math/libm-test.inc: Include <math-tests.h>.
48382         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
48383         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48384         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48385         (IF_ROUND_INIT_FE_UPWARD): Likewise.
48387 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48389         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
48390         of assigning.
48392 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
48394         * sysdeps/gnu/errlist.awk: Do not generate space at end of
48395         otherwise empty TRANS lines.
48396         * sysdeps/gnu/errlist.c: Regenerated.
48398         * catgets/gencat.c (error_print): Use (void) in function
48399         definition.
48400         * crypt/crypt_util.c (__init_des): Likewise.
48401         * crypt/speeds.c (Stop): Likewise.
48402         (main): Likewise.
48403         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
48404         * inet/ruserpass.c (token): Likewise.
48405         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
48406         * intl/localealias.c (extend_alias_table): Likewise.
48407         * intl/plural-exp.c (init_germanic_plural): Likewise.
48408         * libio/fcloseall.c (__fcloseall): Likewise.
48409         * libio/genops.c (_IO_flush_all): Likewise.
48410         (_IO_flush_all_linebuffered): Likewise.
48411         (_IO_cleanup): Likewise.
48412         (_IO_iter_begin): Likewise.
48413         (_IO_iter_end): Likewise.
48414         (_IO_list_lock): Likewise.
48415         (_IO_list_unlock): Likewise.
48416         (_IO_list_resetlock): Likewise.
48417         * libio/getchar.c (getchar): Likewise.
48418         * libio/getchar_u.c (getchar_unlocked): Likewise.
48419         * libio/getwchar.c (getwchar): Likewise.
48420         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
48421         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
48422         * login/getpt.c (__getpt): Likewise.
48423         * login/tst-utmp.c (main): Likewise.
48424         * malloc/hooks.c (__malloc_check_init): Likewise.
48425         * malloc/malloc.c (__malloc_stats): Likewise.
48426         * malloc/mtrace.c (tr_break): Likewise.
48427         (mtrace): Likewise.
48428         (muntrace): Likewise.
48429         * misc/fstab.c (endfsent): Likewise.
48430         * misc/getclktck.c (__getclktck): Likewise.
48431         * misc/getdtsz.c (__getdtablesize): Likewise.
48432         * misc/gethostid.c (gethostid): Likewise.
48433         * misc/getpagesize.c (__getpagesize): Likewise.
48434         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
48435         (__get_nprocs): Likewise.
48436         (__get_phys_pages): Likewise.
48437         (__get_avphys_pages): Likewise.
48438         * misc/getttyent.c (getttyent): Likewise.
48439         (setttyent): Likewise.
48440         (endttyent): Likewise.
48441         * misc/getusershell.c (getusershell): Likewise.
48442         (endusershell): Likewise.
48443         (setusershell): Likewise.
48444         (initshells): Likewise.
48445         * misc/hsearch.c (__hdestroy): Likewise.
48446         * misc/sync.c (sync): Likewise.
48447         * misc/syslog.c (closelog_internal): Likewise.
48448         (closelog): Likewise.
48449         * misc/ttyslot.c (ttyslot): Likewise.
48450         * misc/vhangup.c (vhangup): Likewise.
48451         * posix/fork.c (__fork): Likewise.
48452         * posix/getegid.c (__getegid): Likewise.
48453         * posix/geteuid.c (__geteuid): Likewise.
48454         * posix/getgid.c (__getgid): Likewise.
48455         * posix/getpid.c (__getpid): Likewise.
48456         * posix/getppid.c (__getppid): Likewise.
48457         * posix/getuid.c (__getuid): Likewise.
48458         * posix/pause.c (pause): Likewise.
48459         * posix/setpgrp.c (setpgrp): Likewise.
48460         * posix/setsid.c (__setsid): Likewise.
48461         * posix/test-vfork.c (noop): Likewise.
48462         * resolv/gethnamaddr.c (_endhtent): Likewise.
48463         (_gethtent): Likewise.
48464         (ht_endhostent): Likewise.
48465         (gethostent): Likewise.
48466         (dns_service): Likewise.
48467         * stdlib/drand48.c (drand48): Likewise.
48468         * stdlib/lrand48.c (lrand48): Likewise.
48469         * stdlib/mrand48.c (mrand48): Likewise.
48470         * stdlib/rand.c (rand): Likewise.
48471         * stdlib/random.c (__random): Likewise.
48472         * stdlib/setenv.c (clearenv): Likewise.
48473         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
48474         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
48475         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
48476         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
48477         (__get_nprocs): Likewise.
48478         (__get_phys_pages): Likewise.
48479         (__get_avphys_pages): Likewise.
48480         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
48481         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
48482         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
48483         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
48484         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
48485         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
48486         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
48487         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
48488         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
48489         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
48490         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
48491         * sysdeps/mach/hurd/sync.c (sync): Likewise.
48492         * sysdeps/posix/clock.c (clock): Likewise.
48493         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
48494         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
48495         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
48496         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
48497         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
48498         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
48499         (__get_nprocs_conf): Likewise.
48500         (__get_phys_pages): Likewise.
48501         (__get_avphys_pages): Likewise.
48502         * time/clock.c (clock): Likewise.
48503         * time/tzset.c (__tzname_max): Likewise.
48505 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
48507         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
48508         (__bswap_32): Do not use "register".
48509         * crypt/crypt.c (_ufc_doit_r): Likewise.
48510         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
48511         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
48512         * gmon/gmon.c (__monstartup): Likewise.
48513         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
48514         * hurd/hurdmalloc.c (more_memory): Likewise.
48515         (malloc): Likewise.
48516         (free): Likewise.
48517         (realloc): Likewise.
48518         (malloc_fork_prepare): Likewise.
48519         (malloc_fork_parent): Likewise.
48520         (malloc_fork_child): Likewise.
48521         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
48522         (_svcauth_des): Likewise.
48523         * inet/inet_lnaof.c (inet_lnaof): Likewise.
48524         * inet/inet_net.c (inet_network): Likewise.
48525         * inet/inet_netof.c (inet_netof): Likewise.
48526         * inet/rcmd.c (__validuser2_sa): Likewise.
48527         * io/fts.c (fts_open): Likewise.
48528         (fts_load): Likewise.
48529         (fts_close): Likewise.
48530         (fts_read): Likewise.
48531         (fts_children): Likewise.
48532         (fts_build): Likewise.
48533         (fts_stat): Likewise.
48534         (fts_sort): Likewise.
48535         (fts_alloc): Likewise.
48536         (fts_lfree): Likewise.
48537         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
48538         (_IO_file_xsgetn): Likewise.
48539         (_IO_file_xsgetn_mmap): Likewise.
48540         * libio/iofopncook.c (_IO_cookie_read): Likewise.
48541         (_IO_cookie_write): Likewise.
48542         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
48543         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
48544         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
48545         * malloc/obstack.c (_obstack_begin): Likewise.
48546         (_obstack_begin_1): Likewise.
48547         (_obstack_newchunk): Likewise.
48548         (_obstack_allocated_p): Likewise.
48549         (obstack_free): Likewise.
48550         (_obstack_memory_used): Likewise.
48551         * misc/getttyent.c (getttynam): Likewise.
48552         (getttyent): Likewise.
48553         (skip): Likewise.
48554         (value): Likewise.
48555         * misc/getusershell.c (initshells): Likewise.
48556         * misc/syslog.c (__vsyslog_chk): Likewise.
48557         * misc/ttyslot.c (ttyslot): Likewise.
48558         * nis/nis_hash.c (__nis_hash): Likewise.
48559         * posix/fnmatch_loop.c (FCT): Likewise.
48560         * posix/getconf.c (print_all): Likewise.
48561         (main): Likewise.
48562         * posix/getopt.c (exchange): Likewise.
48563         * posix/glob.c (globfree): Likewise.
48564         (prefix_array): Likewise.
48565         (__glob_pattern_type): Likewise.
48566         * resolv/arpa/nameser.h (NS_GET16): Likewise.
48567         (NS_GET32): Likewise.
48568         (NS_PUT16): Likewise.
48569         (NS_PUT32): Likewise.
48570         * resolv/gethnamaddr.c (getanswer): Likewise.
48571         (gethostbyname2): Likewise.
48572         (gethostbyaddr): Likewise.
48573         (_gethtent): Likewise.
48574         (_gethtbyname2): Likewise.
48575         (_gethtbyaddr): Likewise.
48576         * resolv/ns_print.c (dst_s_get_int16): Likewise.
48577         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
48578         * resolv/res_init.c (__res_vinit): Likewise.
48579         (net_mask): Likewise.
48580         * resolv/res_mkquery.c (outchar): Likewise.
48581         (PRINT): Likewise.
48582         * stdio-common/printf_fp.c (outchar): Likewise.
48583         (PRINT): Likewise.
48584         * stdio-common/printf_fphex.c (outchar): Likewise.
48585         (PRINT): Likewise.
48586         * stdio-common/printf_size.c (outchar): Likewise.
48587         (PRINT): Likewise.
48588         * stdio-common/test_rdwr.c (main): Likewise.
48589         * stdio-common/tfformat.c (matches): Likewise.
48590         * stdio-common/vfprintf.c (outchar): Likewise.
48591         (printf_unknown): Likewise.
48592         (buffered_vfprintf): Likewise.
48593         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
48594         * stdio-common/xbug.c (AppendToBuffer): Likewise.
48595         (ReadFile): Likewise.
48596         * stdlib/qsort.c (SWAP): Likewise.
48597         (_quicksort): Likewise.
48598         * stdlib/setenv.c (__add_to_environ): Likewise.
48599         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
48600         * stdlib/strtol_l.c (__strtol_l): Likewise.
48601         * stdlib/tst-strtod.c (main): Likewise.
48602         * stdlib/tst-strtol.c (main): Likewise.
48603         * stdlib/tst-strtoll.c (main): Likewise.
48604         * string/bits/string2.h (__strcmp_cc): Likewise.
48605         (__strcmp_cg): Likewise.
48606         (__strcspn_c1): Likewise.
48607         (__strcspn_c2): Likewise.
48608         (__strcspn_c3): Likewise.
48609         (__strspn_c1): Likewise.
48610         (__strspn_c2): Likewise.
48611         (__strspn_c3): Likewise.
48612         (__strsep_1c): Likewise.
48613         (__strsep_2c): Likewise.
48614         (__strsep_3c): Likewise.
48615         * string/memccpy.c (__memccpy): Likewise.
48616         * string/stpcpy.c (__stpcpy): Likewise.
48617         * string/strcmp.c (strcmp): Likewise.
48618         * string/strrchr.c (strrchr): Likewise.
48619         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
48620         Likewise.
48621         * sysdeps/mach/hurd/getcwd.c
48622         (_hurd_canonicalize_directory_name_internal): Likewise.
48623         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
48624         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
48625         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
48626         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
48627         Likewise, in both definitions.
48628         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
48629         definitions.
48630         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
48631         64] (__bswap_64): Likewise.
48632         * time/test_time.c (main): Likewise.
48633         * time/tzfile.c (__tzfile_read): Likewise.
48634         (__tzfile_compute): Likewise.
48635         * time/tzset.c (__tzset_parse_tz): Likewise.
48636         (tzset_internal): Likewise.
48637         (compute_change): Likewise.
48638         * wcsmbs/wcscat.c (__wcscat): Likewise.
48639         * wcsmbs/wcschr.c (wcschr): Likewise.
48640         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
48641         * wcsmbs/wcscspn.c (wcscspn): Likewise.
48642         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
48643         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
48644         * wcsmbs/wcsspn.c (wcsspn): Likewise.
48645         * wcsmbs/wcsstr.c (wcsstr): Likewise.
48646         * wcsmbs/wmemchr.c (wmemchr): Likewise.
48647         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48648         * wcsmbs/wmemset.c (wmemset): Likewise.
48650 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
48652         * scripts/config.guess: Update to version 2013-05-16.
48653         * scripts/config.sub: Update to version 2013-04-24.
48654         * scripts/install-sh: Update to version 2011-11-20.07.
48655         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
48656         * scripts/move-if-change: Update to version 2012-01-06 07:23.
48658 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
48660         * debug/fgetws_u_chk.c: Fix leading whitespaces.
48661         * elf/sln.c: Likewise.
48662         * hurd/hurd/ioctl.h: Likewise.
48663         * hurd/hurdmalloc.c: Likewise.
48664         * hurd/xattr.c: Likewise.
48665         * include/shlib-compat.h: Likewise.
48666         * inet/ruserpass.c: Likewise.
48667         * libio/iofgets_u.c: Likewise.
48668         * libio/iofgetws_u.c: Likewise.
48669         * locale/programs/ld-identification.c: Likewise.
48670         * locale/programs/ld-time.c: Likewise.
48671         * mach/msg-destroy.c: Likewise.
48672         * nss/nss_files/files-netgrp.c: Likewise.
48673         * resolv/res_data.c: Likewise.
48674         * soft-fp/op-1.h: Likewise.
48675         * soft-fp/op-2.h: Likewise.
48676         * soft-fp/op-4.h: Likewise.
48677         * soft-fp/op-common.h: Likewise.
48678         * stdio-common/printf_fphex.c: Likewise.
48679         * stdlib/strtod_l.c: Likewise.
48680         * sunrpc/rpc/clnt.h: Likewise.
48681         * sysdeps/generic/framestate.c: Likewise.
48682         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48683         * sysdeps/i386/bsd-setjmp.S: Likewise.
48684         * sysdeps/i386/__longjmp.S: Likewise.
48685         * sysdeps/i386/setjmp.S: Likewise.
48686         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48687         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48688         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48689         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48690         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48691         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48692         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48693         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48694         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48695         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
48696         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48697         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48698         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48699         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48700         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48701         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48702         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48703         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
48704         * sysdeps/ieee754/support.c: Likewise.
48705         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48706         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
48707         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
48708         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
48709         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
48710         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
48711         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
48712         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
48713         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
48714         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
48715         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
48716         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
48717         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
48718         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
48719         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
48720         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
48721         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
48724 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
48726         * posix/transbug.c: Remove executable mode.
48728 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
48730         * crypt/speeds.c: Remove trailing whitespace.
48731         * dlfcn/default.c: Likewise.
48732         * elf/ifuncdep2.c: Likewise.
48733         * elf/ifuncmain1.c: Likewise.
48734         * elf/ifuncmain1vis.c: Likewise.
48735         * elf/testobj.h: Likewise.
48736         * elf/tst-stackguard1.c: Likewise.
48737         * gmon/sys/gmon.h: Likewise.
48738         * hurd/hurdmsg.c: Likewise.
48739         * hurd/new-fd.c: Likewise.
48740         * hurd/ports-get.c: Likewise.
48741         * iconvdata/ibm1008_420.c: Likewise.
48742         * inet/tst-getni1.c: Likewise.
48743         * inet/tst-getni2.c: Likewise.
48744         * libio/ioungetc.c: Likewise.
48745         * libio/wfiledoalloc.c: Likewise.
48746         * manual/libm-err-tab.pl: Likewise.
48747         * math/w_dremf.c: Likewise.
48748         * misc/ftruncate.c: Likewise.
48749         * posix/bug-glob2.c: Likewise.
48750         * posix/tst-pcre.c: Likewise.
48751         * posix/wait4.c: Likewise.
48752         * resolv/README: Likewise.
48753         * resolv/res_debug.h: Likewise.
48754         * resolv/tst-inet_ntop.c: Likewise.
48755         * setjmp/bug269-setjmp.c: Likewise.
48756         * soft-fp/extended.h: Likewise.
48757         * soft-fp/op-1.h: Likewise.
48758         * soft-fp/op-2.h: Likewise.
48759         * soft-fp/op-4.h: Likewise.
48760         * soft-fp/op-8.h: Likewise.
48761         * soft-fp/testit.c: Likewise.
48762         * stdio-common/bug16.c: Likewise.
48763         * stdlib/random.c: Likewise.
48764         * sunrpc/rpcsvc/rquota.x: Likewise.
48765         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
48766         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48767         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48768         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48769         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48770         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48771         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48772         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48773         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48774         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48775         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48776         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48777         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48778         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48779         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48780         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48781         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48782         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48783         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48784         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48785         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48786         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48787         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
48788         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48789         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48790         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48791         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48792         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48793         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48794         * sysdeps/ieee754/s_lib_version.c: Likewise.
48795         * sysdeps/mach/hurd/check_fds.c: Likewise.
48796         * sysdeps/mach/hurd/getsockname.c: Likewise.
48797         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
48798         * sysdeps/mach/hurd/recvfrom.c: Likewise.
48799         * sysdeps/powerpc/bits/link.h: Likewise.
48800         * sysdeps/powerpc/dl-procinfo.c: Likewise.
48801         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
48802         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
48803         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
48804         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
48805         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48806         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
48807         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
48808         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
48809         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48810         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
48811         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
48812         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
48813         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48814         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48815         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48816         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
48817         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
48818         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48819         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48820         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48821         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
48822         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48823         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
48824         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
48825         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
48826         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
48827         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48828         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48829         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
48830         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
48831         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
48832         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48833         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48834         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
48835         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
48836         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
48837         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
48838         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
48839         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
48840         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
48841         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
48842         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
48843         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
48844         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
48845         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
48846         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
48847         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
48848         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
48849         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
48850         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48851         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48852         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48853         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48854         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
48855         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
48856         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
48857         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48858         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
48859         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
48860         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
48861         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
48862         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
48863         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48864         * sysdeps/powerpc/sysdep.h: Likewise.
48865         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48866         * sysdeps/s390/s390-64/sub_n.S: Likewise.
48867         * sysdeps/sh/dl-trampoline.S: Likewise.
48868         * sysdeps/sh/memset.S: Likewise.
48869         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
48870         * sysdeps/sh/strlen.S: Likewise.
48871         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
48872         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
48873         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
48874         * sysdeps/sparc/sparc32/rem.S: Likewise.
48875         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
48876         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
48877         * sysdeps/sparc/sparc32/strchr.S: Likewise.
48878         * sysdeps/sparc/sparc32/udiv.S: Likewise.
48879         * sysdeps/sparc/sparc32/urem.S: Likewise.
48880         * sysdeps/sparc/sparc64/add_n.S: Likewise.
48881         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
48882         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
48883         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
48884         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
48885         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
48886         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
48887         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
48888         * sysdeps/unix/bsd/times.c: Likewise.
48889         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
48890         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
48891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
48892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
48893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
48894         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
48895         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
48896         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
48897         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
48898         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
48899         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
48900         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
48901         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
48902         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
48903         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
48904         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
48905         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
48906         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
48907         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
48908         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
48909         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
48910         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
48911         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
48912         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
48913         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
48914         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
48915         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
48916         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48917         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
48918         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
48919         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
48920         * sysdeps/x86_64/strcspn.S: Likewise.
48922 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48924         * locale/C-translit.h: Revert #include <stdint.h> because this is a
48925         generated file.  Regenerate properly from gen-translit.pl.
48926         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
48927         locale/C-translit.h.
48929 2013-06-05  Andreas Schwab  <schwab@suse.de>
48931         [BZ #15100]
48932         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
48933         week as 6 instead of -1.
48934         * time/tst-strptime.c (day_tests): Add test case.
48936 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
48938         * sysdeps/generic/math_private.h
48939         (libc_feholdexcept_setround_53bit): Replace with
48940         libc_feholdsetround_53bit.
48941         (libc_feupdateenv_53bit): Replace with
48942         libc_feresetround_53bit.
48943         (SET_RESTORE_ROUND_53BIT): Adjust.
48945 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48947         * string/test-strchrnul.c: Add copyright header.
48949         * posix/tst-getaddrinfo4.c: Increase test timeout.
48951 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
48953         [BZ #15536]
48954         * math/libm-test.inc (MAX_EXP): Remove
48955         (MIN_EXP): Define.
48956         (ulp): Use MIN_EXP - MANT_DIG.
48957         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
48959 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
48961         * po/be.po: Revert last change.
48962         * po/zh_CN.po: Likewise.
48963         * po/header.pot: Likewise.
48965 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
48967         * Makefile ($(common-objpfx)linkobj/libc.so): Define
48968         link-libc-deps to empty as target-specific variable.
48969         * Makerules (link-libc-args): New variable.
48970         (libc-for-link): Likewise.
48971         (link-libc-deps): Likewise.
48972         (lib%.so): Depend on $(link-libc-deps).  Link with
48973         $(link-libc-args).
48974         (build-module): Link with $(link-libc-args).
48975         (build-module-asneeded): Likewise.
48976         (build-module-helper-objlist): Filter out $(link-libc-deps) from
48977         list of objects.
48978         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
48979         target-specific variable.
48980         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
48981         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
48982         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
48983         libc.
48984         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
48985         libc and ld.so.
48986         ($(objpfx)libpcprofile.so): Likewise.
48987         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
48988         libc_nonshared.a.
48989         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
48990         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
48991         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
48992         $(link-libc-deps).
48993         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
48994         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
48995         * login/Makefile ($(objpfx)libutil.so): Likewise.
48996         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
48997         * math/Makefile ($(objpfx)libm.so): Likewise.
48998         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
48999         $(objpfx)libnsl.so): Define libc-for-link as target-specific
49000         variable instead of depending directly on libc.
49001         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
49002         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
49003         $(link-libc-deps).
49004         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
49005         libc.
49006         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
49007         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
49008         ($(objpfx)libanl.so): Likewise.
49009         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
49010         ld.so.
49011         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
49012         $(link-libc-deps).
49013         * sysdeps/i386/fpu/Makefile: Remove file.
49014         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
49015         ($(objpfx)libm.so): Remove dependency on ld.so.
49017 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
49019         [BZ # 15553]
49020         * nis/yp_xdr.c (XDRMAXNAME): Define.
49021         (XDRMAXRECORD): Define.
49022         (xdr_domainname): Use XDRMAXNAME.
49023         (xdr_mapname): Likewise.
49024         (xdr_peername): Likewise.
49025         (xdr_keydat): Use XDRMAXRECORD.
49026         (xdr_valdat): Likewise.
49028 2013-05-30  Jeff Law  <law@redhat.com>
49030         [BZ #14256]
49031         * manual/errno.texi (ESTALE): Update to account for more than
49032         just NFS file systems.
49033         * sysdeps/gnu/errlist.c: Regenerated.
49035 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49037         [BZ #15465]
49038         * elf/Makefile (tests): Add tst-null-argv.
49039         (modules-names):  Add tst-null-argv-lib.
49040         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
49041         (tst-null-argv-ENV): Set environment for tst-null-argv.
49042         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
49043         (RTLD_PROGNAME): New macro.
49044         * elf/tst-null-argv.c: New test case.
49045         * elf/tst-null-argv-lib.c: Library for test case.
49046         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
49047         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
49048         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
49049         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
49050         * elf/dl-init.c (call_init): Likewise.
49051         (_dl_init): Likewise.
49052         * elf/dl-load.c (print_search_path): Likewise.
49053         (_dl_map_object): Likewise.
49054         * elf/dl-lookup.c (do_lookup_x): Likewise.
49055         (add_dependency): Likewise.
49056         (_dl_lookup_symbol_x): Likewise.
49057         (_dl_debug_bindings): Likewise.
49058         * elf/dl-open.c (_dl_show_scope): Likewise.
49059         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
49060         * elf/dl-version.c (match_symbol): Likewise.
49061         (_dl_check_map_versions): Likewise.
49062         * elf/rtld.c (dl_main): Likewise.
49063         (print_unresolved): Use RTLD_PROGNAME.
49064         (print_missing_version): Likewise.
49065         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
49066         (elf_machine_rela): Likewise.
49067         * sysdeps/powerpc/powerpc32/dl-machine.c
49068         (__process_machine_rela): Likewise.
49069         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49070         Likewise.
49071         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
49072         Likewise.
49073         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
49074         Likewise.
49075         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49076         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
49077         Likewise.
49078         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
49079         Likewise.
49080         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49082 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
49084         * po/be.po: Add descriptive title.
49085         * po/zh_CN.po: Likewise.
49086         * po/header.pot: Likewise.
49088 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
49090         * locale/programs/locarchive.c (create_archive): Inlucde fname in
49091         error message.
49092         (enlarge_archive): Likewise.
49094 2013-05-28  Ben North  <ben@redfrontdoor.org>
49096         * manual/arith.texi (frexp): It is the magnitude of the return
49097         value which lies in [0.5, 1), not the return value itself.
49099 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49101         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49103 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
49105         * stdio-common/bug26.c (main): Correct fscanf template.
49107         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
49108         declare _dl_skip_args.
49110         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
49111         Don't declare.
49113         * manual/platform.texi: Add missing @end deftypefun.
49115 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
49117         [BZ #15529]
49118         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
49119         bit of mantissa of 2^16382.
49120         * math/libm-test.inc (hypot_test_data): Add more tests.
49122         * math/libm-test.inc: Add drem and pow10 to list of tested
49123         functions.
49124         (pow10_test): New function.
49125         (drem_test): Likewise.
49126         (drem_test_tonearest): Likewise.
49127         (drem_test_towardzero): Likewise.
49128         (drem_test_downward): Likewise.
49129         (drem_test_upward): Likewise.
49130         (main): Call the new functions.
49132         * math/libm-test.inc (finite_test_data): Remove.
49133         (finite_test): Run tests from isfinite_test_data.
49134         (gamma_test_data): Remove.
49135         (gamma_test): Run tests from lgamma_test_data.
49136         * sysdeps/i386/fpu/libm-test-ulps: Update.
49137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49139 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49141         * manual/platform.texi: Add PowerPC PPR function set documentation.
49142         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
49143         implementation.
49145 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
49147         * math/libm-test.inc (MAX_EXP): Define.
49148         (ULPDIFF): Define.
49149         (ulp): New function.
49150         (check_float_internal): Use ULPDIFF.
49151         (cpow_test): Disable failing test.
49152         (check_ulp): Test ulp() implemetnation.
49153         (main): Call check_ulp before starting tests.
49155 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
49157         * math/gen-libm-test.pl (generate_testfile): Do not handle
49158         START_DATA and END_DATA.
49159         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
49160         END_DATA.
49161         (acos_tonearest_test_data): Likewise.
49162         (acos_towardzero_test_data): Likewise.
49163         (acos_downward_test_data): Likewise.
49164         (acos_upward_test_data): Likewise.
49165         (acosh_test_data): Likewise.
49166         (asin_test_data): Likewise.
49167         (asin_tonearest_test_data): Likewise.
49168         (asin_towardzero_test_data): Likewise.
49169         (asin_downward_test_data): Likewise.
49170         (asin_upward_test_data): Likewise.
49171         (asinh_test_data): Likewise.
49172         (atan_test_data): Likewise.
49173         (atanh_test_data): Likewise.
49174         (atan2_test_data): Likewise.
49175         (cabs_test_data): Likewise.
49176         (cacos_test_data): Likewise.
49177         (cacosh_test_data): Likewise.
49178         (carg_test_data): Likewise.
49179         (casin_test_data): Likewise.
49180         (casinh_test_data): Likewise.
49181         (catan_test_data): Likewise.
49182         (catanh_test_data): Likewise.
49183         (cbrt_test_data): Likewise.
49184         (ccos_test_data): Likewise.
49185         (ccosh_test_data): Likewise.
49186         (ceil_test_data): Likewise.
49187         (cexp_test_data): Likewise.
49188         (cimag_test_data): Likewise.
49189         (clog_test_data): Likewise.
49190         (clog10_test_data): Likewise.
49191         (conj_test_data): Likewise.
49192         (copysign_test_data): Likewise.
49193         (cos_test_data): Likewise.
49194         (cos_tonearest_test_data): Likewise.
49195         (cos_towardzero_test_data): Likewise.
49196         (cos_downward_test_data): Likewise.
49197         (cos_upward_test_data): Likewise.
49198         (cosh_test_data): Likewise.
49199         (cosh_tonearest_test_data): Likewise.
49200         (cosh_towardzero_test_data): Likewise.
49201         (cosh_downward_test_data): Likewise.
49202         (cosh_upward_test_data): Likewise.
49203         (cpow_test_data): Likewise.
49204         (cproj_test_data): Likewise.
49205         (creal_test_data): Likewise.
49206         (csin_test_data): Likewise.
49207         (csinh_test_data): Likewise.
49208         (csqrt_test_data): Likewise.
49209         (ctan_test_data): Likewise.
49210         (ctan_tonearest_test_data): Likewise.
49211         (ctan_towardzero_test_data): Likewise.
49212         (ctan_downward_test_data): Likewise.
49213         (ctan_upward_test_data): Likewise.
49214         (ctanh_test_data): Likewise.
49215         (ctanh_tonearest_test_data): Likewise.
49216         (ctanh_towardzero_test_data): Likewise.
49217         (ctanh_downward_test_data): Likewise.
49218         (ctanh_upward_test_data): Likewise.
49219         (erf_test_data): Likewise.
49220         (erfc_test_data): Likewise.
49221         (exp_test_data): Likewise.
49222         (exp_tonearest_test_data): Likewise.
49223         (exp_towardzero_test_data): Likewise.
49224         (exp_downward_test_data): Likewise.
49225         (exp_upward_test_data): Likewise.
49226         (exp10_test_data): Likewise.
49227         (exp2_test_data): Likewise.
49228         (expm1_test_data): Likewise.
49229         (fabs_test_data): Likewise.
49230         (fdim_test_data): Likewise.
49231         (finite_test_data): Likewise.
49232         (floor_test_data): Likewise.
49233         (fma_test_data): Likewise.
49234         (fma_towardzero_test_data): Likewise.
49235         (fma_downward_test_data): Likewise.
49236         (fma_upward_test_data): Likewise.
49237         (fmax_test_data): Likewise.
49238         (fmin_test_data): Likewise.
49239         (fmod_test_data): Likewise.
49240         (fpclassify_test_data): Likewise.
49241         (frexp_test_data): Likewise.
49242         (gamma_test_data): Likewise.
49243         (hypot_test_data): Likewise.
49244         (ilogb_test_data): Likewise.
49245         (isfinite_test_data): Likewise.
49246         (isgreater_test_data): Likewise.
49247         (isgreaterequal_test_data): Likewise.
49248         (isinf_test_data): Likewise.
49249         (isless_test_data): Likewise.
49250         (islessequal_test_data): Likewise.
49251         (islessgreater_test_data): Likewise.
49252         (isnan_test_data): Likewise.
49253         (isnormal_test_data): Likewise.
49254         (issignaling_test_data): Likewise.
49255         (isunordered_test_data): Likewise.
49256         (j0_test_data): Likewise.
49257         (j1_test_data): Likewise.
49258         (jn_test_data): Likewise.
49259         (ldexp_test_data): Likewise.
49260         (lgamma_test_data): Likewise.
49261         (lrint_test_data): Likewise.
49262         (lrint_tonearest_test_data): Likewise.
49263         (lrint_towardzero_test_data): Likewise.
49264         (lrint_downward_test_data): Likewise.
49265         (lrint_upward_test_data): Likewise.
49266         (llrint_test_data): Likewise.
49267         (llrint_tonearest_test_data): Likewise.
49268         (llrint_towardzero_test_data): Likewise.
49269         (llrint_downward_test_data): Likewise.
49270         (llrint_upward_test_data): Likewise.
49271         (log_test_data): Likewise.
49272         (log10_test_data): Likewise.
49273         (log1p_test_data): Likewise.
49274         (log2_test_data): Likewise.
49275         (logb_test_data): Likewise.
49276         (logb_downward_test_data): Likewise.
49277         (lround_test_data): Likewise.
49278         (llround_test_data): Likewise.
49279         (modf_test_data): Likewise.
49280         (nearbyint_test_data): Likewise.
49281         (nextafter_test_data): Likewise.
49282         (nexttoward_test_data): Likewise.
49283         (pow_test_data): Likewise.
49284         (pow_tonearest_test_data): Likewise.
49285         (pow_towardzero_test_data): Likewise.
49286         (pow_downward_test_data): Likewise.
49287         (pow_upward_test_data): Likewise.
49288         (remainder_test_data): Likewise.
49289         (remainder_tonearest_test_data): Likewise.
49290         (remainder_towardzero_test_data): Likewise.
49291         (remainder_downward_test_data): Likewise.
49292         (remainder_upward_test_data): Likewise.
49293         (remquo_test_data): Likewise.
49294         (rint_test_data): Likewise.
49295         (rint_tonearest_test_data): Likewise.
49296         (rint_towardzero_test_data): Likewise.
49297         (rint_downward_test_data): Likewise.
49298         (rint_upward_test_data): Likewise.
49299         (round_test_data): Likewise.
49300         (scalb_test_data): Likewise.
49301         (scalbn_test_data): Likewise.
49302         (scalbln_test_data): Likewise.
49303         (signbit_test_data): Likewise.
49304         (sin_test_data): Likewise.
49305         (sin_tonearest_test_data): Likewise.
49306         (sin_towardzero_test_data): Likewise.
49307         (sin_downward_test_data): Likewise.
49308         (sin_upward_test_data): Likewise.
49309         (sincos_test_data): Likewise.
49310         (sinh_test_data): Likewise.
49311         (sinh_tonearest_test_data): Likewise.
49312         (sinh_towardzero_test_data): Likewise.
49313         (sinh_downward_test_data): Likewise.
49314         (sinh_upward_test_data): Likewise.
49315         (sqrt_test_data): Likewise.
49316         (tan_test_data): Likewise.
49317         (tan_tonearest_test_data): Likewise.
49318         (tan_towardzero_test_data): Likewise.
49319         (tan_downward_test_data): Likewise.
49320         (tan_upward_test_data): Likewise.
49321         (tanh_test_data): Likewise.
49322         (tgamma_test_data): Likewise.
49323         (trunc_test_data): Likewise.
49324         (y0_test_data): Likewise.
49325         (y1_test_data): Likewise.
49326         (yn_test_data): Likewise.
49327         (significand_test_data): Likewise.
49329         * math/gen-libm-test.pl (@functions): Remove variable.
49330         (generate_testfile): Don't handle START and END lines.
49331         * math/libm-test.inc (START): New macro.
49332         (END): Likewise.
49333         (END_COMPLEX): Likewise.
49334         (acos_test): Use END macro without arguments.
49335         (acos_test_tonearest): Likewise.
49336         (acos_test_towardzero): Likewise.
49337         (acos_test_downward): Likewise.
49338         (acos_test_upward): Likewise.
49339         (acosh_test): Likewise.
49340         (asin_test): Likewise.
49341         (asin_test_tonearest): Likewise.
49342         (asin_test_towardzero): Likewise.
49343         (asin_test_downward): Likewise.
49344         (asin_test_upward): Likewise.
49345         (asinh_test): Likewise.
49346         (atan_test): Likewise.
49347         (atanh_test): Likewise.
49348         (atan2_test): Likewise.
49349         (cabs_test): Likewise.
49350         (cacos_test): Use END_COMPLEX macro without arguments.
49351         (cacosh_test): Likewise.
49352         (carg_test): Use END macro without arguments.
49353         (casin_test): Use END_COMPLEX macro without arguments.
49354         (casinh_test): Likewise.
49355         (catan_test): Likewise.
49356         (catanh_test): Likewise.
49357         (cbrt_test): Use END macro without arguments.
49358         (ccos_test): Use END_COMPLEX macro without arguments.
49359         (ccosh_test): Likewise.
49360         (ceil_test): Use END macro without arguments.
49361         (cexp_test): Use END_COMPLEX macro without arguments.
49362         (cimag_test): Use END macro without arguments.
49363         (clog_test): Use END_COMPLEX macro without arguments.
49364         (clog10_test): Likewise.
49365         (conj_test): Likewise.
49366         (copysign_test): Use END macro without arguments.
49367         (cos_test): Likewise.
49368         (cos_test_tonearest): Likewise.
49369         (cos_test_towardzero): Likewise.
49370         (cos_test_downward): Likewise.
49371         (cos_test_upward): Likewise.
49372         (cosh_test): Likewise.
49373         (cosh_test_tonearest): Likewise.
49374         (cosh_test_towardzero): Likewise.
49375         (cosh_test_downward): Likewise.
49376         (cosh_test_upward): Likewise.
49377         (cpow_test): Use END_COMPLEX macro without arguments.
49378         (cproj_test): Likewise.
49379         (creal_test): Use END macro without arguments.
49380         (csin_test): Use END_COMPLEX macro without arguments.
49381         (csinh_test): Likewise.
49382         (csqrt_test): Likewise.
49383         (ctan_test): Likewise.
49384         (ctan_test_tonearest): Likewise.
49385         (ctan_test_towardzero): Likewise.
49386         (ctan_test_downward): Likewise.
49387         (ctan_test_upward): Likewise.
49388         (ctanh_test): Likewise.
49389         (ctanh_test_tonearest): Likewise.
49390         (ctanh_test_towardzero): Likewise.
49391         (ctanh_test_downward): Likewise.
49392         (ctanh_test_upward): Likewise.
49393         (erf_test): Use END macro without arguments.
49394         (erfc_test): Likewise.
49395         (exp_test): Likewise.
49396         (exp_test_tonearest): Likewise.
49397         (exp_test_towardzero): Likewise.
49398         (exp_test_downward): Likewise.
49399         (exp_test_upward): Likewise.
49400         (exp10_test): Likewise.
49401         (exp2_test): Likewise.
49402         (expm1_test): Likewise.
49403         (fabs_test): Likewise.
49404         (fdim_test): Likewise.
49405         (finite_test): Likewise.
49406         (floor_test): Likewise.
49407         (fma_test): Likewise.
49408         (fma_test_towardzero): Likewise.
49409         (fma_test_downward): Likewise.
49410         (fma_test_upward): Likewise.
49411         (fmax_test): Likewise.
49412         (fmin_test): Likewise.
49413         (fmod_test): Likewise.
49414         (fpclassify_test): Likewise.
49415         (frexp_test): Likewise.
49416         (gamma_test): Likewise.
49417         (hypot_test): Likewise.
49418         (ilogb_test): Likewise.
49419         (isfinite_test): Likewise.
49420         (isgreater_test): Likewise.
49421         (isgreaterequal_test): Likewise.
49422         (isinf_test): Likewise.
49423         (isless_test): Likewise.
49424         (islessequal_test): Likewise.
49425         (islessgreater_test): Likewise.
49426         (isnan_test): Likewise.
49427         (isnormal_test): Likewise.
49428         (issignaling_test): Likewise.
49429         (isunordered_test): Likewise.
49430         (j0_test): Likewise.
49431         (j1_test): Likewise.
49432         (jn_test): Likewise.
49433         (ldexp_test): Likewise.
49434         (lgamma_test): Likewise.
49435         (lrint_test): Likewise.
49436         (lrint_test_tonearest): Likewise.
49437         (lrint_test_towardzero): Likewise.
49438         (lrint_test_downward): Likewise.
49439         (lrint_test_upward): Likewise.
49440         (llrint_test): Likewise.
49441         (llrint_test_tonearest): Likewise.
49442         (llrint_test_towardzero): Likewise.
49443         (llrint_test_downward): Likewise.
49444         (llrint_test_upward): Likewise.
49445         (log_test): Likewise.
49446         (log10_test): Likewise.
49447         (log1p_test): Likewise.
49448         (log2_test): Likewise.
49449         (logb_test): Likewise.
49450         (logb_test_downward): Likewise.
49451         (lround_test): Likewise.
49452         (llround_test): Likewise.
49453         (modf_test): Likewise.
49454         (nearbyint_test): Likewise.
49455         (nextafter_test): Likewise.
49456         (nexttoward_test): Likewise.
49457         (pow_test): Likewise.
49458         (pow_test_tonearest): Likewise.
49459         (pow_test_towardzero): Likewise.
49460         (pow_test_downward): Likewise.
49461         (pow_test_upward): Likewise.
49462         (remainder_test): Likewise.
49463         (remainder_test_tonearest): Likewise.
49464         (remainder_test_towardzero): Likewise.
49465         (remainder_test_downward): Likewise.
49466         (remainder_test_upward): Likewise.
49467         (remquo_test): Likewise.
49468         (rint_test): Likewise.
49469         (rint_test_tonearest): Likewise.
49470         (rint_test_towardzero): Likewise.
49471         (rint_test_downward): Likewise.
49472         (rint_test_upward): Likewise.
49473         (round_test): Likewise.
49474         (scalb_test): Likewise.
49475         (scalbn_test): Likewise.
49476         (scalbln_test): Likewise.
49477         (signbit_test): Likewise.
49478         (sin_test): Likewise.
49479         (sin_test_tonearest): Likewise.
49480         (sin_test_towardzero): Likewise.
49481         (sin_test_downward): Likewise.
49482         (sin_test_upward): Likewise.
49483         (sincos_test): Likewise.
49484         (sinh_test): Likewise.
49485         (sinh_test_tonearest): Likewise.
49486         (sinh_test_towardzero): Likewise.
49487         (sinh_test_downward): Likewise.
49488         (sinh_test_upward): Likewise.
49489         (sqrt_test): Likewise.
49490         (tan_test): Likewise.
49491         (tan_test_tonearest): Likewise.
49492         (tan_test_towardzero): Likewise.
49493         (tan_test_downward): Likewise.
49494         (tan_test_upward): Likewise.
49495         (tanh_test): Likewise.
49496         (tgamma_test): Likewise.
49497         (trunc_test): Likewise.
49498         (y0_test): Likewise.
49499         (y1_test): Likewise.
49500         (yn_test): Likewise.
49501         (significand_test): Likewise.
49503 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
49505         [BZ #15381]
49506         * libio/genops.c (_IO_no_init): Initialize wide struct info.
49508 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
49510         [BZ #14894]
49511         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
49512         __ppc_mdoio and __ppc_mdoom.
49513         * manual/platform.texi: Document new functions __ppc_yield,
49514         __ppc_mdoio and __ppc_mdoom.
49516 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
49518         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
49519         (main): Mention "tls" pseudo-hwcap is legacy.
49520         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
49522 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
49524         * math/gen-libm-test.pl (parse_args): Output only string of
49525         arguments as text for test name, not full call or descriptions of
49526         tests for extra outputs.
49527         (generate_testfile): Do not pass function name to parse_args.
49528         Generate this_func variable from START.
49529         * math/libm-test.inc (struct test_f_f_data): Rename test_name
49530         field to arg_str.
49531         (struct test_ff_f_data): Likewise.
49532         (test_ff_f_data_nexttoward): Likewise.
49533         (struct test_fi_f_data): Likewise.
49534         (struct test_fl_f_data): Likewise.
49535         (struct test_if_f_data): Likewise.
49536         (struct test_fff_f_data): Likewise.
49537         (struct test_c_f_data): Likewise.
49538         (struct test_f_f1_data): Likewise.  Remove field extra_name.
49539         (struct test_fF_f1_data): Likewise.
49540         (struct test_ffI_f1_data): Likewise.
49541         (struct test_c_c_data): Rename test_name field to arg_str.
49542         (struct test_cc_c_data): Likewise.
49543         (struct test_f_i_data): Likewise.
49544         (struct test_ff_i_data): Likewise.
49545         (struct test_f_l_data): Likewise.
49546         (struct test_f_L_data): Likewise.
49547         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
49548         and extra2_name.
49549         (COMMON_TEST_SETUP): New macro.
49550         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
49551         (COMMON_TEST_CLEANUP): Likewise.
49552         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
49553         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
49554         macros.
49555         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
49556         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
49557         macros.
49558         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
49559         (RUN_TEST_fff_f): Take argument string.  Call new setup and
49560         cleanup macros.
49561         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
49562         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
49563         macros.
49564         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
49565         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
49566         macros.
49567         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
49568         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
49569         cleanup macros.
49570         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
49571         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
49572         cleanup macros.
49573         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
49574         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
49575         cleanup macros.
49576         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
49577         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
49578         macros.
49579         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
49580         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
49581         macros.
49582         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
49583         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
49584         macros.
49585         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
49586         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
49587         cleanup macros.
49588         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
49589         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
49590         cleanup macros.
49591         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
49592         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
49593         macros.
49594         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
49595         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
49596         cleanup macros.
49597         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
49598         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
49599         macros.
49600         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
49601         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
49602         macros.
49603         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
49604         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
49605         cleanup macros.
49606         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
49608 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
49610         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
49611         to _sifields.sigfault.
49612         (si_addr_lsb): Define new macro.
49613         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
49614         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49615         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
49617 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
49619         [BZ #15441]
49620         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
49621         returns -1.
49622         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
49623         null return -1.
49624         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
49625         loading the domain.
49627 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
49629         * math/gen-libm-test.pl (parse_args): Do not include expected
49630         result in test name.
49631         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
49632         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49633         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49634         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49635         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49638 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49640         * benchtests/Makefile: Sort function entries.
49642         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
49643         tanh, asinh, acosh, atanh.
49644         * benchtests/acos-inputs: New file.
49645         * benchtests/acosh-inputs: New file.
49646         * benchtests/asin-inputs: New file.
49647         * benchtests/asinh-inputs: New file.
49648         * benchtests/atanh-inputs: New file.
49649         * benchtests/cosh-inputs: New file.
49650         * benchtests/log-inputs: New file.
49651         * benchtests/sinh-inputs: New file.
49652         * benchtests/tanh-inputs: New file.
49654 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
49656         [BZ #15339]
49657         * posix/tst-getaddrinfo4.c: New test.
49658         * posix/Makefile (tests): Add it.
49660 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49662         [BZ #15339]
49663         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
49664         when no services were used.
49665         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
49666         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
49668 2013-05-21  Andreas Schwab  <schwab@suse.de>
49670         [BZ #15014]
49671         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
49672         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
49673         successful.
49674         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
49675         redundant variable declarations and reallocation of buffer when
49676         parsing as IPv6 address.  Always set NSS status when called from
49677         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
49678         buffer too small.  Correct computation of needed size.
49679         * nss/Makefile (tests): Add test-digits-dots.
49680         * nss/test-digits-dots.c: New test.
49682 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49684         * benchtests/Makefile: Remove instructions for adding
49685         benchmark tests.
49686         * benchtests/README: New file to explain how to execute and
49687         enhance the benchmark tests.
49689 2013-05-21  Andreas Schwab  <schwab@suse.de>
49691         [BZ #15493]
49692         * setjmp/Makefile (tests): Add tst-sigsetjmp.
49693         * setjmp/tst-sigsetjmp.c: New test.
49695 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
49697         * sysdeps/x86_64/memset.S (memset): New implementation.
49698         (__bzero): Likewise.
49699         (__memset_tail): New function.
49701 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
49703         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
49704         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
49705         __memcpy_sse2_unaligned ifunc selection.
49706         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49707         Add memcpy-sse2-unaligned.S.
49708         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49709         Add: __memcpy_sse2_unaligned.
49711 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
49713         [BZ #15490]
49714         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
49715         math_force_eval before restoring floating-point envrionment.
49716         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
49717         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
49718         Likewise.
49719         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
49720         <math_private.h>.
49721         (__nearbyintl): Use math_force_eval before restoring
49722         floating-point environment.
49723         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
49725         * math/gen-libm-test.pl (special_functions): Remove.
49726         (parse_args): Don't handle TEST_extra.  Handle functions with no
49727         return value.
49728         * math/libm-test.inc (struct test_sincos_data): Replace with
49729         struct test_fFF_11_data.
49730         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
49731         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
49732         (sincos_test_data): Change element type to struct
49733         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
49734         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
49735         RUN_TEST_LOOP_sincos.
49736         * math/README.libm-test: Don't mention special handling of
49737         individual functions.
49738         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
49739         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49740         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49741         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49742         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49745         * math/gen-libm-test.pl (get_variable): Remove function.
49746         (parse_args): Don't show pointer parameters to call in test
49747         names.  Use "extra output N" in test names for extra outputs
49748         rather than naming variables.
49750 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
49752         [BZ #15488]
49753         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
49754         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
49755         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
49756         double tests.
49757         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
49758         disable.
49759         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
49760         check_long_double.
49762         * math/gen-libm-test.pl (@tests): Remove variable.
49763         ($count): Likewise.
49764         (new_test): Remove function.
49765         (show_exceptions): New function.
49766         (special_functions): Use show_exceptions instead of new_test.
49767         (parse_args): Likewise.
49768         (generate_testfile): Pass only function name in generated call to
49769         print_max_error or print_complex_max_error.
49770         (get_ulps): Do not handle complex tests specially.
49771         (output_test): Rename to ...
49772         (get_all_ulps_for_test): ... this.  Return a string rather than
49773         printing to a file.  Require ulps to be present.
49774         (output_ulps): Generate arrays rather than #defines.
49775         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
49776         (struct ulp_data): New type.
49777         (BUILD_COMPLEX_ULP): Remove macro.
49778         (compare_ulp_data): New function.
49779         (find_ulps): Likewise.
49780         (find_test_ulps): Likewise.
49781         (find_function_ulps): Likewise.
49782         (find_complex_function_ulps): Likewise.
49783         (print_max_error): Determine allowed ulps using
49784         find_function_ulps.
49785         (print_complex_max_error): Determine allowed ulps using
49786         find_complex_function_ulps.
49787         (check_float_internal): Determine max ulps using find_test_ulps.
49788         (check_float): Do not take max_ulp parameter.  Update call to
49789         check_float_internal.
49790         (check_complex): Likewise.
49791         (check_int): Do not take max_ulp parameter.
49792         (check_long): Likewise.
49793         (check_bool): Likewise.
49794         (check_longlong): Likewise.
49795         (struct test_f_f_data): Remove max_ulp field.
49796         (struct test_ff_f_data): Likewise.
49797         (struct test_ff_f_data_nexttoward): Likewise.
49798         (struct test_fi_f_data): Likewise.
49799         (struct test_fl_f_data): Likewise.
49800         (struct test_if_f_data): Likewise.
49801         (struct test_fff_f_data): Likewise.
49802         (struct test_c_f_data): Likewise.
49803         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
49804         (struct test_fF_f1_data): Likewise.
49805         (struct test_ffI_f1_data): Likewise.
49806         (struct test_c_c_data): Remove max_ulp field.
49807         (struct test_cc_c_data): Likewise.
49808         (struct test_f_i_data): Likewise.
49809         (struct test_ff_i_data): Likewise.
49810         (struct test_f_l_data): Likewise.
49811         (struct test_f_L_data): Likewise.
49812         (struct test_sincos_data): Likewise.
49813         (RUN_TEST_f_f): Do not handle ulps.
49814         (RUN_TEST_LOOP_f_f): Likewise.
49815         (RUN_TEST_2_f): Likewise.
49816         (RUN_TEST_LOOP_2_f): Likewise.
49817         (RUN_TEST_fff_f): Likewise.
49818         (RUN_TEST_LOOP_fff_f): Likewise.
49819         (RUN_TEST_c_f): Likewise.
49820         (RUN_TEST_LOOP_c_f): Likewise.
49821         (RUN_TEST_f_f1): Likewise.
49822         (RUN_TEST_LOOP_f_f1): Likewise.
49823         (RUN_TEST_fF_f1): Likewise.
49824         (RUN_TEST_LOOP_fF_f1): Likewise.
49825         (RUN_TEST_fI_f1): Likewise.
49826         (RUN_TEST_LOOP_fI_f1): Likewise.
49827         (RUN_TEST_ffI_f1): Likewise.
49828         (RUN_TEST_LOOP_ffI_f1): Likewise.
49829         (RUN_TEST_c_c): Likewise.
49830         (RUN_TEST_LOOP_c_c): Likewise.
49831         (RUN_TEST_cc_c): Likewise.
49832         (RUN_TEST_LOOP_cc_c): Likewise.
49833         (RUN_TEST_f_i): Likewise.
49834         (RUN_TEST_LOOP_f_i): Likewise.
49835         (RUN_TEST_f_i_tg): Likewise.
49836         (RUN_TEST_LOOP_f_i_tg): Likewise.
49837         (RUN_TEST_ff_i_tg): Likewise.
49838         (RUN_TEST_LOOP_ff_i_tg): Likewise.
49839         (RUN_TEST_f_b): Likewise.
49840         (RUN_TEST_LOOP_f_b): Likewise.
49841         (RUN_TEST_f_b_tg): Likewise.
49842         (RUN_TEST_LOOP_f_b_tg): Likewise.
49843         (RUN_TEST_f_l): Likewise.
49844         (RUN_TEST_LOOP_f_l): Likewise.
49845         (RUN_TEST_f_L): Likewise.
49846         (RUN_TEST_LOOP_f_L): Likewise.
49847         (RUN_TEST_sincos): Likewise.
49848         (RUN_TEST_LOOP_sincos): Likewise.
49850 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
49852         [BZ #15480]
49853         [BZ #15485]
49854         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
49855         main case of finite arguments, set rounding mode to FE_TONEAREST
49856         and discard exceptions.
49857         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
49858         exceptions.
49859         (remainder_tonearest_test_data): New variable.
49860         (remainder_test_tonearest): New function.
49861         (remainder_towardzero_test_data): New variable.
49862         (remainder_test_towardzero): New function.
49863         (remainder_downward_test_data): New variable.
49864         (remainder_test_downward): New function.
49865         (remainder_upward_test_data): New variable.
49866         (remainder_test_upward): New function.
49867         (main): Call the new test functions.
49869         * math/libm-test.inc (struct test_f_f1_data): Remove field
49870         extra_init.
49871         (struct test_fF_f1_data): Likewise.
49872         (struct test_ffI_f1_data): Likewise.
49873         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
49874         based on value of EXTRA_EXPECTED.
49875         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
49876         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
49877         EXTRA_VAR based on value of EXTRA_EXPECTED.
49878         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
49879         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
49880         EXTRA_VAR based on value of EXTRA_EXPECTED.
49881         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
49882         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
49883         EXTRA_VAR based on value of EXTRA_EXPECTED.
49884         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
49885         * math/gen-libm-test.pl (parse_args): Don't output initializers
49886         for extra output values.
49888         * math/libm-test.inc (check_int): Expect result to be exactly
49889         equal to expected value and do not handle ulps.
49890         (check_long): Likewise.
49891         (check_longlong): Likewise.
49893         * math/libm-test.inc (ceil_test_data): Test for "inexact"
49894         exceptions.
49895         (cimag_test_data): Likewise.
49896         (conj_test_data): Likewise.
49897         (copysign_test_data): Likewise.
49898         (cproj_test_data): Likewise.
49899         (creal_test_data): Likewise.
49900         (fabs_test_data): Likewise.
49901         (fdim_test_data): Likewise.
49902         (finite_test_data): Likewise.
49903         (floor_test_data): Likewise.
49904         (fmax_test_data): Likewise.
49905         (fmin_test_data): Likewise.
49906         (fmod_test_data): Likewise.
49907         (fpclassify_test_data): Likewise.
49908         (frexp_test_data): Likewise.
49909         (ilogb_test_data): Likewise.
49910         (isfinite_test_data): Likewise.
49911         (isgreater_test_data): Likewise.
49912         (isgreaterequal_test_data): Likewise.
49913         (isinf_test_data): Likewise.
49914         (isless_test_data): Likewise.
49915         (islessequal_test_data): Likewise.
49916         (islessgreater_test_data): Likewise.
49917         (isnan_test_data): Likewise.
49918         (isnormal_test_data): Likewise.
49919         (issignaling_test_data): Likewise.
49920         (isunordered_test_data): Likewise.
49921         (ldexp_test_data): Likewise.
49922         (lrint_test_data): Likewise.
49923         (lrint_test_data) [TEST_FLOAT]: Disable one test.
49924         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
49925         (lrint_tonearest_test_data): Test for "inexact" exceptions.
49926         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
49927         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
49928         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
49929         test input.
49930         (lrint_towardzero_test_data): Test for "inexact" exceptions.
49931         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
49932         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
49933         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
49934         that test input.
49935         (lrint_downward_test_data): Test for "inexact" exceptions.
49936         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
49937         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
49938         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
49939         test input.
49940         (lrint_upward_test_data): Test for "inexact" exceptions.
49941         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
49942         test input.
49943         (llrint_test_data): Test for "inexact" exceptions.
49944         (llrint_test_data) [TEST_FLOAT]: Disable one test.
49945         (llrint_tonearest_test_data): Test for "inexact" exceptions.
49946         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
49947         (llrint_towardzero_test_data): Test for "inexact" exceptions.
49948         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
49949         (llrint_downward_test_data): Test for "inexact" exceptions.
49950         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
49951         (llrint_upward_test_data): Test for "inexact" exceptions.
49952         (logb_test_data): Likewise.
49953         (logb_downward_test_data): Likewise.
49954         (nextafter_test_data): Likewise.
49955         (nexttoward_test_data): Likewise.
49956         (remainder_test_data): Likewise.
49957         (remquo_test_data): Likewise.
49958         (scalbn_test_data): Likewise.
49959         (scalbln_test_data): Likewise.
49960         (signbit_test_data): Likewise.
49961         (sqrt_test_data): Likewise.
49962         (significand_test_data): Likewise.
49964 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49966         [BZ #15424]
49967         * benchtests/bench-modf.c (struct args): Mark arg0 as
49968         volatile.
49969         * scripts/bench.pl: Mark members of struct args as volatile.
49971 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49973         [BZ # 15497]
49974         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
49975         negative infinity on POWER6 or lower.
49976         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
49978 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
49980         [BZ #15442]
49981         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
49982         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
49983         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
49984         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
49985         (_FP_SETQNAN): New macro.
49986         (_FP_SETQNAN_SEMIRAW): Likewise.
49987         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
49988         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
49989         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
49990         (FP_EXTEND): Use _FP_FRAC_SNANP.
49991         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
49992         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
49993         into account.
49994         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
49995         New macro.
49996         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
49997         Likewise.
49999 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50001         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
50002         with DIVIDE_BY_ZERO_EXCEPTION.
50003         (gamma_test_data): Likewise.
50004         (lgamma_test_data): Likewise.
50005         (log_test_data): Likewise.
50006         (log10_test_data): Likewise.
50007         (log2_test_data): Likewise.
50008         (tgamma_test_data): Likewise.
50010         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
50011         (acos_test_tonearest): Likewise.
50012         (acos_test_towardzero): Likewise.
50013         (acos_test_downward): Likewise.
50014         (acos_test_upward): Likewise.
50015         (acosh_test): Likewise.
50016         (asin_test): Likewise.
50017         (asin_test_tonearest): Likewise.
50018         (asin_test_towardzero): Likewise.
50019         (asin_test_downward): Likewise.
50020         (asin_test_upward): Likewise.
50021         (asinh_test): Likewise.
50022         (atan_test): Likewise.
50023         (atanh_test): Likewise.
50024         (atan2_test): Likewise.
50025         (cabs_test): Likewise.
50026         (cacos_test): Likewise.
50027         (cacosh_test): Likewise.
50028         (casin_test): Likewise.
50029         (casinh_test): Likewise.
50030         (catan_test): Likewise.
50031         (catanh_test): Likewise.
50032         (cbrt_test): Likewise.
50033         (ccos_test): Likewise.
50034         (ccosh_test): Likewise.
50035         (cexp_test): Likewise.
50036         (clog_test): Likewise.
50037         (clog10_test): Likewise.
50038         (cos_test): Likewise.
50039         (cos_test_tonearest): Likewise.
50040         (cos_test_towardzero): Likewise.
50041         (cos_test_downward): Likewise.
50042         (cos_test_upward): Likewise.
50043         (cosh_test): Likewise.
50044         (cosh_test_tonearest): Likewise.
50045         (cosh_test_towardzero): Likewise.
50046         (cosh_test_downward): Likewise.
50047         (cosh_test_upward): Likewise.
50048         (cpow_test): Likewise.
50049         (csin_test): Likewise.
50050         (csinh_test): Likewise.
50051         (csqrt_test): Likewise.
50052         (ctan_test): Likewise.
50053         (ctan_test_tonearest): Likewise.
50054         (ctan_test_towardzero): Likewise.
50055         (ctan_test_downward): Likewise.
50056         (ctan_test_upward): Likewise.
50057         (ctanh_test): Likewise.
50058         (ctanh_test_tonearest): Likewise.
50059         (ctanh_test_towardzero): Likewise.
50060         (ctanh_test_downward): Likewise.
50061         (ctanh_test_upward): Likewise.
50062         (erf_test): Likewise.
50063         (erfc_test): Likewise.
50064         (exp_test): Likewise.
50065         (exp_test_tonearest): Likewise.
50066         (exp_test_towardzero): Likewise.
50067         (exp_test_downward): Likewise.
50068         (exp_test_upward): Likewise.
50069         (exp10_test): Likewise.
50070         (exp2_test): Likewise.
50071         (expm1_test): Likewise.
50072         (fmod_test): Likewise.
50073         (gamma_test): Likewise.
50074         (hypot_test): Likewise.
50075         (j0_test): Likewise.
50076         (j1_test): Likewise.
50077         (jn_test): Likewise.
50078         (lgamma_test): Likewise.
50079         (log_test): Likewise.
50080         (log10_test): Likewise.
50081         (log1p_test): Likewise.
50082         (log2_test): Likewise.
50083         (logb_test_downward): Likewise.
50084         (pow_test): Likewise.
50085         (pow_test_tonearest): Likewise.
50086         (pow_test_towardzero): Likewise.
50087         (pow_test_downward): Likewise.
50088         (pow_test_upward): Likewise.
50089         (remainder_test): Likewise.
50090         (remquo_test): Likewise.
50091         (sin_test): Likewise.
50092         (sin_test_tonearest): Likewise.
50093         (sin_test_towardzero): Likewise.
50094         (sin_test_downward): Likewise.
50095         (sin_test_upward): Likewise.
50096         (sincos_test): Likewise.
50097         (sinh_test): Likewise.
50098         (sinh_test_tonearest): Likewise.
50099         (sinh_test_towardzero): Likewise.
50100         (sinh_test_downward): Likewise.
50101         (sinh_test_upward): Likewise.
50102         (sqrt_test): Likewise.
50103         (tan_test): Likewise.
50104         (tan_test_tonearest): Likewise.
50105         (tan_test_towardzero): Likewise.
50106         (tan_test_downward): Likewise.
50107         (tan_test_upward): Likewise.
50108         (tanh_test): Likewise.
50109         (tgamma_test): Likewise.
50110         (y0_test): Likewise.
50111         (y1_test): Likewise.
50112         (yn_test): Likewise.
50114         * math/gen-libm-test.pl (adjust_arg): Remove function.
50115         (special_function): Remove argument $in_func.  Only handle
50116         generating output for tables of tests, not inside functions.
50117         (parse_args): Likewise.
50118         (generate_testfile): Remove variable $in_func.  Update call to
50119         parse_args.
50120         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
50121         (MINUS_ZERO_INIT): Rename macro to minus_zero.
50122         (PLUS_INFTY_INIT): Rename macro to plus_infty.
50123         (MINUS_INFTY_INIT): Rename macro to minus_infty.
50124         (QNAN_VALUE_INIT): Rename macro to qnan_value.
50125         (MAX_VALUE_INIT): Rename macro to max_value.
50126         (MIN_VALUE_INIT): Rename macro to min_value.
50127         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
50128         (plus_zero): Remove variable.
50129         (minus_zero): Likewise.
50130         (plus_infty): Likewise.
50131         (minus_infty): Likewise.
50132         (qnan_value): Likewise.
50133         (max_value): Likewise.
50134         (min_value): Likewise.
50135         (min_subnorm_value): Likewise.
50137 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50139         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
50140         uint64_t or uint32_t usage.
50141         * crypt/sha256-block.c: Likewise.
50142         * crypt/sha256-crypt.c: Likewise.
50143         * crypt/sha256.c: Likewise.
50144         * crypt/sha512-block.c: Likewise.
50145         * crypt/sha512-crypt.c: Likewise.
50146         * crypt/sha512.c: Likewise.
50147         * debug/backtrace-tst.c: Likewise.
50148         * debug/pcprofiledump.c: Likewise.
50149         * elf/cache.c: Likewise.
50150         * elf/dl-cache.c: Likewise.
50151         * elf/dl-misc.c: Likewise.
50152         * elf/dl-profile.c: Likewise.
50153         * elf/dl-support.c: Likewise.
50154         * elf/ldconfig.c: Likewise.
50155         * elf/sprof.c: Likewise.
50156         * iconv/dummy-repertoire.c: Likewise.
50157         * iconv/iconv_charmap.c: Likewise.
50158         * iconv/skeleton.c: Likewise.
50159         * iconvdata/8bit-generic.c: Likewise.
50160         * iconvdata/cp737.h: Likewise.
50161         * iconvdata/cp775.h: Likewise.
50162         * iconvdata/ibm1008.h: Likewise.
50163         * iconvdata/ibm1025.h: Likewise.
50164         * iconvdata/ibm1046.h: Likewise.
50165         * iconvdata/ibm1097.h: Likewise.
50166         * iconvdata/ibm1112.h: Likewise.
50167         * iconvdata/ibm1122.h: Likewise.
50168         * iconvdata/ibm1123.h: Likewise.
50169         * iconvdata/ibm1124.h: Likewise.
50170         * iconvdata/ibm1129.h: Likewise.
50171         * iconvdata/ibm1130.h: Likewise.
50172         * iconvdata/ibm1132.h: Likewise.
50173         * iconvdata/ibm1133.h: Likewise.
50174         * iconvdata/ibm1137.h: Likewise.
50175         * iconvdata/ibm1140.h: Likewise.
50176         * iconvdata/ibm1141.h: Likewise.
50177         * iconvdata/ibm1142.h: Likewise.
50178         * iconvdata/ibm1143.h: Likewise.
50179         * iconvdata/ibm1144.h: Likewise.
50180         * iconvdata/ibm1145.h: Likewise.
50181         * iconvdata/ibm1146.h: Likewise.
50182         * iconvdata/ibm1147.h: Likewise.
50183         * iconvdata/ibm1148.h: Likewise.
50184         * iconvdata/ibm1149.h: Likewise.
50185         * iconvdata/ibm1153.h: Likewise.
50186         * iconvdata/ibm1154.h: Likewise.
50187         * iconvdata/ibm1155.h: Likewise.
50188         * iconvdata/ibm1156.h: Likewise.
50189         * iconvdata/ibm1157.h: Likewise.
50190         * iconvdata/ibm1158.h: Likewise.
50191         * iconvdata/ibm1160.h: Likewise.
50192         * iconvdata/ibm1161.h: Likewise.
50193         * iconvdata/ibm1162.h: Likewise.
50194         * iconvdata/ibm1163.h: Likewise.
50195         * iconvdata/ibm1164.h: Likewise.
50196         * iconvdata/ibm1166.h: Likewise.
50197         * iconvdata/ibm1167.h: Likewise.
50198         * iconvdata/ibm12712.h: Likewise.
50199         * iconvdata/ibm1390.h: Likewise.
50200         * iconvdata/ibm1399.h: Likewise.
50201         * iconvdata/ibm16804.h: Likewise.
50202         * iconvdata/ibm4517.h: Likewise.
50203         * iconvdata/ibm4899.h: Likewise.
50204         * iconvdata/ibm4909.h: Likewise.
50205         * iconvdata/ibm4971.h: Likewise.
50206         * iconvdata/ibm5347.h: Likewise.
50207         * iconvdata/ibm803.h: Likewise.
50208         * iconvdata/ibm856.h: Likewise.
50209         * iconvdata/ibm901.h: Likewise.
50210         * iconvdata/ibm902.h: Likewise.
50211         * iconvdata/ibm9030.h: Likewise.
50212         * iconvdata/ibm9066.h: Likewise.
50213         * iconvdata/ibm921.h: Likewise.
50214         * iconvdata/ibm922.h: Likewise.
50215         * iconvdata/ibm9448.h: Likewise.
50216         * iconvdata/isiri-3342.h: Likewise.
50217         * iconvdata/jis0201.h: Likewise.
50218         * include/link.h: Likewise.
50219         * include/netdb.h: Likewise.
50220         * inet/check_native.c: Likewise.
50221         * inet/check_pf.c: Likewise.
50222         * inet/getipv4sourcefilter.c: Likewise.
50223         * inet/getnameinfo.c: Likewise.
50224         * inet/getsourcefilter.c: Likewise.
50225         * inet/htonl.c: Likewise.
50226         * inet/setipv4sourcefilter.c: Likewise.
50227         * inet/setsourcefilter.c: Likewise.
50228         * inet/test-inet6_opt.c: Likewise.
50229         * inet/tst-network.c: Likewise.
50230         * locale/C-collate.c: Likewise.
50231         * locale/C-ctype.c: Likewise.
50232         * locale/C-time.c: Likewise.
50233         * locale/C-translit.h: Likewise.
50234         * locale/loadarchive.c: Likewise.
50235         * locale/programs/3level.h: Likewise.
50236         * locale/programs/charmap.c: Likewise.
50237         * locale/programs/charmap.h: Likewise.
50238         * locale/programs/ld-address.c: Likewise.
50239         * locale/programs/ld-collate.c: Likewise.
50240         * locale/programs/ld-ctype.c: Likewise.
50241         * locale/programs/ld-identification.c: Likewise.
50242         * locale/programs/ld-measurement.c: Likewise.
50243         * locale/programs/ld-messages.c: Likewise.
50244         * locale/programs/ld-monetary.c: Likewise.
50245         * locale/programs/ld-name.c: Likewise.
50246         * locale/programs/ld-numeric.c: Likewise.
50247         * locale/programs/ld-paper.c: Likewise.
50248         * locale/programs/ld-telephone.c: Likewise.
50249         * locale/programs/ld-time.c: Likewise.
50250         * locale/programs/linereader.c: Likewise.
50251         * locale/programs/locale.c: Likewise.
50252         * locale/programs/locarchive.c: Likewise.
50253         * locale/programs/locfile.h: Likewise.
50254         * locale/programs/repertoire.c: Likewise.
50255         * locale/programs/simple-hash.c: Likewise.
50256         * locale/programs/simple-hash.h: Likewise.
50257         * malloc/memusage.c: Likewise.
50258         * malloc/memusagestat.c: Likewise.
50259         * nis/nis_defaults.c: Likewise.
50260         * nis/nis_hash.c: Likewise.
50261         * nis/nis_print.c: Likewise.
50262         * nis/nis_xdr.c: Likewise.
50263         * nscd/connections.c: Likewise.
50264         * nscd/hstcache.c: Likewise.
50265         * nscd/nscd_gethst_r.c: Likewise.
50266         * nscd/nscd_getserv_r.c: Likewise.
50267         * nscd/nscd_helper.c: Likewise.
50268         * nscd/servicescache.c: Likewise.
50269         * nss/makedb.c: Likewise.
50270         * nss/nss_db/db-XXX.c: Likewise.
50271         * nss/nss_db/db-initgroups.c: Likewise.
50272         * nss/nss_db/db-netgrp.c: Likewise.
50273         * nss/nss_files/files-network.c: Likewise.
50274         * nss/nss_files/files-parse.c: Likewise.
50275         * posix/bug-regex5.c: Likewise.
50276         * posix/fnmatch_loop.c: Likewise.
50277         * posix/regcomp.c: Likewise.
50278         * posix/regexec.c: Likewise.
50279         * posix/tst-rfc3484-2.c: Likewise.
50280         * posix/tst-rfc3484-3.c: Likewise.
50281         * posix/tst-rfc3484.c: Likewise.
50282         * resolv/nss_dns/dns-canon.c: Likewise.
50283         * resolv/nss_dns/dns-network.c: Likewise.
50284         * resolv/res_init.c: Likewise.
50285         * resolv/res_mkquery.c: Likewise.
50286         * resolv/tst-aton.c: Likewise.
50287         * stdlib/cxa_atexit.c: Likewise.
50288         * stdlib/cxa_finalize.c: Likewise.
50289         * stdlib/gen-fpioconst.c: Likewise.
50290         * stdlib/strtol_l.c: Likewise.
50291         * string/tst-endian.c: Likewise.
50292         * sunrpc/auth_des.c: Likewise.
50293         * sunrpc/clnt_udp.c: Likewise.
50294         * sunrpc/rtime.c: Likewise.
50295         * sunrpc/svcauth_des.c: Likewise.
50296         * sunrpc/xdr.c: Likewise.
50297         * sunrpc/xdr_intXX_t.c: Likewise.
50298         * sunrpc/xdr_rec.c: Likewise.
50299         * sysdeps/generic/ldconfig.h: Likewise.
50300         * sysdeps/generic/ldsodefs.h: Likewise.
50301         * sysdeps/generic/memusage.h: Likewise.
50302         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50303         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
50304         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
50305         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50306         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50307         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50308         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50309         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50310         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50311         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50312         * sysdeps/posix/getaddrinfo.c: Likewise.
50313         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50314         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50315         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50316         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50317         * sysdeps/powerpc/test-gettimebase.c: Likewise.
50318         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
50319         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
50320         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
50321         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
50322         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
50323         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50324         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50325         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
50326         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
50327         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
50328         * sysdeps/x86_64/dl-tls.h: Likewise.
50329         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
50330         * time/alt_digit.c: Likewise.
50331         * time/era.c: Likewise.
50332         * wcsmbs/tst-c16c32-1.c: Likewise.
50334 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50336         * math/libm-test.inc (struct test_sincos_data): New type.
50337         (RUN_TEST_LOOP_sincos): New macro.
50338         (sincos_test_data): New variable.
50339         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
50341 2013-05-16  Richard Henderson  <rth@redhat.com>
50343         * math/atest-exp2.c (LIMB64): New macro.
50344         (CONSTSZ): New macro.
50345         (mp_exp1, mp_exp_m1, mp_log2): New variables.
50346         (hexdig): Move ...
50347         (print_mpn_fp): ... to function scope.
50348         (read_mpn_hex): Remove.
50349         (get_log2): Remove.
50350         (exp2_mpn): Use mp_log2.
50351         (main): Use mp_exp1.
50353 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50355         * math/libm-test.inc: Remove comment about not testing "inexact"
50356         exceptions.
50357         (INEXACT_EXCEPTION): New macro.
50358         (NO_INEXACT_EXCEPTION): Likewise.
50359         (INVALID_EXCEPTION_OK): Update value.
50360         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50361         (OVERFLOW_EXCEPTION_OK): Likewise.
50362         (UNDERFLOW_EXCEPTION_OK): Likewise.
50363         (IGNORE_ZERO_INF_SIGN): Likewise.
50364         (ERRNO_UNCHANGED): Likewise.
50365         (ERRNO_EDOM): Likewise.
50366         (ERRNO_ERANGE): Likewise.
50367         (test_exceptions): Handle testing "inexact" exceptions.
50368         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
50369         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
50370         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
50371         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
50372         INEXACT_EXCEPTION.
50373         (rint_towardzero_test_data): Likewise.
50374         (rint_downward_test_data): Likewise.
50375         (rint_upward_test_data): Likewise.
50377         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
50378         with OVERFLOW_EXCEPTION.
50379         (exp10_test_data): Likewise.
50380         (exp2_test_data): Likewise.
50381         (expm1_test_data): Likewise.
50382         (lgamma_test_data): Likewise.
50383         (pow_test_data): Likewise.
50384         (tgamma_test_data): Likewise.
50385         (yn_test_data): Remove duplicate test of overflow.
50387         * math/libm-test.inc (struct test_cc_c_data): New type.
50388         (RUN_TEST_LOOP_cc_c): New macro.
50389         (cpow_test_data): New variable.
50390         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
50392         * math/libm-test.inc (struct test_f_L_data): New type.
50393         (RUN_TEST_LOOP_f_L): New macro.
50394         (llrint_test_data): New variable.
50395         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
50396         (llrint_tonearest_test_data): New variable.
50397         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
50398         (llrint_towardzero_test_data): New variable.
50399         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
50400         (llrint_downward_test_data): New variable.
50401         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
50402         (llrint_upward_test_data): New variable.
50403         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
50404         (llround_test_data): New variable.
50405         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
50407 2013-05-13  Peter Collingbourne  <pcc@google.com>
50409         * math/atest-exp2.c (get_log2): Remove const attribute.
50411 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
50413         * math/libm-test.inc (struct test_f_l_data): New type.
50414         (RUN_TEST_LOOP_f_l): New macro.
50415         (lrint_test_data): New variable.
50416         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
50417         (lrint_tonearest_test_data): New variable.
50418         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
50419         (lrint_towardzero_test_data): New variable.
50420         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
50421         (lrint_downward_test_data): New variable.
50422         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
50423         (lrint_upward_test_data): New variable.
50424         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
50425         (lround_test_data): New variable.
50426         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
50428 2013-05-15  Peter Collingbourne  <pcc@google.com>
50430         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
50431         (EXTRACT_WORDS64) Use where appropriate.
50432         (INSERT_WORDS64) Likewise.
50434         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
50435         constraints with x constraints.
50436         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
50438         * malloc/obstack.c (_obstack_compat): Add initializer.
50440 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50442         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
50443         si_trapno and add si_addr_lsb to _sifields.sigfault.
50444         (si_trapno): Remove macro.
50445         (si_addr_lsb): Define new macro.
50446         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50448 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
50450         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
50451         instead of TEST_f_l.
50452         (llrint_test_tonearest): Likewise.
50453         (llrint_test_towardzero): Likewise.
50454         (llrint_test_downward): Likewise.
50455         (llrint_test_upward): Likewise.
50456         (llround_test): Likewise.
50458         * math/libm-test.inc (struct test_f_i_data): Add comment.
50459         (RUN_TEST_LOOP_f_b): New macro.
50460         (RUN_TEST_LOOP_f_b_tg): Likewise.
50461         (finite_test_data): New variable.
50462         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
50463         (isfinite_test_data): New variable.
50464         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50465         (isinf_test_data): New variable.
50466         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50467         (isnan_test_data): New variable.
50468         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50469         (isnormal_test_data): New variable.
50470         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50471         (issignaling_test_data): New variable.
50472         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50473         (signbit_test_data): New variable.
50474         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50476         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
50477         with INVALID_EXCEPTION.
50478         (acosh_test_data): Likewise.
50479         (asin_test_data): Likewise.
50480         (atanh_test_data): Likewise.
50481         (fmod_test_data): Likewise.
50482         (log_test_data): Likewise.
50483         (log10_test_data): Likewise.
50484         (log2_test_data): Likewise.
50485         (pow_test_data): Likewise.
50486         (sqrt_test_data): Likewise.
50487         (y0_test_data): Likewise.
50488         (y1_test_data): Likewise.
50489         (yn_test_data): Likewise.
50491         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
50492         function contents.
50494         * math/libm-test.inc (struct test_ff_i_data): New type.
50495         (RUN_TEST_LOOP_ff_i_tg): New macro.
50496         (isgreater_test_data): New variable.
50497         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50498         (isgreaterequal_test_data): New variable.
50499         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50500         (isless_test_data): New variable.
50501         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50502         (islessequal_test_data): New variable.
50503         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50504         (islessgreater_test_data): New variable.
50505         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50506         (isunordered_test_data): New variable.
50507         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50509 2013-05-14  David S. Miller  <davem@davemloft.net>
50511         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50513 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
50515         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
50517         * math/libm-test.inc (struct test_fF_f1_data): Change type of
50518         extra_test to int.
50519         (struct test_f_i_data): Change type of max_ulp to int.
50521         * math/libm-test.inc (test_ffI_f1_data): New type.
50522         (RUN_TEST_LOOP_ffI_f1): New macro.
50523         (remquo_test_data): New variable.
50524         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
50526         * setjmp/tst-setjmp-fp.c: New file.
50527         * setjmp/Makefile (tests): Add tst-setjmp-fp.
50528         (link-libm): New variable.
50529         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
50531         * math/libm-test.inc (struct test_f_i_data): New type.
50532         (RUN_TEST_LOOP_f_i): New macro.
50533         (RUN_TEST_LOOP_f_i_tg): Likewise.
50534         (fpclassify_test_data): New variable.
50535         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
50536         (ilogb_test_data): New variable.
50537         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
50539         * math/libm-test.inc (scalbln_test): Correct function name in END
50540         call.
50542         * math/libm-test.inc (struct test_f_f1_data): Add comment.
50543         (RUN_TEST_LOOP_fI_f1): New macro.
50544         (frexp_test_data): New variable.
50545         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
50547         * math/libm-test.inc (struct test_fF_f1_data): New type.
50548         (RUN_TEST_LOOP_fF_f1): New macro.
50549         (modf_test_data): New variable.
50550         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
50552         * math/libm-test.inc (struct test_f_f1_data): New type.
50553         (RUN_TEST_LOOP_f_f1): New macro.
50554         (gamma_test_data): New variable.
50555         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
50556         (lgamma_test_data): New variable.
50557         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
50559 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
50561         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
50562         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
50563         (main): Comment "tls" pseudo-hwcap.
50565 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
50567         * math/libm-test.inc (struct test_fl_f_data): New type.
50568         (RUN_TEST_LOOP_fl_f): New variable.
50569         (scalbln_test_data): New variable.
50570         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
50572         * math/libm-test.inc (struct test_fi_f_data): New type.
50573         (RUN_TEST_LOOP_fi_f): New macro.
50574         (ldexp_test_data): New variable.
50575         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
50576         (scalbn_test_data): New variable.
50577         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
50579         * math/libm-test.inc (struct test_c_f_data): New type.
50580         (RUN_TEST_LOOP_c_f): New macro.
50581         (cabs_test_data): New variable.
50582         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
50583         (carg_test_data): New variable.
50584         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
50585         (cimag_test_data): New variable.
50586         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
50587         (creal_test_data): New variable.
50588         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
50590         * math/libm-test.inc (struct test_if_f_data): New type.
50591         (RUN_TEST_LOOP_if_f): New macro.
50592         (jn_test_data): New variable.
50593         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
50594         (yn_test_data): New variable.
50595         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
50597         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
50599 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50601         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
50602         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
50604 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50606         * benchtests/Makefile (CPPFLAGS-nonlib): Add
50607         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
50608         (bench-deps): Add bench-timing.h.
50609         * benchtests-bench-skeleton.c: Include bench-timing.h.
50610         (main): Use TIMING_* macros instead of clock_gettime.
50611         * benchtests/bench-timing.h: New file.
50613         [BZ #14582]
50614         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
50615         Renamed from _LIB_VERSION.
50616         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
50618 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
50620         * math/libm-test.inc (struct test_fff_f_data): New type.
50621         (RUN_TEST_LOOP_fff_f): New macro.
50622         (fma_test_data): New variable.
50623         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
50624         (fma_towardzero_test_data): New variable.
50625         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
50626         (fma_downward_test_data): New variable.
50627         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
50628         (fma_upward_test_data): New variable.
50629         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
50631         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
50632         (struct test_c_c_data): New type.
50633         (RUN_TEST_LOOP_c_c): New macro.
50634         (cacos_test_data): New variable.
50635         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
50636         (cacosh_test_data): New variable.
50637         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
50638         (casin_test_data): New variable.
50639         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
50640         (casinh_test_data): New variable.
50641         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
50642         (catan_test_data): New variable.
50643         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
50644         (catanh_test_data): New variable.
50645         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
50646         (ccos_test_data): New variable.
50647         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
50648         (ccosh_test_data): New variable.
50649         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
50650         (cexp_test_data): New variable.
50651         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
50652         (clog_test_data): New variable.
50653         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
50654         (clog10_test_data): New variable.
50655         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
50656         (conj_test_data): New variable.
50657         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
50658         (cproj_test_data): New variable.
50659         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
50660         (csin_test_data): New variable.
50661         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
50662         (csinh_test_data): New variable.
50663         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
50664         (csqrt_test_data): New variable.
50665         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
50666         (ctan_test_data): New variable.
50667         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
50668         (ctan_tonearest_test_data): New variable.
50669         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
50670         (ctan_towardzero_test_data): New variable.
50671         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
50672         (ctan_downward_test_data): New variable.
50673         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
50674         (ctan_upward_test_data): New variable.
50675         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
50676         (ctanh_test_data): New variable.
50677         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
50678         (ctanh_tonearest_test_data): New variable.
50679         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
50680         (ctanh_towardzero_test_data): New variable.
50681         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
50682         (ctanh_downward_test_data): New variable.
50683         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
50684         (ctanh_upward_test_data): New variable.
50685         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
50686         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
50687         of BUILD_COMPLEX.
50689         * math/libm-test.inc (struct test_ff_f_data): New type.
50690         (struct test_ff_f_data_nexttoward): Likewise.
50691         (RUN_TEST_LOOP_2_f): New macro.
50692         (RUN_TEST_LOOP_ff_f): Likewise.
50693         (atan2_test_data): New variable.
50694         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
50695         (copysign_test_data): New variable.
50696         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
50697         (fdim_test_data): New variable.
50698         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
50699         (fmax_test_data): New variable.
50700         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
50701         (fmin_test_data): New variable.
50702         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
50703         (fmod_test_data): New variable.
50704         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
50705         (hypot_test_data): New variable.
50706         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
50707         (nextafter_test_data): New variable.
50708         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
50709         (nexttoward_test_data): New variable.
50710         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
50711         (pow_test_data): New variable.
50712         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
50713         (pow_tonearest_test_data): New variable.
50714         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
50715         (pow_towardzero_test_data): New variable.
50716         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
50717         (pow_downward_test_data): New variable.
50718         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
50719         (pow_upward_test_data): New variable.
50720         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
50721         (remainder_test_data): New variable.
50722         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
50723         (scalb_test_data): New variable.
50724         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
50725         * sysdeps/i386/fpu/libm-test-ulps: Update.
50727 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
50729         * math/libm-test.inc (fma_test): Use max_value instead of local
50730         variable fltmax.
50731         (nextafter_test): Likewise.
50733         * math/libm-test.inc (acos_towardzero_test_data): New variable.
50734         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50735         (acos_downward_test_data): New variable.
50736         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50737         (acos_upward_test_data): New variable.
50738         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50739         (acosh_test_data): New variable.
50740         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
50741         (asin_test_data): New variable.
50742         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
50743         (asin_tonearest_test_data): New variable.
50744         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50745         (asin_towardzero_test_data): New variable.
50746         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50747         (asin_downward_test_data): New variable.
50748         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50749         (asin_upward_test_data): New variable.
50750         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50751         (asinh_test_data): New variable.
50752         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
50753         (atan_test_data): New variable.
50754         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
50755         (atanh_test_data): New variable.
50756         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
50757         (cbrt_test_data): New variable.
50758         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
50759         (ceil_test_data): New variable.
50760         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
50761         (cos_test_data): New variable.
50762         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
50763         (cos_tonearest_test_data): New variable.
50764         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50765         (cos_towardzero_test_data): New variable.
50766         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50767         (cos_downward_test_data): New variable.
50768         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50769         (cos_upward_test_data): New variable.
50770         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50771         (cosh_test_data): New variable.
50772         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
50773         (cosh_tonearest_test_data): New variable.
50774         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50775         (cosh_towardzero_test_data): New variable.
50776         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50777         (cosh_downward_test_data): New variable.
50778         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50779         (cosh_upward_test_data): New variable.
50780         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50781         (erf_test_data): New variable.
50782         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
50783         (erfc_test_data): New variable.
50784         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
50785         (exp_test_data): New variable.
50786         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
50787         (exp_tonearest_test_data): New variable.
50788         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50789         (exp_towardzero_test_data): New variable.
50790         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50791         (exp_downward_test_data): New variable.
50792         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50793         (exp_upward_test_data): New variable.
50794         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50795         (exp10_test_data): New variable.
50796         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
50797         (exp2_test_data): New variable.
50798         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
50799         (expm1_test_data): New variable.
50800         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
50801         (fabs_test_data): New variable.
50802         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
50803         (floor_test_data): New variable.
50804         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
50805         (j0_test_data): New variable.
50806         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
50807         (j1_test_data): New variable.
50808         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
50809         (log_test_data): New variable.
50810         (log_test): Run tests with RUN_TEST_LOOP_f_f.
50811         (log10_test_data): New variable.
50812         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
50813         (log1p_test_data): New variable.
50814         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
50815         (log2_test_data): New variable.
50816         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
50817         (logb_test_data): New variable.
50818         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
50819         (logb_downward_test_data): New variable.
50820         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50821         (nearbyint_test_data): New variable.
50822         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
50823         (rint_test_data): New variable.
50824         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
50825         (rint_tonearest_test_data): New variable.
50826         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50827         (rint_towardzero_test_data): New variable.
50828         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50829         (rint_downward_test_data): New variable.
50830         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50831         (rint_upward_test_data): New variable.
50832         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50833         (round_test_data): New variable.
50834         (round_test): Run tests with RUN_TEST_LOOP_f_f.
50835         (sin_test_data): New variable.
50836         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
50837         (sin_tonearest_test_data): New variable.
50838         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50839         (sin_towardzero_test_data): New variable.
50840         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50841         (sin_downward_test_data): New variable.
50842         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50843         (sin_upward_test_data): New variable.
50844         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50845         (sinh_test_data): New variable.
50846         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
50847         (sinh_tonearest_test_data): New variable.
50848         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50849         (sinh_towardzero_test_data): New variable.
50850         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50851         (sinh_downward_test_data): New variable.
50852         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50853         (sinh_upward_test_data): New variable.
50854         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50855         (sqrt_test_data): New variable.
50856         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
50857         (tan_test_data): New variable.
50858         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
50859         (tan_tonearest_test_data): New variable.
50860         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50861         (tan_towardzero_test_data): New variable.
50862         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50863         (tan_downward_test_data): New variable.
50864         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50865         (tan_upward_test_data): New variable.
50866         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50867         (tanh_test_data): New variable.
50868         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
50869         (tgamma_test_data): New variable.
50870         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
50871         (trunc_test_data): New variable.
50872         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
50873         (y0_test_data): New variable.
50874         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
50875         (y1_test_data): New variable.
50876         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
50877         (significand_test_data): New variable.
50878         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
50880 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
50882         [BZ #12387]
50883         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
50885 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50887         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
50889 2013-05-10  Andreas Jaeger  <aj@suse.de>
50891         [BZ #15448]
50892         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
50893         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
50895 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
50897         * math/gen-libm-test.pl (adjust_arg): New function.
50898         (special_functions): Handle generating output in both functions
50899         and arrays.
50900         (parse_args): Likewise.
50901         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
50902         $in_func argument to parse_args.
50903         * math/libm-test.inc (struct test_f_f_data): New type.
50904         (IF_ROUND_INIT_): New macro.
50905         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
50906         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
50907         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
50908         (IF_ROUND_INIT_FE_UPWARD): Likewise.
50909         (ROUND_RESTORE_): Likewise.
50910         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
50911         (ROUND_RESTORE_FE_TONEAREST): Likewise.
50912         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
50913         (ROUND_RESTORE_FE_UPWARD): Likewise.
50914         (RUN_TEST_LOOP_f_f): New macro.
50915         (acos_test_data): New variable.
50916         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
50917         (acos_tonearest_test_data): New variable.
50918         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50920 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50922         * benchtests/bench-skeleton.c (startup): Fix coding style.
50924 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
50926         [BZ #6809]
50927         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
50928         negative infinity argument.
50929         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
50930         negative infinity argument.
50931         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
50932         negative infinity argument.
50933         * math/libm-test.inc (tgamma_test): Expect errno to be set for
50934         domain errors.
50936 2013-05-10  Florian Weimer  <fweimer@redhat.com>
50938         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
50939         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
50940         * iconv/iconv_prog.c (main): Likewise.
50941         * locale/programs/charmap-dir.c (charmap_readdir)
50942         (fopen_uncompressed): Likewise.
50943         * locale/programs/locfile.c (siblings_uncached)
50944         (write_locale_data): Use lstat64 instead of lstat.
50945         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
50946         stat.
50948 2013-05-10  Andreas Jaeger  <aj@suse.de>
50950         [BZ #15395]
50951         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
50952         localization.
50953         Include <locale.h>.
50955 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
50957         * elf/dl-close.c (_dl_close_worker): Add comments.
50959 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
50961         [BZ #15359]
50962         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
50963         high part of pi/2.
50964         (__ieee754_rem_pio2l): Update comments.
50966         [BZ #15429]
50967         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
50968         high part of pi/2.
50969         (__ieee754_rem_pio2l): Update comments.
50971         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
50972         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
50974         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
50975         M_PI_4l.
50977         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
50978         (M_PI_34_LOG10El): Likewise.
50979         (M_PI2_LOG10El): Likewise.
50980         (M_PI4_LOG10El): Likewise.
50981         (M_PI_LOG10El): Likewise.
50983 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50985         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50987 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
50989         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
50990         (MINUS_ZERO_INIT): Likewise.
50991         (PLUS_INFTY_INIT): Likewise.
50992         (MINUS_INFTY_INIT): Likewise.
50993         (QNAN_VALUE_INIT): Likewise.
50994         (MAX_VALUE_INIT): Likewise.
50995         (MIN_VALUE_INIT): Likewise.
50996         (MIN_SUBNORM_VALUE_INIT): Likewise.
50997         (plus_zero): Initialize with PLUS_ZERO_INIT.
50998         (minus_zero): Initialize with MINUS_ZERO_INIT.
50999         (plus_infty): Initialize with PLUS_INFTY_INIT.
51000         (minus_infty): Initialize with MINUS_INFTY_INIT.
51001         (qnan_value): Initialize with QNAN_VALUE_INIT.
51002         (max_value): Initialize with MAX_VALUE_INIT.
51003         (min_value): Initialize with MIN_VALUE_INIT.
51004         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
51006         * math/libm-test.inc (RUN_TEST_if_f): New macro.
51007         (jn_test): Use TEST_if_f instead of TEST_ff_f.
51008         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
51009         (yn_test): Use TEST_if_f instead of TEST_ff_f.
51011         * math/libm-test.inc (RUN_TEST_f_f): New macro.
51012         (RUN_TEST_2_f): Likewise.
51013         (RUN_TEST_ff_f): Likewise.
51014         (RUN_TEST_fi_f): Likewise.
51015         (RUN_TEST_fl_f): Likewise.
51016         (RUN_TEST_fff_f): Likewise.
51017         (RUN_TEST_c_f): Likewise.
51018         (RUN_TEST_f_f1): Likewise.
51019         (RUN_TEST_fF_f1): Likewise.
51020         (RUN_TEST_fI_f1): Likewise.
51021         (RUN_TEST_ffI_f1): Likewise.
51022         (RUN_TEST_c_c): Likewise.
51023         (RUN_TEST_cc_c): Likewise.
51024         (RUN_TEST_f_i): Likewise.
51025         (RUN_TEST_f_i_tg): Likewise.
51026         (RUN_TEST_ff_i_tg): Likewise.
51027         (RUN_TEST_f_b): Likewise.
51028         (RUN_TEST_f_b_tg): Likewise.
51029         (RUN_TEST_f_l): Likewise.
51030         (RUN_TEST_f_L): Likewise.
51031         (RUN_TEST_sincos): Likewise.
51032         * math/gen-libm-test.pl (new_test): Take new argument to indicate
51033         whether to show exceptions.  Do not include ");\n" in return
51034         value.
51035         (special_functions): Output call to RUN_TEST_sincos instead of
51036         check_float calls.  Update calls to new_test.
51037         (parse_args): Output call to single RUN_TEST_* macro instead of
51038         check_* calls and other assignments.  Update calls to new_test.
51040         [BZ #2546]
51041         [BZ #2560]
51042         [BZ #5159]
51043         [BZ #15426]
51044         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
51045         input to result for tgamma overflow.
51046         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
51047         (gamma_coeff): New variable.
51048         (NCOEFF): New macro.
51049         (gamma_positive): New function.
51050         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
51051         underflow here.  Use gamma_positive instead of exp (lgamma) for
51052         other arguments.
51053         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
51054         (gamma_coeff): New variable.
51055         (NCOEFF): New macro.
51056         (gammaf_positive): New function.
51057         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
51058         underflow here.  Use gamma_positive instead of exp (lgamma) for
51059         other arguments.
51060         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
51061         (gamma_coeff): New variable.
51062         (NCOEFF): New macro.
51063         (gammal_positive): New function.
51064         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
51065         underflow here.  Use gamma_positive instead of exp (lgamma) for
51066         other arguments.
51067         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
51068         (gamma_coeff): New variable.
51069         (NCOEFF): New macro.
51070         (gammal_positive): New function.
51071         (__ieee754_gammal_r): Handle positive infinity, overflow and
51072         underflow here.  Handle NaN the same as positive infinity.  Remove
51073         check x < 0xffffffff for negative integers.  Use gamma_positive
51074         instead of exp (lgamma) for other arguments.
51075         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
51076         (gamma_coeff): New variable.
51077         (NCOEFF): New macro.
51078         (gammal_positive): New function.
51079         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
51080         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
51081         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
51082         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
51083         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
51084         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
51085         * sysdeps/generic/math_private.h (__gamma_productf): New
51086         prototype.
51087         (__gamma_product): Likewise.
51088         (__gamma_productl): Likewise.
51089         * math/Makefile (libm-calls): Add gamma_product.
51090         * math/libm-test.inc (tgamma_test): Add more tests.
51091         * sysdeps/i386/fpu/libm-test-ulps: Update.
51092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51094 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
51096         * benchtests/bench-skeleton.c (main): Preheat CPU.
51098 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
51100         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
51102 2013-05-07  Roland McGrath  <roland@hack.frob.com>
51104         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
51105         and _dl_skip_args_internal.
51107 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
51109         * manual/message.texi (Message Translation): Talk about users.
51110         Message to key mapping impacts design.
51112 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51114         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
51116         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
51118         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
51119         * sysdeps/wordsize-64/glob64.c: ... here.
51121         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
51122         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
51123         New macros.
51125         * debug/getlogin_r_chk.c: Moved to ...
51126         * login/getlogin_r_chk.c: ... here.
51127         * debug/Makefile (routines): Move getlogin_r_chk to ...
51128         * login/Makefile (routines): ... here.
51129         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
51130         * login/Versions (libc: GLIBC_2.4): ... here.
51132         * io/poll.c (__poll): Renamed from poll.
51133         Add libc_hidden_def.
51134         (poll): Define as weak alias.
51136         * debug/ptsname_r_chk.c: Moved to ...
51137         * login/ptsname_r_chk.c: ... here.
51138         * debug/Makefile (routines): Move ptsname_r_chk to ...
51139         * login/Makefile (routines): ... here.
51140         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
51141         * login/Versions (libc: GLIBC_2.4): ... here.
51143         * posix/getlogin.c: Moved to ...
51144         * login/getlogin.c: ... here.
51145         * posix/getlogin_r.c: Moved to ...
51146         * login/getlogin_r.c: ... here.
51147         * posix/getlogin_r.c: Moved to ...
51148         * login/getlogin_r.c: ... here.
51149         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
51150         * login/Makefile (routines): ... here.
51151         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
51152         * login/Versions (libc: GLIBC_2.0): ... here.
51154         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
51155         (setrlimit): Define as weak alias.
51157         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
51158         Call __ names for open, ftruncate, and close.
51159         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
51160         (truncate): Define as weak alias.
51162 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
51164         * math/gen-libm-test.pl (parse_args): Initialize x before each
51165         test of frexp, modf and remquo.
51167         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
51168         test signgam value.
51170 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51172         [BZ #15418]
51173         [BZ #15419]
51174         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
51175         internal tests.
51176         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51178 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51180         * elf/dl-writev.h: New file.
51181         * elf/dl-misc.c: Include it.
51182         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
51183         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
51185 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
51187         * math/libm-test.inc (noXFails): Remove variable.
51188         (noXPasses): Likewise.
51189         (BUILD_COMPLEX_INT): Remove macro.
51190         (print_screen): Remove xfail argument.
51191         (print_screen_max_error): Likewise.
51192         (update_stats): Likewise.
51193         (print_max_error): Likewise.  Update calls to other affected
51194         functions.
51195         (print_complex_max_error): Likewise.
51196         (test_single_exception): Update calls to print_screen.
51197         (test_single_errno): Likewise.
51198         (check_float_internal): Remove xfail argument.  Update calls to
51199         other affected functions.
51200         (check_float): Likewise.
51201         (check_complex): Likewise.
51202         (check_int): Likewise.
51203         (check_long): Likewise.
51204         (check_bool): Likewise.
51205         (check_longlong): Likewise.
51206         (main): Don't print noXFails and noXPasses.
51207         * math/gen-libm-test.pl (top level): Don't mention expected
51208         failure handling in comment.
51209         (new_test): Don't handle expected failures.
51210         (parse_args): Don't mention expected failure handling in comment.
51211         (generate_testfile): Don't handle expected failures.
51212         (parse_ulps): Likewise.
51213         (print_ulps_file): Likewise.
51214         (get_failure): Remove function.
51215         (output_test): Don't handle expected failures.
51216         * make/README.libm-test: Don't mention expected failure handling.
51218         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
51219         (minus_zero): Likewise.
51220         (plus_infty): Likewise.
51221         (minus_infty): Likewise.
51222         (qnan_value): Likewise.
51223         (max_value): Likewise.
51224         (min_value): Likewise.
51225         (min_subnorm_value): Likewise.
51226         (initialize): Do not initialize those variables dynamically.
51228 2013-05-03  Roland McGrath  <roland@hack.frob.com>
51230         * io/open.c (__open_2): Moved to ...
51231         * io/open_2.c: ... this new file.
51232         * io/open64.c (__open64_2): Moved to ...
51233         * io/open64_2.c: ... this new file.
51234         * io/openat.c (__openat_2): Moved to ...
51235         * io/openat_2.c: ... this new file.
51236         * io/openat64.c (__openat64_2): Moved to ...
51237         * io/openat64_2.c: ... this new file.
51238         * io/Makefile (routines): Add them.
51239         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
51240         * sysdeps/unix/sysv/linux/open_2.c: File removed.
51241         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
51242         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
51243         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
51244         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
51245         (__openat64): Add hidden_ver.
51246         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
51247         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
51249         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
51250         Separately conditionalize setting of GLRO(dl_sysinfo) so
51251         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
51252         as well, but the actual setting is only under [NEED_DL_SYSINFO].
51254 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51256         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
51257         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
51258         definition.
51259         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
51260         * sysdeps/unix/sysv/linux/powerpc/init-first.c
51261         (_libc_vdso_platform_setup): Add __vdso_time initialization.
51262         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
51263         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
51265 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
51267         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
51268         test signgam value.
51270         * math/libm-test.inc (hypot_test): Do not use
51271         IGNORE_ZERO_INF_SIGN.
51273 2013-05-03  Andreas Jaeger  <aj@suse.de>
51275         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
51276         Linux 3.9.
51277         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
51278         (PF_MAX): Adjust for VSOCK change.
51280 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51282         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51284 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
51286         [BZ #15264]
51287         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
51288         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
51289         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
51291 2013-05-02  David S. Miller  <davem@davemloft.net>
51293         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51295 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
51297         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
51299 2013-05-01  Roland McGrath  <roland@hack.frob.com>
51301         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
51303 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
51305         [BZ #14952]
51306         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
51307         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51308         Use __attribute__ ((__gnu_inline__)).
51309         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51310         Don't use __attribute__ ((__gnu_inline__)).
51312 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
51314         [BZ #15423]
51315         * math/s_catan.c (__catan): Handle small real or imaginary part of
51316         input specially to avoid spurious underflow.
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  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51329         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51331 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
51333         [BZ #15416]
51334         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
51335         accurately for denominator in atan2.
51336         * math/s_catanf.c (__catanf): Likewise.
51337         * math/s_catanh.c (__catanh): Likewise.
51338         * math/s_catanhf.c (__catanhf): Likewise.
51339         * math/s_catanhl.c (__catanhl): Likewise.
51340         * math/s_catanl.c (__catanl): Likewise.
51341         * math/libm-test.inc (catan_test): Add more tests.
51342         (catanh_test): Likewise.
51343         * sysdeps/i386/fpu/libm-test-ulps: Update.
51344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51346 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51348         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
51350         * benchtests/Makefile (bench): Remove slow benchmarks.
51351         * benchtests/atan-inputs: Add slow benchmark inputs.
51352         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
51353         (BENCH_FUNC): Accept variant offset.
51354         (VARIANT): Define.
51355         * benchtests/bench-skeleton.c (main): Run benchmark for each
51356         variant.
51357         * benchtests/cos-inputs: Add slow benchmark inputs.
51358         * benchtests/exp-inputs: Likewise.
51359         * benchtests/pow-inputs: Likewise.
51360         * benchtests/sin-inputs: Likewise.
51361         * benchtests/slowatan-inputs: Remove.
51362         * benchtests/slowatan.c: Remove.
51363         * benchtests/slowcos-inputs: Remove.
51364         * benchtests/slowcos.c: Remove.
51365         * benchtests/slowexp-inputs: Remove.
51366         * benchtests/slowexp.c: Remove.
51367         * benchtests/slowpow-inputs: Remove.
51368         * benchtests/slowpow.c: Remove.
51369         * benchtests/slowsin-inputs: Remove.
51370         * benchtests/slowsin.c: Remove.
51371         * benchtests/slowtan-inputs: Remove.
51372         * benchtests/slowtan.c: Remove.
51373         * benchtests/tan-inputs: Add slow benchmark inputs.
51374         * scripts/bench.pl: Parse comments and directives.
51376         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
51377         in CPPFLAGS.
51378         ($(objpfx)bench-%.c): Remove *-ITER.
51379         * benchtests/bench-modf.c: Remove definition of ITER.
51380         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
51381         (main): Loop for DURATION seconds instead of fixed number of
51382         iterations.
51383         * scripts/bench.pl: Don't expect iterations in parameters.
51385 2013-04-29  Roland McGrath  <roland@hack.frob.com>
51387         * io/fchdir.c (__fchdir): Renamed from fchdir.
51388         (fchdir): Define as weak alias.
51390 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
51392         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
51393         (ERRNO_EDOM): Likewise.
51394         (ERRNO_ERANGE): Likewise.
51395         (noErrnoTests): New variable.
51396         (init_max_error): Set errno to 0.
51397         (test_single_errno): New function.
51398         (test_errno): Likewise.
51399         (check_float_internal): Call test_errno.  Set errno to 0.
51400         (check_complex): Refer to errno tests in comment.
51401         (check_int): Call test_errno.  Set errno to 0.
51402         (check_long): Likewise.
51403         (check_bool): Likewise.
51404         (check_longlong): Likewise.
51405         (cos_test): Use ERRNO_* flags for errno tests instead of
51406         check_int.
51407         (expm1_test): Likewise.
51408         (fmod_test): Likewise.
51409         (ilogb_test): Likewise.
51410         (lgamma_test): Likewise.
51411         (pow_test): Likewise.
51412         (remainder_test): Likewise.
51413         (sin_test): Likewise.
51414         (tan_test): Likewise.
51415         (yn_test): Likewise.
51416         (initialize): Set errno to 0.
51417         (main): Print number of errno tests.
51418         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
51420 2013-04-29  Andreas Jaeger  <aj@suse.de>
51422         [BZ #15084]
51423         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
51424         and RES_USEVC.
51426         [BZ #15085]
51427         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
51428         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
51429         unimplemented.
51431         [BZ #15380]
51432         * stdlib/random.c (__initstate): Return NULL if
51433         __initstate fails.
51435         [BZ #15086]
51436         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
51437         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
51438         RES_SNGLKUPREOP.
51440 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51442         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51444 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
51446         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
51447         of individual tests.
51448         (casin_test): Likewise.
51449         (casinh_test): Likewise.
51451 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
51453         [BZ #15409]
51454         * math/s_catan.c (__catan): Handle arguments with large real or
51455         imaginary part separately without squaring.
51456         * math/s_catanf.c (__catanf): Likewise.
51457         * math/s_catanh.c (__catanh): Likewise.
51458         * math/s_catanhf.c (__catanhf): Likewise.
51459         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
51460         and redefine.
51461         (__catanhl): Handle arguments with large real or imaginary part
51462         separately without squaring.
51463         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
51464         and redefine.
51465         (__catanl): Handle arguments with large real or imaginary part
51466         separately without squaring.
51467         * math/libm-test.inc (catan_test): Add more tests.
51468         (catanh_test): Likewise.
51469         * sysdeps/i386/fpu/libm-test-ulps: Update.
51470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51472 2013-04-27  Andreas Jaeger  <aj@suse.de>
51474         [BZ #15007]
51475         * stdlib/stdlib.h: Update guards for qecvt.
51476         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
51477         <stdlib.h>.
51479 2013-04-27  Allan McRae  <allan@archlinux.org>
51481         * sysdeps/i386/fpu/libm-test-ulps: Update.
51483 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
51485         [BZ #15406]
51486         * math/s_catan.c: Include <float.h>.
51487         (__catan): Ensure underflow exception occurs for underflowed
51488         result.
51489         * math/s_catanf.c: Include <float.h>.
51490         (__catanf): Ensure underflow exception occurs for underflowed
51491         result.
51492         * math/s_catanh.c: Include <float.h>.
51493         (__catanh): Ensure underflow exception occurs for underflowed
51494         result.
51495         * math/s_catanhf.c: Include <float.h>.
51496         (__catanhf): Ensure underflow exception occurs for underflowed
51497         result.
51498         * math/s_catanhl.c: Include <float.h>.
51499         (__catanhl): Ensure underflow exception occurs for underflowed
51500         result.
51501         * math/s_catanl.c: Include <float.h>.
51502         (__catanl): Ensure underflow exception occurs for underflowed
51503         result.
51504         * math/libm-test.inc (catan_test): Add more tests.
51505         (catanh_test): Likewise.
51507         [BZ #15405]
51508         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
51509         underflowed result.
51510         * math/s_ccoshf.c (__ccoshf): Likewise.
51511         * math/s_ccoshl.c (__ccoshl): Likewise.
51512         * math/s_csin.c (__csin): Likewise.
51513         * math/s_csinf.c (__csinf): Likewise.
51514         * math/s_csinh.c (__csinh): Likewise.
51515         * math/s_csinhf.c (__csinhf): Likewise.
51516         * math/s_csinhl.c (__csinhl): Likewise.
51517         * math/s_csinl.c (__csinl): Likewise.
51518         * math/libm-test.inc (ccos_test): Add more tests.
51519         (ccosh_test): Likewise.
51520         (csin_test): Likewise.
51521         (csinh_test): Likewise.
51523 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51525         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
51526         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
51527         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
51528         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
51529         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
51530         powerpc/power5+/fpu folders.
51531         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
51534 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
51536         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51538 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
51540         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
51541         additions to variable.
51542         [$(config-machine) = x86_64] (modules-names): Likewise.
51543         ($(objpfx)tst-audit3): Remove dependency.
51544         ($(objpfx)tst-audit3.out): Likewise.
51545         ($(objpfx)tst-audit4): Likewise.
51546         ($(objpfx)tst-audit4.out): Likewise.
51547         ($(objpfx)tst-audit5): Likewise.
51548         ($(objpfx)tst-audit5.out): Likewise.
51549         ($(objpfx)tst-audit6): Likewise.
51550         ($(objpfx)tst-audit6.out): Likewise.
51551         ($(objpfx)tst-audit7): Likewise.
51552         ($(objpfx)tst-audit7.out): Likewise.
51553         (tst-audit3-ENV): Remove variable.
51554         (tst-audit4-ENV): Likewise.
51555         (tst-audit5-ENV): Likewise.
51556         (tst-audit6-ENV): Likewise.
51557         (tst-audit7-ENV): Likewise.
51558         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
51559         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
51560         addition to variable.
51561         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
51562         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
51563         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
51564         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
51565         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
51566         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
51567         tst-audit3, tst-audit4 and tst-audit5.
51568         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
51569         tst-audit6 and tst-audit7.
51570         [$(subdir) = elf] (modules-names): Add audit modules for those
51571         tests.
51572         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
51573         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
51574         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
51575         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
51576         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
51577         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
51578         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
51579         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
51580         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
51581         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
51582         [$(subdir) = elf] (tst-audit3-ENV): New variable.
51583         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
51584         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
51585         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
51586         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
51587         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
51588         Likewise.
51589         [$(subdir) = elf && $(config-cflags-avx) = yes]
51590         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
51591         [$(subdir) = elf && $(config-cflags-avx) = yes]
51592         (CFLAGS-tst-auditmod4a.c): Likewise.
51593         [$(subdir) = elf && $(config-cflags-avx) = yes]
51594         (CFLAGS-tst-auditmod4b.c): Likewise.
51595         [$(subdir) = elf && $(config-cflags-avx) = yes]
51596         (CFLAGS-tst-auditmod6b.c): Likewise.
51597         [$(subdir) = elf && $(config-cflags-avx) = yes]
51598         (CFLAGS-tst-auditmod6c.c): Likewise.
51599         [$(subdir) = elf && $(config-cflags-avx) = yes]
51600         (CFLAGS-tst-auditmod7b.c): Likewise.
51601         * elf/tst-audit3.c: Move to ...
51602         * sysdeps/x86_64/tst-audit3.c: ... here.
51603         * elf/tst-audit4.c: Move to ...
51604         * sysdeps/x86_64/tst-audit4.c: ... here.
51605         * elf/tst-audit5.c: Move to ...
51606         * sysdeps/x86_64/tst-audit5.c: ... here.
51607         * elf/tst-audit6.c: Move to ...
51608         * sysdeps/x86_64/tst-audit6.c: ... here.
51609         * elf/tst-audit7.c: Move to ...
51610         * sysdeps/x86_64/tst-audit7.c: ... here.
51611         * elf/tst-auditmod3a.c: Move to ...
51612         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
51613         * elf/tst-auditmod3b.c: Move to ...
51614         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
51615         * elf/tst-auditmod4a.c: Move to ...
51616         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
51617         * elf/tst-auditmod4b.c: Move to ...
51618         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
51619         * elf/tst-auditmod5a.c: Move to ...
51620         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
51621         * elf/tst-auditmod5b.c: Move to ...
51622         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
51623         * elf/tst-auditmod6a.c: Move to ...
51624         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
51625         * elf/tst-auditmod6b.c: Move to ...
51626         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
51627         * elf/tst-auditmod6c.c: Move to ...
51628         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
51629         * elf/tst-auditmod7a.c: Move to ...
51630         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
51631         * elf/tst-auditmod7b.c: Move to ...
51632         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
51634 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
51636         [BZ #15366]
51637         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
51638         define unconditionally.
51639         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
51640         define unconditionally.
51641         (INT8_C, INT16_C, etc.): Likewise.
51643 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
51645         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
51646         __ehdr_start with hidden visibility.
51648         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
51650 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
51652         * math/libm-test.inc (cos_test): Use accurate hex constants.
51653         (sincost_test): Likewise.
51655 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
51657         * math/libm-test.inc (catan_test): Add more tests.
51658         (catanh_test): Likewise.
51660         * math/s_catanf.c (__catanf): Use suffixed floating-point
51661         constants.
51662         * math/s_catanhf.c (__catanhf): Likewise.
51663         * math/s_catanhl.c (__catanhl): Likewise.
51664         * math/s_catanl.c (__catanl): Likewise.
51666         [BZ #15394]
51667         * math/s_catan.c (__catan): Calculate imaginary part of result
51668         with log1p not log unless computing log of number close to 0.
51669         * math/s_catanf.c (__catanf): Likewise.
51670         * math/s_catanl.c (__catanl): Likewise.
51671         * math/s_catanh.c (__catanh): Calculate real part of result with
51672         log1p not log unless computing log of number close to 0.
51673         * math/s_catanhf.c (__catanhf): Likewise.
51674         * math/s_catanhl.c (__catanhl): Likewise.
51675         * math/libm-test.inc (catan_test): Add more tests.
51676         (catanh_test): Likewise.
51677         * sysdeps/i386/fpu/libm-test-ulps: Update.
51678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51680 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51682         * benchtests/Makefile: Mention files in which fast and slow
51683         paths of math functions are implemented.
51685 2013-04-23  Roland McGrath  <roland@hack.frob.com>
51687         * sysdeps/posix/timespec_get.c: New file.
51689 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51691         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
51692         POWER.
51693         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
51694         for POWER.
51695         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
51696         powerpc/power5/fpu folders.
51697         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
51698         * benchtests/Makefile: Add modf testcase.
51699         * benchtests/bench-modf.c: New file: Benchmark test for mo
51701 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
51703         [BZ #14888]
51704         * time/Makefile (tests): Add tst-strptime-whitespace.
51705         * time/strptime_l.c (get_number): Use ISSPACE.
51706         (__strptime_internal): Likewise.
51707         * time/tst-strptime-whitespace.c: New test case.
51709 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
51711         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
51712         member.
51713         (_nss_files_init): Set it here.
51715 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
51717         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
51718         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
51719         unsigned.
51721 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
51723         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
51725 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51727         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
51728         size just once.
51730 2013-04-21  David S. Miller  <davem@davemloft.net>
51732         * po/ru.po: Update Russion translation from translation project.
51734 2013-04-17  Adam Conrad  <adconrad@0c3.net>
51736         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
51737         and setfsgid.
51739 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
51741         * configure.in: Remove i386 configure warning. Remove i386 case.
51742         * configure: Regenerate.
51743         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
51744         Add example to error message.
51745         * sysdeps/i386/configure: Regenerate.
51747 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51749         * benchtests/Makefile (bench): Add cos, tan, slowcos and
51750         slowtan.
51751         * benchtests/cos-inputs: New file.
51752         * benchtests/slowcos-inputs: New file.
51753         * benchtests/slowcos.c: New file.
51754         * benchtests/slowtan-inputs: New file.
51755         * benchtests/slowtan.c: New file.
51756         * benchtests/tan-inputs: New file.
51758 2013-04-16  Roland McGrath  <roland@hack.frob.com>
51760         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
51761         considered kosher.
51763 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51765         * benchtests/Makefile: Include cppflags-iterator.mk to add
51766         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
51768         * Makefile.in (bench-clean): New target.
51769         * benchtests/Makefile (bench-clean): Likewise.
51771 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
51773         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
51775 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
51777         * stdio-common/tstdiomisc.c: Fix coding-style violation.
51779 2013-04-15  Andreas Schwab  <schwab@suse.de>
51781         * nscd/grpcache.c (cache_addgr): Properly check for short write.
51782         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51783         * nscd/pwdcache.c (cache_addpw): Likewise.
51784         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
51785         more than recsize.
51787 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51789         * benchtests/Makefile (bench): Write all output to
51790         bench-out.tmp together.
51792 2013-04-15  Andreas Schwab  <schwab@suse.de>
51794         * nscd/nscd.c (main): Don't fork again after closing files.
51796 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51798         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
51800         * benchtests/Rules (bench-deps): Collect dependencies into a
51801         single variable.  Add Makefile to dependencies.
51802         ($(objpfx)bench-%.c): Depend on bench-deps.
51804 2013-04-12  Roland McGrath  <roland@hack.frob.com>
51805             Xavier Roche  <roche+kml2@exalead.com>
51807         [BZ #15361]
51808         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
51809         just that it's a file descriptor.
51810         * manual/llio.texi (Synchronizing AIO Operations): Update description
51811         for EBADF error from aio_fsync.
51813 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51815         * Rules (bench): Move target definition...
51816         * benchtests/Makefile: ... here.
51818 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
51820         * math/libm-test.inc (cos_test): Fix PI/2 test.
51821         (sincos_test): Likewise.
51822         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
51823         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
51825 2013-04-11  Andreas Schwab  <schwab@suse.de>
51827         [BZ #13988]
51828         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
51829         accept exponent character only when digits were seen.
51830         * stdio-common/Makefile (tests): Add bug26.
51831         * stdio-common/bug26.c: New file.
51833         [BZ #14293]
51834         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
51835         non-freeable.
51837 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51839         * Makeconfig (rtld-prefix): Define built linker prefix.
51840         * Rules (run-bench): Use it.
51841         * math/Makefile (run-regen-ulps): Likewise.
51843         * Rules (bench): Remove eval.
51845 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51846             Roland McGrath  <roland@hack.frob.com>
51847             Ondrej Bilka  <neleai@seznam.cz>
51849         [BZ #15346]
51850         * time/getdate.c: Include ctype.h and alloca.h.
51851         (__getdate_r): Trim leading and trailing spaces of input.
51852         * time/tst-getdate.c (tests): Add tests with leading and
51853         trailing spaces.
51855 2013-04-08  Roland McGrath  <roland@hack.frob.com>
51857         [BZ #14280]
51858         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
51859         when computing value.
51861 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51863         * math/README.libm-test (How can I generate "libm-test-ulps"?):
51864         Use testrun.sh to run libm tests.
51866         [BZ #15309]
51867         * elf/dl-open.c (dl_open_worker): memset all of seen array.
51869 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
51871         [BZ #15264]
51872         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
51874 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51876         * Makefile.in (regen-ulps): New target.
51877         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
51878         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
51879         [ifneq (no,$(PERL)] (regen-ulps): New target.
51880         [ifeq (no,$(PERL)] (regen-ulps): New target.
51881         * math/libm-test.inc (ulps_file_name): Define.
51882         (output_dir): New variable.
51883         (options): Add "output-dir" option.
51884         (parse_opt): Handle 'o' case.
51885         (main): If output_dir is non-NULL use it as a prefix
51886         otherwise use "".
51887         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
51889 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51891         [BZ #10060, #10062]
51892         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
51893         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
51894         fail configure if __sync_val_compare_and_swap is not inlined.
51895         * sysdeps/i386/configure: Regenerate.
51896         * configure.in: Build for i686 when configured for i386.
51897         * configure: Regenerate.
51898         * README: Remove i386 reference.
51900 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51902         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
51903         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51905 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
51907         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
51908         (lmsnanval): New variables.
51909         (F): Add conversion tests.
51910         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
51911         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
51913         * stdio-common/tstdiomisc.c (F): Properly collect individual
51914         tests' results.
51916         [BZ #14686, #15336]
51917         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
51918         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
51919         Instead, use input NaN values or generate a qNaN by arithmetic
51920         operation.  Also fix bugs to comply with the standard.
51921         * math/libm-test.inc (remainder_test): Add more tests.
51923         [BZ #15335, #15342]
51924         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
51925         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
51926         input NaN values or generate a qNaN by arithmetic operation.
51928         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
51929         unreachable code.
51931         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
51932         definitions.
51934 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
51936         [BZ #14478]
51937         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
51938         underflowed result.
51939         * math/s_cexpf.c (__cexpf): Likewise.
51940         * math/s_cexpl.c (__cexpl): Likewise.
51941         * math/libm-test.inc (cexp_test): Add more tests.
51943 2013-04-03  Andreas Schwab  <schwab@suse.de>
51945         [BZ #15330]
51946         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
51947         order arrays from heap if bigger than alloca cutoff.
51949 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
51951         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
51952         (SNAN_TESTS_double): Refer to GCC PR56831.
51953         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
51954         GCC PR56828.
51956 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
51958         * Rules (bench): Move bench.out after the run is complete.
51960         * Rules (bench): Echo currently running benchmark.
51962         * benchtests/Makefile (bench): Add atan and slowatan.
51963         * benchtests/atan-inputs: New file.
51964         * benchtests/slowatan-inputs: New file.
51965         * benchtests/slowatan.c: New file.
51967         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
51968         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
51969         its value.
51971         [BZ #15305]
51972         * sysdeps/unix/sysv/linux/kernel-features.h
51973         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
51974         __ASSUME_XFS_RESTRICTED_CHOWN.
51975         * sysdeps/unix/sysv/linux/pathconf.c
51976         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
51977         Save and restore errno.
51979 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
51981         [BZ #15327]
51982         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
51983         arguments using __kernel_casinh.
51984         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
51985         arguments using __kernel_casinhf.
51986         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
51987         arguments using __kernel_casinhl.
51988         * math/libm-test.inc (cacosh_test): Add more tests.
51989         * sysdeps/i386/fpu/libm-test-ulps: Update.
51990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51992 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51994         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
51995         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
51997         * bench/Makefile (bench): Add sin and slowsin.
51998         * benchtests/sin-inputs: New file.
51999         * benchtests/slowsin-inputs: New file.
52000         * benchtests/slowsin.c: New file.
52002         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
52003         (bench): Add slowexp and slowpow.
52004         (exp-ITER): Increase iterations.
52005         (pow-ITER): Likewise.
52006         * benchtests/exp-inputs: Change input.
52007         * benchtests/pow-inputs: Likewise.
52008         * benchtests/slowexp-inputs: New file.
52009         * benchtests/slowexp.c: New file.
52010         * benchtests/slowpow-inputs: New file.
52011         * benchtests/slowpow.c: New file.
52013 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52015         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
52016         instructions.
52017         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
52018         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
52019         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
52020         * benchtests/Makefile: Add rint benchtest.
52021         * benchtests/rint-inputs: Input for rint benchtest.
52023 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52025         * Versions.def (libm): Add GLIBC_2.18.
52026         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
52027         hidden libm prototypes.
52028         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
52029         * math/Makefile (libm-calls): Add s_issignaling.
52030         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
52031         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
52032         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
52033         declaration.
52034         * math/math.h [__USE_GNU] (issignaling): New macro.
52035         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
52036         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
52037         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
52038         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
52039         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
52040         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
52041         * manual/arith.texi (issignaling): New section.
52042         * manual/libm-err-tab.pl (@all_functions): Update comment.
52043         * math/gen-libm-test.pl (parse_args): Apply special handling for
52044         issignaling.
52045         * math/libm-test.inc (print_float, issignaling_test): New
52046         functions.
52047         (check_float_internal): Add issignaling checks.
52048         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
52049         default definition.
52050         * sysdeps/powerpc/math-tests.h: New file.
52051         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
52052         tests.
52053         * math/test-snan.c (TEST_FUNC): Likewise.
52055 2013-03-30  David S. Miller  <davem@davemloft.net>
52057         * po/de.po: Update from translation team.
52059 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
52061         [BZ #10357]
52062         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52063         imaginary part less than 1.0 and real part less than 0.5
52064         specially.
52065         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52066         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52067         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
52068         (cacos_test): Add more tests.
52069         (casin_test): Likewise.
52070         (casinh_test): Likewise.
52071         * sysdeps/i386/fpu/libm-test-ulps: Update.
52072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52074 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52076         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
52077         ONE with its value.
52079         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
52080         (__pow_mp): Replace ONE and MONE with their values.
52081         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52082         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
52083         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52084         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
52085         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52086         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52088         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
52090         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
52091         (__pow_mp): Replace ZERO and MZERO with their values.
52092         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52093         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52094         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52095         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
52096         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52097         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
52098         (__sqr): Likewise.
52100         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
52102         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
52104 2013-03-28  Roland McGrath  <roland@hack.frob.com>
52106         * include/stdlib.h [!SHARED] (__call_tls_dtors):
52107         Declare with __attribute__ ((weak)).
52108         * stdlib/exit.c (__libc_atexit) [!SHARED]:
52109         Call __call_tls_dtors only if it's not NULL.
52111 2013-03-28  Roland McGrath  <roland@hack.frob.com>
52113         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
52114         didn't do it already, then set _dl_phdr and _dl_phnum based on the
52115         magic __ehdr_start linker symbol if it's defined.
52116         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
52117         them up here if it was already done.
52119         * elf/dl-support.c (_dl_phdr): Make pointer to const.
52120         (_dl_aux_init): Use const in cast when setting it.
52121         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
52122         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
52123         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
52125         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
52126         Declare them here.
52127         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
52128         * csu/libc-tls.c: Nor here.
52129         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
52131         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
52132         (__libc_message): Never call vsyslog.
52134 2013-03-28  Alan Modra  <amodra@gmail.com>
52136         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
52137         Define as empty.
52138         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
52139         Likewise.
52141 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52143         [BZ #15214]
52144         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
52145         underflow.
52146         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52148 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52150         [BZ #15304]
52151         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
52152         Don't add gid passed as argument.
52154         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
52156 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
52158         [BZ #15307]
52159         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52160         imaginary part between 1.0 and 1.5 and real part less than 0.5
52161         specially.
52162         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52163         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52164         * math/libm-test.inc (cacos_test): Add more tests.
52165         (casin_test): Likewise.
52166         (casinh_test): Likewise.
52167         * sysdeps/i386/fpu/libm-test-ulps: Update.
52168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52170 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52172         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
52173         constants.
52174         (norm): Likewise.
52175         (denorm): Likewise.
52176         (__dbl_mp): Likewise.
52177         (add_magnitudes): Likewise.
52178         (sub_magnitudes): Likewise.
52179         (__add): Likewise.
52180         (__sub): Likewise.
52181         (__mul): Likewise.
52182         (__sqr): Likewise.
52183         (__inv): Likewise.
52184         (__dvd): Likewise.
52186         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
52187         commented code.
52188         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
52189         (__dubcos): Likewise.
52190         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
52191         (__ieee754_acos): Likewise.
52192         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52193         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
52194         (__exp1): Likewise.
52195         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52196         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52197         (log1): Likewise.
52198         (my_log2): Likewise.
52199         (checkint): Likewise.
52200         * sysdeps/ieee754/dbl-64/e_remainder.c
52201         (__ieee754_remainder): Likewise.
52202         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52203         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
52204         (bsloww): Likewise.
52205         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52207         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
52208         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
52209         MANTISSA_STORE_T to store computations on mantissa.  Use
52210         macros for rounding and division.
52211         (denorm): Likewise.
52212         (__dbl_mp): Likewise.
52213         (add_magnitudes): Likewise.
52214         (sub_magnitudes): Likewise.
52215         (__mul): Likewise.
52216         (__sqr): Likewise.
52217         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
52218         powers of two in terms of TWOPOW macro.
52219         (mp_no): Make type of mantissa as MANTISSA_T.
52220         [!RADIXI]: Define RADIXI.
52221         [!TWO52]: Define TWO52.
52222         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
52224 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52226         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
52227         llroundl symbol when building for PPC32.
52229 2013-03-24  Mark H Weaver  <mhw@netris.org>
52231         * manual/arith.texi (Normalization Functions): Fix prototypes for
52232         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
52234 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52236         [BZ #13889]
52237         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
52238         high value to check if expl overflow.
52239         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
52240         to check for underflow and overflow.
52241         * math/libm-test.inc: Add exp test.
52243 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
52245         [BZ #11120]
52246         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
52247         with NOT_IN_libc.
52249 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52251         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
52252         symbol.
52254 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52256         * math/gen-libm-test.pl (parse_args, special_functions): Properly
52257         wrap blocks consisting of several statements.
52259         * sysdeps/generic/math-tests.h: New file.
52260         * sysdeps/i386/fpu/math-tests.h: Likewise.
52261         * math/test-snan.c: Include it.
52262         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
52264 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52266         [BZ #15285]
52267         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
52268         (__ieee754_j0l): Do not improve calculations using cos of twice
52269         input for inputs above LDBL_MAX / 2.0L.
52270         (__ieee754_y0l): Likewise.
52271         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
52272         (__ieee754_j1l): Do not improve calculations using cos of twice
52273         input for inputs above LDBL_MAX / 2.0L.
52274         (__ieee754_y1l): Likewise.
52275         * math/libm-test.inc (j0_test): Add another test.
52276         (j1_test): Likewise.
52277         (y0_test): Likewise.
52278         (y1_test): Likewise.
52279         * sysdeps/i386/fpu/libm-test-ulps: Update.
52281 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52283         * Rules ($(objpfx)bench-%.c): Include code from a C source
52284         file.
52286 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52288         [BZ #15287]
52289         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52290         imaginary part 1.0 and real part less than 0.5 specially.
52291         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52292         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52293         * math/libm-test.inc (cacos_test): Add more tests.
52294         (casin_test): Likewise.
52295         (casinh_test): Likewise.
52296         * sysdeps/i386/fpu/libm-test-ulps: Update.
52297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52299 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52301         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
52302         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
52304 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
52306         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
52307         * config.make.in (config-cflags-sse4): Remove variable.
52308         (config-cflags-avx): Likewise.
52309         (config-cflags-sse2avx): Likewise.
52310         (config-cflags-novzeroupper): Likewise.
52311         (config-asflags-i686): Likewise.
52312         (have-mfma4): Likewise.
52313         (have-as-vis3): Likewise.
52314         (MIG): Likewise.
52315         * configure.in (MIG): Do not AC_SUBST.
52316         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
52317         (libc_cv_cc_sse4): Do not AC_SUBST.
52318         (libc_cv_cc_avx): Likewise.
52319         (libc_cv_cc_sse2avx): Likewise.
52320         (libc_cv_cc_novzeroupper): Likewise.
52321         (libc_cv_cc_fma4): Likewise.
52322         (libc_cv_as_i686): Likewise.
52323         (libc_cv_sparc_as_vis3): Likewise.
52324         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
52325         LIBC_CONFIG_VAR.
52326         (config-asflags-i686): Likewise.
52327         (config-cflags-avx): Likewise.
52328         (config-cflags-sse2avx): Likewise.
52329         (have-mfma4): Likewise.
52330         (config-cflags-novzeroupper): Likewise.
52331         * sysdeps/mach/configure.in (MIG): Likewise.
52332         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
52333         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
52334         LIBC_CONFIG_VAR.
52335         (config-cflags-avx): Likewise.
52336         (config-cflags-sse2avx): Likewise.
52337         (have-mfma4): Likewise.
52338         (config-cflags-novzeroupper): Likewise.
52339         * configure: Regenerated.
52340         * sysdeps/i386/configure: Likewise.
52341         * sysdeps/mach/configure: Likewise.
52342         * sysdeps/sparc/configure: Likewise.
52343         * sysdeps/x86_64/configure: Likewise.
52345 2013-03-20  Roland McGrath  <roland@hack.frob.com>
52347         [BZ #14812]
52348         * locale/programs/localedef.c (options): Put N_ translation marker
52349         on argument names, not just descriptions.
52351 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52353         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
52355 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
52357         [BZ #14176]
52358         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
52360 2013-03-19  Roland McGrath  <roland@hack.frob.com>
52362         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
52363         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
52364         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
52365         [!BEFORE_ABORT] (before_abort): New function.
52366         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
52367         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
52368         (writev_for_fatal): New function.
52369         (WRITEV_FOR_FATAL): New macro; call that.
52370         (backtrace_and_maps): New function.
52371         (BEFORE_ABORT): New macro; call that.
52372         (struct str_list): Type removed.
52373         (__libc_message, __libc_fatal): Functions removed.
52374         Include <sysdeps/posix/libc_fatal.c> instead.
52376 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
52378         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
52379         constants.
52380         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
52381         double constants.
52383 2013-03-19  Andreas Schwab  <schwab@suse.de>
52385         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
52386         * sysdeps/gnu/configure: Regenerate.
52388         * configure.in: Substitute libc_cv_rtlddir.
52389         * configure: Regenerate.
52390         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
52391         * Makeconfig (rtlddir, inst_rtlddir): New variables.
52392         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
52393         * elf/Makefile (install-others, CFLAGS-interp.c)
52394         (ldso_install, common-ldd-rewrite): Likewise.
52395         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
52396         $(inst_slibdir)/$(rtld-installed-name).
52397         * scripts/rellns-sh: Add -p option.
52398         * Makerules (make-shlib-link): Use rellns-sh to get relative name
52399         for source.
52401 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52403         * manual/nptl.texi: Renamed to ...
52404         * manual/threads.texi: ... this.
52405         * manual/Makefile (chapters): Update.
52407 2013-03-18  Roland McGrath  <roland@hack.frob.com>
52409         [BZ #14812]
52410         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
52411         on argument names, not just descriptions.
52412         * malloc/memusagestat.c (options): Likewise.
52413         * nss/getent.c (options): Likewise.
52415 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
52417         [BZ #14812]
52418         * iconv/iconv_prog.c (options): Put N_ translation marker
52419         on argument names, not just descriptions.
52420         * iconv/iconvconfig.c (options): Likewise.
52422 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
52424         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
52425         implementation which is faster on all x86_64 architectures.
52426         Tested on AMD, Intel Nehalem, SNB, IVB.
52427         * sysdeps/x86_64/strnlen.S: Likewise.
52429         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
52430         Remove all multiarch strlen and strnlen versions.
52431         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
52432         Remove strlen and strnlen related parts.
52434         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
52435         Inline strlen part.
52436         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
52438         * sysdeps/x86_64/multiarch/strlen.S: Remove.
52439         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
52440         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
52441         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
52442         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
52443         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
52445 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
52447         * manual/memory.texi (Malloc Tunable Parameters):
52448         Sort parameters alphabetically. Add comments for missing entries.
52450 2013-03-17  David S. Miller  <davem@davemloft.net>
52452         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52454 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
52456         [BZ #15283]
52457         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
52458         for arguments at most half maximum finite value.
52459         * math/libm-test.inc (j0_test): Add more tests.
52460         (j1_test): Likewise.
52461         (y0_test): Likewise.
52462         (y1_test): Likewise.
52463         * sysdeps/i386/fpu/libm-test-ulps: Update.
52464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52466         [BZ #14155]
52467         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
52468         1 / x and functions P and Q for arguments above 0x1p256L.
52469         (__ieee754_y0l): Likewise.
52470         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
52471         (__ieee754_y1l): Likewise.
52472         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
52473         (j1_test): Likewise.
52474         (y0_test): Likewise.
52475         (y1_test): Likewise.
52477 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
52479         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
52480         variable.
52482 2013-03-15  Roland McGrath  <roland@hack.frob.com>
52484         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
52485         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
52486         zero since it's initialized to EXEC_PAGESIZE.
52488         * sysdeps/unix/sysv/linux/ldsodefs.h
52489         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
52490         * sysdeps/generic/ldsodefs.h: ... here.
52492 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
52494         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
52496         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
52497         math/test-snan.c.
52498         * math/test-snan.c: Renamed from
52499         sysdeps/powerpc/fpu/test-powerpc-snan.c.
52500         * math/Makefile (tests): Add test-snan.
52501         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
52502         test-powerpc-snan.
52504         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
52505         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
52506         functions.
52507         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
52508         __builtin_nan family of functions.
52509         * math/libm-test.inc (initialize): Initialize qnan_value with
52510         __builtin_nan family of functions.
52511         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
52512         Remove variables.
52513         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
52514         Remove functions.
52515         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
52516         storage class.  Initialize qNaN_var and sNaN_var with
52517         __builtin_nan and __builtin_nans families of functions,
52518         respectively.
52520         * math/libm-test.inc (acosh_test): Also test with qNaN input.
52521         (sqrt_test): Remove duplicate test with qNaN input.
52522         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
52523         (round_test, signbit_test, significand_test): Note missing +/-Inf
52524         as well as qNaN tests.
52526         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
52527         qNaN_var.  Fix a few strings, too.
52528         * math/libm-test.inc (nan_value): Rename to qnan_value.
52529         * math/gen-libm-test.pl (%beautify): Adjust to that.
52530         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
52531         * math/test-misc.c (main): Likewise.
52532         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
52533         to __qnan_bytes, and __qnan_union, respectively.
52534         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
52535         Likewise.
52536         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
52537         and lqnanval, respectively.
52538         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
52539         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
52540         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
52541         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
52543         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
52544         * math/test-misc.c (main) [__x86_64__]: Enable test for long
52545         doubles.
52547         * math/test-misc.c (main): Fix copy'n'pastos.
52548         * misc/tst-efgcvt.c (special): Likewise.
52550         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
52551         Remove declarations.
52553 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52555         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
52556         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
52557         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
52558         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
52560 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52562         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
52563         macro to return vdso values correctly in IFUNC implementations.
52564         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
52565         Optimization by using IFUNC.
52567 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52568             Richard Henderson  <rth@redhat.com>
52569             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52571         * Makefile.in (bench): New target.
52572         * NEWS: Mention the benchmark framework.
52573         * Rules (bench): Likewise.
52574         (binaries-bench): Generate binaries for functions to
52575         benchmark.
52576         * benchtests/Makefile: New makefile for benchmark tests.
52577         * benchtests/bench-skeleton.c: New skeleton file for benchmark
52578         programs.
52579         * benchtests/exp-inputs: New input file for EXP function.
52580         * benchtests/pow-inputs: New input file for POW function.
52581         * scripts/bench.pl: New script to generate source files for
52582         benchmark programs.
52584 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52586         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
52587         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
52588         computations on mantissa.  Use macros for rounding and
52589         division.
52590         (denorm): Likewise.
52591         (__dbl_mp): Likewise.
52592         (add_magnitudes): Likewise.
52593         (sub_magnitudes): Likewise.
52594         (__mul): Likewise.
52595         (__sqr): Likewise.
52596         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
52597         powers of two in terms of TWOPOW macro.
52598         (mp_no): Make type of mantissa as MANTISSA_T.
52599         [!RADIXI]: Define RADIXI.
52600         [!TWO52]: Define TWO52.
52601         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
52603         * manual/nptl.texi (cindex): Modify threads to pthreads.
52605 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
52607         * sysdeps/x86_64/preconfigure: Regenerated.
52609 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
52611         [BZ #14155]
52612         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
52613         0x1p28 and above.
52614         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
52615         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
52616         0x1p28 and above.
52617         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
52618         * math/libm-test.inc (j0_test): Do not allow one spurious
52619         underflow exception.
52620         (y1_test): Likewise.
52622 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52624         * manual/Makefile (chapters): Add nptl.
52625         * manual/debug.texi (Debugging Support): Add link to Threads
52626         chapter.
52627         * manual/nptl.texi: New file.
52629         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
52631 2013-03-14  Petr Baudis  <pasky@ucw.cz>
52633         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
52634         for non-NULL pointer before the memory validity test. Pointed
52635         out by Holger Brunck <holger.brunck@keymile.com>.
52637 2013-03-13  Andreas Schwab  <schwab@suse.de>
52639         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
52640         instead of .os.
52642 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
52644         * timezone/zic.c: Update from tzcode 2013b.
52646 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
52648         * manual/install.texi (Configuring and compiling):
52649         Mention i686 and i586.
52650         * INSTALL: Regenerate.
52652 2013-03-12  Roland McGrath  <roland@hack.frob.com>
52654         * sysdeps/init_array/elf-init.c: New file.
52655         * csu/elf-init.c
52656         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
52657         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
52659         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
52660         __gmon_start__ as global, but as static with a .preinit_array pointer.
52661         * sysdeps/init_array/gmon-start.c: New file.  Use that.
52662         * sysdeps/init_array/crti.S: New file, empty except for comments.
52663         * sysdeps/init_array/crtn.S: Likewise.
52665 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
52667         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
52668         definining bcopy.
52669         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52670         Remove Prefer_SSE_for_memop.
52671         * sysdeps/x86_64/multiarch/init-arch.h: Remove
52672         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
52673         HAS_PREFER_SSE_FOR_MEMOP.
52674         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
52675         memset-x86-64.
52676         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
52677         Remove bzero, memset ifunc support.
52678         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
52679         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
52680         * sysdeps/x86_64/multiarch/memset.S: Likewise.
52681         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
52683 2013-03-11  Andreas Schwab  <schwab@suse.de>
52685         [BZ #15234]
52686         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
52687         by SHLIB_COMPAT.
52688         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
52689         (GLIBC_2.16): Remove pthread_atfork.
52691 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
52693         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
52694         (ptestcases.h): Likewise.
52696 2013-03-08  Roland McGrath  <roland@hack.frob.com>
52698         * Makeconfig ($(common-objpfx)config.status): Depend on
52699         sysdeps/*/preconfigure{,.in} too.
52701 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
52703         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
52704         (__free_hook): Use void * instead of __malloc_ptr_t.
52705         (__malloc_hook): Likewise.
52706         (__realloc_hook): Likewise.
52707         (__memalign_hook): Likewise.
52708         (__after_morecore_hook): Likewise.
52709         * malloc/arena.c (save_malloc_hook): Likewise.
52710         (save_free_hook): Likewise.
52711         * malloc/hooks.c (malloc_hook_ini): Likewise.
52712         (realloc_hook_ini): Likewise.
52713         (memalign_hook_ini): Likewise.
52714         * malloc/malloc.c (malloc_hook_ini): Likewise.
52715         (realloc_hook_ini): Likewise.
52716         (memalign_hook_ini): Likewise.
52717         (__free_hook): Likewise.
52718         (__malloc_hook): Likewise.
52719         (__realloc_hook): Likewise.
52720         (__memalign_hook): Likewise.
52721         (__libc_malloc): Likewise.
52722         (__libc_free): Likewise.
52723         (__libc_realloc): Likewise.
52724         (__libc_memalign): Likewise.
52725         (__libc_valloc): Likewise.
52726         (__libc_pvalloc): Likewise.
52727         (__libc_calloc): Likewise.
52728         (__posix_memalign): Likewise.
52729         * malloc/morecore.c (__sbrk): Likewise.
52730         (__default_morecore): Likewise.
52732         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
52734         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
52735         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
52736         __malloc_ptrdiff_t.
52738         * malloc/malloc.h (__malloc_size_t): Remove macro.
52739         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
52740         __malloc_size_t.
52741         (old_memalign_hook): Likewise.
52742         (old_realloc_hook): Likewise.
52743         (struct hdr): Likewise.
52744         (flood): Likewise.
52745         (mallochook): Likewise.
52746         (memalignhook): Likewise.
52747         (reallochook): Likewise.
52748         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
52749         (tr_old_realloc_hook): Likewise.
52750         (tr_old_memalign_hook): Likewise.
52751         (tr_mallochook): Likewise.
52752         (tr_reallochook): Likewise.
52753         (tr_memalignhook): Likewise.
52755 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52757         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
52758         default_ldbl_pack and using as default implementation.
52759         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
52760         implementation.
52761         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
52762         redundant definition.
52763         (ldbl_insert_mantissa): Likewise.
52764         (ldbl_canonicalize): Likewise.
52765         (ldbl_nearbyint): Likewise.
52766         (ldbl_pack): Rename to ldbl_pack_ppc.
52767         (ldbl_unpack): Rename to ldbl_unpack_ppc.
52768         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
52769         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
52771 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
52773         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
52774         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
52775         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
52776         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
52777         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
52778         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
52779         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
52780         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
52782 2013-03-07  Andreas Jaeger  <aj@suse.de>
52784         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52785         bits/mman-linux.h.
52787 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
52789         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
52790         Include mpa.h and declare __MPEXP.
52791         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
52792         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
52793         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
52794         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
52795         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
52796         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
52797         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
52799         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
52800         (__slowpow): Use long double EXPL and LOGL functions to
52801         compute POW.
52802         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
52803         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
52804         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
52805         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
52806         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
52807         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
52809         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
52810         intermediate variable to calculate exponent.
52811         (__sqr): Likewise.
52812         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
52813         Likewise.
52814         (__sqr): Likewise.
52816         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
52817         [!NO__SQR]: Define __sqr.
52818         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
52819         and NO__SQR.  Remove all code except __mul and __sqr.  Include
52820         sysdeps/ieee754/dbl-64/mpa.c.
52821         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52823         [BZ #12723]
52824         * posix/Makefile (tests): Add tst-pathconf.
52825         * posix/tst-pathconf.c: New test case.
52826         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
52827         _PC_PIPE_BUF.
52828         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
52830 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
52832         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
52834 2013-03-06  Andreas Jaeger  <aj@suse.de>
52836         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
52837         definition via __MAP_ANONYMOUS.
52839         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
52840         it's not part of Linux headers.
52842         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
52843         (MAP_HUGE_MASK): Define.
52845         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52846         Define.
52847         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52848         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52849         Define.
52850         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52851         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52852         Define.
52853         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52854         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
52855         Define.
52856         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52858         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
52859         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
52860         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
52861         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
52862         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
52863         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
52865         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52866         Handle f2fs.
52868         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52869         Handle f2fs and efivarfs.
52871         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
52872         f2fs.
52874         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
52875         (EFIVARFS_MAGIC): Add.
52876         (F2FS_LINK_MAX): Add.
52878 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52880         * stdio-common/vfprintf.c: Replace __builtin_expect with
52881         __glibc_unlikely.
52883 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
52885         [BZ #13550]
52886         * sysdeps/generic/bp-sym.h: Remove file.
52887         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
52888         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
52889         <bp-sym.h> and <bp-asm.h>.
52890         (__longjmp): Don't use BP_SYM.
52891         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
52892         and <bp-asm.h>.
52893         (memcpy): Don't use BP_SYM.
52894         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
52895         <bp-sym.h> and <bp-asm.h>.
52896         (memcpy): Don't use BP_SYM.
52897         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
52898         <bp-asm.h>.
52899         (memcpy): Don't use BP_SYM.
52900         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
52901         <bp-asm.h>.
52902         (memset): Don't use BP_SYM.
52903         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52904         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52905         (__bzero): Don't use BP_SYM.
52906         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52907         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52908         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
52909         <bp-sym.h> and <bp-asm.h>.
52910         (memcmp): Don't use BP_SYM.  Remove comment about bounded
52911         pointers.
52912         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
52913         <bp-sym.h> and <bp-asm.h>.
52914         (memcpy): Don't use BP_SYM.
52915         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
52916         <bp-sym.h> and <bp-asm.h>.
52917         (memset): Don't use BP_SYM.
52918         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52919         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52920         (__bzero): Don't use BP_SYM.
52921         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52922         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52923         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
52924         <bp-sym.h> and <bp-asm.h>.
52925         (strncmp): Don't use BP_SYM.  Remove comment about bounded
52926         pointers.
52927         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
52928         <bp-sym.h> and <bp-asm.h>.
52929         (memcpy): Don't use BP_SYM.
52930         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
52931         <bp-sym.h> and <bp-asm.h>.
52932         (memset): Don't use BP_SYM.
52933         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52934         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52935         (__bzero): Don't use BP_SYM.
52936         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52937         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52938         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
52939         <bp-sym.h> and <bp-asm.h>.
52940         (__memchr): Don't use BP_SYM.
52941         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
52942         <bp-sym.h> and <bp-asm.h>.
52943         (memcmp): Don't use BP_SYM.  Remove comment about bounded
52944         pointers.
52945         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
52946         <bp-sym.h> and <bp-asm.h>.
52947         (memcpy): Don't use BP_SYM.
52948         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
52949         <bp-sym.h> and <bp-asm.h>.
52950         (__mempcpy): Don't use BP_SYM.
52951         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
52952         <bp-sym.h> and <bp-asm.h>.
52953         (__memrchr): Don't use BP_SYM.
52954         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
52955         <bp-sym.h> and <bp-asm.h>.
52956         (memset): Don't use BP_SYM.
52957         (__bzero): Likewise.
52958         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
52959         <bp-sym.h> and <bp-asm.h>.
52960         (__rawmemchr): Don't use BP_SYM.
52961         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
52962         <bp-sym.h> and <bp-asm.h>.
52963         (__STRCMP): Don't use BP_SYM.
52964         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
52965         <bp-sym.h> and <bp-asm.h>.
52966         (strchr): Don't use BP_SYM.
52967         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
52968         <bp-sym.h> and <bp-asm.h>.
52969         (__strchrnul): Don't use BP_SYM.
52970         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
52971         <bp-sym.h> and <bp-asm.h>.
52972         (strlen): Don't use BP_SYM.
52973         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
52974         <bp-sym.h> and <bp-asm.h>.
52975         (strncmp): Don't use BP_SYM.  Remove comment about bounded
52976         pointers.
52977         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
52978         <bp-sym.h> and <bp-asm.h>.
52979         (__strnlen): Don't use BP_SYM.
52980         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
52981         <bp-sym.h> and <bp-asm.h>.
52982         (__GI__setjmp): Don't use BP_SYM.
52983         (_setjmp): Likewise.
52984         (__sigsetjmp): Likewise.
52985         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
52986         (L(start_addresses)): Don't use BP_SYM.
52987         (_start): Likewise.
52988         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
52989         <bp-asm.h>.
52990         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
52991         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
52992         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52993         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52994         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
52995         <bp-asm.h>.
52996         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
52997         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
52998         about bounded pointers.
52999         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53000         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53001         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
53002         <bp-asm.h>.
53003         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
53004         about bounded pointers.  Remove GKM FIXME comments.
53005         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53006         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
53007         <bp-asm.h>.
53008         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
53009         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
53010         Remove GKM FIXME comments.
53011         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53012         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53013         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
53014         <bp-asm.h>.
53015         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
53016         about bounded pointers.  Remove GKM FIXME comment.
53017         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
53018         and <bp-asm.h>.
53019         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53020         pointers.
53021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
53022         <bp-sym.h> and <bp-asm.h>.
53023         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
53025         <bp-sym.h> and <bp-asm.h>.
53026         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53027         comment.
53029 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53031         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
53032         call free(NULL).
53034 2013-03-05  David S. Miller  <davem@davemloft.net>
53036         * po/es.po: Update from translation team.
53038 2013-03-05  Andreas Jaeger  <aj@suse.de>
53040         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
53041         <bits/mman-linux.h>.
53042         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53043         is fine.
53044         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
53045         <bits/mman-linux.h> to end of file.
53046         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53047         is fine.
53048         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
53049         <bits/mman-linux.h> to end of file.
53050         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53051         is fine.
53052         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
53053         <bits/mman-linux.h> to end of file.
53055         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
53056         (MCL_CURRENT, MCL_FUTURE): Define here.
53058 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53060         [BZ #15232]
53061         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
53062         attribute_hidden.
53063         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
53065 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53067         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
53068         fourth parameter needed for rt_sigprocmask syscall.
53069         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
53070         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
53071         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
53072         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
53073         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
53074         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
53076 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
53078         [BZ #13550]
53079         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
53080         comment about bounded pointers.
53081         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
53082         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
53084 2013-03-04  Andreas Jaeger  <aj@suse.de>
53086         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
53087         common definitions.
53089         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
53090         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
53091         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
53092         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53093         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53094         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53096 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53098         [BZ #15055]
53099         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
53100         __ieee754_sqrl instead of __sqrl.
53102 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
53104         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
53105         * sysdeps/powerpc/fpu_control.h: ... here.
53106         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
53107         * sysdeps/powerpc/bits/fenvinline.h: ... here.
53108         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
53109         * sysdeps/powerpc/bits/mathinline.h: ... here.
53111 2013-03-01  Roland McGrath  <roland@hack.frob.com>
53113         * elf/dl-hwcaps.c (_dl_important_hwcaps):
53114         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
53115         to just [NEED_DL_SYSINFO_DSO].
53116         * elf/dl-support.c: Likewise.
53117         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
53118         * elf/rtld.c (dl_main): Likewise.
53119         * elf/setup-vdso.h (setup_vdso): Likewise.
53120         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
53121         * sysdeps/unix/sysv/linux/dl-sysdep.c
53122         (_dl_discover_osversion): Likewise.
53124 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
53126         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
53127         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53129 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
53131         * NEWS: Mention libm performance improvements and non-x86 PI
53132         futex support.
53134         * csu/libc-start.c (__pthread_initialize_minimal): Change
53135         function arguments.
53136         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53138 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
53140         [BZ #13550]
53141         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
53142         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
53143         <bp-sym.h> and <bp-asm.h>.
53144         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53145         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
53146         and <bp-asm.h>.
53147         (memcpy): Don't use BP_SYM.
53148         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
53149         <bp-asm.h>.
53150         (__mpn_add_n): Don't use BP_SYM.
53151         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
53152         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
53153         and <bp-asm.h>.
53154         (__mpn_addmul_1): Don't use BP_SYM.
53155         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53156         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
53157         <bp-sym.h>.
53158         (_setjmp): Don't use BP_SYM.
53159         (__novmx_setjmp): Likewise.
53160         (__GI__setjmp): Likewise.
53161         (__vmx_setjmp): Likewise.
53162         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
53163         <bp-sym.h>.
53164         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
53165         (__bzero): Don't use BP_SYM.
53166         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53167         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53168         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
53169         <bp-sym.h> and <bp-asm.h>.
53170         (memcpy): Don't use BP_SYM.
53171         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
53172         <bp-sym.h> and <bp-asm.h>.
53173         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53174         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
53175         <bp-sym.h> and <bp-asm.h>.
53176         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53177         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
53178         <bp-asm.h>.
53179         (__mpn_lshift): Don't use BP_SYM.
53180         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53181         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
53182         <bp-asm.h>.
53183         (memset): Don't use BP_SYM.
53184         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53185         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53186         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
53187         <bp-asm.h>.
53188         (__mpn_mul_1): Don't use BP_SYM.
53189         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53190         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
53191         <bp-sym.h> and <bp-asm.h>.
53192         (memcmp): Don't use BP_SYM.
53193         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
53194         <bp-sym.h> and <bp-asm.h>.
53195         (memcpy): Don't use BP_SYM.
53196         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
53197         <bp-sym.h> and <bp-asm.h>.
53198         (memset): Don't use BP_SYM.
53199         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
53200         <bp-sym.h> and <bp-asm.h>.
53201         (strncmp): Don't use BP_SYM.
53202         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
53203         <bp-sym.h> and <bp-asm.h>.
53204         (memcpy): Don't use BP_SYM.
53205         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
53206         <bp-sym.h> and <bp-asm.h>.
53207         (memset): Don't use BP_SYM.
53208         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
53209         <bp-sym.h> and <bp-asm.h>.
53210         (__memchr): Don't use BP_SYM.
53211         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
53212         <bp-sym.h> and <bp-asm.h>.
53213         (memcmp): Don't use BP_SYM.
53214         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
53215         <bp-sym.h> and <bp-asm.h>.
53216         (memcpy): Don't use BP_SYM.
53217         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
53218         <bp-sym.h> and <bp-asm.h>.
53219         (__mempcpy): Don't use BP_SYM.
53220         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
53221         <bp-sym.h> and <bp-asm.h>.
53222         (__memrchr): Don't use BP_SYM.
53223         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
53224         <bp-sym.h> and <bp-asm.h>.
53225         (memset): Don't use BP_SYM.
53226         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
53227         <bp-sym.h> and <bp-asm.h>.
53228         (__rawmemchr): Don't use BP_SYM.
53229         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
53230         <bp-sym.h> and <bp-asm.h>.
53231         (__STRCMP): Don't use BP_SYM.
53232         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
53233         <bp-sym.h> and <bp-asm.h>.
53234         (strchr): Don't use BP_SYM.
53235         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
53236         <bp-sym.h> and <bp-asm.h>.
53237         (__strchrnul): Don't use BP_SYM.
53238         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
53239         <bp-sym.h> and <bp-asm.h>.
53240         (strlen): Don't use BP_SYM.
53241         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
53242         <bp-sym.h> and <bp-asm.h>.
53243         (strncmp): Don't use BP_SYM.
53244         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
53245         <bp-sym.h> and <bp-asm.h>.
53246         (__strnlen): Don't use BP_SYM.
53247         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
53248         <bp-asm.h>.
53249         (__mpn_rshift): Don't use BP_SYM.
53250         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53251         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
53252         <bp-sym.h> and <bp-asm.h>.
53253         (__sigsetjmp): Don't use BP_SYM.
53254         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
53255         (L(start_addresses)): Don't use BP_SYM.
53256         (_start): Likewise.
53257         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
53258         <bp-asm.h>.
53259         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
53260         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53261         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53262         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
53263         <bp-asm.h>.
53264         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
53265         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53266         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53267         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
53268         <bp-asm.h>.
53269         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53270         comments.
53271         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53272         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
53273         <bp-asm.h>.
53274         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
53275         FIXME comments.
53276         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53277         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53278         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
53279         <bp-asm.h>.
53280         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53281         comment.
53282         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
53283         and <bp-asm.h>.
53284         (strncmp): Don't use BP_SYM,
53285         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
53286         <bp-asm.h>.
53287         (__mpn_sub_n): Don't use BP_SYM.
53288         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53289         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
53290         and <bp-asm.h>.
53291         (__mpn_submul_1): Don't use BP_SYM.
53292         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
53294         <bp-sym.h> and <bp-asm.h>.
53295         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
53297         <bp-sym.h> and <bp-asm.h>.
53298         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53299         comment.
53301 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53303         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
53304         Use ZK to minimize writes to Z.
53305         (sub_magnitudes): Simplify code a bit.
53306         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
53307         Use ZK to minimize writes to Z.
53308         (sub_magnitudes): Simplify code a bit.
53310 2013-02-27  Roland McGrath  <roland@hack.frob.com>
53312         * csu/gmon-start.c: Add special exception to license text.
53314 2013-02-27  Richard Henderson  <rth@redhat.com>
53316         * scripts/config.guess: Update from config.git.
53317         * scripts/config.sub: Likewise.
53319 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53321         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
53323         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
53325         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
53327         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
53329         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
53331 2013-02-26  Roland McGrath  <roland@hack.frob.com>
53333         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
53334         [$(build-shared = yes].
53336 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53338         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
53339         (__mul): Reduce iterations for calculating mantissa.
53341         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
53342         MPTWO.
53343         (__mpranred): Likewise.
53345         [BZ #15160]
53346         * malloc/memusagestat.c (main): Draw graphs for heap and stack
53347         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
53349 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
53351         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
53352         Define __attribute__.
53354 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53356         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
53357         unused.
53358         * posix/regex_internal.h (__attribute): Remove.
53359         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
53360         (re_string_context_at): Likewise.
53361         (bitset_not): Use __attribute__ and mark function as possibly
53362         unused.
53363         (bitset_merge): Likewise.
53364         (bitset_mask): Likewise.
53365         (re_string_char_size_at): Likewise.
53366         (re_string_wchar_at): Likewise.
53367         (re_string_elem_size_at): Likewise.
53369 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53371         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
53372         code.
53373         (cc32): Likewise.
53375         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
53376         (__acr): Likewise.
53377         (__cpy): Likewise.
53378         (norm): Likewise.
53379         (denorm): Likewise.
53380         (__dbl_mp): Likewise.
53381         (add_magnitudes): Likewise.
53382         (sub_magnitudes): Likewise.
53383         (__mul): Likewise.
53384         (__inv): Likewise.
53386         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
53387         style.
53389         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
53390         style.
53392         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
53393         code.
53395         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
53396         up changes with default code.
53397         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
53398         Likewise.
53400 2013-02-24  Allan McRae  <allan@archlinux.org>
53402         * manual/socket.texi (The Internet Namespace): Order menu items
53403         to match that in the file.
53405         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
53406         node listing of the info page menu.
53408 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
53410         [BZ #13550]
53411         * sysdeps/i386/bp-asm.h: Remove file.
53412         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
53413         (PARMS): Do not use macros from bp-asm.h.
53414         (S1): Likewise.
53415         (S2): Likewise.
53416         (SIZE): Likewise.
53417         (__mpn_add_n): Do not use BP_SYM
53418         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
53419         "bp-asm.h".
53420         (PARMS): Do not use macros from bp-asm.h.
53421         (S1): Likewise.
53422         (SIZE): Likewise.
53423         (__mpn_addmul_1): Do not use BP_SYM
53424         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
53425         "bp-asm.h".
53426         (PARMS): Do not use macros from bp-asm.h.
53427         (SIGMSK): Likewise.
53428         (_setjmp): Likewise.  Do not use BP_SYM.
53429         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
53430         "bp-asm.h".
53431         (PARMS): Do not use macros from bp-asm.h.
53432         (SIGMSK): Likewise.
53433         (setjmp): Likewise.  Do not use BP_SYM.
53434         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
53435         "bp-asm.h".
53436         (PARMS): Do not use macros from bp-asm.h.
53437         (__frexp): Do not use BP_SYM.
53438         (frexp): Likewise.
53439         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
53440         "bp-asm.h".
53441         (PARMS): Do not use macros from bp-asm.h.
53442         (__frexpf): Do not use BP_SYM.
53443         (frexpf): Likewise.
53444         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
53445         "bp-asm.h".
53446         (PARMS): Do not use macros from bp-asm.h.
53447         (__frexpl): Do not use BP_SYM.
53448         (frexpl): Likewise.
53449         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
53450         "bp-asm.h".
53451         (PARMS): Do not use macros from bp-asm.h.
53452         (__remquo): Do not use BP_SYM.
53453         (remquo): Likewise.
53454         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
53455         "bp-asm.h".
53456         (PARMS): Do not use macros from bp-asm.h.
53457         (__remquof): Do not use BP_SYM.
53458         (remquof): Likewise.
53459         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
53460         "bp-asm.h".
53461         (PARMS): Do not use macros from bp-asm.h.
53462         (__remquol): Do not use BP_SYM.
53463         (remquol): Likewise.
53464         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
53465         "bp-asm.h".
53466         (PARMS): Do not use macros from bp-asm.h.
53467         (DEST): Likewise.
53468         (SRC): Likewise.
53469         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
53470         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
53471         "bp-asm.h".
53472         (PARMS): Do not use macros from bp-asm.h.
53473         (strlen): Do not use BP_SYM.
53474         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
53475         "bp-asm.h".
53476         (PARMS): Do not use macros from bp-asm.h.
53477         (S1): Likewise.
53478         (S2): Likewise.
53479         (SIZE): Likewise.
53480         (__mpn_add_n): Do not use BP_SYM.
53481         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
53482         "bp-asm.h".
53483         (PARMS): Do not use macros from bp-asm.h.
53484         (S1): Likewise.
53485         (SIZE): Likewise.
53486         (__mpn_addmul_1): Do not use BP_SYM.
53487         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
53488         weak_alias.
53489         (bzero): Likewise.
53490         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
53491         "bp-asm.h".
53492         (PARMS): Do not use macros from bp-asm.h.
53493         (S): Likewise.
53494         (SIZE): Likewise.
53495         (__mpn_lshift): Do not use BP_SYM.
53496         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
53497         "bp-asm.h".
53498         (PARMS): Do not use macros from bp-asm.h.
53499         (DEST): Likewise.
53500         (SRC): Likewise.
53501         (LEN): Likewise.
53502         (memcpy): Likewise.  Do not use BP_SYM.
53503         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
53504         libc_hidden_def and weak_alias.
53505         (mempcpy): Do not use BP_SYM in weak_alias.
53506         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
53507         "bp-asm.h".
53508         (PARMS): Do not use macros from bp-asm.h.
53509         (DEST): Likewise.
53510         (LEN): Likewise.
53511         [!BZERO_P] (CHR): Likewise.
53512         (memset): Likewise.  Do not use BP_SYM.
53513         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
53514         "bp-asm.h".
53515         (PARMS): Do not use macros from bp-asm.h.
53516         (S1): Likewise.
53517         (SIZE): Likewise.
53518         (__mpn_mul_1): Do not use BP_SYM.
53519         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
53520         "bp-asm.h".
53521         (PARMS): Do not use macros from bp-asm.h.
53522         (S): Likewise.
53523         (SIZE): Likewise.
53524         (__mpn_rshift): Do not use BP_SYM.
53525         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
53526         "bp-asm.h".
53527         (PARMS): Do not use macros from bp-asm.h.
53528         (STR): Likewise.
53529         (CHR): Likewise.
53530         (strchr): Likewise.  Do not use BP_SYM.
53531         (index): Do not use BP_SYM in weak_alias.
53532         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
53533         "bp-asm.h".
53534         (PARMS): Do not use macros from bp-asm.h.
53535         (DEST): Likewise.
53536         (SRC): Likewise.
53537         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
53538         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
53539         "bp-asm.h".
53540         (PARMS): Do not use macros from bp-asm.h.
53541         (strlen): Do not use BP_SYM.
53542         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
53543         "bp-asm.h".
53544         (PARMS): Do not use macros from bp-asm.h.
53545         (S1): Likewise.
53546         (S2): Likewise.
53547         (SIZE): Likewise.
53548         (__mpn_sub_n): Do not use BP_SYM.
53549         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
53550         "bp-asm.h".
53551         (PARMS): Do not use macros from bp-asm.h.
53552         (S1): Likewise.
53553         (SIZE): Likewise.
53554         (__mpn_submul_1): Do not use BP_SYM.
53555         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
53556         "bp-asm.h".
53557         (PARMS): Do not use macros from bp-asm.h.
53558         (S1): Likewise.
53559         (S2): Likewise.
53560         (SIZE): Likewise.
53561         (__mpn_add_n): Do not use BP_SYM.
53562         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
53563         weak_alias.
53564         (bzero): Likewise.
53565         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
53566         "bp-asm.h".
53567         (PARMS): Do not use macros from bp-asm.h.
53568         (BLK2): Likewise.
53569         (LEN): Likewise.
53570         (memcmp): Do not use BP_SYM.
53571         (bcmp): Do not use BP_SYM in weak_alias.
53572         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
53573         "bp-asm.h".
53574         (PARMS): Do not use macros from bp-asm.h.
53575         (DEST): Likewise.
53576         (SRC): Likewise.
53577         (LEN): Likewise.
53578         (memcpy): Likewise.  Do not use BP_SYM.
53579         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
53580         "bp-asm.h".
53581         (PARMS): Do not use macros from bp-asm.h.
53582         (DEST): Likewise.
53583         (SRC): Likewise.
53584         (LEN): Likewise.
53585         (memmove): Likewise.  Do not use BP_SYM.
53586         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
53587         "bp-asm.h".
53588         (PARMS): Do not use macros from bp-asm.h.
53589         (DEST): Likewise.
53590         (SRC): Likewise.
53591         (LEN): Likewise.
53592         (__mempcpy): Likewise.  Do not use BP_SYM.
53593         (mempcpy): Do not use BP_SYM in weak_alias.
53594         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
53595         "bp-asm.h".
53596         (PARMS): Do not use macros from bp-asm.h.
53597         (DEST): Likewise.
53598         (LEN): Likewise.
53599         [!BZERO_P] (CHR): Likewise.
53600         (memset): Likewise.  Do not use BP_SYM.
53601         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
53602         "bp-asm.h".
53603         (PARMS): Do not use macros from bp-asm.h.
53604         (STR2): Likewise.
53605         (strcmp): Do not use BP_SYM.
53606         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
53607         "bp-asm.h".
53608         (PARMS): Do not use macros from bp-asm.h.
53609         (STR): Likewise.
53610         (DELIM): Likewise.
53611         [USE_AS_STRTOK_R] (SAVE): Likewise.
53612         (FUNCTION): Likewise.  Do not use BP_SYM.
53613         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
53614         aliases.
53615         (strtok_r): Likewise.
53616         (__GI___strtok_r): Likewise.
53617         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
53618         (PARMS): Do not use macros from bp-asm.h.
53619         (S): Likewise.
53620         (SIZE): Likewise.
53621         (__mpn_lshift): Do not use BP_SYM.
53622         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
53623         (PARMS): Do not use macros from bp-asm.h.
53624         (STR): Likewise.
53625         (CHR): Likewise.
53626         (__memchr): Do not use BP_SYM.
53627         (memchr): Do not use BP_SYM in weak_alias.
53628         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
53629         (PARMS): Do not use macros from bp-asm.h.
53630         (BLK2): Likewise.
53631         (LEN): Likewise.
53632         (memcmp): Do not use BP_SYM.
53633         (bcmp): Do not use BP_SYM in weak_alias.
53634         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
53635         (PARMS): Do not use macros from bp-asm.h.
53636         (S1): Likewise.
53637         (SIZE): Likewise.
53638         (__mpn_mul_1): Do not use BP_SYM.
53639         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
53640         "bp-asm.h".
53641         (PARMS): Do not use macros from bp-asm.h.
53642         (STR): Likewise.
53643         (CHR): Likewise.
53644         (__rawmemchr): Do not use BP_SYM.
53645         (rawmemchr): Do not use BP_SYM in weak_alias.
53646         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
53647         (PARMS): Do not use macros from bp-asm.h.
53648         (S): Likewise.
53649         (SIZE): Likewise.
53650         (__mpn_rshift): Do not use BP_SYM.
53651         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
53652         (PARMS): Do not use macros from bp-asm.h.
53653         (SIGMSK): Likewise.
53654         (__sigsetjmp): Likewise.  Do not use BP_SYM.
53655         * sysdeps/i386/start.S: Do not include "bp-sym.h".
53656         (_start): Do not use BP_SYM.
53657         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
53658         (PARMS): Do not use macros from bp-asm.h.
53659         (DEST): Likewise.
53660         (SRC): Likewise.
53661         (__stpcpy): Likewise.  Do not use BP_SYM.
53662         (stpcpy): Do not use BP_SYM in weak_alias.
53663         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
53664         "bp-asm.h".
53665         (PARMS): Do not use macros from bp-asm.h.
53666         (DEST): Likewise.
53667         (SRC): Likewise.
53668         (LEN): Likewise.
53669         (__stpncpy): Likewise.  Do not use BP_SYM.
53670         (stpncpy): Do not use BP_SYM in weak_alias.
53671         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
53672         (PARMS): Do not use macros from bp-asm.h.
53673         (STR): Likewise.
53674         (CHR): Likewise.
53675         (strchr): Likewise.  Do not use BP_SYM.
53676         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
53677         "bp-asm.h".
53678         (PARMS): Do not use macros from bp-asm.h.
53679         (STR): Likewise.
53680         (CHR): Likewise.
53681         (__strchrnul): Likewise.  Do not use BP_SYM.
53682         (strchrnul): Do not use BP_SYM in weak_alias.
53683         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
53684         "bp-asm.h".
53685         (PARMS): Do not use macros from bp-asm.h.
53686         (STOP): Likewise.
53687         (strcspn): Do not use BP_SYM.
53688         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
53689         "bp-asm.h".
53690         (PARMS): Do not use macros from bp-asm.h.
53691         (STR): Likewise.
53692         (STOP): Likewise.
53693         (strpbrk): Likewise.  Do not use BP_SYM.
53694         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
53695         "bp-asm.h".
53696         (PARMS): Do not use macros from bp-asm.h.
53697         (STR): Likewise.
53698         (CHR): Likewise.
53699         (strrchr): Likewise.  Do not use BP_SYM.
53700         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
53701         (PARMS): Do not use macros from bp-asm.h.
53702         (SKIP): Likewise.
53703         (strspn): Do not use BP_SYM.
53704         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
53705         (PARMS): Do not use macros from bp-asm.h.
53706         (STR): Likewise.
53707         (DELIM): Likewise.
53708         (SAVE): Likewise.
53709         (FUNCTION): Likewise.  Do not use BP_SYM.
53710         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
53711         aliases.
53712         (strtok_r): Likewise.
53713         (__GI___strtok_r): Likewise.
53714         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
53715         (PARMS): Do not use macros from bp-asm.h.
53716         (S1): Likewise.
53717         (S2): Likewise.
53718         (SIZE): Likewise.
53719         (__mpn_sub_n): Do not use BP_SYM.
53720         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
53721         "bp-asm.h".
53722         (PARMS): Do not use macros from bp-asm.h.
53723         (S1): Likewise.
53724         (SIZE): Likewise.
53725         (__mpn_submul_1): Do not use BP_SYM.
53726         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
53727         <bp-sym.h>.
53728         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
53729         and <bp-asm.h>.
53730         (PARMS): Do not use macros from bp-asm.h.
53731         (FLAGS): Likewise.
53732         (PTID): Likewise.
53733         (TLS): Likewise.
53734         (CTID): Likewise.
53735         (__clone): Do not use BP_SYM.
53736         (clone): Do not use BP_SYM in weak_alias.
53737         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
53738         and <bp-asm.h>.
53739         (PARMS): Do not use macros from bp-asm.h.
53740         (LEN): Likewise.
53741         (__mmap64): Do not use BP_SYM.
53742         (mmap64): Do not use BP_SYM in weak_alias.
53743         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
53744         <bp-sym.h> and <bp-asm.h>.
53745         (PARMS): Do not use macros from bp-asm.h.
53746         (__posix_fadvise64_l64): Do not use BP_SYM.
53747         * sysdeps/unix/sysv/linux/i386/semtimedop.S
53748         (PARMS): Do not use macros from bp-asm.h.
53749         (NSOPS): Likewise.
53750         (semtimedop): Do not use BP_SYM.
53751         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
53752         and <bp-asm.h>.
53754 2013-02-21  Allan McRae  <allan@archlinux.org>
53756         * manual/message.texi (Charset conversion in gettext):
53757         Move @end statement to beginning of line.
53759 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53761         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
53762         static.
53763         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
53764         Likewise.
53766         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
53767         (denorm): Likewise.
53768         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
53769         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
53771 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53773         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
53774         tail-call to the resolved function if pltexit isn't needed.
53776 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53778         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
53779         or Y being zero as being unlikely.
53780         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
53781         Likewise.
53783 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
53785         * manual/nss.texi (System Databases and Name Service Switch):
53786         Remove frobnicate @pxref.
53788 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
53790         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
53791         __attribute__ ((unused)) to __attribute__ ((__unused__)).
53793 2013-02-20  Petr Machata  <pmachata@redhat.com>
53795         * elf/elf.h (R_ARM_TARGET1): New macro.
53796         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
53797         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
53798         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
53799         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
53800         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
53801         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
53802         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
53803         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
53804         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
53805         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
53806         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
53807         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
53808         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
53809         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
53810         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
53811         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
53812         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
53813         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
53814         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
53815         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
53816         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
53817         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
53818         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
53819         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
53820         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
53821         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
53822         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
53823         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
53824         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
53825         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
53826         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
53827         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
53828         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
53829         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
53830         (R_ARM_THM_GOT_BREL12): Likewise.
53831         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
53832         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
53833         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
53834         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
53835         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
53836         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
53837         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
53838         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
53839         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
53841 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
53843         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
53844         __attribute_used__ to __attribute__ ((unused)).
53846 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53848         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
53849         powerpc mpa.c.
53850         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
53851         comment formatting.
53852         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
53854 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
53856         [BZ #13550]
53857         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
53858         Remove macro.
53859         (ENTER): Remove both macro definitions.
53860         (LEAVE): Likewise.
53861         (CHECK_BOUNDS_LOW): Likewise.
53862         (CHECK_BOUNDS_HIGH): Likewise.
53863         (CHECK_BOUNDS_BOTH): Likewise.
53864         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
53865         (RETURN_BOUNDED_POINTER): Likewise.
53866         (RETURN_NULL_BOUNDED_POINTER): Likewise.
53867         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
53868         (POP_ERRNO_LOCATION_RETURN): Likewise.
53869         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
53870         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53871         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
53872         macros.
53873         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53874         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
53875         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
53876         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
53877         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
53878         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
53879         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
53880         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
53881         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
53882         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
53883         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
53884         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
53885         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53886         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
53887         removed macros.
53888         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53889         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
53890         macros.
53891         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53892         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
53893         * sysdeps/i386/i586/memset.S (memset): Likewise.
53894         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
53895         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53896         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
53897         macros.
53898         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53899         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
53900         Change uses of L(2) to L(out).
53901         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
53902         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
53903         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
53904         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53905         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
53906         removed macros.
53907         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53908         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
53909         macros.
53910         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53911         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
53912         (RETURN): Do not use macro LEAVE.
53913         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
53914         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
53915         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
53916         * sysdeps/i386/i686/memset.S (memset): Likewise.
53917         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
53918         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
53919         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53920         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
53921         Likewise.
53922         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53923         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
53924         L(1_2) and L(1_3) into L(1).
53925         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
53926         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
53927         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53928         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
53929         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53930         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
53931         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
53932         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53933         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
53934         macros.
53935         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
53936         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53937         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
53938         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
53939         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
53940         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53941         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
53942         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
53943         * sysdeps/i386/strcspn.S (strcspn): Likewise.
53944         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
53945         * sysdeps/i386/strrchr.S (strrchr): Likewise.
53946         * sysdeps/i386/strspn.S (strspn): Likewise.
53947         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
53948         conditional code.
53949         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53950         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
53951         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
53952         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
53953         L(1_3) into L(1_1).
53954         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
53955         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53956         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
53957         macros.
53958         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53960 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
53962         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
53963         macro.
53965 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53967         * math/atest-exp.c (exp_mpn): Remove ROUND.
53968         * math/atest-exp2.c (exp_mpn): Likewise.
53969         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
53971         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
53972         * stdlib/tst-tls-atexit-lib.c: Likewise.
53973         * stdlib/tst-tls-atexit.c: Likewise.
53975 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53977         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
53978         and __attribute_alloc_size__.
53980 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53982         * include/programs/xmalloc.h: Change __attribute_alloc_size to
53983         __attribute_alloc_size__.
53984         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
53985         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
53987 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53989         * include/programs/xmalloc.h: New file.
53990         * catgets/gencat.c: Include it.
53991         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
53992         * elf/pldd.c: Likewise.
53993         * iconv/iconv_charmap.c: Likewise.
53994         * iconv/iconvconfig.c: Likewise.
53995         * iconv/strtab.c: Likewise.
53996         * locale/programs/locale.c: Likewise.
53997         * locale/programs/localedef.h: Likewise.
53998         * locale/programs/simple-hash.c: Likewise.
53999         * nscd/nscd.h: Likewise.
54000         * nss/makedb.c: Likewise.
54001         * sysdeps/generic/ldconfig.h: Likewise.
54003 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54005         * Versions.def: Add GLIBC_2.18.
54006         * include/link.h (struct link_map): New member l_tls_dtor_count.
54007         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
54008         (__call_tls_dtors): Likewise.
54009         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
54010         __cxa_thread_atexit_impl.
54011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54012         Likewise.
54013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54014         Likewise.
54015         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54016         Likewise.
54017         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54018         Likewise.
54019         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54020         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
54021         Likewise.
54022         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
54023         Likewise.
54024         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54025         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
54026         Likewise.
54027         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
54028         (tests): Add test case tst-tls-atexit.
54029         (modules-names): Add shared library for tst-tls-atexit.
54030         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
54031         (GLIBC_PRIVATE): Add __call_tls_dtors.
54032         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
54033         for libstdc++.
54034         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
54035         * stdlib/tst-tls-atexit.c: New test case.
54036         * stdlib/tst-tls-atexit-lib.c: New test case.
54038         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
54040         * elf/Versions (ld): Add _dl_find_dso_for_object.
54041         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
54042         * elf/dl-open.c (_dl_find_dso_for_object): New function.
54043         (dl_open_worker): Use _dl_find_dso_for_object.
54044         * elf/dl-sym.c (do_sym): Likewise.
54045         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
54047 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54049         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
54050         Syntactic changes only.
54051         (_dl_runtime_profile): Do a tail-call to the resolved function.
54053 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
54055         [BZ #13550]
54056         * sysdeps/x86_64/bp-asm.h: Remove file.
54057         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
54058         <bp-sym.h> and <bp-asm.h>.
54059         (__clone): Do not use BP_SYM.
54060         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
54061         <bp-sym.h> and <bp-asm.h>.
54062         * sysdeps/unix/x86_64/sysdep.S: Likewise.
54063         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
54064         "bp-asm.h".
54065         (_setjmp): Do not use BP_SYM.
54066         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
54067         "bp-asm.h".
54068         (setjmp): Do not use BP_SYM.
54069         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
54070         libc_hidden_def.
54071         (mempcpy): Do not use BP_SYM in weak_alias.
54072         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
54073         "bp-asm.h".
54074         (strchr): Do not use BP_SYM.
54075         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
54076         "bp-asm.h".
54077         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
54078         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
54079         (_start): Do not use BP_SYM.
54080         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
54081         "bp-asm.h".
54082         (strcat): Do not use BP_SYM.
54083         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
54084         "bp-asm.h".
54085         (STRCMP): Do not use BP_SYM.
54086         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
54087         "bp-asm.h".
54088         (STRCPY): Do not use BP_SYM.
54089         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
54090         "bp-asm.h".
54091         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
54092         "bp-asm.h".
54093         (FUNCTION): Do not use BP_SYM.
54094         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
54095         weak_alias.
54096         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
54098 2013-02-17  Andreas Jaeger  <aj@suse.de>
54100         * time/Versions: Sort entries.
54101         * string/Versions: Likewise.
54102         * resolv/Versions: Likewise.
54103         * posix/Versions: Likewise.
54104         * iconv/Versions: Likewise.
54105         * elf/Versions: Likewise.
54106         * wcsmbs/Versions: Likewise.
54108 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54110         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
54111         loop termination condition.
54113         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
54114         variable to calculate EZ.
54115         (__sqr): Likewise.
54117         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
54118         the lower precision input.
54120 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
54122         [BZ #13550]
54123         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
54124         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
54125         (run-via-rtld-prefix): Do not handle %-bp tests.
54126         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
54127         (all-object-suffixes): Remove .ob.
54128         (bppfx): Remove variable.
54129         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
54130         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
54131         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
54132         [$(build-bounded) = yes] (libtype.ob): Likewise.
54133         * Makerules (elide-routines.ob): Remove variable.
54134         (do-tests-clean): Do not handle *-bp.out.
54135         (common-mostlyclean): Do not handle *-bp and *-bp.out.
54136         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
54137         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
54138         (tests): Do not include $(tests-bp.out).
54139         (xtests): Do not include $(xtests-bp.out).
54140         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
54141         [$(build-bounded) = yes] ($(addprefix
54142         $(objpfx),$(binaries-bounded))): Remove rule.
54143         ($(objpfx)%-bp.out): Remove rule.
54144         * config.make.in (build-bounded): Remove variable.
54145         * crypt/Makefile [$(build-bounded) = yes]
54146         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
54147         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
54148         append to variable.
54149         [$(build-bounded) = yes] (install-lib): Likewise.
54150         [$(build-bounded) = yes] (generated): Likewise.
54151         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
54152         Remove rule.
54153         * intl/Makefile [$(build-bounded) = yes]
54154         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
54155         * math/Makefile [$(build-bounded) = yes]
54156         ($(tests:%=$(objpfx)%-bp): Likewise.
54157         * misc/Makefile [$(build-bounded) = yes]
54158         ($(objpfx)tst-tsearch-bp): Likewise.
54159         * nptl/Makeconfig (bounded-thread-library): Remove variable.
54160         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
54161         Remove dependency.
54162         * string/Makefile (o-objects.ob): Remove variable.
54163         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
54164         (CFLAGS-.ob): Remove variable.
54165         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
54166         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
54167         both definitions of variable.
54168         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
54169         (ASFLAGS-.ob): Remove variable.
54171 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
54173         [BZ #13550]
54174         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
54175         Remove __BOUNDED_POINTERS__ from condition.
54176         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
54177         * string/bits/string2.h [!__NO_STRING_INLINES &&
54178         !__BOUNDED_POINTERS__]: Likewise.
54179         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
54180         Likewise.
54181         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
54182         Remove conditional code.
54183         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
54184         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
54185         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
54186         condition.
54188         [BZ #13550]
54189         * csu/libc-start.c: Do not include <bp-sym.h>.
54190         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
54191         * elf/dl-open.c: Do not include <bp-sym.h>.
54192         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
54193         * math/fegetenv.c: Do not include <bp-sym.h>.
54194         (fegetenv): Do not use BP_SYM in versioned symbols.
54195         * nptl/sysdeps/pthread/bits/libc-lockP.h
54196         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
54197         <bp-sym.h>.
54198         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54199         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
54200         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54201         (__pthread_mutex_destroy): Likewise.
54202         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54203         (__pthread_mutex_lock): Likewise.
54204         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54205         (__pthread_mutex_trylock): Likewise.
54206         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54207         (__pthread_mutex_unlock): Likewise.
54208         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54209         (__pthread_mutexattr_init): Likewise.
54210         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54211         (__pthread_mutexattr_destroy): Likewise.
54212         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54213         (__pthread_mutexattr_settype): Likewise.
54214         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54215         (__pthread_rwlock_init): Likewise.
54216         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54217         (__pthread_rwlock_destroy): Likewise.
54218         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54219         (__pthread_rwlock_rdlock): Likewise.
54220         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54221         (__pthread_rwlock_tryrdlock): Likewise.
54222         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54223         (__pthread_rwlock_wrlock): Likewise.
54224         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54225         (__pthread_rwlock_trywrlock): Likewise.
54226         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54227         (__pthread_rwlock_unlock): Likewise.
54228         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54229         (__pthread_key_create): Likewise.
54230         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54231         (__pthread_setspecific): Likewise.
54232         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54233         (__pthread_getspecific): Likewise.
54234         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
54235         Likewise.
54236         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54237         (_pthread_cleanup_push_defer): Likewise.
54238         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54239         (_pthread_cleanup_pop_restore): Likewise.
54240         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54241         (pthread_setcancelstate): Likewise.
54242         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
54243         <bp-sym.h>.
54244         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
54245         (memchr): Do not use BP_SYM in weak_alias.
54246         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
54247         (fegetenv): Do not use BP_SYM in versioned symbols.
54248         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
54249         (fesetenv): Do not use BP_SYM in versioned symbols.
54250         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54251         (feupdateenv): Do not use BP_SYM in versioned symbols.
54252         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54253         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54254         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
54255         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
54256         (open64): Do not use BP_SYM in weak_alias.
54257         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
54258         (fegetenv): Do not use BP_SYM in versioned symbols.
54259         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
54260         (fesetenv): Do not use BP_SYM in versioned symbols.
54261         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54262         (feupdateenv): Do not use BP_SYM in versioned symbols.
54263         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
54264         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
54265         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
54266         (feraiseexcept): Do not use BP_SYM in versioned symbols.
54267         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54268         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54269         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
54270         <bp-sym.h>.
54271         (__libc_start_main): Do not use BP_SYM.
54273 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54275         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
54276         redundant return line.
54277         (norm): Likewise.
54278         (denorm): Likewise.
54279         (dbl_mp): Likewise.
54280         (sub_magnitudes): Likewise.
54281         (__add): Likewise.
54282         (__sub): Likewise.
54283         (__mul): Likewise.
54284         (__inv): Likewise.
54285         (__dvd): Likewise.
54286         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
54287         (norm): Likewise.
54288         (denorm): Likewise.
54289         (dbl_mp): Likewise.
54290         (sub_magnitudes): Likewise.
54291         (__add): Likewise.
54292         (__sub): Likewise.
54293         (__mul): Likewise.
54294         (__inv): Likewise.
54295         (__dvd): Likewise.
54297         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
54298         instead of __mul.
54299         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54300         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
54301         (cc32): Likewise.
54303         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
54304         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
54305         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
54306         of __mul for squares.
54307         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
54308         function
54309         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
54310         Likewise.
54311         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
54312         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54314 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
54316         [BZ #13550]
54317         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
54318         code.
54319         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
54320         prototype or function definition.  Rename ubp_* variables and
54321         parameters.  Remove argv definitions conditional on
54322         [__BOUNDED_POINTERS__].
54323         * debug/backtrace.c (__backtrace): Do not use __unbounded.
54324         * elf/dl-runtime.c (_dl_fixup): Likewise.
54325         * include/set-hooks.h (RUN_HOOK): Likewise.
54326         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
54327         definition.
54328         * string/strcpy.c (strcpy): Do not use __unbounded.
54329         * sysdeps/generic/frame.h (struct layout): Likewise.
54330         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
54331         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
54332         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
54333         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
54334         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
54335         (__backtrace): Likewise.
54336         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
54337         use __ptrvalue.
54338         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
54339         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
54340         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
54341         Likewise.
54342         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
54343         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
54344         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
54345         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
54346         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
54347         Do not use __unbounded.
54348         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
54349         Rename __unboundedrlimits parameter to rlimits in prototype.
54350         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
54351         Do not use __unbounded.
54352         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
54353         not use __ptrvalue.
54354         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
54355         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
54356         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
54357         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
54358         __ptrvalue or __unbounded.
54359         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
54360         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
54361         use __unbounded.
54362         (__new_msgctl): Do not use __ptrvalue.
54363         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
54364         __unbounded.
54365         (__libc_msgrcv): Do not use __ptrvalue.
54366         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
54367         startup_info): Do not use __unbounded.
54368         (__libc_start_main): Likewise.  Rename ubp_* variables and
54369         parameters.  Remove argv definitions conditional on
54370         [__BOUNDED_POINTERS__].
54371         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
54372         __ptrvalue.
54373         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
54374         use __unbounded.
54375         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
54376         or __ptrvalue.
54377         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
54378         use __unbounded.
54379         (__new_shmctl): Do not use __ptrvalue.
54380         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
54381         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
54382         Likewise.
54383         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
54384         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
54385         (__libc_sigaction): Likewise.
54386         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
54387         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
54388         Likewise.
54389         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
54391 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
54393         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
54395         * string/mempcpy.c: Implement by calling memcpy.
54397 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54399         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
54401         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
54402         evaluation.
54404         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
54405         values in the mantissa.
54407         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
54408         minimize writes to Z.
54409         (sub_magnitudes): Simplify code a bit.
54411 2013-02-12  Roland McGrath  <roland@hack.frob.com>
54413         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
54414         from the message.  The linker prefixes all warnings with that already.
54416 2013-02-12  Andreas Schwab  <schwab@suse.de>
54418         [BZ #15078]
54419         * posix/regexec.c (extend_buffers): Add parameter min_len.
54420         (check_matching): Pass minimum needed length.
54421         (clean_state_log_if_needed): Likewise.
54422         (get_subexp): Likewise.
54423         * posix/Makefile (tests): Add bug-regex34.
54424         (bug-regex34-ENV): Define.
54425         * posix/bug-regex34.c: New file.
54427         [BZ #11561]
54428         * posix/regcomp.c (parse_bracket_exp): When looking up collating
54429         elements compare against the byte sequence of it, not its name.
54430         * posix/Makefile (tests): Add bug-regex35.
54431         (bug-regex35-ENV): Define.
54432         * posix/bug-regex35.c: New file.
54434 2013-02-11  Tom de Vries  <tom@codesourcery.com>
54436         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
54437         comment.
54438         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
54439         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
54440         (CHECK_EOL): Add undef.
54442 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
54444         * bits/stdlib-bsearch.h: New file.
54445         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
54446         * stdlib/stdlib.h: Likewise.
54448 2013-02-11  Roland McGrath  <roland@hack.frob.com>
54450         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
54451         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
54452         declaration.
54453         * manual/search.texi (Array Search Function): Add missing const in
54454         lfind prototype.
54455         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
54456         declaration to use rlim_t.
54457         (Basic Scheduling Functions): Remove erroneous const from
54458         sched_getparam prototype.  Remove erroneous * from
54459         sched_get_priority_max and sched_get_priority_min prototypes.
54460         (Resource Usage): Fix summary @comment on vtimes to refer to
54461         sys/vtimes.h rather than vtimes.h.
54462         Add missing *s in vtimes prototype.
54463         (Limits on Resources): Fix ulimit prototype to return long int.
54464         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
54465         prototypes to use long int rather than double.
54466         (BSD Random): Fix initstate and setstate to use char *, not void *.
54467         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
54468         prototype to make second argument 'struct aiocb64 *const[]'.
54469         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
54470         (Status of AIO Operations): Remove erroneous const in aio_return and
54471         aio_return64 prototypes.
54472         (Synchronizing I/O): Fix sync prototype to return void.
54473         * manual/startup.texi (Suboptions): Remove an erroneous const in
54474         getsubopt prototype.
54475         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
54476         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
54477         use size_t rather than int.
54478         (Scanning All Users): Likewise for getpwent_r.
54479         (Setting Groups): Add missing const to setgroups prototype.
54480         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
54481         * manual/socket.texi (Host Names): Fix gethostbyaddr and
54482         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
54483         'const void *' rather than 'const char *'.
54484         (Host Address Functions): Likewise for inet_ntop.
54485         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
54486         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
54487         ssize_t for return value.
54488         (Sending Data): Likewise for send, sendto, sendmsg.
54489         (Socket Option Functions): Add a missing const in setsockopt prototype.
54490         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
54491         use wchar_t for the argument.
54492         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
54493         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
54494         take no arguments.
54495         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
54496         double/float/long double for second argument.
54497         Fix return types of significand, significandf, significandl.
54498         * manual/filesys.texi (Setting Permissions): Use mode_t for second
54499         argument in fchmod prototype.
54500         (File Owner): Use uid_t and gid_t in fchown prototype.
54501         (File Times): Add const to utimes, futimes, and lutimes prototypes.
54502         (Making Special Files): Use mode_t and dev_t in mknod prototype.
54503         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
54504         use 'const struct dirent **' as argument types to CMP function pointer
54505         argument.
54506         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
54507         (File Times): Fix summary magic @comment for struct utimbuf and utime
54508         to refer to utime.h, not time.h.
54509         * manual/string.texi (Argz Functions): Add missing const in
54510         argz_extract and argz_next prototypes.
54511         (Finding Tokens in a String): Likewise for basename.
54512         (String/Array Comparison): Fix typo in wcscasecmp prototype.
54513         (Copying and Concatenation): Fix typo in wmemmove prototype.
54514         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
54515         (Signal Stack): Remove erroneous const in sigstack prototype.
54516         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
54517         prototype.
54518         (Simple Calendar Time): Likewise for stime.
54519         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
54520         prototype.
54521         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
54522         say sys/sysctl.h instead.
54523         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
54524         and vsyslog prototypes.
54526 2013-02-11  Tom de Vries  <tom@codesourcery.com>
54528         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
54529         Remove.
54531 2013-02-11  Roland McGrath  <roland@hack.frob.com>
54533         * misc/sys/mman.h: Fix typo in mremap comment.
54535 2013-02-08  Roland McGrath  <roland@hack.frob.com>
54537         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
54538         the '\0' terminator.
54540 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
54542         [BZ #13550]
54543         * debug/segfault.c: Don't include <bp-checks.h>.
54544         * sysdeps/generic/bp-checks.h: Remove file.
54545         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
54546         (__GETDENTS): Don't use CHECK_N.
54547         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
54548         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
54549         (__getgroups): Don't use CHECK_N.
54550         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
54551         (setgroups): Don't use CHECK_N.
54552         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
54553         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
54554         (__libc_msgrcv): Don't use CHECK_N.
54555         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
54556         (__libc_msgsnd): Don't use CHECK_N.
54557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
54558         <bp-checks.h>.
54559         (__libc_pread): Don't use CHECK_N.
54560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
54561         include <bp-checks.h>.
54562         (__libc_pread64): Don't use CHECK_N.
54563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
54564         include <bp-checks.h>.
54565         (__libc_pwrite): Don't use CHECK_N.
54566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
54567         include <bp-checks.h>.
54568         (__libc_pwrite64): Don't use CHECK_N.
54569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
54570         <bp-checks.h>.
54571         (__libc_pread): Don't use CHECK_N.
54572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
54573         include <bp-checks.h>.
54574         (__libc_pread64): Don't use CHECK_N.
54575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
54576         include <bp-checks.h>.
54577         (__libc_pwrite): Don't use CHECK_N.
54578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
54579         include <bp-checks.h>.
54580         (__libc_pwrite64): Don't use CHECK_N.
54581         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
54582         (do_pread): Don't use CHECK_N.
54583         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
54584         (do_pread64): Don't use CHECK_N.
54585         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
54586         (do_pwrite): Don't use CHECK_N.
54587         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
54588         (do_pwrite64): Don't use CHECK_N.
54589         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
54590         (__libc_readv): Don't use CHECK_N.
54591         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
54592         (semop): Don't use CHECK_N.
54593         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
54594         <bp-checks.h>.
54595         (semtimedop): Don't use CHECK_N.
54596         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
54597         (__libc_pread): Don't use CHECK_N.
54598         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
54599         <bp-checks.h>.
54600         (__libc_pread64): Don't use CHECK_N.
54601         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
54602         <bp-checks.h>.
54603         (__libc_pwrite): Don't use CHECK_N.
54604         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
54605         <bp-checks.h>.
54606         (__libc_pwrite64): Don't use CHECK_N.
54607         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
54608         <bp-checks.h>.
54609         (__libc_msgrcv): Don't use CHECK_N.
54610         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
54611         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
54612         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
54613         (__libc_writev): Don't use CHECK_N.
54615 2013-02-08  Roland McGrath  <roland@hack.frob.com>
54617         * string/strcpy.c: Removed unused variable.
54619         * Makeconfig (+sysdep-includes): Define with := rather than =.
54620         Use an existing include/ subdir of each sysdeps dir before it.
54622 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54624         * nscd/connection.c (register_traced_file): Comment function.
54625         [HAVE_INOTIFY] (union __inev): Define.
54626         [HAVE_INOTIFY] (inotify_check_files): New function.
54627         [HAVE_INOTIFY] (clear_db_cache): Likewise.
54628         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
54629         clear_db_cache.
54630         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
54632 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54634         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
54635         loaded if not already and that a failure is permanent.
54637 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54639         [BZ #15006]
54640         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
54641         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
54643 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
54645         [BZ #13550]
54646         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
54647         (CHECK_1_NULL_OK): Likewise.
54648         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
54649         (__fxstat): Do not use CHECK_1.
54650         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
54651         <bp-checks.h>.
54652         (___fxstat64): Do not use CHECK_1.
54653         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
54654         <bp-checks.h>.
54655         (__fxstatat): Do not use CHECK_1.
54656         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
54657         <bp-checks.h>.
54658         (__fxstatat64): Do not use CHECK_1.
54659         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
54660         <bp-checks.h>.
54661         (__fxstat): Do not use CHECK_1.
54662         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
54663         <bp-checks.h>.
54664         (__fxstatat): Do not use CHECK_1.
54665         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
54666         <bp-checks.h>.
54667         (__getresgid): Do not use CHECK_1.
54668         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
54669         <bp-checks.h>.
54670         (__getresuid): Do not use CHECK_1.
54671         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
54672         <bp-checks.h>.
54673         (__lxstat): Do not use CHECK_1.
54674         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
54675         <bp-checks.h>.
54676         (__old_msgctl): Do not use CHECK_1.
54677         (__new_msgctl): Likewise.
54678         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
54679         <bp-checks.h>.
54680         (__new_setrlimit): Do not use CHECK_1.
54681         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
54682         <bp-checks.h>.
54683         (__old_shmctl): Do not use CHECK_1.
54684         (__new_shmctl): Likewise.
54685         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
54686         <bp-checks.h>.
54687         (__xstat): Do not use CHECK_1.
54688         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
54689         (__lxstat): Do not use CHECK_1.
54690         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
54691         <bp-checks.h>.
54692         (___lxstat64): Do not use CHECK_1.
54693         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
54694         (__old_msgctl): Do not use CHECK_1.
54695         (__new_msgctl): Likewise.
54696         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
54697         <bp-checks.h>.
54698         (__gettimeofday): Do not use CHECK_1.
54699         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
54700         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
54701         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
54702         <bp-checks.h>.
54703         (__gettimeofday): Do not use CHECK_1.
54704         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
54705         (__old_shmctl): Do not use CHECK_1_NULL_OK.
54706         (__new_shmctl): Do not use CHECK_1.
54707         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
54708         <bp-checks.h>.
54709         (do_sigtimedwait): Do not use CHECK_1.
54710         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
54711         <bp-checks.h>.
54712         (do_sigwaitinfo): Do not use CHECK_1.
54713         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
54714         <bp-checks.h>.
54715         (msgctl): Do not use CHECK_1.
54716         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
54717         <bp-checks.h>.
54718         (shmctl): Do not use CHECK_1.
54719         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
54720         (ustat): Do not use CHECK_1.
54721         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
54722         <bp-checks.h>.
54723         (__fxstat): Do not use CHECK_1.
54724         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
54725         <bp-checks.h>.
54726         (__fxstatat): Do not use CHECK_1.
54727         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
54728         <bp-checks.h>.
54729         (__lxstat): Do not use CHECK_1.
54730         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
54731         <bp-checks.h>.
54732         (__xstat): Do not use CHECK_1.
54733         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
54734         (__xstat): Do not use CHECK_1.
54735         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
54736         (___xstat64): Do not use CHECK_1.
54738         [BZ #13550]
54739         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
54740         definitions.
54741         (CHECK_BOUNDS_HIGH): Likewise.
54742         * string/strcpy.c: Do not include <bp-checks.h>.
54743         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
54745 2013-02-07  Roland McGrath  <roland@hack.frob.com>
54747         * nscd/nscd-client.h (__nscd_drop_map_ref):
54748         Add __attribute__ ((unused)).
54749         * nis/nss-nisplus.h (niserr2nss): Likewise.
54751         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
54752         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
54754         * csu/libc-tls.c (init_static_tls, init_slotinfo):
54755         Remove inline keyword.
54756         * include/rounding-mode.h (round_away): Likewise.
54757         * libio/wfileops.c (adjust_wide_data): Likewise.
54758         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
54759         (__m128i_strloadu_tolower): Likewise.
54760         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
54761         (__m128i_strloadu_tolower): Likewise.
54762         * time/mktime.c (ydhms_diff): Likewise.
54763         * locale/elem-hash.h (elem_hash): Likewise.
54764         * locale/setlocale.c (setdata): Likewise.
54765         * posix/regex_internal.h (re_string_char_size_at): Likewise.
54766         (re_string_wchar_at): Likewise.
54767         (bitset_not, bitset_merge, bitset_mask): Likewise.
54768         [!(__GNUC__ > 3)] (inline): Remove macro.
54769         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
54770         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
54771         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
54772         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
54773         * string/memcmp.c (memcmp_bytes): Likewise.
54774         * locale/programs/locarchive.c (compute_hashval): Likewise.
54775         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
54776         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
54777         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
54778         * nss/getent.c (print_rpc, print_protocols): Likewise.
54779         (print_passwd, print_group, print_aliases): Likewise.
54780         * nis/nss-nisplus.h (niserr2nss): Likewise.
54781         * nscd/connections.c (restart_p): Likewise.
54782         Change return type to bool.
54784 2013-02-05  Roland McGrath  <roland@hack.frob.com>
54786         * Makeconfig (all-Depend-files): Add existing
54787         $(sorted-subdirs:=/Depend) files.
54788         (all-subdirs): Remove nss.
54789         * sysdeps/unix/inet/Subdirs: Add it here instead.
54790         * hesiod/Depend: New file.
54792         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
54793         instead of calling alloca.
54795         * io/lseek.c (__lseek): Rename to __libc_lseek.
54796         Define __lseek as an alias.
54798         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
54800 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
54802         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
54803         else clause and remove check for non-standard endianness.
54805 2013-02-04  David S. Miller  <davem@davemloft.net>
54807         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54809 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
54811         [BZ #13550]
54812         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
54813         (__ubp_memchr): Remove prototype.
54814         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
54815         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
54816         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
54817         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
54818         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
54819         Remove alias.
54820         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
54821         (__ubp_memchr): Likewise.
54822         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
54823         (__ubp_memchr): Likewise.
54824         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
54825         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
54826         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
54827         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
54828         CHECK_STRING.
54829         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
54830         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
54831         (__getcwd): Do not use CHECK_STRING.
54832         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
54833         <bp-checks.h>.
54834         (__real_chown): Do not use CHECK_STRING.
54835         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
54836         <bp-checks.h>.
54837         (fchownat): Do not use CHECK_STRING.
54838         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
54839         CHECK_STRING.
54840         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
54841         <bp-checks.h>.
54842         (__lchown): Do not use CHECK_STRING.
54843         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
54844         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
54845         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
54846         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
54847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
54848         include <bp-checks.h>.
54849         (truncate64): Do not use CHECK_STRING.
54850         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
54851         <bp-checks.h>.
54852         (__real_chown): Do not use CHECK_STRING.
54853         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
54854         <bp-checks.h>.
54855         (__lchown): Do not use CHECK_STRING.
54856         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
54857         <bp-checks.h>.
54858         (__chown): Do not use CHECK_STRING.
54859         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
54860         <bp-checks.h>.
54861         (truncate64): Do not use CHECK_STRING.
54862         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
54863         Likewise.
54864         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
54865         (__xmknod): Do not use CHECK_STRING.
54866         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
54867         <bp-checks.h>.
54868         (__xmknodat): Do not use CHECK_STRING.
54869         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
54870         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
54872 2013-02-04  Andreas Schwab  <schwab@suse.de>
54874         [BZ #14142]
54875         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
54876         * include/netdb.h: Likewise for h_errno.
54877         * elf/tst-stackguard1.c: Include <tls.h>.
54879 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
54881         * elf/link.h (struct link_map): Extend the l_addr comment.
54882         * include/link.h (struct link_map): Likewise.
54884 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
54886         [BZ #13550]
54887         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
54888         (BOUNDED_1): Remove macro.
54889         * debug/backtrace.c: Don't include <bp-checks.h>.
54890         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
54891         (__backtrace): Likewise.
54892         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
54893         <bp-checks.h>.
54894         (__backtrace): Don't use BOUNDED_1.
54895         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
54896         <bp-checks.h>.
54897         (__backtrace): Don't use BOUNDED_1.
54898         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
54899         (__backtrace): Don't use BOUNDED_1.
54900         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
54901         (shmat): Don't use BOUNDED_N.
54903 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
54905         [BZ #13550]
54906         * sysdeps/generic/bp-start.h: Remove file.
54907         * csu/libc-start.c: Don't include <bp-start.h>.
54908         (LIBC_START_MAIN): Set up __environ directly instead of using
54909         INIT_ARGV_and_ENVIRON.
54910         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
54911         <bp-start.h>.
54913         [BZ #13550]
54914         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
54915         definitions.
54916         (CHECK_FCNTL): Likewise.
54917         (CHECK_N_PAGES): Likewise.
54919         [BZ #13550]
54920         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
54921         definitions.
54922         (CHECK_SIGSET_NULL_OK): Likewise.
54923         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
54924         <bp-checks.h>.
54925         (sigpending): Don't use CHECK_SIGSET.
54926         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
54927         <bp-checks.h>.
54928         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54929         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
54930         <bp-checks.h>.
54931         (do_sigsuspend): Don't use CHECK_SIGSET.
54932         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
54933         use CHECK_SIGSET.
54934         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
54935         (do_sigwait): Don't use CHECK_SIGSET.
54936         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
54937         use CHECK_SIGSET.
54938         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
54939         include <bp-checks.h>.
54940         (sigpending): Don't use CHECK_SIGSET.
54941         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
54942         include <bp-checks.h>.
54943         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54944         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
54945         <bp-checks.h>.
54946         (sigpending): Don't use CHECK_SIGSET.
54947         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
54948         <bp-checks.h>.
54949         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54951         [BZ #13550]
54952         * sysdeps/generic/bp-semctl.h: Remove file.
54953         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
54954         <bp-checks.h> and <bp-semctl.h>.
54955         (__old_semctl): Don't use CHECK_SEMCTL.
54956         (__new_semctl): Likewise.
54957         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
54958         and <bp-semctl.h>.
54959         (__old_semctl): Don't use CHECK_SEMCTL.
54960         (__new_semctl): Likewise.
54961         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
54962         <bp-checks.h> and <bp-semctl.h>.
54963         (__old_semctl): Don't use CHECK_SEMCTL.
54964         (__new_semctl): Likewise.
54965         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
54966         <bp-checks.h> and <bp-semctl.h>.
54967         (semctl): Don't use CHECK_SEMCTL.
54969         [BZ #13550]
54970         * Makerules (elide-bp-thunks): Remove variable.
54971         (elide-routines.oS): Don't use $(elide-bp-thunks).
54972         (elide-routines.os): Likewise.
54973         (elide-routines.o): Likewise.
54974         (elide-routines.op): Likewise.
54975         (elide-routines.og): Likewise.
54976         (objects): Don't use $(bp-thunks).
54977         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
54978         include.
54979         (common-generated): Do not add s-proto-bp.d.
54980         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
54981         (int): Likewise.
54982         (typ): Likewise.
54983         Do not generate makefile rules for bounded-pointer thunks.
54984         * sysdeps/generic/bp-thunks.h: Remove file.
54985         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
54986         * sysdeps/unix/s-proto-bp.S: Likewise.
54988         [BZ #15062]
54989         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
54990         parts of result separately when argument is not close to line from
54991         -i to i and one part of argument is small.
54992         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54993         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54994         * math/libm-test.inc (cacos_test): Add more tests.
54995         (casin_test): Likewise.
54996         (casinh_test): Likewise.
54997         * sysdeps/i386/fpu/libm-test-ulps: Update.
54998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55000 2013-01-31  David S. Miller  <davem@davemloft.net>
55002         * po/de.po: Update from translation team.
55004 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
55006         * time/tzfile.c: Include stdint.h for SIZE_MAX.
55008 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
55010         * configure.in (_AC_PROG_CC_C89): New definition.
55011         * configure: Regenerate.
55013         * configure.in (AC_PROG_CPP): New definition.
55014         * configure: Regenerate.
55016 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55018         * debug/tst-backtrace.h: New file.
55019         * debug/tst-backtrace2.c: Include tst-backtrace.h.
55020         (ret): Remove variable.
55021         (x): Likewise.
55022         (FAIL): Remove macro.
55023         (NO_INLINE): Likewise.
55024         (fn1): Use match function instead of strstr.
55025         * debug/tst-backtrace3.c: Include tst-backtrace.h.
55026         (ret): Remove variable.
55027         (x): Likewise.
55028         (FAIL): Remove macro.
55029         (NO_INLINE): Likewise.
55030         (fn): Use match function instead of strstr.
55031         * debug/tst-backtrace4.c: Include tst-backtrace.h.
55032         (ret): Remove variable.
55033         (x): Likewise.
55034         (FAIL): Remove macro.
55035         (NO_INLINE): Likewise.
55036         (handle_signal): Use match function instead of strstr.
55037         * debug/tst-backtrace5.c: Include tst-backtrace.h.
55038         (ret): Remove variable.
55039         (x): Likewise.
55040         (FAIL): Remove macro.
55041         (NO_INLINE): Likewise.
55042         (handle_signal): Use match function instead of strstr.
55044 2013-01-23  Roland McGrath  <roland@hack.frob.com>
55046         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
55048 2013-01-23  David S. Miller  <davem@davemloft.net>
55050         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
55051         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
55052         argument of CAS if possible.
55053         * sysdeps/sparc/sparc64/bits/atomic.h
55054         (__arch_compare_and_exchange_val_32_acq): Likewise.
55055         (__arch_compare_and_exchange_val_64_acq): Likewise.
55057 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
55059         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
55060         * sysdeps/posix/ulimit.c: ... this.
55061         Include <limits.h>.
55062         * sysdeps/unix/bsd/ulimit.c: Remove file.
55064 2013-01-23  Adam Conrad  <adconrad@0c3.net>
55066         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
55067         (LDFLAGS-tst-array5): Likewise.
55069 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55071         [BZ #15036]
55072         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
55073         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
55074         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
55075         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
55077 2013-01-21  David S. Miller  <davem@davemloft.net>
55079         * sysdeps/sparc/backtrace.c: New file.
55080         * sysdeps/sparc/sparc32/backtrace.h: New file.
55081         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
55082         * sysdeps/sparc/sparc64/backtrace.h: New file.
55083         * sysdeps/sparc/sparc64/backtrace.c: Delete.
55084         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
55085         -funwind-tables.
55087 2013-01-21  Andreas Schwab  <schwab@suse.de>
55089         [BZ #15020]
55090         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
55091         closed its stdout.
55093 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
55095         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
55096         "mpa2.h".
55097         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55099 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
55100             Mark Mitchell  <mark@codesourcery.com>
55101             Tom de Vries  <tom@codesourcery.com>
55102             Paul Pluzhnikov  <ppluzhnikov@google.com>
55104         * debug/tst-backtrace2.c: New file.
55105         * debug/tst-backtrace3.c: Likewise.
55106         * debug/tst-backtrace4.c: Likewise.
55107         * debug/tst-backtrace5.c: Likewise.
55108         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
55109         (CFLAGS-tst-backtrace3.c): Likewise.
55110         (CFLAGS-tst-backtrace4.c): Likewise.
55111         (CFLAGS-tst-backtrace5.c): Likewise.
55112         (LDFLAGS-tst-backtrace2): Likewise.
55113         (LDFLAGS-tst-backtrace3): Likewise.
55114         (LDFLAGS-tst-backtrace4): Likewise.
55115         (LDFLAGS-tst-backtrace5): Likewise.
55116         (tests): Add new tests tst-backtrace2, tst-backtrace3,
55117         tst-backtrace4 and tst-backtrace5.
55119 2013-01-18  Anton Blanchard  <anton@samba.org>
55120             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55122         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
55123         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
55124         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
55125         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
55126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
55127         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
55128         "+r" and remove output regs list as redundant.  Add explicit inline
55129         asm to specify register of return val to work around compiler codegen
55130         bug.  Remove (int) cast on return value.  Add return type parameter to
55131         use in macro so that this macro does not truncate return value for
55132         64-bit values.
55133         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
55134         pass to INTERNAL_VSYSCALL_NCS.
55135         (INLINE_VSYSCALL): Add 'long int' as return type to
55136         INTERNAL_VSYSCALL_NCS macro invocation.
55137         (INTERNAL_VSYSCALL): Add 'long int' as return type to
55138         INTERNAL_VSYSCALL_NCS macro invocation.
55139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55141 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55143         [BZ #14496]
55144         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
55145         Fix application of SIMD FP exception mask.
55147         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
55148         mp_no from a power of two.
55149         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
55150         __mpexp_twomm1.  Use __pow_mp.
55152         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
55153         multiplication.
55155 2013-01-17  David S. Miller  <davem@davemloft.net>
55157         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55159 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55161         [BZ #15023]
55162         * include/complex.h: Condition contents on [!_COMPLEX_H].
55163         (__kernel_casinhf): New prototype.
55164         (__kernel_casinh): Likewise.
55165         (__kernel_casinhl): Likewise.
55166         * math/Makefile (libm_calls): Add k_casinh.
55167         * math/k_casinh.c: New file.
55168         * math/k_casinhf.c: Likewise.
55169         * math/k_casinhl.c: Likewise.
55170         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
55171         finite nonzero arguments.
55172         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
55173         finite nonzero arguments.
55174         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
55175         finite nonzero arguments.
55176         * math/s_casinh.c: Do not include <float.h>.
55177         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
55178         * math/s_casinhf.c: Do not include <float.h>.
55179         (__casinhf): Move code for finite nonzero arguments to
55180         k_casinhf.c.
55181         * math/s_casinhl.c: Do not include <float.h>.
55182         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
55183         redefine.
55184         (__casinhl): Move code for finite nonzero arguments to
55185         k_casinhl.c.
55186         * math/libm-test.inc (cacos_test): Add more tests.
55187         * sysdeps/i386/fpu/libm-test-ulps: Update.
55188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55190 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
55192         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
55193         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
55194         [!HAVE_MREMAP]: Remove [defined linux] case.
55195         * malloc/arena.c: Do not include <malloc-sysdep.h>.
55197 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55199         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
55201 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
55203         * elf/elf.h (R_386_SIZE32): New relocation.
55204         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
55205         R_386_SIZE32.
55206         (elf_machine_rela): Likewise.
55207         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
55208         R_X86_64_SIZE64 and R_X86_64_SIZE32.
55210 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55212         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
55213         (FP_FAST_FMA): Do not define.
55214         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
55215         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
55216         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
55217         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
55218         !_SOFT_FLOAT]: Likewise.
55219         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
55220         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
55221         value.
55222         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
55223         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
55224         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
55225         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
55226         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
55227         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
55228         file.
55230 2013-01-16  Andreas Schwab  <schwab@suse.de>
55232         [BZ #14327]
55233         * include/stdlib.h (__mktemp): Add declaration.
55234         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
55235         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
55237 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55239         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
55240         definitions.
55241         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
55242         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
55243         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
55244         definitions here.
55245         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
55246         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
55247         definitions.
55248         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
55249         and ONE.
55250         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
55251         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
55252         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
55253         definitions.
55254         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
55255         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
55256         definitions.
55257         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
55259         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
55261 2013-01-15  David S. Miller  <davem@davemloft.net>
55263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55264         trunc{,f} to libm-sysdep_routes.
55265         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
55267         file.
55268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
55269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
55270         file.
55271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
55272         file.
55273         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
55274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
55275         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
55276         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
55277         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
55278         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
55279         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
55280         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
55282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55283         nearbyint{,f} to libm-sysdep_routes.
55284         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
55286         New file.
55287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
55288         file.
55289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
55290         New file.
55291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
55292         file.
55293         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
55294         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
55295         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
55296         file.
55297         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
55298         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
55299         file.
55300         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
55301         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
55302         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
55304         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55305         libc_feholdexcept and libc_fesetenv.
55307 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
55309         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
55311 2013-01-14  David S. Miller  <davem@davemloft.net>
55313         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
55314         (SPARC_ASM_VIS2_IFUNC): Likewise.
55315         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
55316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
55317         use of 'siam' instruction.
55318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
55319         Likewise.
55320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
55321         Likewise.
55322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
55323         Likewise.
55324         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
55325         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
55326         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
55327         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
55328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
55329         file.
55330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
55331         file.
55332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
55333         file.
55334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
55335         file.
55336         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
55337         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
55338         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
55339         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
55340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
55341         new VIS2 routines.
55342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55345         Likewise.
55346         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55347         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55348         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55349         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
55351         routines to libm-sysdep_routines.
55352         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55355         fdim/fdimf to libm-sysdep_routines.
55356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
55357         file.
55358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
55359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
55360         file.
55361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
55362         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
55363         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
55364         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
55365         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
55366         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
55367         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
55369 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55371         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
55372         to optimize copies.
55374         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
55375         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55376         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55378         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
55379         local variable MPTWO.
55380         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
55381         Likewise.
55383 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55385         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
55386         GLOB_NOESCAPE.
55388 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55390         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
55392 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55394         * manual/pattern.texi (glob_t): Document gl_flags.
55395         (glob64_t): Likewise.
55397 2013-01-11  David S. Miller  <davem@davemloft.net>
55399         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
55400         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
55401         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
55402         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
55403         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
55404         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
55405         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
55406         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
55407         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
55408         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
55409         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
55410         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
55411         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
55413         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
55414         sparc V9 rather than using V8 code.
55415         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55416         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55418         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
55419         Move to...
55420         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
55421         Here.
55423 2013-01-11  Roland McGrath  <roland@hack.frob.com>
55425         [BZ #14941]
55426         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
55427         not in the main loop.
55428         * configure: Regenerated.
55430 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
55432         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
55433         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
55434         to just #else.
55435         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
55436         [!__GLIBC_HAVE_LONG_LONG] case.
55437         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
55438         condition to just #else.
55439         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
55440         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
55441         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
55442         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
55443         unconditional.
55444         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
55445         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
55446         #elif condition to just #else.
55447         * sysdeps/unix/sysv/linux/sys/sysmacros.h
55448         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
55449         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
55450         #elif condition to just #else.
55452 2013-01-11  Steve Ellcey  <sellcey@mips.com>
55454         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
55455         (EF_MIPS_ARCH_64): Fix value.
55456         (EF_MIPS_ARCH_32R2): New.
55457         (EF_MIPS_ARCH_64R2): New.
55459 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
55461         * Makeconfig (+link-pie-before-libc): New.
55462         (+link-pie-after-libc): Likewise.
55463         (+link-pie-tests): Likewise.
55464         (+link-pie): Rewritten.
55465         (link-before-libc): Remove $(config-LDFLAGS).
55466         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
55467         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
55468         (config-LDFLAGS): Renamed to ...
55469         (rtld-LDFLAGS): This.
55470         (rtld-tests-LDFLAGS): New macro.
55471         (link-libc-rpath-link): Likewise.
55472         (link-libc-tests-rpath-link): Likewise.
55473         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
55474         (link-libc): Prepand $(link-libc-rpath-link).
55475         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
55476         (test-program-prefix): New macro.
55477         (test-via-rtld-prefix): Likewise.
55478         (test-program-cmd): Likewise.
55479         (host-test-program-cmd): Likewise.
55480         * Makefile ($(common-objpfx)testrun.sh): Replace
55481         $(run-program-prefix) with $(test-program-prefix).
55482         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
55483         $(rtld-LDFLAGS).
55484         ($(common-objpfx)shlib.lds): Likewise.
55485         (build-module-helper): Likewise.
55486         ($(common-objpfx)format.lds): Likewise.
55487         * Rules (binaries-pie-tests): New.
55488         (binaries-pie-notests): Likewise.
55489         (binaries-pie): Rewritten.
55490         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
55491         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
55492         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
55493         (make-test-out): Replace $(host-built-program-cmd) with
55494         $(host-test-program-cmd).
55495         * config.make.in (build-hardcoded-path-in-tests): New variable.
55496         * configure.in (--enable-hardcoded-path-in-tests): New configure
55497         option.
55498         (hardcoded_path_in_tests): New AC_SUBST.
55499         * configure: Regenerated.
55500         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
55501         $(built-program-cmd) with $(test-program-cmd).
55502         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
55503         (test_program_cmd): This.
55504         * elf/Makefile ($(objpfx)order.out): Run test with
55505         $(test-program-prefix).
55506         ($(objpfx)order2.out): Likewise.
55507         ($(objpfx)tst-initorder.out): Likewise.
55508         ($(objpfx)tst-initorder2.out): Likewise.
55509         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
55510         $(test-program-cmd).
55511         ($(objpfx)tst-array1-static.out): Likewise.
55512         ($(objpfx)tst-array2.out): Likewise.
55513         ($(objpfx)tst-array3.out): Likewise.
55514         ($(objpfx)tst-array4.out): Likewise.
55515         ($(objpfx)tst-array5.out): Likewise.
55516         ($(objpfx)tst-array5-static.out): Likewise.
55517         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
55518         $(test-program-cmd).
55519         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
55520         $(run-program-prefix) with $(test-program-prefix).
55521         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
55522         (test_program_prefix): This.
55523         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
55524         $(run-program-prefix) with $(test-program-prefix).
55525         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
55526         (test_program_prefix): This.
55527         * iconvdata/tst-tables.sh: Likewise.
55528         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
55529         $(run-program-prefix) with $(test-program-prefix).
55530         ($(objpfx)tst-translit.out): Likewise.
55531         ($(objpfx)tst-gettext2.out): Likewise.
55532         ($(objpfx)tst-gettext4.out): Likewise.
55533         ($(objpfx)tst-gettext6.out): Likewise.
55534         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
55535         (test_program_prefix): This.
55536         * intl/tst-gettext2.sh: Likewise.
55537         * intl/tst-gettext4.sh  Likewise.
55538         * intl/tst-gettext6.sh: Likewise.
55539         * intl/tst-translit.sh: Likewise.
55540         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
55541         with $(test-program-cmd).
55542         * libio/Makefile ($(objpfx)test-freopen.out): Replace
55543         $(run-program-prefix) with $(test-program-prefix).
55544         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
55545         (test_program_prefix): This.
55546         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
55547         $(run-program-prefix) with $(test-program-prefix).
55548         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
55549         (test_program_prefix): This.
55550         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
55551         * posix/Makefile ($(objpfx)globtest.out): Replace
55552         $(run-via-rtld-prefix) and $(test-wrapper) with
55553         $(test-program-prefix) and $(test-via-rtld-prefix).
55554         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
55555         $(test-program-prefix).
55556         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
55557         $(host-test-program-cmd).
55558         (tst-spawn-ARGS): Likewise.
55559         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
55560         $(test-program-prefix).
55561         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
55562         (test_via_rtld_prefix): This.
55563         (test_wrapper): Renamed to ...
55564         (test_program_prefix): This.
55565         (run_program_prefix): Replaced by test_program_prefix.
55566         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
55567         (test_program_prefix): This.
55568         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
55569         with $(host-test-program-cmd).
55570         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
55571         $(run-program-prefix) with $(test-program-prefix).
55572         ($(objpfx)tst-printf.out): Likewise.
55573         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
55574         $(test-program-cmd).
55575         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
55576         (test_program_prefix): This.
55577         * stdio-common/tst-unbputc.sh: Likewise.
55578         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
55579         $(run-program-prefix) with $(test-program-prefix).
55580         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
55581         (test_program_prefix): This.
55582         * string/Makefile ($(objpfx)tst-svc.out):  Replace
55583         $(built-program-cmd) with $(test-program-cmd).
55585 2013-01-11  Andreas Jaeger  <aj@suse.de>
55587         [BZ #15003]
55588         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
55589         value. Sync with Linux 3.7.
55591 2013-01-10  David S. Miller  <davem@davemloft.net>
55593         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
55594         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55595         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55597 2013-01-10  Roland McGrath  <roland@hack.frob.com>
55599         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
55600         never set.
55601         * configure: Regenerated.
55603 2013-01-10  David S. Miller  <davem@davemloft.net>
55605         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
55606         sparc V9 rather than using V8 code.
55607         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55608         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55610 2013-01-10  Roland McGrath  <roland@hack.frob.com>
55612         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
55613         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
55614         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
55615         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
55616         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
55617         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
55618         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
55619         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
55620         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
55621         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
55622         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
55623         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
55624         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
55625         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
55626         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
55627         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
55628         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
55629         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
55630         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
55631         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
55632         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
55633         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
55634         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
55635         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
55636         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
55637         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
55638         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
55640 2013-01-10  David S. Miller  <davem@davemloft.net>
55642         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55644 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
55646         * posix/Makefile (tests-static): New variable.
55647         (tests): Add $(tests-static).
55648         (tst-exec-static-ARGS): New variable.
55649         (tst-spawn-static-ARGS): Likewise.
55650         * posix/tst-exec-static.c: New file.
55651         * posix/tst-spawn-static.c: Likewise.
55652         * posix/tst-exec.c: Support run directly.
55653         * posix/tst-spawn.c: Likewise.
55655 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
55657         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
55658         long.
55659         * math/bits/mathcalls.h (llrint): Likewise.
55660         (llround): Likewise.
55661         * stdlib/stdlib.h (struct drand48_data): Likewise.
55662         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
55663         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
55664         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
55665         Likewise.
55666         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
55667         Likewise.
55668         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
55669         (elf_greg_t): Likewise.
55670         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
55671         (__jmp_buf): Likewise.
55672         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
55673         definitions.
55674         (llrint): Likewise, for all definitions.
55675         (llrintl): Likewise.
55677         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
55678         Remove [__GNUC__] condition.
55679         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
55680         condition to just [__USE_ISOC99].
55681         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
55683 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
55685         [BZ #14200]
55686         * sysdeps/unix/sysv/linux/x86/bits/environments.h
55687         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
55688         defined.
55689         (_POSIX_V6_ILP32_OFF32): Likewise.
55690         (_XBS5_ILP32_OFF32): Likewise.
55691         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
55692         (__ILP32_OFFBIG_LDFLAGS): Likewise.
55694 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55696         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
55698         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
55699         doubles __mpexp_twomm1.  Adjust usage.
55700         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
55701         Remove.
55703 2013-01-10  Andreas Schwab  <schwab@suse.de>
55705         [BZ #14964]
55706         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
55707         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
55709 2013-01-09  David S. Miller  <davem@davemloft.net>
55711         [BZ #15003]
55712         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
55713         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
55714         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
55715         (TCP_FASTOPEN): Define.
55716         (tcp_repair_opt): New structure.
55717         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
55718         enum values.
55719         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
55720         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
55721         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
55722         (tcp_cookie_transactions): New structure.
55724 2013-01-09  Anton Blanchard  <anton@samba.org>
55726         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
55727         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
55728         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
55729         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
55731 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
55733         * include/features.h (__USE_ANSI): Remove.
55735 2013-01-09  Roland McGrath  <roland@hack.frob.com>
55737         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
55739         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
55741 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
55743         * sysdeps/s390/fpu/libm-test-ulps: Update.
55745         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55747         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
55748         (__acr): Likewise.
55749         (__cpy): Likewise.
55750         (norm): Likewise.
55751         (denorm): Likewise.
55752         (__mp_dbl): Likewise.
55753         (__dbl_mp): Likewise.
55754         (add_magnitudes): Likewise.
55755         (sub_magnitudes): Likewise.
55756         (__add): Likewise.
55757         (__sub): Likewise.
55758         (__mul): Likewise.
55759         (__inv): Likewise.
55760         (__dvd): Likewise.
55761         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
55762         (__acr): Likewise.
55763         (__cpy): Likewise.
55764         (norm): Likewise.
55765         (denorm): Likewise.
55766         (__mp_dbl): Likewise.
55767         (__dbl_mp): Likewise.
55768         (add_magnitudes): Likewise.
55769         (sub_magnitudes): Likewise.
55770         (__add): Likewise.
55771         (__sub): Likewise.
55772         (__mul): Likewise.
55773         (__inv): Likewise.
55774         (__dvd): Likewise.
55775         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
55776         (__acr): Likewise.
55777         (__cpy): Likewise.
55778         (norm): Likewise.
55779         (denorm): Likewise.
55780         (__mp_dbl): Likewise.
55781         (__dbl_mp): Likewise.
55782         (add_magnitudes): Likewise.
55783         (sub_magnitudes): Likewise.
55784         (__add): Likewise.
55785         (__sub): Likewise.
55786         (__mul): Likewise.
55787         (__inv): Likewise.
55788         (__dvd): Likewise.
55790 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
55792         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
55793         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
55794         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
55795         2 && __USE_EXTERN_INLINES]: Likewise.
55797 2013-01-08  Andreas Jaeger  <aj@suse.de>
55799         [BZ# 14985]
55800         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
55801         Remove.
55802         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
55803         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
55805 2013-01-07  Anton Blanchard  <anton@samba.org>
55807         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
55808         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
55809         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
55810         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
55811         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
55812         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55813         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
55814         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
55815         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55816         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55817         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55818         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55819         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
55820         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55821         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
55822         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55823         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55824         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55825         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
55826         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
55827         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
55828         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
55829         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55830         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
55831         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
55832         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
55833         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
55834         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
55835         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
55836         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
55837         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
55838         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55839         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55840         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55841         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55842         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55843         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55844         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
55845         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
55846         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
55847         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
55848         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55849         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55851 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
55853         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
55854         (__MALLOC_PMT): Likewise.
55855         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
55856         [__GNUC__], only on [_LIBC].
55857         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
55858         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
55859         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
55860         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
55861         forward declaration.
55862         (realloc_hook_ini): Likewise.
55863         (memalign_hook_ini): Likewise.
55864         (__libc_memalign): Do not use __MALLOC_PMT in variable
55865         declaration.
55866         (__libc_valloc): Likewise.
55867         (__libc_pvalloc): Likewise.
55868         (__libc_calloc): Likewise.
55869         (__posix_memalign): Likewise.
55871         [BZ #14996]
55872         * math/s_casinh.c: Include <float.h>.
55873         (__casinh): Do not do computation with squaring and square root
55874         for large arguments.
55875         * math/s_casinhf.c: Include <float.h>.
55876         (__casinhf): Do not do computation with squaring and square root
55877         for large arguments.
55878         * math/s_casinhl.c: Include <float.h>.
55879         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
55880         (__casinhl): Do not do computation with squaring and square root
55881         for large arguments.
55882         * math/libm-test.inc (casin_test): Add more tests.
55883         (casinh_test): Likewise.
55884         * sysdeps/i386/fpu/libm-test-ulps: Update.
55885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55887 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
55889         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
55890         (__x86_64_raw_data_cache_size): Likewise.
55891         (__x86_64_data_cache_size_half): Likewise.
55892         (__x86_64_raw_data_cache_size_half): Likewise.
55893         (__x86_64_shared_cache_size): Likewise.
55894         (__x86_64_raw_shared_cache_size): Likewise.
55895         (__x86_64_shared_cache_size_half): Likewise.
55896         (__x86_64_raw_shared_cache_size_half): Likewise.
55897         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
55898         to ...
55899         (__x86_data_cache_size): This.
55900         (__x86_64_raw_data_cache_size): Renamed to ...
55901         (__x86_raw_data_cache_size): This.
55902         (__x86_64_data_cache_size_half): Renamed to ...
55903         (__x86_data_cache_size_half): This.
55904         (__x86_64_raw_data_cache_size_half): Renamed to ...
55905         (__x86_raw_data_cache_size_half): This.
55906         (__x86_64_shared_cache_size): Renamed to ...
55907         (__x86_shared_cache_size): This.
55908         (__x86_64_raw_shared_cache_size): Renamed to ...
55909         (__x86_raw_shared_cache_size): This.
55910         (__x86_64_shared_cache_size_half): Renamed to ...
55911         (__x86_shared_cache_size_half): This.
55912         (__x86_64_raw_shared_cache_size_half): Renamed to ...
55913         (__x86_raw_shared_cache_size_half): This.
55914         * sysdeps/x86_64/memcpy.S: Updated.
55915         * sysdeps/x86_64/memset.S: Likewise.
55916         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
55917         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55918         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55920 2013-01-04  David S. Miller  <davem@davemloft.net>
55922         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55924 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
55926         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
55927         1 to avoid redefinition warning.
55928         (__USE_GNU): Don't define.
55929         (init_signaling_nan): Protoize.
55931         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55933 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55935         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
55936         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
55937         (__cpymn): Likewise.
55938         (norm): Remove commented code.
55939         (denorm): Likewise.
55940         (__mp_dbl): Likewise.
55941         (__inv): Likewise.
55942         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
55943         (__cpymn): Likewise.
55944         (norm): Remove commented code.
55945         (denorm): Likewise.
55946         (__mp_dbl): Likewise.
55947         (__inv): Likewise.
55949         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
55950         mp_no value for 1.0 and 2.0.
55951         (norm): Use RADIXI instead of radixi.d.
55952         (denorm): Likewise.
55953         (__mul): Use 0.0 instead of zero.d.
55954         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
55955         mp_no value for 1.0 and 2.0.
55956         (norm): Use RADIXI instead of radixi.d.
55957         (denorm): Likewise.
55958         (__mul): Use 0.0 instead of zero.d.
55960 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
55962         [BZ #14994]
55963         * math/s_casinh.c (__casinh): Reduce finite argument to first
55964         quadrant then set signs of results at the end.
55965         * math/s_casinhf.c (__casinhf): Likewise.
55966         * math/s_casinhl.c (__casinhl): Likewise.
55967         * math/libm-test.inc (casin_test): Add more tests.
55968         (casinh_test): Likewise.
55969         * sysdeps/i386/fpu/libm-test-ulps: Update.
55970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55972 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55974         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
55976         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
55978         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
55979         declarations.
55980         (denorm): Likewise.
55981         (__mp_dbl): Likewise.
55982         (__inv): Likewise.
55984         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
55985         and adjust the header comment.
55987         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
55988         variable name from declaration.
55990 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
55992         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55993         Initialize COMMON_CPUID_INDEX_7 element.
55994         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
55995         (CPUID_RTM): Likewise.
55996         (HAS_RTM): Likewise.
55997         (COMMON_CPUID_INDEX_7): New enum.
55999 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
56001         [BZ #14981]
56002         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
56003         size is zero, record memory as freed.
56005 2013-01-03  Andreas Jaeger  <aj@suse.de>
56007         * po/ia.po: Add new Interlingua translation.
56009 2012-01-03  Allan McRae  <allan@archlinux.org>
56011         * locale/programs/localedef.c: Fix description of '--posix' flag.
56013 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
56015         * NEWS: Update dates in second copyright notice.
56016         * README: Update copyright dates in example.
56017         * manual/libc.texinfo: Update copyright dates.
56018         * scripts/test-installation.pl: Update copyright date in --version
56019         output.
56021         * hurd/ctty-input.c: Fix copyright notice formatting.
56022         * hurd/ctty-output.c: Likewise.
56023         * hurd/dtable.c: Likewise.
56024         * hurd/hurd-raise.c: Likewise.
56025         * hurd/hurdprio.c: Likewise.
56026         * hurd/msgportdemux.c: Likewise.
56027         * misc/sys/file.h: Likewise.
56028         * misc/sys/ioctl.h: Likewise.
56029         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
56030         * sysdeps/mach/hurd/chdir.c: Likewise.
56031         * sysdeps/mach/hurd/fchdir.c: Likewise.
56032         * sysdeps/mach/hurd/rename.c: Likewise.
56033         * sysdeps/mach/hurd/rmdir.c: Likewise.
56034         * sysdeps/mach/hurd/seekdir.c: Likewise.
56035         * sysdeps/mach/hurd/setsid.c: Likewise.
56036         * sysdeps/posix/wait3.c: Likewise.
56038         * All files with FSF copyright notices: Update copyright dates
56039         using scripts/update-copyrights.
56040         * intl/plural.c: Regenerated.
56041         * locale/programs/charmap-kw.h: Likewise.
56042         * locale/programs/locfile-kw.h: Likewise.
56044 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56046         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
56047         four values.
56049         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
56050         calculation loop and add branch prediction.
56052         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
56053         check access beyond bounds of m1np.
56055         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56056         MPTWO.
56057         (__inv): Remove local variable MPTWO to use the global
56058         constant.
56059         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
56060         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56061         variable MPTWO.
56062         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
56063         MP3HALFS static const.
56065 2013-01-01  David S. Miller  <davem@davemloft.net>
56067         * po/ca.po: Update from translation team.
56069 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
56071         * scripts/update-copyrights: New file.
56072         * Makeconfig: Reformat copyright notice.
56073         * ctype/ctype.h: Likewise.
56074         * debug/swprintf_chk.c: Likewise.
56075         * elf/dl-cache.c: Likewise.
56076         * elf/dl-debug.c: Likewise.
56077         * elf/dl-object.c: Likewise.
56078         * grp/initgroups.c: Likewise.
56079         * hurd/Makefile: Likewise.
56080         * hurd/hurd/signal.h: Likewise.
56081         * hurd/hurdfault.c: Likewise.
56082         * hurd/hurdioctl.c: Likewise.
56083         * hurd/hurdlookup.c: Likewise.
56084         * hurd/intr-msg.c: Likewise.
56085         * iconv/gconv_open.c: Likewise.
56086         * libio/swprintf.c: Likewise.
56087         * locale/lc-ctype.c: Likewise.
56088         * locale/nl_langinfo.c: Likewise.
56089         * mach/Machrules: Likewise.
56090         * mach/Makefile: Likewise.
56091         * malloc/obstack.h: Likewise.
56092         * manual/Makefile: Likewise.
56093         * manual/tsort.awk: Likewise.
56094         * misc/bits/stab.def: Likewise.
56095         * nis/nis_print_group_entry.c: Likewise.
56096         * nis/nis_table.c: Likewise.
56097         * nis/nss_compat/compat-pwd.c: Likewise.
56098         * nis/nss_compat/compat-spwd.c: Likewise.
56099         * po/Makefile: Likewise.
56100         * posix/fnmatch.c: Likewise.
56101         * posix/regex.h: Likewise.
56102         * resolv/Makefile: Likewise.
56103         * resolv/nss_dns/dns-network.c: Likewise.
56104         * resolv/res_hconf.c: Likewise.
56105         * scripts/gen-sorted.awk: Likewise.
56106         * soft-fp/soft-fp.h: Likewise.
56107         * stdio-common/printf.h: Likewise.
56108         * stdlib/monetary.h: Likewise.
56109         * stdlib/random.c: Likewise.
56110         * stdlib/random_r.c: Likewise.
56111         * sysdeps/generic/Makefile: Likewise.
56112         * sysdeps/gnu/Makefile: Likewise.
56113         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56114         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56115         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56116         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56117         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56118         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56119         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56120         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56121         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56122         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56123         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56124         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56125         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56126         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56127         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
56128         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56129         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56130         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56131         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56132         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56133         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56134         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56135         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56136         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
56137         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
56138         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56139         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
56140         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
56141         * sysdeps/mach/hurd/errnos.awk: Likewise.
56142         * sysdeps/mach/hurd/fork.c: Likewise.
56143         * sysdeps/mach/hurd/getcwd.c: Likewise.
56144         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
56145         * sysdeps/mach/hurd/mmap.c: Likewise.
56146         * sysdeps/mach/hurd/utimes.c: Likewise.
56147         * sysdeps/mach/hurd/xmknod.c: Likewise.
56148         * sysdeps/posix/profil.c: Likewise.
56149         * sysdeps/posix/readdir_r.c: Likewise.
56150         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56151         * sysdeps/powerpc/bits/setjmp.h: Likewise.
56152         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
56153         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56154         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56155         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
56156         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56157         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56158         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56159         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
56160         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56161         * sysdeps/pthread/lio_listio.c: Likewise.
56162         * sysdeps/sparc/dl-procinfo.h: Likewise.
56163         * sysdeps/unix/i386/sysdep.S: Likewise.
56164         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
56165         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
56166         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
56167         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
56168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56169         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
56170         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
56171         * sysdeps/unix/sysv/linux/speed.c: Likewise.
56172         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
56173         * sysdeps/wordsize-32/divdi3.c: Likewise.
56174         * time/sys/time.h: Likewise.
56175         * wcsmbs/Makefile: Likewise.
56177 2013-01-01  David S. Miller  <davem@davemloft.net>
56179         * po/fr.po: Update from translation team.
56181         * catgets/gencat.c: Update copyright year.
56182         * csu/version.c: Likewise.
56183         * debug/catchsegv.sh: Likewise.
56184         * debug/pcprofiledump.c: Likewise.
56185         * debug/xtrace.sh: Likewise.
56186         * elf/ldconfig.c: Likewise.
56187         * elf/ldd.bash.in: Likewise.
56188         * elf/pldd.c: Likewise.
56189         * elf/sotruss.ksh: Likewise.
56190         * elf/sprof.c: Likewise.
56191         * iconv/iconv_prog.c: Likewise.
56192         * iconv/iconvconfig.c: Likewise.
56193         * locale/programs/locale.c: Likewise.
56194         * locale/programs/localedef.c: Likewise.
56195         * login/programs/pt_chown.c: Likewise.
56196         * malloc/memusage.sh: Likewise.
56197         * malloc/memusagestat.c: Likewise.
56198         * malloc/mtrace.pl: Likewise.
56199         * nscd/nscd.c: Likewise.
56200         * nss/getent.c: Likewise.
56201         * nss/makedb.c: Likewise.
56202         * posix/getconf.c: Likewise.
56204 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
56206         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
56207         numbers.
56209 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
56211         * math/bits/mathcalls.h (modf): Use __nonnull.
56213 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56215         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
56216         (split): Use macro CN instead of the bare value.
56217         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
56218         could be used.
56219         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
56220         instead of the bare value.
56221         (power1): Likewise.
56223 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56225         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
56226         __ATAN_TWOM.
56227         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56229         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
56230         their values.
56231         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56232         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56233         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
56234         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56236 2012-12-28  Andreas Jaeger  <aj@suse.de>
56238         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
56239         values are from Linux 3.7.
56241         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
56242         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
56244 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56246         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
56247         TRUE case.
56249         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
56250         (norm): Likewise.
56251         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
56252         variables with preprocessor constants.
56253         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56254         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56255         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56257 2012-12-27  Bruno Haible  <bruno@clisp.org>
56259         [BZ #14317]
56260         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
56261         only if needed.
56263 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56265         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
56266         and use variable directly.
56267         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
56269         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56270         MPONE.
56271         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
56272         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56273         variable MPONE.
56274         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56275         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
56276         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
56277         include directive.  Remove local variable MPONE.
56278         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
56279         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
56280         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56282 2012-12-25  David S. Miller  <davem@davemloft.net>
56284         * version.h (RELEASE): Set to "development".
56285         (VERSION): Set to "2.17.90".
56286         * NEWS: Add 2.18 section.
56288 2012-12-21  David S. Miller  <davem@davemloft.net>
56290         * po/hr.po: Update from translation team.
56292 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56294         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
56296 2012-12-19  Steve Ellcey  <sellcey@mips.com>
56298         * NEWS:  Mention new memcpy for MIPS.
56300 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56302         * manual/contrib.texi (Contributors): Spelling correction.
56304 2012-12-15  David S. Miller  <davem@davemloft.net>
56306         * po/ru.po: Update from translation team.
56308 2012-12-13  David S. Miller  <davem@davemloft.net>
56310         * NEWS: Mention IFUNC testsuite enhancements.
56312         * po/pl.po: Update from translation team.
56313         * po/bg.po: Likewise.
56315         * manual/contrib.texi (Contributors): Update entries for Hongjiu
56316         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
56318 2012-12-11  David S. Miller  <davem@davemloft.net>
56320         * po/sv.po: Update from translation team.
56322         * po/vi.po: Update from translation team.
56324         * po/cs.po: Update from translation team.
56326         * po/de.po: Update from translation team.
56327         * po/eo.po: Likewise.
56328         * po/nl.po: Likewise.
56330 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56332         [BZ #14246]
56333         * manual/argp.texi (Argp Helper Functions): Move node to follow
56334         Argp Parsing State.
56336         [BZ #14872]
56337         * manual/conf.texi (Limits on File System Capacity): Mention if
56338         terminating null is included in the max size.
56340 2012-12-10  Andreas Jaeger  <aj@suse.de>
56342         * po/cs.po: Update from translation team.
56344 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56346         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
56347         void pointer and cast to uintptr_t.
56348         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
56349         path.
56350         * sysdeps/s390/s390-64/memcpy.S: Likewise.
56351         * sysdeps/s390/s390-64/memset.S: Likewise.
56353 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
56355         [BZ #14833]
56356         * menual/message.texi (Message Translation): Fix typos.
56357         (Helper programs for gettext): Likewise.
56359 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
56361         [BZ #14898]
56362         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
56363         Change to -1.
56365 2012-12-07  David S. Miller  <davem@davemloft.net>
56367         * po/libc.pot: Update.
56369 2012-12-07  Richard Henderson  <rth@redhat.com>
56371         [BZ #10114]
56372         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
56373         normal/normal case to before the switch.
56374         (_FP_DIV): Likewise.
56376 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
56377             Mike Frysinger  <vapier@gentoo.org>
56379         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
56380         check for __NR_fadvise64_64.
56382 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
56384         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
56385         0, not just to plain "0" as a statement.
56386         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
56387         with cw.
56389 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
56391         * NEWS: Use sourceware.org in Bugzilla URL.
56393 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
56396         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
56398         * stdio-common/tst-put-error.c (do_test): Add newline to the
56399         padded test to ensure flush.
56401 2012-12-05  Jeff Law  <law@redhat.com>
56403         * sunrpc/etc.rpc (fedfs_admin): Add entry.
56405 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
56407         * README: Don't refer to ports add-on as distributed separately.
56408         Mention AArch64 in list of systems supported in the ports add-on.
56410         * LICENSES: Add more non-FSF copyright and license notices.
56412         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
56413         ((unused)).
56415         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
56417         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
56418         10000 as width of padded output.
56420 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
56422         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
56424         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
56425         variable LX with __attribute__ ((unused)).
56426         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
56427         Likewise.
56428         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
56429         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56430         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
56431         with __attribute__ ((unused)).
56433 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
56435         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
56437 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
56439         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
56440         (CFLAGS-nldbl-acos.c): New variable.
56441         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
56442         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
56443         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
56444         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
56445         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
56446         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
56447         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
56448         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
56449         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
56450         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
56451         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
56452         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
56453         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
56454         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
56455         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
56456         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
56457         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
56458         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
56459         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
56460         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
56461         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
56462         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
56463         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
56464         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
56465         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
56466         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
56467         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
56468         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
56469         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
56470         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
56471         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
56472         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
56473         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
56474         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
56475         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
56476         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
56477         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
56478         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
56479         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
56480         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
56481         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
56482         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
56483         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
56484         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
56485         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
56486         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
56487         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
56488         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
56489         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
56490         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
56491         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
56492         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
56493         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
56494         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
56495         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
56496         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
56497         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
56498         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
56499         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
56500         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
56501         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
56502         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
56503         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
56504         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
56505         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
56506         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
56507         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
56508         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
56509         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
56510         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
56511         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
56512         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
56513         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
56514         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
56515         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
56516         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
56517         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
56518         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
56519         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
56520         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
56521         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
56522         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
56523         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
56524         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
56525         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
56526         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
56527         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
56528         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
56529         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
56530         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
56531         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
56532         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
56533         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
56534         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
56535         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
56536         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
56537         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
56539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
56540         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
56542         [BZ #14914]
56543         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
56544         whole low double instead of just low 47 bits when splitting values
56545         into two parts.
56547 2012-12-03  Allan McRae  <allan@archlinux.org>
56549         * manual/stdio.texi (Predefined Printf Handlers): Remove
56550         @hsep and @vsep usage.
56552 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
56554         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
56555         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
56557 2012-12-03  Jeff Law  <law@redhat.com>
56559         * time/sys/time.h (settimeofday): Do not mark TV argument
56560         as __nonnull.
56562 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
56564         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
56565         when currently writing and seek to current position when not.
56566         * libio/Makefile (tests): Remove bug-fclose1.
56567         * libio/bug-fclose1.c: Delete.
56569 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
56571         * manual/arith.texi (feenableexcept): Fix typo.
56572         (fedisableexcept): Likewise.
56574 2012-11-30  Roland McGrath  <roland@hack.frob.com>
56576         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
56577         second, differently-typed declaration, rather than a cast.
56579 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
56581         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
56582         * include/rpc/svc.h: ... here.
56584 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
56586         [BZ #13013]
56587         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
56588         depending n and resplen2 to catch cases where answer
56589         equals answerp2.
56591 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
56593         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
56594         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
56596 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
56598         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
56600 2012-11-29  Roland McGrath  <roland@hack.frob.com>
56602         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
56604 2012-11-28  Jeff Law  <law@redhat.com>
56606         [BZ #13761]
56607         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
56608         dataset_temporary.  Track alloca usage into alloca_used.
56609         If dataset is large allocate and release it via malloc/free.
56611 2012-06-04  Florian Weimer  <fweimer@redhat.com>
56613         [BZ #14197]
56614         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
56616 2012-11-28  David S. Miller  <davem@davemloft.net>
56618         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56620 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
56622         [BZ #14803]
56623         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
56624         of pi/2 rounded to nearest to 64 bits.
56625         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
56626         nearest to 64 bits.
56627         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
56628         bits.
56630 2012-11-28  Jeff Law <law@redhat.com>
56631             Martin Osvald <mosvald@redhat.com>
56633         [BZ #14889]
56634         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
56635         * sunrpc/svc.c: Include time.h.
56636         (__svc_accept_failed): New function.
56637         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
56638         any reason other than EINTR, call __svc_accept_failed.
56639         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
56640         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
56642 2012-11-28  Andreas Schwab  <schwab@suse.de>
56644         * scripts/abilist.awk: Also handle indirect functions in .opd
56645         section.
56647 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
56649         [BZ #13881]
56650         * sysdeps/x86/fpu/powl_helper.c: New file.
56651         * sysdeps/x86/fpu/Makefile: Likewise.
56652         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
56653         (p3): New object.
56654         (__ieee754_powl): Use __powl_helper for finite arguments except
56655         integer exponents below 8.
56656         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
56657         (p3): New object.
56658         (__ieee754_powl): Use __powl_helper for finite arguments except
56659         integer exponents below 8.
56660         * math/libm-test.inc (pow_test): Add more tests and enable some
56661         previously disabled tests.
56662         * sysdeps/i386/fpu/libm-test-ulps: Update.
56663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56665 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56666             Carlos O'Donell  <carlos_odonell@mentor.com>
56668         * nss/makedb.c (is_prime): Assert that input is odd and greater
56669         than 4.  Note that fact in a comment too.
56670         (next_prime): Add 4 to input.
56672 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56674         [BZ #11741]
56675         * libio/Makefile (tests): Add test case tst-fwrite-error.
56676         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
56677         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
56678         * libio/tst-fwrite-error.c: New test case.
56680 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
56682         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
56683         before casting to void *.
56684         * include/libc-internal.h (__pointer_type): New macro.
56685         (__integer_if_pointer_type_sub): Likewise.
56686         (__integer_if_pointer_type): Likewise.
56687         (cast_to_integer): Likewise.
56688         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
56689         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
56690         before casting to atomic64_t.
56691         (atomic_exchange_acq): Likewise.
56692         (__arch_exchange_and_add_body): Likewise.
56693         (__arch_add_body): Likewise.
56694         (atomic_add_negative): Likewise.
56695         (atomic_add_zero): Likewise.
56697 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
56699         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
56700         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
56701         (add_fdes): Likewise.
56702         (linear_search_fdes): Likewise.
56703         (binary_search_unencoded_fdes): Likewise.
56705 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
56707         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
56709 2012-11-24  Adam Conrad  <adconrad@0c3.net>
56711         * configure.in: Autodetect C++ header directories.
56712         * configure: Regenerated.
56714 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
56716         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
56718 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
56720         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56722 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
56724         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
56725         LDBL_MANT_DIG == 106]: Disable some tests.
56726         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
56727         Likewise.
56728         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
56729         Likewise.
56731         [BZ #14871]
56732         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
56733         input for small inputs.  Return +/- pi/2 for large inputs.
56734         * math/libm-test.inc (atan_test): Add more tests.
56736         * sysdeps/generic/unwind-dw2-fde-glibc.c
56737         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
56738         __attribute__ ((unused)).
56740         [BZ #14645]
56741         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
56742         x * y if x and y are nonzero and z is zero.
56744         [BZ #14811]
56745         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
56746         nonzero exponents with absolute value below 0x1p-117 to +/-
56747         0x1p-117.
56749         [BZ #14869]
56750         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
56751         up arguments below 2**-450, not just those below 2**-500.
56752         * math/libm-test.inc (hypot_test): Add another test.
56754         [BZ #14868]
56755         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
56756         Return a+b for ratio over 2**120, not 2**60.
56757         * math/libm-test.inc (hypot_test): Add another test.
56759         * math/libm-test.inc (clog_test): Use
56760         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
56761         (clog10_test): Likewise.
56763         [BZ #6778]
56764         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
56766 2012-11-22  Andreas Schwab  <schwab@suse.de>
56768         * sysdeps/i386/fpu/libm-test-ulps: Update.
56770 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
56772         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
56773         printf output with newline.
56775 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
56777         [BZ #14865]
56778         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
56779         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
56780         -z nodlopen, -z initfirst and -z execstack support.
56781         * configure: Regenerated.
56783         * elf/elf.h (DF_1_NODIRECT): New macro.
56784         (DF_1_IGNMULDEF): Likewise.
56785         (DF_1_NOKSYMS): Likewise.
56786         (DF_1_NOHDR): Likewise.
56787         (DF_1_EDITED): Likewise.
56788         (DF_1_NORELOC): Likewise.
56789         (DF_1_SYMINTPOSE): Likewise.
56790         (DF_1_GLOBAUDIT): Likewise.
56791         (DF_1_SINGLETON): Likewise.
56792         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
56793         DT_1_SUPPORTED_MASK bits.
56794         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
56796 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
56798         * sysdeps/unix/make-syscalls.sh: Document prefixes.
56800 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
56802         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
56803         macro.
56805         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
56806         (sendmmsg): Move declarations...
56807         * socket/sys/socket.h: ... here.
56808         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
56809         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
56810         include it from...
56811         * socket/recvmmsg.c: ... this new file.
56812         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
56813         (sendmmsg): Rename to __sendmmsg, create weak alias and make
56814         definition of __sendmmsg hidden.
56815         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
56816         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
56817         Move ENOSYS stub into and include it from...
56818         * socket/sendmmsg.c: ... this new file.
56819         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
56820         (sysdep_routines): Move recvmmsg and sendmmsg...
56821         * socket/Makefile (routines): ... here.
56822         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
56823         (GLIBC_PRIVATE): Add __sendmmsg.
56824         * include/sys/socket.h (__sendmmsg): Add declarations.
56825         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
56826         sendmmsg.
56828 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
56830         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
56831         variable I1 with __attribute__ ((unused)).
56832         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
56834 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
56836         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
56837         DUMMY variables with __attribute__ ((unused)).
56839         * bits/byteswap.h: Include <bits/types.h>.
56840         (__bswap_64): Use __uint64_t instead of unsigned long long int.
56842 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
56844         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
56845         string_t.  Do not manually set errno.
56846         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
56847         length with __strnlen.  Make sure to both set errno and return it on
56848         failure.
56850 2012-11-19  David S. Miller  <davem@davemloft.net>
56852         With help from Joseph Myers.
56853         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
56854         very large arguments properly.
56855         * math/libm-test.inc (atan_test): New tests.
56856         (atan2_test): New tests.
56857         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56858         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56860 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
56862         [BZ #14856]
56863         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
56864         Define to 3.
56866         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
56867         [POSIX] (EADDRNOTAVAIL): Likewise.
56868         [POSIX] (EAFNOSUPPORT): Likewise.
56869         [POSIX] (EALREADY): Likewise.
56870         [POSIX] (ECONNABORTED): Likewise.
56871         [POSIX] (ECONNREFUSED): Likewise.
56872         [POSIX] (ECONNRESET): Likewise.
56873         [POSIX] (EDESTADDRREQ): Likewise.
56874         [POSIX] (EDQUOT): Likewise.
56875         [POSIX] (EHOSTUNREACH): Likewise.
56876         [POSIX] (EIDRM): Likewise.
56877         [POSIX] (EISCONN): Likewise.
56878         [POSIX] (ELOOP): Likewise.
56879         [POSIX] (EMULTIHOP): Likewise.
56880         [POSIX] (ENETDOWN): Likewise.
56881         [POSIX] (ENETUNREACH): Likewise.
56882         [POSIX] (ENOBUFS): Likewise.
56883         [POSIX] (ENODATA): Likewise.
56884         [POSIX] (ENOLINK): Likewise.
56885         [POSIX] (ENOMSG): Likewise.
56886         [POSIX] (ENOPROTOOPT): Likewise.
56887         [POSIX] (ENOSR): Likewise.
56888         [POSIX] (ENOSTR): Likewise.
56889         [POSIX] (ENOTCONN): Likewise.
56890         [POSIX] (ENOTSOCK): Likewise.
56891         [POSIX] (EOPNOTSUPP): Likewise.
56892         [POSIX] (EOVERFLOW): Likewise.
56893         [POSIX] (EPROTO): Likewise.
56894         [POSIX] (EPROTONOSUPPORT): Likewise.
56895         [POSIX] (EPROTOTYPE): Likewise.
56896         [POSIX] (ESTALE): Likewise.
56897         [POSIX] (ETIME): Likewise.
56898         [POSIX] (ETXTBSY): Likewise.
56899         [POSIX] (EWOULDBLOCK): Likewise.
56900         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
56901         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
56902         [POSIX] (SEEK_CUR): Likewise.
56903         [POSIX] (SEEK_END): Likewise.
56904         [POSIX || UNIX98] (mode_t): Do not require.
56905         [POSIX] (off_t): Likewise.
56906         [POSIX] (pid_t): Likewise.
56907         [POSIX] (sys/stat.h): Do not allow header.
56908         [POSIX] (unistd.h): Likewise.
56909         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
56910         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
56911         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
56912         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
56913         require.
56914         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
56915         sigevent): Specify elements.
56916         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
56917         entry.
56918         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
56919         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
56921         * conform/data/cpio.h-data [POSIX]: Disable whole file.
56922         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
56923         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
56924         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
56925         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
56926         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
56927         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
56928         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
56929         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
56930         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
56931         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
56932         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
56933         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
56934         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
56935         Likewise.
56936         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
56937         Likewise.
56938         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
56939         Likewise.
56940         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
56941         Likewise.
56942         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
56943         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
56944         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
56945         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
56946         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
56947         Specify lower bound on value.
56948         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
56949         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
56950         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
56951         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
56952         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
56953         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
56954         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
56955         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
56956         value.
56957         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
56958         as optional.
56959         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
56960         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
56961         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
56962         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
56963         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
56964         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
56965         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
56966         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
56967         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
56968         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
56969         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
56970         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
56971         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
56972         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
56973         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
56974         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
56975         entry.
56976         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
56977         optional.
56978         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
56979         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
56980         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
56981         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
56982         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
56983         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
56984         Likewise.
56985         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
56986         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
56987         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
56988         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
56989         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
56990         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
56991         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
56992         as optional.
56993         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
56994         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
56995         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
56996         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
56997         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
56998         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
56999         specify as optional.
57000         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
57001         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
57002         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
57003         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
57004         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
57005         [XPG3] (NL_LANGMAX): Likewise.
57006         [POSIX || XPG3] (NL_MSGMAX): Likewise.
57007         [POSIX || XPG3] (NL_NMAX): Likewise.
57008         [POSIX || XPG3] (NL_SETMAX): Likewise.
57009         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
57010         [XPG3] (NZERO): Likewise.
57011         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
57012         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
57013         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
57014         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
57015         (REG_ERANGE): Expect.
57016         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
57017         optional-constant.
57018         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
57019         Use (void) in prototype.
57020         [POSIX] (*_t): Allow.
57021         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
57022         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
57023         (WRDE_BADVAL): Expect.
57025         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
57026         expect.
57027         [XPG3 || XPG4] (O_RSYNC): Likewise.
57028         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
57029         Likewise.
57030         [XPG3 || XPG4] (pthread_sigmask): Likewise.
57031         [XPG3 || XPG4] (sigqueue): Likewise.
57032         [XPG3 || XPG4] (sigtimedwait): Likewise.
57033         [XPG3 || XPG4] (sigwaitinfo): Likewise.
57034         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
57035         [XPG3 || XPG4] (vsnprintf): Likewise.
57036         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
57037         Likewise.
57038         [XPG3 || XPG4] (blksize_t): Likewise.
57039         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
57040         Likewise.
57041         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
57042         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
57043         [XPG3 || XPG4] (struct itimerspec): Likewise.
57044         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
57045         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
57046         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
57047         [XPG3 || XPG4] (clockid_t): Likewise.
57048         [XPG3 || XPG4] (timer_t): Likewise.
57049         [XPG3 || XPG4] (clock_getres): Likewise.
57050         [XPG3 || XPG4] (clock_gettime): Likewise.
57051         [XPG3 || XPG4] (clock_settime): Likewise.
57052         [XPG3 || XPG4] (nanosleep): Likewise.
57053         [XPG3 || XPG4] (timer_create): Likewise.
57054         [XPG3 || XPG4] (timer_delete): Likewise.
57055         [XPG3 || XPG4] (timer_gettime): Likewise.
57056         [XPG3 || XPG4] (timer_getoverrun): Likewise.
57057         [XPG3 || XPG4] (timer_settime): Likewise.
57058         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
57059         [XPG3 || XPG4] (getlogin_r): Likewise.
57060         [XPG3 || XPG4] (pread): Likewise.
57061         [XPG3 || XPG4] (pthread_atfork): Likewise.
57062         [XPG3 || XPG4] (pwrite): Likewise.
57064         [BZ #14835]
57065         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
57066         <bits/siginfo.h>.
57068 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57070         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
57071         finalizing MALLSTREAM.
57073         * sysdeps/mach/hurd/syncfs.c: New file.
57075 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57077         [BZ #14719]
57078         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
57079         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
57080         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
57081         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
57082         (_nss_dns_gethostbyname4_r): Likewise.
57083         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
57084         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
57086 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
57088         [BZ #13763]
57089         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
57091 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
57093         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
57094         * elf/cache.c (print_entry): Print ",AArch64" for
57095         FLAG_AARCH64_LIB64
57097         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
57098         * elf/cache.c (print_entry): Print ",hard-float" for
57099         FLAG_ARM_LIBHF.
57101 2012-11-18  David S. Miller  <davem@davemloft.net>
57103         With help from Joseph Myers.
57104         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
57105         cutoff to 2**-13.
57106         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
57107         cutoff to 2**-25.
57108         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
57109         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
57110         small.
57111         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
57112         * math/libm-test.inc (y0_test): New tests.
57113         (y1_test): New tests.
57114         * sysdeps/i386/fpu/libm-test-ulps: Update.
57115         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57116         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57118 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
57120         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
57121         64-bit targets.
57122         * configure: Regenerated.
57124 2012-11-17  David S. Miller  <davem@davemloft.net>
57126         [BZ #14811]
57127         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
57128         nonzero exponents with absolute value below 0x1p-128 to +/-
57129         0x1p-128.
57131 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
57133         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
57135         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
57137         * posix/getconf-speclist.c: New file.
57138         * posix/posix-envs.def: Likewise.
57139         * posix/confstr.c (START_ENV_GROUP): New macro.
57140         (END_ENV_GROUP): Likewise.
57141         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57142         (KNOWN_PRESENT_ENV_STRING): Likewise.
57143         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57144         (UNKNOWN_ENVIRONMENT): Likewise.
57145         (confstr): Include posix-envs.def instead of handling
57146         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
57147         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
57148         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
57149         (END_ENV_GROUP): Likewise.
57150         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57151         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57152         (UNKNOWN_ENVIRONMENT): Likewise.
57153         (__sysconf): Include posix-envs.def instead of handling associated
57154         cases directly here.
57155         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
57156         preprocessing getconf-speclist.c rather than running getconf or
57157         generating empty file.
57159 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
57161         * scripts/check-local-headers.sh: Ignore 'mach' headers.
57163 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
57165         [BZ #14672]
57166         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
57168 2012-11-16  David S. Miller  <davem@davemloft.net>
57170         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
57171         smaller than LDBL_EPSILON/2.0L, just return xm1.
57173 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
57175         * elf/tst-array1.c (init): Set constructor priority to 1000.
57176         (fini): Set destructor priority to 1000.
57177         * elf/tst-array2dep.c: Likewise.
57179 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57181         [BZ #11741]
57182         * libio/fileops.c (_IO_new_file_write): Correctly return error.
57183         (_IO_new_file_xsputn): Also return EOF if none of the input
57184         data was written when overflow failed.
57185         * libio/iopadn.c (_IO_padn): Likewise.
57186         * libio/iowpadn.c (_IO_wpadn): Likewise.
57187         * stdio-common/tst-put-error.c: Add copyright notice.
57188         (do_test): Add case for printing padded string.
57189         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
57190         _IO_padn returned error.
57191         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
57192         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
57193         return EOF.
57195 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57197         * libio/libioP.h: Add comment note that the references to C++
57198         bits are now obsolete.
57200 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57202         * math/libm-test.inc (check_complex): Use asprintf.
57204 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
57206         * debug/pcprofiledump.c (print_version): Update copyright year.
57207         * malloc/memusagestat.c (print_version): Likewise.
57209 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
57211         [BZ #14831]
57212         * elf/Makefile (tests): Add tst-audit8.
57213         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
57214         ($(objpfx)tst-audit8.out): New target.
57215         (tst-audit8-ENV): New variable.
57216         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
57217         audit if l_reloc_result is NULL.
57218         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
57219         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
57220         * elf/tst-audit8.c: New file.
57222 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57224         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
57225         * misc/Makefile (CFLAGS-select.c): Define.
57226         * posix/Makefile (CFLAGS-pause.c): Define.
57228 2012-11-13  David S. Miller  <davem@davemloft.net>
57230         * crypt/Makefile: Move test targets after toplevel Rules
57231         inclusion.  Grab any necessary sysdep routines when linking.
57232         * crypt/md5.c (md5_process_block): Remove define, we will always
57233         name it __md5_process_block.
57234         (md5_finish_ctx): Update md5_process_block call.
57235         (md5_stream): Likewise.
57236         (md5_process_bytes): Likewise.
57237         (md5_process_block): Rename to __md5_process_block and move to ...
57238         * crypt/md5-block.c: ... here.
57239         * crypt/sha256.c (sha256_process_block): Move to ...
57240         * crypt/sha256-block.c: ... here.
57241         * crypt/sha512.c (sha512_process_block): Move to ...
57242         * crypt/sha512-block.c: ... here.
57243         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
57244         path.
57245         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
57246         * sysdeps/sparc/sparc64/multiarch/Makefile
57247         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
57248         crypt subdir.
57249         (localedef-aux): Add md5 crypto assembler when in locale subdir.
57250         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
57251         multiarch changes.
57252         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
57253         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
57254         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
57255         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
57256         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
57257         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
57258         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
57259         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
57260         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
57261         file.
57262         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
57263         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
57264         file.
57265         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
57267 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
57269         * timezone/tzselect.ksh: Update from tzcode git revision
57270         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
57271         * timezone/zdump.c: Likewise.
57272         * timezone/zic.c: Likewise.
57273         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
57274         in TZVERSION setting, not $(PKGVERSION).
57275         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
57276         REPORT_BUGS_TO settings.
57278         [BZ #14838]
57279         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
57280         macro.
57282 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57284         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
57285         detection to immediately after _FP_ROUND().
57286         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
57287         bits are 0.
57289 2012-11-11  David S. Miller  <davem@davemloft.net>
57291         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
57292         inttypes.h
57293         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
57294         __close rather than their public counterparts.
57296 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
57298         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
57299         file.
57300         [UNIX98] (sem_timedwait): Do not expect.
57301         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
57302         [XPG4 || UNIX98] (sockatmark): Do not expect.
57303         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
57304         (clock_getcpuclockid): Do not expect.
57305         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
57306         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
57307         Do not expect.
57308         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
57309         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
57310         [UNIX98] (vwscanf): Likewise.
57311         [UNIX98] (vswscanf): Likewise.
57313 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
57315         * timezone/version.h: Remove file.
57316         * timezone/README: Do not refer to version.h.
57317         * timezone/Makefile ($(objpfx)zic.o): New dependency on
57318         $(objpfx)version.h.
57319         ($(objpfx)zdump.o): Likewise.
57320         ($(objpfx)version.h): New target.
57322         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
57323         2012i.
57324         * timezone/README: Don't mention modification to tzselect.ksh.
57325         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
57326         work on unmodified tzselect.ksh.  Substitute version numbers in
57327         tzselect.ksh.
57329         * Makefile (format-me): Remove.
57330         (INSTALL): Adjust indentation.  Use commands directly instead of
57331         using $(format-me).
57333         * aclocal.m4 (ACX_PKGVERSION): New macro.
57334         (ACX_BUGURL): Likewise.
57335         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
57336         (PKGVERSION): New AC_DEFINE_UNQUOTED.
57337         (REPORT_BUGS_TO): Likewise.
57338         * configure: Regenerated.
57339         * config.h.in (PKGVERSION): New macro.
57340         (REPORT_BUGS_TO): Likewise.
57341         * config.make.in (PKGVERSION): New variable.
57342         (PKGVERSION_TEXI): Likewise.
57343         (REPORT_BUGS_TO): Likewise.
57344         (REPORT_BUGS_TEXI): Likewise.
57345         * Makefile (format-me): Use -I$(common-objpfx)manual.
57346         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
57347         ($(common-objpfx)manual/%): New target.
57348         (manual/%): Remove target.
57349         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
57350         (print_version): Use PKGVERSION.
57351         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
57352         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
57353         and REPORT_BUGS_TO.
57354         ($(objpfx)xtrace): Likewise.
57355         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
57356         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
57357         (print_version): Use PKGVERSION.
57358         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
57359         (do_version): Use PKGVERSION.
57360         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
57361         REPORT_BUGS_TO.
57362         (common-ldd-rewrite): Likewise.
57363         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
57364         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
57365         (print_version): Use PKGVERSION.
57366         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
57367         * elf/pldd.c (argp_program_bug_address): Remove variable.
57368         (more_help): New function.
57369         (argp): Use more_help.
57370         (print_version): Use PKGVERSION.
57371         * elf/sln.c (main): Use PKGVERSION.
57372         (usage): Use REPORT_BUGS_TO.
57373         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
57374         (top level): Use PKGVERSION.
57375         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
57376         (print_version): Use PKGVERSION.
57377         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
57378         (print_version): Use PKGVERSION.
57379         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
57380         (print_version): Use PKGVERSION.
57381         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
57382         (print_version): Use PKGVERSION.
57383         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
57384         (print_version): Use PKGVERSION.
57385         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
57386         (print_version): Use PKGVERSION.
57387         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
57388         and BUGURL.
57389         ($(objpfx)memusage): Likewise.
57390         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
57391         (do_version): Use PKGVERSION.
57392         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
57393         (print_version): Use PKGVERSION.
57394         * malloc/mtrace.pl ($PACKAGE): Remove variable.
57395         ($PKGVERSION): New variable.
57396         ($REPORT_BUGS_TO): Likewise.
57397         (usage): Use $REPORT_BUGS_TO.
57398         (top level): Use $PKGVERSION.
57399         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
57400         ($(objpfx)pkgvers.texi): New rule.
57401         ($(objpfx)stamp-pkgvers): Likewise.
57402         * manual/install.texi: Include pkgvers.texi.
57403         (--with-pkgversion): Document new configure option.
57404         (--with-bugurl): Likewise.
57405         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
57406         than necessarily for this particular distribution.  Use
57407         REPORT_BUGS_TO for where to report bugs.
57408         * INSTALL: Regenerated.
57409         * manual/libc.texinfo: Include pkgvers.texi.
57410         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
57411         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
57412         (print_version): Use PKGVERSION.
57413         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
57414         (print_version): Use PKGVERSION.
57415         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
57416         (print_version): Use PKGVERSION.
57417         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
57418         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
57419         macro.
57420         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
57421         (print_version): Use PKGVERSION.
57422         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
57423         (print_version): Use PKGVERSION.
57424         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
57425         and PKGVERSION.
57427         * timezone/checktab.awk: Update from tzcode 2012i.
57428         * timezone/ialloc.c: Likewise.
57429         * timezone/private.h: Likewise.
57430         * timezone/scheck.c: Likewise.
57431         * timezone/tzfile.h: Likewise.
57432         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
57433         (TZVERSION): Hardcode tzcode version number.
57434         * timezone/zdump.c: Update from tzcode 2012i.
57435         * timezone/zic.c: Likewise.
57436         * timezone/version.h: New file.
57437         * timezone/README: Describe version.h.  Update upstream location.
57439         [BZ #14824]
57440         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
57441         (mktemp): Enable declaration.
57442         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
57443         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
57444         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
57445         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
57446         Likewise.
57447         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
57448         Likewise.
57449         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
57450         Likewise.
57451         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
57452         Likewise.
57453         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
57454         Likewise.
57455         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
57456         Likewise.
57458         [BZ #14821]
57459         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
57460         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
57461         for copies of such integer values.
57462         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57463         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57465 2012-11-09  Andreas Jaeger  <aj@suse.de>
57467         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
57468         definitions and declarations that are provided by
57469         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
57471 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57473         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
57474         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
57475         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
57476         definition.
57478 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57480         * elf/elf.h: Update comment before AArch64 relocations.
57482 2012-11-07  David S. Miller  <davem@davemloft.net>
57484         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
57485         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
57486         (__start_context): Declare.
57487         (__makecontext_ret): Delete.
57488         (__makecontext): Hook up __start_context instead of
57489         __makecontext_ret.
57490         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
57491         (sysdep_routines): Add __start_context when in stdlib.
57493 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57495         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
57496         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
57497         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
57498         hardcoded "nm".
57499         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
57500         (READELF): New variable.  Use it instead of hardcoded "readelf".
57502 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
57504         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
57505         * sysdeps/x86/Makefile: Here.
57506         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
57507         * sysdeps/x86/tst-xmmymm.sh: This.
57509 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57511         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
57512         expectations.
57513         [UNIX98] (pthread_barrier_t): Do not expect.
57514         [UNIX98] (pthread_barrierattr_t): Likewise.
57515         [UNIX98] (pthread_spinlock_t): Likewise.
57516         [UNIX98] (pthread_barrier_destroy): Likewise.
57517         [UNIX98] (pthread_barrier_init): Likewise.
57518         [UNIX98] (pthread_barrier_wait): Likewise.
57519         [UNIX98] (pthread_barrierattr_destroy): Likewise.
57520         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
57521         [UNIX98] (pthread_barrierattr_init): Likewise.
57522         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
57523         [UNIX98] (pthread_getcpuclockid): Likewise.
57524         [UNIX98] (pthread_mutex_timedlock): Likewise.
57525         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
57526         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
57527         [UNIX98] (pthread_sigmask): Likewise.
57528         [UNIX98] (pthread_spin_destroy): Likewise.
57529         [UNIX98] (pthread_spin_init): Likewise.
57530         [UNIX98] (pthread_spin_lock): Likewise.
57531         [UNIX98] (pthread_spin_trylock): Likewise.
57532         [UNIX98] (pthread_spin_unlock): Likewise.
57533         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
57534         Do not expect.
57535         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
57536         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
57537         [XPG3 || XPG4] (pthread_cond_t): Likewise.
57538         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
57539         [XPG3 || XPG4] (pthread_key_t): Likewise.
57540         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
57541         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
57542         [XPG3 || XPG4] (pthread_once_t): Likewise.
57543         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
57544         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
57545         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
57546         [XPG3 || XPG4] (pthread_t): Likewise.
57548         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
57549         not expect.
57550         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
57552         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
57553         Change function return type to int.
57555         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
57556         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
57557         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
57558         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
57559         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
57560         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
57561         [!POSIX] (posix_madvise): Likewise.
57562         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
57563         && !UNIX98].
57564         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
57565         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
57566         (mode_t): Likewise.
57567         (posix_mem_offset): Likewise.
57568         (posix_typed_mem_get_info): Likewise.
57569         (posix_typed_mem_open): Likewise.
57571         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
57572         Change condition to [XOPEN2K8].
57574         * conform/conformtest.pl: Preprocess allow-header data with -x c
57575         instead of from stdin.
57576         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
57577         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
57578         [C99-based standards] (cerfc): Likewise.
57579         [C99-based standards] (cexp2): Likewise.
57580         [C99-based standards] (cexpm1): Likewise.
57581         [C99-based standards] (clog10): Likewise.
57582         [C99-based standards] (clog1p): Likewise.
57583         [C99-based standards] (clog2): Likewise.
57584         [C99-based standards] (clgamma): Likewise.
57585         [C99-based standards] (ctgamma): Likewise.
57586         [C99-based standards] (cerff): Likewise.
57587         [C99-based standards] (cerfcf): Likewise.
57588         [C99-based standards] (cexp2f): Likewise.
57589         [C99-based standards] (cexpm1f): Likewise.
57590         [C99-based standards] (clog10f): Likewise.
57591         [C99-based standards] (clog1pf): Likewise.
57592         [C99-based standards] (clog2f): Likewise.
57593         [C99-based standards] (clgammaf): Likewise.
57594         [C99-based standards] (ctgammaf): Likewise.
57595         [C99-based standards] (cerfl): Likewise.
57596         [C99-based standards] (cerfcl): Likewise.
57597         [C99-based standards] (cexp2l): Likewise.
57598         [C99-based standards] (cexpm1l): Likewise.
57599         [C99-based standards] (clog10l): Likewise.
57600         [C99-based standards] (clog1pl): Likewise.
57601         [C99-based standards] (clog2l): Likewise.
57602         [C99-based standards] (clgammal): Likewise.
57603         [C99-based standards] (ctgammal): Likewise.
57604         * conform/data/inttypes.h-data [C99-based standards]: Include
57605         stdint.h-data.  Remove all expectations for stdint.h contents.
57606         [C99-based standards] (PRI*): Do not allow.
57607         [C99-based standards] (SCN*): Likewise.
57608         [C99-based standards] (*_t): Likewise.
57609         [C99-based-standards] (PRId8): Expect macro.
57610         [C99-based-standards] (PRIi8): Likewise.
57611         [C99-based-standards] (PRIo8): Likewise.
57612         [C99-based-standards] (PRIu8): Likewise.
57613         [C99-based-standards] (PRIx8): Likewise.
57614         [C99-based-standards] (PRIX8): Likewise.
57615         [C99-based-standards] (SCNd8): Likewise.
57616         [C99-based-standards] (SCNi8): Likewise.
57617         [C99-based-standards] (SCNo8): Likewise.
57618         [C99-based-standards] (SCNu8): Likewise.
57619         [C99-based-standards] (SCNx8): Likewise.
57620         [C99-based-standards] (PRIdLEAST8): Likewise.
57621         [C99-based-standards] (PRIiLEAST8): Likewise.
57622         [C99-based-standards] (PRIoLEAST8): Likewise.
57623         [C99-based-standards] (PRIuLEAST8): Likewise.
57624         [C99-based-standards] (PRIxLEAST8): Likewise.
57625         [C99-based-standards] (PRIXLEAST8): Likewise.
57626         [C99-based-standards] (SCNdLEAST8): Likewise.
57627         [C99-based-standards] (SCNiLEAST8): Likewise.
57628         [C99-based-standards] (SCNoLEAST8): Likewise.
57629         [C99-based-standards] (SCNuLEAST8): Likewise.
57630         [C99-based-standards] (SCNxLEAST8): Likewise.
57631         [C99-based-standards] (PRIdFAST8): Likewise.
57632         [C99-based-standards] (PRIiFAST8): Likewise.
57633         [C99-based-standards] (PRIoFAST8): Likewise.
57634         [C99-based-standards] (PRIuFAST8): Likewise.
57635         [C99-based-standards] (PRIxFAST8): Likewise.
57636         [C99-based-standards] (PRIXFAST8): Likewise.
57637         [C99-based-standards] (SCNdFAST8): Likewise.
57638         [C99-based-standards] (SCNiFAST8): Likewise.
57639         [C99-based-standards] (SCNoFAST8): Likewise.
57640         [C99-based-standards] (SCNuFAST8): Likewise.
57641         [C99-based-standards] (SCNxFAST8): Likewise.
57642         [C99-based-standards] (PRId16): Likewise.
57643         [C99-based-standards] (PRIi16): Likewise.
57644         [C99-based-standards] (PRIo16): Likewise.
57645         [C99-based-standards] (PRIu16): Likewise.
57646         [C99-based-standards] (PRIx16): Likewise.
57647         [C99-based-standards] (PRIX16): Likewise.
57648         [C99-based-standards] (SCNd16): Likewise.
57649         [C99-based-standards] (SCNi16): Likewise.
57650         [C99-based-standards] (SCNo16): Likewise.
57651         [C99-based-standards] (SCNu16): Likewise.
57652         [C99-based-standards] (SCNx16): Likewise.
57653         [C99-based-standards] (PRIdLEAST16): Likewise.
57654         [C99-based-standards] (PRIiLEAST16): Likewise.
57655         [C99-based-standards] (PRIoLEAST16): Likewise.
57656         [C99-based-standards] (PRIuLEAST16): Likewise.
57657         [C99-based-standards] (PRIxLEAST16): Likewise.
57658         [C99-based-standards] (PRIXLEAST16): Likewise.
57659         [C99-based-standards] (SCNdLEAST16): Likewise.
57660         [C99-based-standards] (SCNiLEAST16): Likewise.
57661         [C99-based-standards] (SCNoLEAST16): Likewise.
57662         [C99-based-standards] (SCNuLEAST16): Likewise.
57663         [C99-based-standards] (SCNxLEAST16): Likewise.
57664         [C99-based-standards] (PRIdFAST16): Likewise.
57665         [C99-based-standards] (PRIiFAST16): Likewise.
57666         [C99-based-standards] (PRIoFAST16): Likewise.
57667         [C99-based-standards] (PRIuFAST16): Likewise.
57668         [C99-based-standards] (PRIxFAST16): Likewise.
57669         [C99-based-standards] (PRIXFAST16): Likewise.
57670         [C99-based-standards] (SCNdFAST16): Likewise.
57671         [C99-based-standards] (SCNiFAST16): Likewise.
57672         [C99-based-standards] (SCNoFAST16): Likewise.
57673         [C99-based-standards] (SCNuFAST16): Likewise.
57674         [C99-based-standards] (SCNxFAST16): Likewise.
57675         [C99-based-standards] (PRId32): Likewise.
57676         [C99-based-standards] (PRIi32): Likewise.
57677         [C99-based-standards] (PRIo32): Likewise.
57678         [C99-based-standards] (PRIu32): Likewise.
57679         [C99-based-standards] (PRIx32): Likewise.
57680         [C99-based-standards] (PRIX32): Likewise.
57681         [C99-based-standards] (SCNd32): Likewise.
57682         [C99-based-standards] (SCNi32): Likewise.
57683         [C99-based-standards] (SCNo32): Likewise.
57684         [C99-based-standards] (SCNu32): Likewise.
57685         [C99-based-standards] (SCNx32): Likewise.
57686         [C99-based-standards] (PRIdLEAST32): Likewise.
57687         [C99-based-standards] (PRIiLEAST32): Likewise.
57688         [C99-based-standards] (PRIoLEAST32): Likewise.
57689         [C99-based-standards] (PRIuLEAST32): Likewise.
57690         [C99-based-standards] (PRIxLEAST32): Likewise.
57691         [C99-based-standards] (PRIXLEAST32): Likewise.
57692         [C99-based-standards] (SCNdLEAST32): Likewise.
57693         [C99-based-standards] (SCNiLEAST32): Likewise.
57694         [C99-based-standards] (SCNoLEAST32): Likewise.
57695         [C99-based-standards] (SCNuLEAST32): Likewise.
57696         [C99-based-standards] (SCNxLEAST32): Likewise.
57697         [C99-based-standards] (PRIdFAST32): Likewise.
57698         [C99-based-standards] (PRIiFAST32): Likewise.
57699         [C99-based-standards] (PRIoFAST32): Likewise.
57700         [C99-based-standards] (PRIuFAST32): Likewise.
57701         [C99-based-standards] (PRIxFAST32): Likewise.
57702         [C99-based-standards] (PRIXFAST32): Likewise.
57703         [C99-based-standards] (SCNdFAST32): Likewise.
57704         [C99-based-standards] (SCNiFAST32): Likewise.
57705         [C99-based-standards] (SCNoFAST32): Likewise.
57706         [C99-based-standards] (SCNuFAST32): Likewise.
57707         [C99-based-standards] (SCNxFAST32): Likewise.
57708         [C99-based-standards] (PRId64): Likewise.
57709         [C99-based-standards] (PRIi64): Likewise.
57710         [C99-based-standards] (PRIo64): Likewise.
57711         [C99-based-standards] (PRIu64): Likewise.
57712         [C99-based-standards] (PRIx64): Likewise.
57713         [C99-based-standards] (PRIX64): Likewise.
57714         [C99-based-standards] (SCNd64): Likewise.
57715         [C99-based-standards] (SCNi64): Likewise.
57716         [C99-based-standards] (SCNo64): Likewise.
57717         [C99-based-standards] (SCNu64): Likewise.
57718         [C99-based-standards] (SCNx64): Likewise.
57719         [C99-based-standards] (PRIdLEAST64): Likewise.
57720         [C99-based-standards] (PRIiLEAST64): Likewise.
57721         [C99-based-standards] (PRIoLEAST64): Likewise.
57722         [C99-based-standards] (PRIuLEAST64): Likewise.
57723         [C99-based-standards] (PRIxLEAST64): Likewise.
57724         [C99-based-standards] (PRIXLEAST64): Likewise.
57725         [C99-based-standards] (SCNdLEAST64): Likewise.
57726         [C99-based-standards] (SCNiLEAST64): Likewise.
57727         [C99-based-standards] (SCNoLEAST64): Likewise.
57728         [C99-based-standards] (SCNuLEAST64): Likewise.
57729         [C99-based-standards] (SCNxLEAST64): Likewise.
57730         [C99-based-standards] (PRIdFAST64): Likewise.
57731         [C99-based-standards] (PRIiFAST64): Likewise.
57732         [C99-based-standards] (PRIoFAST64): Likewise.
57733         [C99-based-standards] (PRIuFAST64): Likewise.
57734         [C99-based-standards] (PRIxFAST64): Likewise.
57735         [C99-based-standards] (PRIXFAST64): Likewise.
57736         [C99-based-standards] (SCNdFAST64): Likewise.
57737         [C99-based-standards] (SCNiFAST64): Likewise.
57738         [C99-based-standards] (SCNoFAST64): Likewise.
57739         [C99-based-standards] (SCNuFAST64): Likewise.
57740         [C99-based-standards] (SCNxFAST64): Likewise.
57741         [C99-based-standards] (PRIdMAX): Likewise.
57742         [C99-based-standards] (PRIiMAX): Likewise.
57743         [C99-based-standards] (PRIoMAX): Likewise.
57744         [C99-based-standards] (PRIuMAX): Likewise.
57745         [C99-based-standards] (PRIxMAX): Likewise.
57746         [C99-based-standards] (PRIXMAX): Likewise.
57747         [C99-based-standards] (SCNdMAX): Likewise.
57748         [C99-based-standards] (SCNiMAX): Likewise.
57749         [C99-based-standards] (SCNoMAX): Likewise.
57750         [C99-based-standards] (SCNuMAX): Likewise.
57751         [C99-based-standards] (SCNxMAX): Likewise.
57752         [C99-based-standards] (PRIdPTR): Likewise.
57753         [C99-based-standards] (PRIiPTR): Likewise.
57754         [C99-based-standards] (PRIoPTR): Likewise.
57755         [C99-based-standards] (PRIuPTR): Likewise.
57756         [C99-based-standards] (PRIxPTR): Likewise.
57757         [C99-based-standards] (PRIXPTR): Likewise.
57758         [C99-based-standards] (SCNdPTR): Likewise.
57759         [C99-based-standards] (SCNiPTR): Likewise.
57760         [C99-based-standards] (SCNoPTR): Likewise.
57761         [C99-based-standards] (SCNuPTR): Likewise.
57762         [C99-based-standards] (SCNxPTR): Likewise.
57763         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
57764         allow.
57765         * conform/data/stdint.h-data: Update comments to clarify
57766         requirements.
57767         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
57768         type.
57769         [C99-based standards] (INT8_MAX): Likewise.
57770         [C99-based standards] (INT16_MIN): Likewise.
57771         [C99-based standards] (INT16_MAX): Likewise.
57772         [C99-based standards] (INT32_MIN): Likewise.
57773         [C99-based standards] (INT32_MAX): Likewise.
57774         [C99-based standards] (INT64_MIN): Likewise.
57775         [C99-based standards] (INT64_MAX): Likewise.
57776         [C99-based standards] (UINT8_MAX): Likewise.
57777         [C99-based standards] (UINT16_MAX): Likewise.
57778         [C99-based standards] (UINT32_MAX): Likewise.
57779         [C99-based standards] (UINT64_MAX): Likewise.
57780         [C99-based standards] (INT_LEAST8_MIN): Likewise.
57781         [C99-based standards] (INT_LEAST8_MAX): Likewise.
57782         [C99-based standards] (INT_LEAST16_MIN): Likewise.
57783         [C99-based standards] (INT_LEAST16_MAX): Likewise.
57784         [C99-based standards] (INT_LEAST32_MIN): Likewise.
57785         [C99-based standards] (INT_LEAST32_MAX): Likewise.
57786         [C99-based standards] (INT_LEAST64_MIN): Likewise.
57787         [C99-based standards] (INT_LEAST64_MAX): Likewise.
57788         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
57789         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
57790         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
57791         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
57792         [C99-based standards] (INT_FAST8_MIN): Likewise.
57793         [C99-based standards] (INT_FAST8_MAX): Likewise.
57794         [C99-based standards] (INT_FAST16_MIN): Likewise.
57795         [C99-based standards] (INT_FAST16_MAX): Likewise.
57796         [C99-based standards] (INT_FAST32_MIN): Likewise.
57797         [C99-based standards] (INT_FAST32_MAX): Likewise.
57798         [C99-based standards] (INT_FAST64_MIN): Likewise.
57799         [C99-based standards] (INT_FAST64_MAX): Likewise.
57800         [C99-based standards] (UINT_FAST8_MAX): Likewise.
57801         [C99-based standards] (UINT_FAST16_MAX): Likewise.
57802         [C99-based standards] (UINT_FAST32_MAX): Likewise.
57803         [C99-based standards] (UINT_FAST64_MAX): Likewise.
57804         [C99-based standards] (INTPTR_MIN): Likewise.
57805         [C99-based standards] (INTPTR_MAX): Likewise.
57806         [C99-based standards] (UINTPTR_MAX): Likewise.
57807         [C99-based standards] (INTMAX_MIN): Likewise.
57808         [C99-based standards] (INTMAX_MAX): Likewise.
57809         [C99-based standards] (UINTMAX_MAX): Likewise.
57810         [C99-based standards] (PTRDIFF_MIN): Likewise.
57811         [C99-based standards] (PTRDIFF_MAX): Likewise.
57812         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
57813         [C99-based standards] (SIZE_MAX): Likewise.
57814         [C99-based standards] (WCHAR_MAX): Likewise.
57815         [C99-based standards] (WINT_MAX): Likewise.
57816         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
57817         constraint on value.
57818         [C99-based standards] (WCHAR_MIN): Likewise.
57819         [C99-based standards] (WINT_MIN): Likewise.
57820         [C99-based standards] (*_t): Allow.
57821         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
57822         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
57823         Include math.h-data and complex.h-data.  Remove all expectations
57824         of math.h and complex.h contents.
57825         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
57826         at end of line.
57827         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
57828         (struct tm): Expect tag.
57829         [C99-based-standards] (wcstof): Expect function.
57830         [C99-based-standards] (wcstold): Likewise.
57831         [C99-based-standards] (wcstoll): Likewise.
57832         [C99-based-standards] (wcstoull): Likewise.
57833         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
57834         macro-int-constant.  Specify type.
57835         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
57836         constraint on value.
57837         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
57838         Specify type.
57839         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
57840         Specify value.
57841         [ISO C standards]: Do not allow headers.
57842         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
57843         wcs[abcdefghijklmnopqrstuvwxyz]*.
57844         [ISO C standards] (*_t): Do not allow.
57845         * conform/data/wctype.h-data [C99-based standards] (iswblank):
57846         Expect function.
57847         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
57848         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
57849         Specify type.
57850         [ISO C standards]: Do not allow headers.
57851         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
57852         is[abcdefghijklmnopqrstuvwxyz]*.
57853         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
57854         to[abcdefghijklmnopqrstuvwxyz]*.
57855         [ISO C standards] (*_t): Do not allow.
57856         * conform/data/stdalign.h-data: New file.
57857         * conform/data/stdbool.h-data: Likewise.
57858         * conform/data/stdnoreturn.h-data: Likewise.
57860 2012-11-07  Roland McGrath  <roland@hack.frob.com>
57862         [BZ #14815]
57863         * manual/filesys.texi (Directory Entries): Typo fix.
57864         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
57866 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57868         * elf/elf.h (EM_AARCH64): New macro.
57869         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
57870         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
57871         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
57872         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
57873         (R_AARCH64_TLSDESC): Likewise.
57874         (NT_ARM_TLS): Likewise.
57875         (NT_ARM_HW_BREAK): Likewise.
57876         (NT_ARM_HW_WATCH): Likewise.
57878 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57880         [BZ #14811]
57881         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
57882         (__ieee754_powl): Saturate nonzero exponents with absolute value
57883         below 0x1p-79 to +/- 0x1p-79.
57884         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
57885         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
57886         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
57887         nonzero exponents with absolute value below 0x1p-32 to +/-
57888         0x1p-32.
57889         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
57890         (__ieee754_powl): Saturate nonzero exponents with absolute value
57891         below 0x1p-79 to +/- 0x1p-79.
57892         * math/libm-test.inc (pow_test): Add more tests.
57894 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57896         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
57897         _dl_s390_cap_flags with kernel. Increase string length.
57898         (_dl_s390_platforms): Add z196 and zEC12.
57900 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57902         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
57903         Change XOPEN21K to XOPEN2K.
57905 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
57907         * string/memmove.c: Use memcpy when possible.
57909 2012-11-06  Andreas Jaeger  <aj@suse.de>
57911         * po/eo.po: Update from translation team.
57913 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
57915         [BZ #14793]
57916         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
57917         exponent and small x and y exponents, scale x or y up.  Increase
57918         by 2 the exponent used in scaling up.
57919         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57920         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57921         * math/libm-test.inc (fma_test): Add more tests.
57922         (fma_test_towardzero): Likewise.
57923         (fma_test_downward): Likewise.
57924         (fma_test_upward): Likewise.
57926 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
57928         [BZ #14805]
57929         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
57930         fenv_t *.
57932         [BZ #14801]
57933         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
57934         namespace for names of struct fields.
57935         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
57936         fenv_t fields.
57937         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
57938         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
57940 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57942         [BZ #3665]
57943         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
57945 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
57947         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
57948         PTR_DEMANGLE.
57950         [BZ #5246]
57951         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
57952         PTR_DEMANGLE.
57954 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
57956         [BZ #14797]
57957         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
57958         definitely overflow as x * y not x * y + z.
57959         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57960         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57961         * math/libm-test.inc (fma_test): Add more tests.
57962         (fma_test_towardzero): Likewise.
57963         (fma_test_downward): Likewise.
57964         (fma_test_upward): Likewise.
57966 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
57968         [BZ #157]
57970         * include/stub-tag.h: Remove file.
57971         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
57972         '#include' of it.
57973         * manual/maint.texi (Porting): Don't reference it.
57974         * Makerules ($(objpfx)stubs): Likewise.
57975         * dirent/closedir.c: Don't include <stub-tag.h>.
57976         * dirent/dirfd.c: Likewise.
57977         * dirent/fdopendir.c: Likewise.
57978         * dirent/getdents.c: Likewise.
57979         * dirent/getdents64.c: Likewise.
57980         * dirent/opendir.c: Likewise.
57981         * dirent/readdir.c: Likewise.
57982         * dirent/readdir64.c: Likewise.
57983         * dirent/readdir64_r.c: Likewise.
57984         * dirent/readdir_r.c: Likewise.
57985         * dirent/rewinddir.c: Likewise.
57986         * dirent/seekdir.c: Likewise.
57987         * dirent/telldir.c: Likewise.
57988         * gmon/profil.c: Likewise.
57989         * grp/setgroups.c: Likewise.
57990         * inet/if_index.c: Likewise.
57991         * io/access.c: Likewise.
57992         * io/chdir.c: Likewise.
57993         * io/chmod.c: Likewise.
57994         * io/chown.c: Likewise.
57995         * io/close.c: Likewise.
57996         * io/dup.c: Likewise.
57997         * io/dup2.c: Likewise.
57998         * io/dup3.c: Likewise.
57999         * io/euidaccess.c: Likewise.
58000         * io/faccessat.c: Likewise.
58001         * io/fchdir.c: Likewise.
58002         * io/fchmod.c: Likewise.
58003         * io/fchmodat.c: Likewise.
58004         * io/fchown.c: Likewise.
58005         * io/fchownat.c: Likewise.
58006         * io/fcntl.c: Likewise.
58007         * io/flock.c: Likewise.
58008         * io/fstatfs.c: Likewise.
58009         * io/fstatfs64.c: Likewise.
58010         * io/fstatvfs.c: Likewise.
58011         * io/fstatvfs64.c: Likewise.
58012         * io/futimens.c: Likewise.
58013         * io/fxstat.c: Likewise.
58014         * io/fxstat64.c: Likewise.
58015         * io/fxstatat.c: Likewise.
58016         * io/fxstatat64.c: Likewise.
58017         * io/getcwd.c: Likewise.
58018         * io/isatty.c: Likewise.
58019         * io/lchmod.c: Likewise.
58020         * io/lchown.c: Likewise.
58021         * io/link.c: Likewise.
58022         * io/linkat.c: Likewise.
58023         * io/lseek.c: Likewise.
58024         * io/lseek64.c: Likewise.
58025         * io/lxstat64.c: Likewise.
58026         * io/mkdir.c: Likewise.
58027         * io/mkdirat.c: Likewise.
58028         * io/mkfifo.c: Likewise.
58029         * io/mkfifoat.c: Likewise.
58030         * io/open.c: Likewise.
58031         * io/open64.c: Likewise.
58032         * io/openat.c: Likewise.
58033         * io/openat64.c: Likewise.
58034         * io/pipe.c: Likewise.
58035         * io/pipe2.c: Likewise.
58036         * io/poll.c: Likewise.
58037         * io/posix_fadvise.c: Likewise.
58038         * io/posix_fadvise64.c: Likewise.
58039         * io/posix_fallocate.c: Likewise.
58040         * io/posix_fallocate64.c: Likewise.
58041         * io/read.c: Likewise.
58042         * io/readlink.c: Likewise.
58043         * io/readlinkat.c: Likewise.
58044         * io/rmdir.c: Likewise.
58045         * io/sendfile.c: Likewise.
58046         * io/sendfile64.c: Likewise.
58047         * io/statfs.c: Likewise.
58048         * io/statfs64.c: Likewise.
58049         * io/statvfs.c: Likewise.
58050         * io/statvfs64.c: Likewise.
58051         * io/symlink.c: Likewise.
58052         * io/symlinkat.c: Likewise.
58053         * io/ttyname.c: Likewise.
58054         * io/ttyname_r.c: Likewise.
58055         * io/umask.c: Likewise.
58056         * io/unlink.c: Likewise.
58057         * io/unlinkat.c: Likewise.
58058         * io/utime.c: Likewise.
58059         * io/utimensat.c: Likewise.
58060         * io/write.c: Likewise.
58061         * io/xmknod.c: Likewise.
58062         * io/xmknodat.c: Likewise.
58063         * io/xstat.c: Likewise.
58064         * io/xstat64.c: Likewise.
58065         * login/getpt.c: Likewise.
58066         * login/grantpt.c: Likewise.
58067         * login/unlockpt.c: Likewise.
58068         * math/e_acoshl.c: Likewise.
58069         * math/e_acosl.c: Likewise.
58070         * math/e_asinl.c: Likewise.
58071         * math/e_atan2l.c: Likewise.
58072         * math/e_atanhl.c: Likewise.
58073         * math/e_coshl.c: Likewise.
58074         * math/e_expl.c: Likewise.
58075         * math/e_fmodl.c: Likewise.
58076         * math/e_gammal_r.c: Likewise.
58077         * math/e_hypotl.c: Likewise.
58078         * math/e_j0l.c: Likewise.
58079         * math/e_j1l.c: Likewise.
58080         * math/e_jnl.c: Likewise.
58081         * math/e_lgammal_r.c: Likewise.
58082         * math/e_log10l.c: Likewise.
58083         * math/e_log2l.c: Likewise.
58084         * math/e_logl.c: Likewise.
58085         * math/e_powl.c: Likewise.
58086         * math/e_rem_pio2l.c: Likewise.
58087         * math/e_sinhl.c: Likewise.
58088         * math/e_sqrtl.c: Likewise.
58089         * math/fclrexcpt.c: Likewise.
58090         * math/fedisblxcpt.c: Likewise.
58091         * math/feenablxcpt.c: Likewise.
58092         * math/fegetenv.c: Likewise.
58093         * math/fegetexcept.c: Likewise.
58094         * math/fegetround.c: Likewise.
58095         * math/feholdexcpt.c: Likewise.
58096         * math/fesetenv.c: Likewise.
58097         * math/fesetround.c: Likewise.
58098         * math/feupdateenv.c: Likewise.
58099         * math/fgetexcptflg.c: Likewise.
58100         * math/fraiseexcpt.c: Likewise.
58101         * math/fsetexcptflg.c: Likewise.
58102         * math/ftestexcept.c: Likewise.
58103         * math/k_cosl.c: Likewise.
58104         * math/k_rem_pio2l.c: Likewise.
58105         * math/k_sinl.c: Likewise.
58106         * math/k_tanl.c: Likewise.
58107         * math/s_asinhl.c: Likewise.
58108         * math/s_atanl.c: Likewise.
58109         * math/s_cbrtl.c: Likewise.
58110         * math/s_erfl.c: Likewise.
58111         * math/s_expm1l.c: Likewise.
58112         * math/s_log1pl.c: Likewise.
58113         * math/s_tanhl.c: Likewise.
58114         * misc/acct.c: Likewise.
58115         * misc/brk.c: Likewise.
58116         * misc/chflags.c: Likewise.
58117         * misc/chroot.c: Likewise.
58118         * misc/fchflags.c: Likewise.
58119         * misc/fgetxattr.c: Likewise.
58120         * misc/flistxattr.c: Likewise.
58121         * misc/fremovexattr.c: Likewise.
58122         * misc/fsetxattr.c: Likewise.
58123         * misc/fsync.c: Likewise.
58124         * misc/ftruncate.c: Likewise.
58125         * misc/futimes.c: Likewise.
58126         * misc/futimesat.c: Likewise.
58127         * misc/getdomain.c: Likewise.
58128         * misc/getdtsz.c: Likewise.
58129         * misc/gethostid.c: Likewise.
58130         * misc/gethostname.c: Likewise.
58131         * misc/getloadavg.c: Likewise.
58132         * misc/getpagesize.c: Likewise.
58133         * misc/getsysstats.c: Likewise.
58134         * misc/getxattr.c: Likewise.
58135         * misc/gtty.c: Likewise.
58136         * misc/ioctl.c: Likewise.
58137         * misc/lgetxattr.c: Likewise.
58138         * misc/listxattr.c: Likewise.
58139         * misc/llistxattr.c: Likewise.
58140         * misc/lremovexattr.c: Likewise.
58141         * misc/lsetxattr.c: Likewise.
58142         * misc/lutimes.c: Likewise.
58143         * misc/madvise.c: Likewise.
58144         * misc/mincore.c: Likewise.
58145         * misc/mlock.c: Likewise.
58146         * misc/mlockall.c: Likewise.
58147         * misc/mmap.c: Likewise.
58148         * misc/mprotect.c: Likewise.
58149         * misc/msync.c: Likewise.
58150         * misc/munlock.c: Likewise.
58151         * misc/munlockall.c: Likewise.
58152         * misc/munmap.c: Likewise.
58153         * misc/preadv.c: Likewise.
58154         * misc/preadv64.c: Likewise.
58155         * misc/ptrace.c: Likewise.
58156         * misc/pwritev.c: Likewise.
58157         * misc/pwritev64.c: Likewise.
58158         * misc/readv.c: Likewise.
58159         * misc/reboot.c: Likewise.
58160         * misc/remap_file_pages.c: Likewise.
58161         * misc/removexattr.c: Likewise.
58162         * misc/revoke.c: Likewise.
58163         * misc/select.c: Likewise.
58164         * misc/setdomain.c: Likewise.
58165         * misc/setegid.c: Likewise.
58166         * misc/seteuid.c: Likewise.
58167         * misc/sethostid.c: Likewise.
58168         * misc/sethostname.c: Likewise.
58169         * misc/setregid.c: Likewise.
58170         * misc/setreuid.c: Likewise.
58171         * misc/setxattr.c: Likewise.
58172         * misc/sstk.c: Likewise.
58173         * misc/stty.c: Likewise.
58174         * misc/swapoff.c: Likewise.
58175         * misc/swapon.c: Likewise.
58176         * misc/sync.c: Likewise.
58177         * misc/syncfs.c: Likewise.
58178         * misc/syscall.c: Likewise.
58179         * misc/truncate.c: Likewise.
58180         * misc/ualarm.c: Likewise.
58181         * misc/usleep.c: Likewise.
58182         * misc/ustat.c: Likewise.
58183         * misc/utimes.c: Likewise.
58184         * misc/vhangup.c: Likewise.
58185         * misc/writev.c: Likewise.
58186         * posix/_exit.c: Likewise.
58187         * posix/alarm.c: Likewise.
58188         * posix/execve.c: Likewise.
58189         * posix/fexecve.c: Likewise.
58190         * posix/fork.c: Likewise.
58191         * posix/fpathconf.c: Likewise.
58192         * posix/getaddrinfo.c: Likewise.
58193         * posix/getegid.c: Likewise.
58194         * posix/geteuid.c: Likewise.
58195         * posix/getgid.c: Likewise.
58196         * posix/getgroups.c: Likewise.
58197         * posix/getlogin.c: Likewise.
58198         * posix/getlogin_r.c: Likewise.
58199         * posix/getpgid.c: Likewise.
58200         * posix/getpid.c: Likewise.
58201         * posix/getppid.c: Likewise.
58202         * posix/getresgid.c: Likewise.
58203         * posix/getresuid.c: Likewise.
58204         * posix/getsid.c: Likewise.
58205         * posix/getuid.c: Likewise.
58206         * posix/glob64.c: Likewise.
58207         * posix/nanosleep.c: Likewise.
58208         * posix/pathconf.c: Likewise.
58209         * posix/pause.c: Likewise.
58210         * posix/posix_madvise.c: Likewise.
58211         * posix/pread.c: Likewise.
58212         * posix/pread64.c: Likewise.
58213         * posix/pwrite.c: Likewise.
58214         * posix/pwrite64.c: Likewise.
58215         * posix/sched_getaffinity.c: Likewise.
58216         * posix/sched_getp.c: Likewise.
58217         * posix/sched_gets.c: Likewise.
58218         * posix/sched_primax.c: Likewise.
58219         * posix/sched_primin.c: Likewise.
58220         * posix/sched_rr_gi.c: Likewise.
58221         * posix/sched_setaffinity.c: Likewise.
58222         * posix/sched_setp.c: Likewise.
58223         * posix/sched_sets.c: Likewise.
58224         * posix/sched_yield.c: Likewise.
58225         * posix/setgid.c: Likewise.
58226         * posix/setlogin.c: Likewise.
58227         * posix/setpgid.c: Likewise.
58228         * posix/setresgid.c: Likewise.
58229         * posix/setresuid.c: Likewise.
58230         * posix/setsid.c: Likewise.
58231         * posix/setuid.c: Likewise.
58232         * posix/sleep.c: Likewise.
58233         * posix/spawni.c: Likewise.
58234         * posix/sysconf.c: Likewise.
58235         * posix/times.c: Likewise.
58236         * posix/wait.c: Likewise.
58237         * posix/wait3.c: Likewise.
58238         * posix/wait4.c: Likewise.
58239         * posix/waitpid.c: Likewise.
58240         * resolv/gai_sigqueue.c: Likewise.
58241         * resource/getpriority.c: Likewise.
58242         * resource/getrlimit.c: Likewise.
58243         * resource/getrusage.c: Likewise.
58244         * resource/nice.c: Likewise.
58245         * resource/setpriority.c: Likewise.
58246         * resource/setrlimit.c: Likewise.
58247         * resource/ulimit.c: Likewise.
58248         * rt/aio_cancel.c: Likewise.
58249         * rt/aio_fsync.c: Likewise.
58250         * rt/aio_read.c: Likewise.
58251         * rt/aio_sigqueue.c: Likewise.
58252         * rt/aio_suspend.c: Likewise.
58253         * rt/aio_write.c: Likewise.
58254         * rt/clock_getres.c: Likewise.
58255         * rt/clock_gettime.c: Likewise.
58256         * rt/clock_nanosleep.c: Likewise.
58257         * rt/clock_settime.c: Likewise.
58258         * rt/lio_listio.c: Likewise.
58259         * rt/mq_close.c: Likewise.
58260         * rt/mq_getattr.c: Likewise.
58261         * rt/mq_notify.c: Likewise.
58262         * rt/mq_open.c: Likewise.
58263         * rt/mq_receive.c: Likewise.
58264         * rt/mq_send.c: Likewise.
58265         * rt/mq_setattr.c: Likewise.
58266         * rt/mq_timedreceive.c: Likewise.
58267         * rt/mq_timedsend.c: Likewise.
58268         * rt/mq_unlink.c: Likewise.
58269         * rt/shm_open.c: Likewise.
58270         * rt/shm_unlink.c: Likewise.
58271         * rt/timer_create.c: Likewise.
58272         * rt/timer_delete.c: Likewise.
58273         * rt/timer_getoverr.c: Likewise.
58274         * rt/timer_gettime.c: Likewise.
58275         * rt/timer_settime.c: Likewise.
58276         * setjmp/__longjmp.c: Likewise.
58277         * setjmp/setjmp.c: Likewise.
58278         * signal/kill.c: Likewise.
58279         * signal/killpg.c: Likewise.
58280         * signal/raise.c: Likewise.
58281         * signal/sigaction.c: Likewise.
58282         * signal/sigaltstack.c: Likewise.
58283         * signal/sigblock.c: Likewise.
58284         * signal/sigignore.c: Likewise.
58285         * signal/sigintr.c: Likewise.
58286         * signal/signal.c: Likewise.
58287         * signal/sigpause.c: Likewise.
58288         * signal/sigpending.c: Likewise.
58289         * signal/sigqueue.c: Likewise.
58290         * signal/sigreturn.c: Likewise.
58291         * signal/sigset.c: Likewise.
58292         * signal/sigsetmask.c: Likewise.
58293         * signal/sigstack.c: Likewise.
58294         * signal/sigsuspend.c: Likewise.
58295         * signal/sigtimedwait.c: Likewise.
58296         * signal/sigvec.c: Likewise.
58297         * signal/sigwait.c: Likewise.
58298         * signal/sigwaitinfo.c: Likewise.
58299         * signal/sysv_signal.c: Likewise.
58300         * socket/accept.c: Likewise.
58301         * socket/accept4.c: Likewise.
58302         * socket/bind.c: Likewise.
58303         * socket/connect.c: Likewise.
58304         * socket/getpeername.c: Likewise.
58305         * socket/getsockname.c: Likewise.
58306         * socket/getsockopt.c: Likewise.
58307         * socket/isfdtype.c: Likewise.
58308         * socket/listen.c: Likewise.
58309         * socket/recv.c: Likewise.
58310         * socket/recvfrom.c: Likewise.
58311         * socket/recvmsg.c: Likewise.
58312         * socket/send.c: Likewise.
58313         * socket/sendmsg.c: Likewise.
58314         * socket/sendto.c: Likewise.
58315         * socket/setsockopt.c: Likewise.
58316         * socket/shutdown.c: Likewise.
58317         * socket/sockatmark.c: Likewise.
58318         * socket/socket.c: Likewise.
58319         * socket/socketpair.c: Likewise.
58320         * stdio-common/ctermid.c: Likewise.
58321         * stdio-common/cuserid.c: Likewise.
58322         * stdio-common/remove.c: Likewise.
58323         * stdio-common/rename.c: Likewise.
58324         * stdio-common/renameat.c: Likewise.
58325         * stdio-common/tempname.c: Likewise.
58326         * stdlib/getcontext.c: Likewise.
58327         * stdlib/makecontext.c: Likewise.
58328         * stdlib/setcontext.c: Likewise.
58329         * stdlib/swapcontext.c: Likewise.
58330         * stdlib/system.c: Likewise.
58331         * streams/fattach.c: Likewise.
58332         * streams/fdetach.c: Likewise.
58333         * streams/getmsg.c: Likewise.
58334         * streams/getpmsg.c: Likewise.
58335         * streams/putmsg.c: Likewise.
58336         * streams/putpmsg.c: Likewise.
58337         * sysdeps/unix/bsd/getpt.c: Likewise.
58338         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
58339         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
58340         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
58341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58342         Likewise.
58343         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
58344         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58345         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
58346         * sysvipc/msgctl.c: Likewise.
58347         * sysvipc/msgget.c: Likewise.
58348         * sysvipc/msgrcv.c: Likewise.
58349         * sysvipc/msgsnd.c: Likewise.
58350         * sysvipc/semctl.c: Likewise.
58351         * sysvipc/semget.c: Likewise.
58352         * sysvipc/semop.c: Likewise.
58353         * sysvipc/semtimedop.c: Likewise.
58354         * sysvipc/shmat.c: Likewise.
58355         * sysvipc/shmctl.c: Likewise.
58356         * sysvipc/shmdt.c: Likewise.
58357         * sysvipc/shmget.c: Likewise.
58358         * termios/tcdrain.c: Likewise.
58359         * termios/tcflow.c: Likewise.
58360         * termios/tcflush.c: Likewise.
58361         * termios/tcgetattr.c: Likewise.
58362         * termios/tcgetpgrp.c: Likewise.
58363         * termios/tcsendbrk.c: Likewise.
58364         * termios/tcsetattr.c: Likewise.
58365         * termios/tcsetpgrp.c: Likewise.
58366         * time/adjtime.c: Likewise.
58367         * time/clock.c: Likewise.
58368         * time/getitimer.c: Likewise.
58369         * time/gettimeofday.c: Likewise.
58370         * time/setitimer.c: Likewise.
58371         * time/settimeofday.c: Likewise.
58372         * time/stime.c: Likewise.
58373         * time/time.c: Likewise.
58375 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
58377         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
58378         /usr/old/bin.
58380         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
58381         instead of spaces.
58382         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
58384 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
58386         [BZ #14796]
58387         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
58388         FE_TONEAREST before applying Dekker multiplication and Knuth
58389         addition.  Clear inexact exceptions and check for exact zero
58390         results afterwards.
58391         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58392         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
58393         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58394         * math/libm-test.inc (fma_test): Add more tests.
58395         (fma_test_towardzero): Likewise.
58396         (fma_test_downward): Likewise.
58397         (fma_test_upward): Likewise.
58398         * sysdeps/generic/math_private.h (default_libc_fesetround): New
58399         function.
58400         (libc_fesetround): New macro.
58401         (libc_fesetroundf): Likewise.
58402         (libc_fesetroundl): Likewise.
58403         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
58404         function.
58405         (libc_fesetround_387): Likewise.
58406         (libc_fesetroundf): New macro.
58407         (libc_fesetround): Likewise.
58408         (libc_fesetroundl): Likewise.
58409         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
58410         function.
58411         (libc_fesetroundf): New macro.
58412         (libc_fesetround): Likewise.
58413         (libc_fesetroundl): Likewise.
58414         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
58415         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
58416         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
58417         libm_hidden_ver.
58418         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
58419         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
58420         libm_hidden_def.
58421         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
58422         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
58423         libm_hidden_ver.
58424         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
58425         libm_hidden_def.
58427         [BZ #3439]
58428         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
58429         integer constant usable in #if and use that to give value to enum
58430         constant.
58431         (FE_DIVBYZERO): Likewise.
58432         (FE_UNDERFLOW): Likewise.
58433         (FE_OVERFLOW): Likewise.
58434         (FE_INVALID): Likewise.
58435         (FE_INVALID_SNAN): Likewise.
58436         (FE_INVALID_ISI): Likewise.
58437         (FE_INVALID_IDI): Likewise.
58438         (FE_INVALID_ZDZ): Likewise.
58439         (FE_INVALID_IMZ): Likewise.
58440         (FE_INVALID_COMPARE): Likewise.
58441         (FE_INVALID_SOFTWARE): Likewise.
58442         (FE_INVALID_SQRT): Likewise.
58443         (FE_INVALID_INTEGER_CONVERSION): Likewise.
58444         (FE_TONEAREST): Likewise.
58445         (FE_TOWARDZERO): Likewise.
58446         (FE_UPWARD): Likewise.
58447         (FE_DOWNWARD): Likewise.
58448         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
58449         (FE_DIVBYZERO): Likewise.
58450         (FE_OVERFLOW): Likewise.
58451         (FE_UNDERFLOW): Likewise.
58452         (FE_INEXACT): Likewise.
58453         (FE_TONEAREST): Likewise.
58454         (FE_DOWNWARD): Likewise.
58455         (FE_UPWARD): Likewise.
58456         (FE_TOWARDZERO): Likewise.
58457         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
58458         (FE_UNDERFLOW): Likewise.
58459         (FE_OVERFLOW): Likewise.
58460         (FE_DIVBYZERO): Likewise.
58461         (FE_INVALID): Likewise.
58462         (FE_TONEAREST): Likewise.
58463         (FE_TOWARDZERO): Likewise.
58464         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
58465         (FE_OVERFLOW): Likewise.
58466         (FE_UNDERFLOW): Likewise.
58467         (FE_DIVBYZERO): Likewise.
58468         (FE_INEXACT): Likewise.
58469         (FE_TONEAREST): Likewise.
58470         (FE_TOWARDZERO): Likewise.
58471         (FE_UPWARD): Likewise.
58472         (FE_DOWNWARD): Likewise.
58473         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
58474         (FE_DIVBYZERO): Likewise.
58475         (FE_OVERFLOW): Likewise.
58476         (FE_UNDERFLOW): Likewise.
58477         (FE_INEXACT): Likewise.
58478         (FE_TONEAREST): Likewise.
58479         (FE_DOWNWARD): Likewise.
58480         (FE_UPWARD): Likewise.
58481         (FE_TOWARDZERO): Likewise.
58483 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
58485         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
58487 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
58489         * scripts/cross-test-ssh.sh (command): Use newlines to separate
58490         commands.  Quote $PWD.
58491         (blacklist_exports): Don't use remove_newlines.  Replace "declare
58492         -x" by "export".
58493         (remove_newlines): Remove.
58495 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
58497         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
58498         * stdlib/stdlib.h (atof): Moved to ...
58499         * include/bits/stdlib-float.h: Here.  New file.
58500         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
58501         * stdlib/bits/stdlib-float.h: New file.
58502         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
58503         -mno-sse -mno-mmx.
58504         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
58505         <xmmintrin.h>.
58507 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
58509         * conform/conformtest.pl (@headers): Add fenv.h.
58510         * conform/data/fenv.h-data: New file.
58511         * include/fenv.h [_ISOMAC]: Disable all contents of file except
58512         include of <math/fenv.h>.
58514         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
58515         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
58516         && !UNIX98].  Enables tests for XOPEN2K8.
58517         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
58518         POSIX2008]: Likewise.
58520         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
58521         (struct rusage): Do not expect type or its members.
58523         [BZ #3439]
58524         * math/math.h (FP_NAN): Define macro to integer constant usable in
58525         #if and use that to give value to enum constant.
58526         (FP_INFINITE): Likewise.
58527         (FP_ZERO): Likewise.
58528         (FP_SUBNORMAL): Likewise.
58529         (FP_NORMAL): Likewise.
58531 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
58533         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
58534         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
58535         arguments.
58537 2012-11-02  Roland McGrath  <roland@hack.frob.com>
58539         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
58540         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
58541         autoconf-time if not.
58542         * configure.in: Remove AC_PREREQ.
58544 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58546         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
58547         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
58548         of the internal implementation.
58550 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
58552         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
58553         except include of <misc/sys/syslog.h>.
58555 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
58558         function returns with a NULL context exit with zero.
58560 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58562         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
58564 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
58566         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
58567         (run_program_cmd): This.
58568         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
58569         (tst_langinfo): New variable.  Use it.
58571 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
58573         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
58574         floating point opcodes.
58576 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58578         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
58579         variable.
58581         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
58583         * sysdeps/mach/hurd/powerpc: Remove directory.
58584         * sysdeps/mach/powerpc: Likewise.
58586 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58588         * scripts/check-local-headers.sh: Ignore c++ headers.
58590 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58592         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
58593         __libc_cleanup_region_start argument.
58595 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
58597         [BZ #14784]
58598         [BZ #14785]
58599         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
58600         x * y using scaling, not as x * y + z.
58601         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58602         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58603         * math/libm-test.inc (fma_test): Add more tests.
58604         (fma_test_towardzero): Likewise.
58605         (fma_test_downward): Likewise.
58606         (fma_test_upward): Likewise.
58608 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58610         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
58612 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
58614         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
58615         New variable.
58617 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
58619         * rt/tst-shm.c (worker): Correct checking for mmap failure.
58621 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
58623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58624         Fix sort order.
58625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58626         Likewise.
58628 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58631         Fix the order of the list for glibc 2.17.
58632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58633         Likewise.
58635 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
58637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58639 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
58641         [BZ #14610]
58642         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
58643         for low part of x being zero before using __atanl (y).
58644         * math/libm-test.inc (atan2_test): Add another test.
58646         * manual/install.texi (Configuring and compiling): Document
58647         general use of test-wrapper and test-wrapper-env.
58648         * INSTALL: Regenerated.
58650         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
58651         (__fma): Do not extract and scale down low bits on after-rounding
58652         systems when result rounded to normal precision would have normal
58653         exponent.
58654         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
58655         (__fmal): Do not extract and scale down low bits on after-rounding
58656         systems when result rounded to normal precision would have normal
58657         exponent.
58658         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
58659         (__fmal): Do not extract and scale down low bits on after-rounding
58660         systems when result rounded to normal precision would have normal
58661         exponent.
58662         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
58663         macro.
58664         (fma_test): Add more tests.
58665         (fma_test_towardzero): Likewise.
58666         (fma_test_downward): Likewise.
58667         (fma_test_upward): Likewise.
58669 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
58671         * sysdeps/i386/tininess.h: Renamed to ...
58672         * sysdeps/x86/tininess.h: This.
58673         * sysdeps/x86_64/tininess.h: Removed.
58675 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
58677         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
58678         input.  Use $(build-program-cmd).
58679         ($(objpfx)tst-array1-static.out): Likewise.
58680         ($(objpfx)tst-array2.out): Likewise.
58681         ($(objpfx)tst-array3.out): Likewise.
58682         ($(objpfx)tst-array4.out): Likewise.
58683         ($(objpfx)tst-array5.out): Likewise.
58684         ($(objpfx)tst-array5-static.out): Likewise.
58686 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
58688         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
58689         if defined.
58691         * nss/nsswitch.h (nss_interface_function): Provide new
58692         macro for use with NSS functions.
58693         * grp/initgroups.c: Use new macro.
58694         * nss/getXXbyYY.c: Likewise.
58695         * nss/getXXbyYY_r.c: Likewise.
58696         * nss/getXXent.c: Likewise.
58697         * nss/getXXent_r.c: Likewise.
58698         * sysdeps/posix/getaddrinfo.c: Likewise.
58700 2012-10-30  Andreas Jaeger  <aj@suse.de>
58702         * po/ru.po: Update Russion translation from translation project.
58704 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
58706         [BZ #14152]
58707         [BZ #14783]
58708         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
58709         result and shift together with sticky bit instead of replicating
58710         round-to-nearest rounding.
58711         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58712         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58713         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
58714         missing underflow exceptions.
58715         (fma_test_towardzero): Add more tests.
58716         (fma_test_downward): Likewise.
58717         (fma_test_upward): Likewise.
58719         [BZ #14047]
58720         * sysdeps/generic/tininess.h: New file.
58721         * sysdeps/i386/tininess.h: Likewise.
58722         * sysdeps/sh/tininess.h: Likewise.
58723         * sysdeps/x86_64/tininess.h: Likewise.
58724         * stdlib/tst-strtod-underflow.c: Likewise.
58725         * stdlib/tst-tininess.c: Likewise.
58726         * stdlib/strtod_l.c: Include <tininess.h>.
58727         (round_and_return): Do not set errno for exact underflow cases.
58728         Force an underflow exception when setting errno for underflow.
58729         Determine underflow based on rounding to normal precision if
58730         TININESS_AFTER_ROUNDING.
58731         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
58732         ERANGE for exact underflow cases.
58733         * stdlib/Makefile (tests): Add tst-tininess and
58734         tst-strtod-underflow.
58735         ($(objpfx)tst-tininess): Use $(link-libm).
58736         ($(objpfx)tst-strtod-underflow): Likewise.
58738 2012-10-30  Andreas Jaeger  <aj@suse.de>
58740         [BZ#14767]
58741         * elf/Makefile (tests): Remove conditional for have-initfini-array
58742         since this is now always required and the variable does not exist
58743         anymore.
58744         (tests-static): Likewise.
58745         (modules-names): Likewise.
58747         * po/eo.po: Add Esperanto translation from translation project.
58749         * elf/tst-array1.c (fini_array): Make writeable so that it can be
58750         merged with constructor/destructor.
58751         (init_array): Likewise.
58752         * elf/tst-array2dep.c (fini_array): Likewise.
58753         (init_array): Likewise.
58755 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
58757         * manual/message.texi: Delete @cartouche tags.
58759 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
58761         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
58762         EOPNOTSUPP.
58763         * sysdeps/mach/hurd/fsync.c: Likewise.
58765         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
58766         [_POSIX_REALTIME_SIGNALS]: Change condition to
58767         [_POSIX_REALTIME_SIGNALS > 0].
58769 2012-10-27  Andreas Jaeger  <aj@suse.de>
58771         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
58772         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
58773         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
58774         [__WORDSIZE != 64]: Likewise.
58776 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
58778         *  iconvdata/tst-table.sh: Remove ${SHELL}.
58779         *  iconvdata/tst-tables.sh: Likewise.
58781 2012-10-25  David S. Miller  <davem@davemloft.net>
58783         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58784         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
58785         of strtoull.
58787         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
58788         ifunc-impl-list.c
58789         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58790         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
58791         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
58792         file.
58794 2012-10-25  Roland McGrath  <roland@hack.frob.com>
58796         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58797         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
58798         __getdirentries.
58800 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
58801             Jim Blandy  <jimb@codesourcery.com>
58803         * scripts/cross-test-ssh.sh: New file.
58804         * manual/install.texi (Configuring and compiling): Document use of
58805         cross-test-ssh.sh.
58806         * INSTALL: Regenerated.
58808 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
58810         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
58811         EOPNOTSUPP.
58813 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
58815         * Makeconfig (run-program-prefix): Fix comment.
58817 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
58818             Jim Blandy  <jimb@codesourcery.com>
58820         * Makeconfig (test-wrapper): New variable,
58821         (test-wrapper-env): Likewise.
58822         [$(cross-compiling) = yes && $(test-wrapper) != ""]
58823         (run-built-tests): Define to yes.
58824         (run-program-prefix): Use $(test-wrapper).
58825         (built-program-cmd): Likewise.
58826         * Rules (make-test-out): Use $(test-wrapper-env) and
58827         $(host-built-program-cmd).
58828         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
58829         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
58830         tst-pathopt.sh.
58831         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
58832         $(test-wrapper-env) to tst-rtld-load-self.sh.
58833         ($(objpfx)order2.out): Use $(test-wrapper).
58834         ($(objpfx)tst-initorder.out): Likewise.
58835         ($(objpfx)tst-initorder2.out): Likewise.
58836         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
58837         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
58838         (test_wrapper_env): New variable.  Use it to run ld.so.
58839         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
58840         Use it to run ld.so.
58841         (test_wrapper_env): Likewise.
58842         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
58843         $(test-wrapper) to run-iconv-test.sh.
58844         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
58845         (ICONV): Use $test_wrapper.
58846         * posix/Makefile ($(objpfx)globtest.out): Pass
58847         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
58848         globtest.sh, not $(run-program-prefix).
58849         * posix/globtest.sh (run_via_rtld_prefix): New variable.
58850         (test_wrapper): Likewise.
58851         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
58852         set together with run_via_rtld_prefix.
58853         (run_program_prefix): Define in terms of test_wrapper and
58854         run_via_rtld_prefix.
58856 2012-10-24  Roland McGrath  <roland@hack.frob.com>
58858         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
58859         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
58860         Targets removed.
58862         [BZ #14743]
58863         * include/time.h: Remove librt_hidden_proto (clock_gettime).
58864         Declare __clock_getres, __clock_gettime, __clock_settime,
58865         __clock_nanosleep, and __clock_getcpuclockid.
58866         * rt/clock_gettime.c: Define __clock_gettime as an alias.
58867         Remove librt_hidden_def (clock_gettime).
58868         * sysdeps/unix/clock_gettime.c: Likewise.
58869         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
58870         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
58871         * rt/clock_getres.c: Define __clock_getres as an alias.
58872         * sysdeps/posix/clock_getres.c: Likewise.
58873         * rt/clock_settime.c: Define __clock_settime as an alias.
58874         * sysdeps/unix/clock_settime.c: Likewise.
58875         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
58876         * sysdeps/unix/clock_nanosleep.c: Likewise.
58877         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
58878         * rt/clock-compat.c: New file.
58879         * rt/Makefile (librt-routines): Add clock-compat and move
58880         $(clock-routines) to ...
58881         (routines): ... here, new variable.
58882         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
58883         Don't add get_clockfreq here.
58884         * rt/Versions (libc: GLIBC_2.17): New version set.
58885         Add clock_* symbols here.
58886         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
58887         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
58888         (GLIBC_2.17): Add clock_* symbols.
58889         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
58890         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
58891         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
58892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58893         Likewise.
58894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58895         Likewise.
58896         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
58897         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
58898         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
58899         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
58900         * NEWS: Mention the move.
58902         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
58903         Use __open, __read, __close rather than their public counterparts.
58904         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58905         (__get_clockfreq_via_cpuinfo): Likewise.
58906         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
58907         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
58909         * config.h.in (HAVE_IFUNC): New #undef.
58910         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
58911         was successful.
58912         * configure: Regenerated.
58914 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
58916         * configure.in: Move READELF check to start of file.
58917         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
58918         libc_cv_asm_gnu_indirect_function in the process.
58919         * configure: Regenerated.
58921 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
58923         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
58924         send the output to /dev/null.
58925         (libc_cv_cc_with_libunwind): Likewise.
58926         (libc_cv_as_noexecstack): Likewise.
58927         * configure: Regenerate.
58929 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
58931         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
58933         * posix/globtest.sh (TMPDIR): Do not set.
58934         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
58935         (testout): Likewise.
58937 2012-10-24  Andreas Jaeger  <aj@suse.de>
58939         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
58940         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
58941         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
58942         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
58943         posix_fadvise64, posix_fallocate64.
58945         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
58946         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
58947         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
58948         Likewise.
58949         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
58950         Likewise.
58951         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
58953         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
58954         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
58955         <bits/fcntl-linux.h>.
58956         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
58958         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
58959         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
58960         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
58961         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
58962         [__WORDSIZE != 64]: Likewise.
58964 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
58966         * Makeconfig (run-built-tests): New variable.
58967         * Rules [$(cross-compiling) = yes]: Change condition to
58968         [$(run-built-tests) = no].
58969         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
58970         to [$(run-built-tests) = yes].
58971         * elf/Makefile [$(cross-compiling) = no]: Likewise.
58972         * grp/Makefile [$(cross-compiling) = no]: Likewise.
58973         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
58974         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
58975         * intl/Makefile [$(cross-compiling) = no]: Likewise.
58976         * io/Makefile [$(cross-compiling) = no]: Likewise.
58977         * libio/Makefile [$(cross-compiling) = no]: Likewise.
58978         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
58979         * misc/Makefile [$(cross-compiling) = no]: Likewise.
58980         * posix/Makefile [$(cross-compiling) = no]: Likewise.
58981         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
58982         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
58983         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
58984         * string/Makefile [$(cross-compiling) = no]: Likewise.
58986         * posix/Makefile ($(objpfx)globtest.out): Pass
58987         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
58988         $(rtld-installed-name).
58989         * posix/globtest.sh (elf_objpfx): Remove variable.
58990         (rtld_installed_name): Likewise.
58991         (library_path): Likewise.
58992         (run_program_prefix): New variable.  Use for running globtest
58993         binary.
58995 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
58996             Joseph Myers  <joseph@codesourcery.com>
58998         * Makeconfig (host-built-program-cmd): New variable.
58999         * elf/Makefile (tst-stackguard1-ARGS): Use
59000         $(host-built-program-cmd).
59001         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
59002         (tst-spawn-ARGS): Likewise.
59003         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
59005 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
59006             Jim Blandy  <jimb@codesourcery.com>
59008         * Makeconfig (run-via-rtld-prefix): New variable.
59009         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
59010         (built-program-cmd): Likewise.
59012 2012-10-22  Andreas Jaeger  <aj@suse.de>
59014         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
59015         __O_RSYNC if it exists, otherwise to O_SYNC.
59017 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
59018             Joseph Myers  <joseph@codesourcery.com>
59020         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
59021         /dev/null.
59022         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
59023         from /dev/null
59024         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
59025         /dev/null.
59027 2012-10-22  Andreas Jaeger  <aj@suse.de>
59029         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
59030         Define always.
59031         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
59033         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59034         bits/fcntl-linux.h.
59036         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
59037         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
59039         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
59040         to __O_LARGEFILE.
59041         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
59042         to __O_LARGEFILE.
59044 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
59045             Joseph Myers  <joseph@codesourcery.com>
59047         * config.make.in (NM): New variable.
59049 2012-10-21  Andreas Jaeger  <aj@suse.de>
59051         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
59052         definitions and declarations that are provided by
59053         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
59055 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59057         [BZ #14683]
59058         * elf/Makefile (tests-static): Add tst-leaks1-static.
59059         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
59060         ($(objpfx)tst-leaks1-static): New rule.
59061         ($(objpfx)tst-leaks1-static-mem): Likewise.
59062         (tst-leaks1-static-ENV): New macro.
59063         * elf/dl-open.c (dl_open_worker): Check the main application
59064         only if SHARED is defined.
59065         * elf/tst-leaks1-static.c: New file.
59067 2012-10-20  Andreas Jaeger  <aj@suse.de>
59069         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
59070         generic values for Linux.
59071         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
59072         and declarations that are provided by <bits/fcntl-linux.h> and
59073         include <bits/fcntl-linux.h>.
59074         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59075         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59077 2012-10-20  Roland McGrath  <roland@hack.frob.com>
59079         * io/fcntl.h: Move include of <bits/types.h> to the top and
59080         include it unconditionally.
59082 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59084         * wcsmbs/Makefile (tests-ifunc): New variable.
59085         (tests): Add $(tests-ifunc).
59086         * wcsmbs/test-wcschr-ifunc.c: New file.
59087         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
59088         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
59089         * wcsmbs/test-wcslen-ifunc.c: Likewise.
59090         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
59091         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
59093         * string/Makefile (tests-ifunc): New variable.
59094         (tests): Add $(tests-ifunc).
59095         * string/test-memccpy.c (TEST_NAME): New macro.
59096         * string/test-memchr.c (TEST_NAME): Likewise.
59097         * string/test-memcmp.c (TEST_NAME): Likewise.
59098         * string/test-memcpy.c (TEST_NAME): Likewise.
59099         * string/test-memmem.c (TEST_NAME): Likewise.
59100         * string/test-memmove.c (TEST_NAME): Likewise.
59101         * string/test-memset.c (TEST_NAME): Likewise.
59102         * string/test-rawmemchr.c (TEST_NAME): Likewise.
59103         * string/test-stpcpy.c (TEST_NAME): Likewise.
59104         * string/test-stpncpy.c (TEST_NAME): Likewise.
59105         * string/test-strcasecmp.c (TEST_NAME): Likewise.
59106         * string/test-strcasestr.c (TEST_NAME): Likewise.
59107         * string/test-strcat.c (TEST_NAME): Likewise.
59108         * string/test-strchr.c (TEST_NAME): Likewise.
59109         * string/test-strcmp.c(TEST_NAME): Likewise.
59110         * string/test-strcpy.c (TEST_NAME): Likewise.
59111         * string/test-strcspn.c (TEST_NAME): Likewise.
59112         * string/test-strlen.c (TEST_NAME): Likewise.
59113         * string/test-strncasecmp.c (TEST_NAME): Likewise.
59114         * string/test-strncmp.c (TEST_NAME): Likewise.
59115         * string/test-strncpy.c (TEST_NAME): Likewise.
59116         * string/test-strnlen.c (TEST_NAME): Likewise.
59117         * string/test-strpbrk.c (TEST_NAME): Likewise.
59118         * string/test-strrchr.c (TEST_NAME): Likewise.
59119         * string/test-strspn.c (TEST_NAME): Likewise.
59120         * string/test-strstr.c (TEST_NAME): Likewise.
59121         * string/test-bcopy-ifunc.c: New file.
59122         * string/test-bzero-ifunc.c: Likewise.
59123         * string/test-memccpy-ifunc.c: Likewise.
59124         * string/test-memchr-ifunc.c: Likewise.
59125         * string/test-memcmp-ifunc.c: Likewise.
59126         * string/test-memcpy-ifunc.c: Likewise.
59127         * string/test-memmem-ifunc.c: Likewise.
59128         * string/test-memmove-ifunc.c: Likewise.
59129         * string/test-mempcpy-ifunc.c: Likewise.
59130         * string/test-memset-ifunc.c: Likewise.
59131         * string/test-rawmemchr-ifunc.c: Likewise.
59132         * string/test-stpcpy-ifunc.c: Likewise.
59133         * string/test-stpncpy-ifunc.c: Likewise.
59134         * string/test-strcasecmp-ifunc.c: Likewise.
59135         * string/test-strcasestr-ifunc.c: Likewise.
59136         * string/test-strcat-ifunc.c: Likewise.
59137         * string/test-strchr-ifunc.c: Likewise.
59138         * string/test-strchrnul-ifunc.c: Likewise.
59139         * string/test-strcmp-ifunc.c: Likewise.
59140         * string/test-strcpy-ifunc.c: Likewise.
59141         * string/test-strcspn-ifunc.c: Likewise.
59142         * string/test-strlen-ifunc.c: Likewise.
59143         * string/test-strncasecmp-ifunc.c: Likewise.
59144         * string/test-strncat-ifunc.c: Likewise.
59145         * string/test-strncmp-ifunc.c: Likewise.
59146         * string/test-strncpy-ifunc.c: Likewise.
59147         * string/test-strnlen-ifunc.c: Likewise.
59148         * string/test-strpbrk-ifunc.c: Likewise.
59149         * string/test-strrchr-ifunc.c: Likewise.
59150         * string/test-strspn-ifunc.c: Likewise.
59151         * string/test-strstr-ifunc.c: Likewise.
59153         * debug/Makefile (tests-ifunc): New variable.
59154         (tests): Add $(tests-ifunc).
59155         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
59156         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
59157         * debug/test-stpcpy_chk-ifunc.c: New file.
59158         * debug/test-strcpy_chk-ifunc.c: Likewise.
59160 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59162         [BZ #13601]
59163         * elf/dl-load.c (open_verify): Retry read if the entire ELF
59164         header is not read in.
59166 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
59168         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
59169         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
59170         directly.  Pass built executable to script as
59171         $(built-program-cmd).
59172         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
59173         $testprogram without using LD_LIBRARY_PATH and $ldso.
59175         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
59176         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
59177         $(rtld-installed-name).
59178         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
59179         (rtld_installed_name): Likewise.
59180         (library_path): Likewise.
59181         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
59182         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
59183         $(run-program-prefix) to tst-tables.sh.
59184         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
59185         it to run tst-table-from and tst-table-to.
59186         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
59187         Pass it to tst-table.sh.
59188         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
59189         $(run-program-prefix) to tst-gettext.sh.
59190         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
59191         tst-translit.sh.
59192         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
59193         tst-gettext2.sh.
59194         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
59195         to run tst-gettext.
59196         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
59197         to run tst-gettext2.
59198         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
59199         to run tst-translit.
59200         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
59201         $(run-program-prefix) to tst-mtrace.sh.
59202         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
59203         to run tst-mtrace.
59204         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
59205         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
59206         $(rtld-installed-name).
59207         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
59208         (rtld_installed_name): Likewise.
59209         (run_program_prefix): New variable.  Use it to run wordexp-test.
59211         * Makeconfig (ARCH): Remove all definitions.
59212         (machine): Likewise.
59213         [ARCH]: Remove conditional code.
59214         [!objdir]: Give error.
59215         [!objdir] (objpfx): Remove.
59216         [!objdir] (common-objpfx): Likewise.
59217         [!objdir] (common-objdir): Likewise.
59218         * configure.in (config_makefile): Remove.  Hardcode Makefile in
59219         AC_CONFIG_FILES call.
59220         * configure: Regenerated.
59222         [BZ #13888]
59223         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
59224         or TMPDIR.
59225         (testout): Likewise.
59227         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
59228         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
59229         $(rtld-installed-name).
59230         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
59231         (rtld_installed_name): Likwise.
59232         (runit): Remove function.
59233         (run_getconf): New variable,  Use it for running getconf binary.
59235 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
59237         [BZ #14716]
59238         * string/test-memmem.c (check_result): New function.
59239         (do_one_test): Use it.
59240         (check1): New function.
59241         (test_main): Use it.
59243 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
59245         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
59247 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
59249         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
59250         (_G_LSEEK64): Likewise.
59251         (_G_MMAP64): Likewise.
59252         (_G_FSTAT64): Likewise.
59253         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
59254         (_G_LSEEK64): Likewise.
59255         (_G_MMAP64): Likewise.
59256         (_G_FSTAT64): Likewise.
59257         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
59258         unconditional.  Call __mmap64 directly.
59259         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
59260         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
59261         __lseek64 directly.
59262         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
59263         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
59264         __mmap64 directly.
59265         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
59266         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59267         __lseek64 directly.
59268         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
59269         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59270         __lseek64 directly.
59271         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
59272         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
59273         __lseek64 directly.
59274         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
59275         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
59276         __fxstat64 directly.
59277         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
59278         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
59279         unconditional.
59280         (freopen64) [!_G_OPEN64]: Remove conditional code.
59281         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
59282         unconditional.
59283         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
59284         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
59285         unconditional.
59286         (ftello64) [!_G_LSEEK64]: Remove conditional code.
59287         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
59288         unconditional.
59289         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59290         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
59291         unconditional.
59292         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
59293         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
59294         unconditional.
59295         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59296         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
59297         unconditional.
59298         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59299         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
59300         unconditional.
59301         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59303 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59305         [BZ #12140]
59306         * manual/memory.texi (Malloc Tunable Parameters): Add note
59307         about free list pointers overwriting some perturb bytes.
59308         Wording suggested by Roland McGrath.
59310 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
59312         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
59313         (lgamma_test): Likewise.
59314         (tgamma_test): Likewise.
59316 2012-10-16  Florian Weimer  <fweimer@redhat.com>
59318         [BZ #14700]
59319         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
59320         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
59322 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
59324         * NEWS: Mention BZ #14716.
59325         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
59326         when removing AVAILABLE1_USES_J macro.
59328 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
59330         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
59331         (__bswap_64): __uint64_t for unsigned 64-bit int.
59333 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
59335         * include/string.h (memmem): Declare libc hidden alias.
59336         * string/memmem.c (memmem): Define libc hidden alias.
59337         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
59338         __read, __close instead of open, read, close.
59340 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
59342         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
59343         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
59344         global and hidden.
59345         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
59346         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
59347         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
59348         Likewise.
59349         (__rawmemchr_sse2): Likewise.
59350         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
59351         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
59352         (__strchr_sse2): Likewise.
59353         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
59354         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
59355         (__strcasecmp_sse2): Likewise.
59356         (__strncasecmp_sse2): Likewise.
59357         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
59358         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
59359         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
59360         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
59361         (__strrchr_sse2): Likewise.
59362         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
59363         ifunc-impl-list.c.
59364         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
59365         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
59366         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
59367         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59368         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
59369         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
59370         * sysdeps/x86_64/multiarch/memset.S: Likewise.
59371         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
59372         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
59373         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
59374         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
59375         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
59376         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
59377         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
59378         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
59379         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
59380         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
59381         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
59382         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
59383         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
59384         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
59385         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
59386         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
59387         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
59388         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
59389         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59390         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
59391         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59392         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
59393         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
59395         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
59396         global and hidden.
59397         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
59398         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
59399         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
59400         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
59401         Likewise.
59402         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
59403         Likewise.
59404         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
59405         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
59406         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
59407         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
59408         ifunc-impl-list.c.
59409         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
59410         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
59411         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
59412         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
59413         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
59414         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
59415         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
59416         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
59417         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
59418         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
59419         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
59420         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
59421         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
59422         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
59423         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
59424         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
59425         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
59426         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
59427         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
59428         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
59429         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59430         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
59431         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
59432         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
59433         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59434         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
59435         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
59436         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
59437         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
59438         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
59439         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
59440         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
59441         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
59442         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
59443         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
59444         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
59445         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
59446         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
59447         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
59448         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
59449         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
59451         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
59452         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
59453         * include/ifunc-impl-list.h: New file.
59454         * misc/ifunc-impl-list.c: Likewise.
59455         * misc/Makefile (routines): Add ifunc-impl-list.
59456         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
59457         * string/test-string.h: Include <ifunc-impl-list.h>.
59458         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
59459         TEST_NAME]: New variables.
59460         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
59461         are defined.
59462         (test_init): Call __libc_ifunc_impl_list to initialize
59463         func_list if TEST_IFUNC and TEST_NAME are defined.
59465         * string/Makefile (strop-tests): Add bcopy and bzero.
59466         * string/test-bcopy.c: New file.
59467         * string/test-bzero.c: Likewise.
59468         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
59469         defined.
59470         * string/test-memset.c: Support bzero test if TEST_BZERO is
59471         defined.
59472         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
59473         __libc_memmove.
59474         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
59475         __libc_memset.
59476         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
59477         of memset.
59479 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
59481         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
59482         * configure: Regenerated.
59484         * Makeconfig (+link-static-before-libc): Don't include
59485         $(link-static-libc).
59487         * libio/libio.h (_IO_pos_t): Remove.
59489 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59491         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
59492         McGrath.
59494 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59496         * crypt/crypt-entry.c: Include fips-private.h.
59497         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
59498         * crypt/md5c-test.c (main): Tolerate disabled MD5.
59499         * sysdeps/unix/sysv/linux/fips-private.h: New file.
59500         * sysdeps/generic/fips-private.h: New file, dummy fallback.
59502 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59504         * crypt/crypt-private.h: Include stdbool.h.
59505         (_ufc_setup_salt_r): Return bool.
59506         * crypt/crypt-entry.c: Include errno.h.
59507         (__crypt_r): Return NULL with EINVAL for bad salt.
59508         * crypt/crypt_util.c (bad_for_salt): New.
59509         (_ufc_setup_salt_r): Check that salt is long enough and within
59510         the specified alphabet.
59511         * crypt/badsalttest.c: New file.
59512         * crypt/Makefile (tests): Add it.
59513         ($(objpfx)badsalttest): New.
59515 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
59517         * NEWS: Add entry for BZ #14602.
59519 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
59521         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
59522         type-generic.
59523         * math/libm-test.inc: Update comment listing what functions and
59524         macros are tested.
59525         (isgreater_test): New function.
59526         (isgreaterequal_test): Likewise.
59527         (isless_test): Likewise.
59528         (islessequal_test): Likewise.
59529         (islessgreater_test): Likewise.
59530         (isunordered_test): Likewise.
59531         (main): Call the new functions.
59533 2012-10-09  Roland McGrath  <roland@hack.frob.com>
59535         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
59536         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
59537         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
59538         * sysdeps/i386/configure: Regenerated.
59539         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
59540         * sysdeps/mach/configure: Regenerated.
59541         * sysdeps/mach/hurd/configure: Regenerated.
59542         * sysdeps/powerpc/configure: Regenerated.
59543         * sysdeps/powerpc/powerpc32/configure: Regenerated.
59544         * sysdeps/powerpc/powerpc64/configure: Regenerated.
59545         * sysdeps/s390/s390-32/configure: Regenerated.
59546         * sysdeps/s390/s390-64/configure: Regenerated.
59547         * sysdeps/sh/configure: Regenerated.
59548         * sysdeps/sparc/configure: Regenerated.
59549         * sysdeps/unix/sysv/linux/configure: Regenerated.
59550         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
59551         * sysdeps/x86_64/configure: Regenerated.
59553         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
59554         defined.  Don't check if MAP is NULL.
59556 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
59558         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
59559         (_G_stat64): Likewise.
59560         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
59561         (_G_stat64): Likewise.
59562         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
59563         instead of struct _G_stat64.
59564         * libio/fileops.c (mmap_remap_check): Likewise.
59565         (decide_maybe_mmap): Likewise.
59566         (_IO_new_file_seekoff): Likewise.
59567         (_IO_file_stat): Likewise.
59568         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
59569         _G_off64_t.
59570         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
59571         instead of struct _G_stat64.
59572         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
59574 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
59576         [BZ #14602]
59577         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59578         Replace with ...
59579         (CHECK_EOL): New macro.
59580         (two_way_short_needle): Check beginning of haystack for EOL.  Use
59581         CHECK_EOL.
59582         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59583         Replace with CHECK_EOL.
59584         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59585         Replace with CHECK_EOL.
59587 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
59589         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
59590         type-generic.
59591         * math/libm-test.inc: Update comment listing what functions and
59592         macros are tested.
59593         (finite_test): New function.
59594         (isinf_test): Likewise.
59595         (isnan_test): Likewise.
59596         (fpclassify_test): Test subnormal input.
59597         (isfinite_test): Likewise.
59598         (isnormal_test): Likewise.
59599         (main): Call the new functions.
59601 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
59603         [BZ #14660]
59604         * Makerules (%.dynsym): Force C locale when running
59605         $(OBJDUMP) --dynamic-syms.
59607 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
59609         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
59610         <stdint.h>.
59612 2012-10-06  David S. Miller  <davem@davemloft.net>
59614         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
59615         upper 32-bits of the length value in %o2 since we use branch-on-register
59616         tests which consider the entire 64-bit register.
59618 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
59620         * string/test-strstr.c (check2): Add a test for page boundary.
59622 2012-10-05  David S. Miller  <davem@davemloft.net>
59624         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
59625         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
59626         file.
59627         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
59628         sysdep_routines.
59629         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
59630         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
59631         and bzero when HWCAP_SPARC_CRYPTO is present.
59633 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
59635         [BZ #14602]
59636         * string/test-strstr.c (check2): New function.
59637         (test_main): Call check2.
59639         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
59640         and bug-strchr1.
59641         * string/bug-strcasestr1.c (do_test): Moved to ...
59642         * string/test-strcasestr.c (check1): Here.  New function.
59643         (do_one_test): Break out result checking code into ...
59644         (check_result): This.  New function.
59645         (do_one_test): Call check_result.
59646         (test_main): Call check1.
59647         * string/bug-strchr1.c (do_test): Moved to ...
59648         * string/test-strchr.c (check1): Here.  New function.
59649         (do_one_test): Break out result checking code into ...
59650         (check_result): This.  New function.
59651         (do_one_test): Call check_result.
59652         (test_main): Call check1.
59653         * string/bug-strstr1.c (main): Moved to ...
59654         * string/test-strstr.c (check1): Here.  New function.
59655         (do_one_test): Break out result checking code into ...
59656         (check_result): This.  New function.
59657         (do_one_test): Call check_result.
59658         (test_main): Call check1.
59659         * string/bug-strcasestr1.c: Removed.
59660         * string/bug-strchr1.c: Likewise.
59661         * string/bug-strstr1.c: Likewise.
59663         * elf/Makefile (dl-routines): Add hwcaps.
59664         * elf/dl-support.c (_dl_important_hwcaps): Removed.
59665         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
59666         (_dl_important_hwcaps): Moved to ...
59667         * elf/dl-hwcaps.c: Here.  New file.
59668         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
59670         [BZ #14557]
59671         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
59672         if IS_IN_rtld isn't defined.
59674         * elf/dl-support.c (_dl_sysinfo_map): New.
59675         Include "get-dynamic-info.h" and "setup-vdso.h".
59676         (_dl_non_dynamic_init): Call setup_vdso.
59677         * elf/dynamic-link.h: Don't include <assert.h>.
59678         (elf_get_dynamic_info): Moved to ...
59679         * elf/get-dynamic-info.h: Here.  New file.
59680         * elf/dynamic-link.h: Include "get-dynamic-info.h".
59681         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
59682         * elf/setup-vdso.h: Here.  New file.
59683         * elf/rtld.c: Include "setup-vdso.h".
59684         (dl_main): Call setup_vdso.
59686 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
59688         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
59689         creal in comment listing functions tested.  List finite, isinf,
59690         isnan, isless, islessequal, isgreater, isgreaterequal,
59691         islessgreater, isunordered, lgamma_r and pow10 as functions and
59692         macros not tested.  Mention which functions not tested are aliases
59693         for other functions.  Fix typo.  Note that signs of NaNs are not
59694         tested.
59696         * scripts/config.guess: Update from config.git.
59697         * scripts/config.sub: Likewise.
59699 2012-10-04  Roland McGrath  <roland@hack.frob.com>
59701         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
59702         * misc/madvise.c (madvise): Renamed to __madvise.
59703         Make madvise a weak alias.
59704         * include/sys/mman.h: Declare __madvise.
59705         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
59706         * sysdeps/unix/syscalls.list
59707         (madvise): Make __madvise the strong name, and madvise a weak alias.
59708         * sysdeps/unix/sysv/linux/syscalls.list
59709         (madvise, mmap): Remove redundant entries.
59710         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
59711         * malloc/malloc.c (mtrim): Likewise.
59712         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
59714 2012-10-03  Roland McGrath  <roland@hack.frob.com>
59716         * sysdeps/mach/hurd/dl-cache.c: File removed.
59717         * config.h.in (USE_LDCONFIG): New #undef.
59718         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
59719         * configure: Regenerated.
59720         * elf/Makefile (dl-routines): Add dl-cache only under
59721         [$(use-ldconfig) = yes].
59722         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
59723         cache on [USE_LDCONFIG].
59724         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
59725         [USE_LDCONFIG].
59726         * elf/rtld.c (dl_main): Likewise.
59728 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
59730         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
59731         _SC_LEVEL4_CACHE_LINESIZE.
59733 2012-10-03  Roland McGrath  <roland@hack.frob.com>
59735         * sysdeps/unix/bsd/confstr.h: File removed.
59737 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
59739         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
59740         sys/sdt-config.h.
59742 2012-10-02  Roland McGrath  <roland@hack.frob.com>
59744         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
59745         Make 'mapoff' field ElfW(Off) rather than off_t.
59747 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
59749         * nscd/Makefile: Remove nscd-cflags and all its users.
59750         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
59751         (CFLAGS-nonlib): Add compiler flags for nscd modules.
59753         [BZ #10631]
59754         * malloc.c (malloc_printerr): Clarify error message.
59756 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
59758         [BZ #14648]
59759         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59760         Set bit_FMA_Usable if FMA is supported.
59761         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
59762         macro.
59763         (bit_FMA4_Usable): Updated.
59764         (index_FMA_Usable): New macro.
59765         (CPUID_FMA): Likewise.
59766         (HAS_FMA): Defined with bit_FMA_Usable.
59768 2012-10-01  Roland McGrath  <roland@hack.frob.com>
59770         * bits/types.h (__swblk_t): Type removed.
59771         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
59772         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
59773         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59774         (__SWBLK_T_TYPE): Likewise.
59775         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59776         (__SWBLK_T_TYPE): Likewise.
59777         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59778         (__SWBLK_T_TYPE): Likewise.
59779         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59780         (__SWBLK_T_TYPE): Likewise.
59782 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
59783             Honza Horak <hhorak@redhat.com>
59785         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
59786         (xdr_mapname): Use YPMAXMAP as maxsize.
59787         (xdr_peername): Use YPMAXPEER as maxsize.
59788         (xdr_keydat): Use YPAXRECORD as maxsize.
59789         (xdr_valdat): Use YPMAXRECORD as maxsize.
59791 2012-10-01  Roland McGrath  <roland@hack.frob.com>
59793         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
59795         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
59796         * csu/init-first.c: ... here.
59797         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
59798         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
59799         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
59800         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
59801         * sysdeps/i386/init-first.c: File removed.
59802         * sysdeps/sh/init-first.c: File removed.
59804 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
59806         [BZ #14645]
59807         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
59808         if x * y might underflow to zero and z is zero.
59809         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59810         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59811         * math/libm-test.inc (min_subnorm_value): New variable.
59812         (fma_test): Add more tests.
59813         (fma_test_towardzero): Likewise.
59814         (fma_test_downward): Likewise.
59815         (fma_test_upward): Likewise.
59816         (initialize): Set min_subnorm_value.
59818 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
59820         [BZ #14638]
59821         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
59822         0 + 0.
59823         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
59824         mode for addition resulting in exact zero.
59825         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
59826         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
59827         exact 0 + 0.
59828         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
59829         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59830         * math/libm-test.inc (fma_test): Add more tests.
59831         (fma_test_towardzero): New function.
59832         (fma_test_downward): Likewise.
59833         (fma_test_upward): Likewise.
59834         (main): Call the new functions.
59836 2012-09-28  David S. Miller  <davem@davemloft.net>
59838         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
59840 2012-09-28  Roland McGrath  <roland@hack.frob.com>
59842         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
59843         instead of SIGALRM.
59845         * sysdeps/gnu/_G_config.h: Moved to ...
59846         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
59847         * sysdeps/mach/hurd/_G_config.h: Moved to ...
59848         * sysdeps/generic/_G_config.h: ... here.
59850         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
59852         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
59854         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
59855         Conditionalize target on [libnss_test1.so-version].
59857         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
59859         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
59860         (elfobjdir): Move out of conditionals.
59862         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
59863         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
59864         (__nss_lookup_function): Conditionalize label remove_from_tree on
59865         [!DO_STATIC_NSS || SHARED], matching its only use.
59867 2012-09-28  David S. Miller  <davem@davemloft.net>
59869         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
59870         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
59871         file.
59872         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
59873         sysdep_routines.
59874         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
59875         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
59876         when HWCAP_SPARC_CRYPTO is present.
59878 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59880         * io/tst-mknodat.c: Create a FIFO instead of a socket.
59882 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
59884         [BZ #6530]
59885         * stdio-common/vfprintf.c (process_string_arg): Revert
59886         2000-07-22 change.
59888 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
59890         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
59891         for testcase.
59892         * stdio-common/tst-sprintf.c: Include <locale.h>
59893         (main): Test sprintf's handling of incomplete multibyte
59894         characters.
59896 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
59898         * elf/dl-runtime.c (VERSYMIDX): Removed.
59899         * elf/dl-version.c (VERSYMIDX): Likewise.
59900         * elf/do-rel.h (VERSYMIDX): Likewise.
59901         (VALIDX): Likewise.
59902         * elf/dynamic-link.h (VERSYMIDX): Likewise.
59903         * elf/rtld.c (VALIDX): Likewise.
59904         (ADDRIDX): Likewise.
59905         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
59906         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
59907         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
59908         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
59909         (VALIDX): Likewise.
59910         (ADDRIDX): Likewise.
59912 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59914         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
59916 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
59918         [BZ #11438]
59919         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
59920         to global scope.
59921         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
59922         addresses are in the same scope as 192.0.2/24.
59923         * posix/gai.conf: Document new scope table defaults.
59925 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59927         [BZ #5298]
59928         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
59929         for ftell.  Compute offsets from write pointers instead.
59930         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
59932 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59934         [BZ #14543]
59935         * libio/Makefile (tests): New test case tst-fseek.
59936         * libio/tst-fseek.c: New test case to verify that fseek/ftell
59937         combination works in wide mode.
59938         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
59939         state when the external buffer state changes.
59941 2012-09-27  David S. Miller  <davem@davemloft.net>
59943         [BZ #14376]
59944         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
59945         pass reloc->r_addend in as the 'high' argument to
59946         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
59948         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59950 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59952         * rt/tst-aio2.c: Include <pthread.h>.
59953         * rt/tst-aio3.c: Likewise.
59955 2012-09-27  Steve Ellcey  <sellcey@mips.com>
59957         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
59959 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
59961         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
59962         contents on [SHARED].
59964 2012-09-26  Marek Polacek  <polacek@redhat.com>
59966         [BZ #14530]
59967         [BZ #13741]
59968         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
59969         for C++ and GCC <4.3 as well as for non GCC compilers.
59971 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
59973         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59975 2012-09-25  Roland McGrath  <roland@hack.frob.com>
59977         * Makefile.in (all, install): Declare with .PHONY.
59978         Reported by Michael Hope <michael.hope@linaro.org>.
59980 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59982         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
59983         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
59984         system header.
59985         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
59986         Likewise.
59987         (sydep_routines): Add the new and the internal functions.
59988         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
59989         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
59990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
59991         (GLIBC_2.17): Add the new function.
59992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
59993         (GLIBC_2.17): Likewise.
59994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
59995         (GLIBC_2.17): Likewise.
59996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
59997         (GLIBC_2.17): Likewise.
59998         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
60000 2012-09-25  Alan Modra  <amodra@gmail.com>
60002         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
60003         Add release barrier before setting once_control to say
60004         initialisation is done.  Add hints on lwarx.  Use macro in
60005         place of isync.
60006         (clear_once_control): Add release barrier.
60008 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60010         [BZ #13629]
60011         * math/s_clog.c (__clog): Handle more values close to |z| = 1
60012         specially.
60013         * math/s_clog10.c (__clog10): Likewise.
60014         * math/s_clog10f.c (__clog10f): Likewise.
60015         * math/s_clog10l.c (__clog10l): Likewise.
60016         * math/s_clogf.c (__clogf): Likewise.
60017         * math/s_clogl.c (__clogl): Likewise.
60018         * math/Makefile (libm-calls): Add x2y2m1.
60019         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
60020         (__x2y2m1): Likewise.
60021         (__x2y2m1l): Likewise.
60022         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
60023         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
60024         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
60025         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
60026         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
60027         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
60028         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
60029         * sysdeps/i386/fpu/libm-test-ulps: Update.
60030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60032         [BZ #14621]
60033         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
60034         int as type of variable DEPTH.
60035         (glob): Use size_t instead of int as type of variables NEWCOUNT
60036         and OLD_PATHC.
60038 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60040         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
60041         Add s_sincosf-sse2.
60042         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
60043         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
60044         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
60045         macros for using routine as __sincosf_ia32.
60046         Use macro for function declaration and weak_alias.
60047         * sysdeps/i386/fpu/libm-test-ulps: Update.
60049         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
60050         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60052         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
60053         subnormal argument.
60054         * math/s_cexpf.c (__cexpf): Likewise.
60055         * math/s_csinf.c (__csinf): Likewise.
60056         * math/s_csinhf.c (__csinhf): Likewise.
60057         * math/s_ctanf.c (__ctanf): Likewise.
60058         * math/s_ctanhf.c (__ctanhf): Likewise.
60059         * math/s_ccosh.c (__ccoshf): Likewise.
60060         * math/s_cexp.c (__cexpl): Likewise.
60061         * math/s_csin.c (__csin): Likewise.
60062         * math/s_csinh.c (__csinh): Likewise.
60063         * math/s_ctan.c (__ctan): Likewise.
60064         * math/s_ctanh.c (ctanh): Likewise.
60065         * math/s_ccoshl.c (__ccoshl): Likewise.
60066         * math/s_cexpl.c (__cexpl): Likewise.
60067         * math/s_csinl.c (__csinl): Likewise.
60068         * math/s_csinhl.c (__csinhl): Likewise.
60069         * math/s_ctanl.c (__ctanl): Likewise.
60070         * math/s_ctanhl.c (__ctanhl): Likewise.
60072 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60074         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
60075         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
60076         (_IO_off_t): Define to __off_t, not _G_off_t.
60077         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
60078         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
60079         (_IO_wint_t): Define to wint_t, not _G_wint_t.
60080         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
60081         type of __dummy and __dummy2 fields.
60082         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
60083         (_G_ssize_t): Likewise.
60084         (_G_off_t): Likewise.
60085         (_G_pid_t): Likewise.
60086         (_G_uid_t): Likewise.
60087         (_G_wchar_t): Likewise.
60088         (_G_wint_t): Likewise.
60089         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
60090         (_G_ssize_t): Likewise.
60091         (_G_off_t): Likewise.
60092         (_G_pid_t): Likewise.
60093         (_G_uid_t): Likewise.
60094         (_G_wchar_t): Likewise.
60095         (_G_wint_t): Likewise.
60096         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
60097         (_G_ssize_t): Likewise.
60098         (_G_off_t): Likewise.
60099         (_G_pid_t): Likewise.
60100         (_G_uid_t): Likewise.
60101         (_G_wchar_t): Likewise.
60102         (_G_wint_t): Likewise.
60104 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60106         * malloc/arena.c: Include malloc-sysdep.h.
60107         (shrink_heap): Use check_may_shrink_heap to decide if madvise
60108         is sufficient to shrink the heap or an unmap is needed.
60109         * sysdeps/generic/malloc-sysdep.h: New file.  Define
60110         new function check_may_shrink_heap.
60111         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
60112         new function check_may_shrink_heap.
60114 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60116         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
60117         comments.
60119 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
60121         * catgets/test-gencat.sh: Add "set -e".
60122         * elf/tst-pathopt.sh: Likewise.
60123         * grp/tst_fgetgrent.sh: Likewise.
60124         * iconvdata/run-iconv-test.sh: Likewise.
60125         * intl/tst-gettext.sh: Likewise.
60126         * intl/tst-gettext2.sh: Likewise.
60127         * intl/tst-gettext4.sh: Likewise.
60128         * intl/tst-gettext6.sh: Likewise.
60129         * intl/tst-translit.sh: Likewise.
60130         * io/ftwtest-sh: Likewise.
60131         * libio/test-freopen.sh: Likewise.
60132         * malloc/tst-mtrace.sh: Likewise.
60133         * posix/globtest.sh: Likewise.
60134         * posix/tst-getconf.sh: Likewise.
60135         * posix/wordexp-tst.sh: Likewise.
60136         * stdio-common/tst-printf.sh: Likewise.
60137         * stdio-common/tst-unbputc.sh: Likewise.
60138         * stdlib/tst-fmtmsg.sh: Likewise.
60139         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60140         * catgets/Makefile: Do not specify -e option when running
60141         testsuite shell scripts.
60142         * elf/Makefile: Likewise.
60143         * grp/Makefile: Likewise.
60144         * iconvdata/Makefile: Likewise.
60145         * intl/Makefile: Likewise.
60146         * io/Makefile: Likewise.
60147         * libio/Makefile: Likewise.
60148         * malloc/Makefile: Likewise.
60149         * posix/Makefile: Likewise.
60150         * stdio-common/Makefile: Likewise.
60151         * stdlib/Makefile: Likewise.
60152         * sysdeps/x86_64/Makefile: Likewise.
60154         * io/ftwtest-sh: Add copyright header.
60155         * posix/globtest.sh: Likewise.
60156         * posix/tst-getconf.sh: Likewise.
60157         * posix/wordexp-tst.sh: Likewise.
60158         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60160 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
60162         [BZ #13679]
60163         * Makeconfig (+link): Defined as $(+link-static) if
60164         $(build-shared) isn't yes.
60165         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
60166         isn't yes.
60167         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
60169         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
60171         [BZ #14562]
60172         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
60173         new chunk size with MALLOC_ALIGN_MASK.
60175 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
60177         [BZ #5044]
60178         * stdio-common/printf_fphex.c: Include <stdbool.h> and
60179         <rounding-mode.h>.
60180         (__printf_fphex): Determine rounding using get_rounding_mode and
60181         round_away.
60182         * stdio-common/tst-printf-round.c (struct hex_test): New
60183         structure.
60184         (hex_tests): New variable.
60185         (test_hex_in_one_mode): New function.
60186         (do_test): Also run tests for hex float output.
60188 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
60190         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60191         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60192         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
60193         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60194         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60195         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
60196         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60197         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60199 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
60201         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
60202         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
60203         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
60204         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
60206 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
60208         [BZ #14579]
60209         * elf/rtld.c (dl_main): Limit the check for self loading to normal
60210         mode only.
60211         * elf/tst-rtld-load-self.sh: New test.
60212         * elf/Makefile: Run it.
60214 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
60216         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
60217         (tst-writev-ENV): Remove.
60218         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
60220 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
60222         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
60224 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
60226         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
60227         unconditional.
60228         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
60229         Likewise.
60230         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
60231         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
60232         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
60233         Likewise.
60235 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
60237         [BZ #14587]
60238         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
60239         * config.make.in (have-cpp-asm-debuginfo): Removed.
60240         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
60241         * configure: Regenerated.
60243 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
60245         [BZ #5044]
60246         * stdio-common/printf_fp.c: Include <stdbool.h> and
60247         <rounding-mode.h>.
60248         (___printf_fp): Determine rounding using get_rounding_mode and
60249         round_away.
60250         * stdio-common/tst-printf-round.c: New file.
60251         * stdio-common/Makefile (tests): Add tst-printf-round.
60252         (link-libm): New variable.
60253         ($(objpfx)tst-printf-round): Depend in $(link-libm).
60255 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
60257         [BZ #14576]
60258         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
60259         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
60260         Likewise.
60261         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
60262         Likewise.
60264 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
60266         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
60267         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60268         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60269         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60271 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
60273         [BZ #14518]
60274         * include/rounding-mode.h: New file.
60275         * sysdeps/generic/get-rounding-mode.h: Likewise.
60276         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
60277         * stdlib/strtod_l.c: Include <rounding-mode.h>.
60278         (MAX_VALUE): New macro.
60279         (MIN_VALUE): Likewise.
60280         (overflow_value): New function.
60281         (underflow_value): Likewise.
60282         (round_and_return): Use overflow_value and underflow_value to
60283         determine return values in overflow and underflow cases.  Use
60284         round_away to determine rounding depending on rounding mode.
60285         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
60286         determine return values in overflow and underflow cases.
60287         * stdlib/tst-strtod-round.c: Include <fenv.h>.
60288         (struct test_results): New structure.
60289         (struct test): Use struct test_results to store expected results
60290         for all rounding modes.
60291         (TEST): Include expected results for all rounding modes.
60292         (test_in_one_mode): New function.
60293         (do_test): Use test_in_one_mode to compute and check results.
60294         Check results for all rounding modes.
60295         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
60296         $(link-libm).
60298 2012-12-09  Allan McRae  <allan@archlinux.org>
60300         * sysdeps/i386/fpu/libm-test-ulps: Update
60302 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
60304         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
60305         (_G_int32_t): Likewise.
60306         (_G_uint16_t): Likewise.
60307         (_G_uint32_t): Likewise.
60308         (_G_HAVE_BOOL): Likewise.
60309         (_G_HAVE_ATEXIT): Likewise.
60310         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60311         (_G_HAVE_IO_FILE_OPEN): Likewise.
60312         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
60313         (_G_int32_t): Likewise.
60314         (_G_uint16_t): Likewise.
60315         (_G_uint32_t): Likewise.
60316         (_G_HAVE_BOOL): Likewise.
60317         (_G_HAVE_ATEXIT): Likewise.
60318         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60319         (_G_HAVE_IO_FILE_OPEN): Likewise.
60320         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
60321         (_G_int32_t): Likewise.
60322         (_G_uint16_t): Likewise.
60323         (_G_uint32_t): Likewise.
60324         (_G_HAVE_BOOL): Likewise.
60325         (_G_HAVE_ATEXIT): Likewise.
60326         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60327         (_G_HAVE_IO_FILE_OPEN): Likewise.
60329 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
60331         * csu/libc-tls.c: Update copyright years.
60333 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
60335         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
60336         [!_G_USING_THUNKS]: Remove conditional code.
60337         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
60338         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
60340         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
60341         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
60342         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60343         (_G_VTABLE_LABEL_PREFIX): Likewise.
60344         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60345         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60346         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60347         (_G_VTABLE_LABEL_PREFIX): Likewise.
60348         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60349         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60350         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60351         (_G_VTABLE_LABEL_PREFIX): Likewise.
60352         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60354 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
60356         * libio/Makefile: Include ../Makeconfig before tests.
60357         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
60358         only if $(build-shared) is yes.
60360         * iconv/gconv_db.c: Update copyright years.
60362 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60364         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
60365         unwind info if defined PIC. Fix special cases description.
60366         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
60368         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
60369         DP_HI_MASK entry.
60370         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
60372 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
60374         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
60376         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
60377         is NULL.
60379         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
60380         (LDLIBS-tst-chk4): This.
60381         (LDFLAGS-tst-chk5): Renamed to ...
60382         (LDLIBS-tst-chk5): This.
60383         (LDFLAGS-tst-chk6): Renamed to ...
60384         (LDLIBS-tst-chk6): This.
60385         (LDFLAGS-tst-lfschk4): Renamed to ...
60386         (LDLIBS-tst-lfschk4): This.
60387         (LDFLAGS-tst-lfschk5): Renamed to ...
60388         (LDLIBS-tst-lfschk5): This.
60389         (LDFLAGS-tst-lfschk6): Renamed to ...
60390         (LDLIBS-tst-lfschk6): This.
60392         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
60393         on $(common-objpfx)soversions.mk.
60395 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
60397         [BZ #10014]
60398         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
60399         example host name.
60401 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
60403         * malloc/arena.c (arena_get_retry): New function that gets
60404         another arena for the caller to try its request on.
60405         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
60406         current arena cannot fulfill the request.
60407         (__libc_memalign): Likewise.
60408         (__libc_memalign): Likewise.
60409         (__libc_pvalloc): Likewise.
60410         (__libc_calloc): Likewise.
60412 2012-09-05  John Tobey  <john.tobey@gmail.com>
60414         [BZ #13542]
60415         * manual/arith.texi (Operations on Complex): Fix description
60416         of carg branch cut.
60418 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
60420         [BZ #10014]
60421         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
60422         host name.
60424         [BZ #10038]
60425         * manual/memory.texi (Memory): Make order of menu items match
60426         order of sections.
60428 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60430         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
60431         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
60432         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
60434 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60436         * csu/libc-tls.c (static_dtv): Renamed to ...
60437         (_dl_static_dtv): This.  Make it global.
60438         (_dl_initial_dtv): Removed.
60439         (__libc_setup_tls): Updated.
60440         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
60441         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
60442         DL_INITIAL_DTV.
60444 2012-09-06  Petr Machata  <pmachata@redhat.com>
60446         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
60447         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
60448         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
60449         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
60451 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60453         [BZ #14545]
60454         * csu/libc-tls.c (_dl_initial_dtv): New variable.
60455         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
60456         freeing dtv[-1].
60458 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60460         [BZ #14544]
60461         * Makeconfig (link-static-before-libc): Replace $(+prector)
60462         with $(+prectorT).
60463         (link-static-after-libc): Replace $(+postctor) with
60464         $(+postctorT).
60465         (link-bounded): Replace $(+prector)/$(+postctor) with
60466         $(+prectorT)/$(+postctorT).
60467         (+prectorT): New macro.
60468         (+postctorT): Likewise.
60470 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
60472         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
60473         (round_str): Handle values above the maximum for IBM long double
60474         as inexact.
60475         * stdlib/tst-strtod-round.c (tests): Regenerated.
60477 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60479         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
60480         assembler flag.
60481         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
60482         zarch_nohighgprs around the zarch optimized routines.
60483         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
60484         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
60485         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
60486         for zarch.
60488 2012-09-05  David S. Miller  <davem@davemloft.net>
60490         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60492         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
60493         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
60494         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
60495         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
60496         entries.
60498 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60500         * malloc/arena.c: Fold copyright years.
60501         * malloc/mcheck.c, malloc/memusage.c: Likewise.
60503 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60505         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
60507 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60509         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
60511 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60513         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
60514         change internal state upon failure.
60516 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60518         * malloc/mcheck.c (mcheck_check_all): Fix typo.
60519         * malloc/memusage.c (mmap): Likewise.
60520         (mmap64, mremap): Likewise.  Adjust name in comment.
60522 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60524         * libio/fileops.c: Fix typos in comments.
60525         * libio/oldfileops.c: Likewise.
60526         * libio/wfileops.c: Likewise.
60528 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60530         [BZ #1349]
60531         * malloc/Makefile (tests): Add tst-malloc-usable test case.
60532         (tst-malloc-usable-ENV): Set environment for test case.
60533         * malloc/hooks.c (malloc_check_get_size): New function to get
60534         requested size.
60535         * malloc/malloc.c (musable): Use malloc_check_get_size.
60536         * malloc/tst-malloc-usable.c: New test case.
60538 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60540         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
60542 2012-09-05  Allan McRae  <allan@archlinux.org>
60544         [BZ #13966]
60545         * configure.in (CXX_SYSINCLUDES): Use compiler output to
60546         determine header location.
60547         * configure: Regenerated.
60549 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60551         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
60552         float format.
60553         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
60554         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
60555         format.
60556         (test): Regenerate.
60558 2012-09-04  David S. Miller  <davem@davemloft.net>
60560         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
60561         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
60562         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
60564 2012-09-04  Florian Weimer  <fweimer@redhat.com>
60566         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
60567         failures.
60569         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
60571 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
60573         [BZ #9914]
60574         * libio/iogetdelim.c: Include <limits.h>.
60575         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
60576         + len + 1 would overflow.
60578 2012-09-03  Andreas Jaeger  <aj@suse.de>
60580         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60581         * sysdeps/i386/fpu/libm-test-ulps: Update.
60583 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60585         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
60586         Add s_sinf-sse2, s_conf-sse2.
60588         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
60589         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
60590         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
60591         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
60593         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
60594         for using routine as __sinf_ia32.
60595         Use macro for function declaration and weak_alias.
60596         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
60597         for using routine as __cosf_ia32.
60598         Use macro for function declaration and weak_alias.
60600         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
60601         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
60603         * sysdeps/x86_64/fpu/s_sinf.S: New file.
60604         * sysdeps/x86_64/fpu/s_cosf.S: New file.
60605         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60607         * math/libm-test.inc (cos_test): Add more test cases.
60608         (sin_test): Likewise.
60609         (sincos_test): Likewise.
60611 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60613         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
60614         (IFUNC_RESOLVE): Make pointers to the specialized implementations
60615         hidden.
60616         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
60618 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
60620         [BZ #14538]
60621         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
60622         first element of the GOT.
60623         (elf_machine_load_address): Return the difference between
60624         the runtime address of _DYNAMIC and elf_machine_dynamic ().
60626 2012-09-01  Allan McRae  <allan@archlinux.org>
60628         [BZ #13412]
60629         * configure.in (AWK): Require gawk version 3.0 or later.
60630         * configure: Regenerated.
60632 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
60634         * sysdeps/unix/sysv/linux/kernel-features.h
60635         (__ASSUME_POSIX_CPU_TIMERS): Remove.
60636         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
60637         [__NR_clock_getres]: Make code unconditional.
60638         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
60639         (clock_getcpuclockid): Remove code left unreachable by removal of
60640         conditionals.
60641         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
60642         code unconditional.
60643         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
60644         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60645         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
60646         Make code unconditional.
60647         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
60648         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60649         * sysdeps/unix/sysv/linux/clock_settime.c
60650         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
60651         conditional code.
60652         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
60653         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60655 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
60657         [BZ #14476]
60658         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
60659         scripts/test-installation.pl.
60661         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
60662         and $ld_so_version if it is set.
60664 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60666         [BZ #14516]
60667         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
60668         failure if reading from procfs failed.
60669         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
60671 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
60673         * sysdeps/unix/sysv/linux/kernel-features.h
60674         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
60675         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
60676         Remove conditional code.
60677         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60678         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
60679         Remove conditional code.
60680         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60681         * sysdeps/unix/sysv/linux/i386/fxstat.c
60682         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60683         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60684         * sysdeps/unix/sysv/linux/i386/fxstatat.c
60685         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60686         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60687         * sysdeps/unix/sysv/linux/i386/lxstat.c
60688         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60689         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60690         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
60691         Remove conditional code.
60692         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60693         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
60694         Remove conditional code.
60695         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60696         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
60697         <kernel-features.h>.
60698         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
60699         Remove.
60700         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
60701         Remove conditional code.
60702         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60703         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
60704         Remove conditional.
60706 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
60708         [BZ #5400]
60709         * NEWS: Add fixed bug number.
60711 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
60713         [BZ #14519]
60714         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
60715         underflowing exponent in case of negative sign.
60716         * stdlib/tst-strtod-round-data: Add more tests.
60717         * stdlib/tst-strtod-round.c (tests): Regenerated.
60719         [BZ #3479]
60720         * stdlib/strtod_l.c (NDIG): Remove.
60721         (HEXNDIG): Likewise.
60722         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
60723         smallest representable value.
60724         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
60725         lie within an exact representation of 1/2 ulp of the result.
60726         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
60727         unconditionally.
60728         (TENS_P9_IDX): Define unconditionally.
60729         (TENS_P9_SIZE): Likewise.
60730         (TENS_P10_IDX): Likewise.
60731         (TENS_P10_SIZE): Likewise.
60732         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
60733         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
60734         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
60735         entries for 10^2^13 and 10^2^14.
60736         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
60737         (TENS_P13_IDX): Define.
60738         (TENS_P13_SIZE): Likewise.
60739         (TENS_P14_IDX): Likewise.
60740         (TENS_P14_SIZE): Likewise.
60741         (_fpioconst_pow10): Change array size to
60742         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
60743         unconditional.
60744         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
60745         1024]: Add entries for 10^2^13 and 10^2^14.
60746         [LAST_POW10 > _LAST_POW10]: Remove #error.
60747         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
60748         (_fpioconst_pow10): Change array size to
60749         FPIOCONST_POW10_ARRAY_SIZE.
60750         * stdlib/gen-fpioconst.c: New file.
60751         * stdlib/gen-tst-strtod-round.c: Likewise.
60752         * stdlib/tst-strtod-round-data: Likewise.
60753         * stdlib/tst-strtod-round.c: Likewise.
60754         * stdlib/Makefile (tests): Add tst-strtod-round.
60756         [BZ #14459]
60757         * stdlib/strtod_l.c: Include <stdint.h>.
60758         (NDEBUG): Do not define.
60759         (round_and_return): Change EXPONENT parameter to type intmax_t.
60760         Rearrange calculations to avoid internal overflow possibilities.
60761         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
60762         Rearrange calculations to avoid internal overflow possibilities.
60763         Assert that number fits inside MPNSIZE limbs.
60764         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
60765         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
60766         calculations and add assertions to avoid internal overflow
60767         possibilities.  Add casts to avoid signed/unsigned operations.
60768         * stdlib/tst-strtod-overflow.c: New file.
60769         * stdlib/Makefile (tests): Add tst-strtod-overflow.
60771 2012-08-25  Marek Polacek  <polacek@redhat.com>
60773         * time/time.h: Fix some typos in comments.
60775 2012-08-23  Roland McGrath  <roland@hack.frob.com>
60777         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
60778         * posix/tst-rfc3484-2.c: Likewise.
60779         * posix/tst-rfc3484-3.c: Likewise.
60781 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
60783         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
60784         (EF_ARM_ABI_FLOAT_HARD): Likewise.
60786 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
60788         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
60789         #include of fxstatat64.c.
60791 2012-08-22  Roland McGrath  <roland@hack.frob.com>
60793         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
60794         * shadow/getspent_r.c: Likewise.
60795         * shadow/getspnam.c: Likewise.
60796         * shadow/getspnam_r.c: Likewise.
60797         * gshadow/getsgent.c: Likewise.
60798         * gshadow/getsgent_r.c: Likewise.
60799         * gshadow/getsgnam.c: Likewise.
60800         * gshadow/getsgnam_r.c: Likewise.
60801         * inet/getnetbyad.c: Likewise.
60802         * inet/getnetbyad_r.c: Likewise.
60803         * inet/getnetbynm.c: Likewise.
60804         * inet/getnetbynm_r.c: Likewise.
60805         * inet/getnetent.c: Likewise.
60806         * inet/getnetent_r.c: Likewise.
60807         * inet/getproto.c: Likewise.
60808         * inet/getproto_r.c: Likewise.
60809         * inet/getprtent.c: Likewise.
60810         * inet/getprtent_r.c: Likewise.
60811         * inet/getprtname.c: Likewise.
60812         * inet/getprtname_r.c: Likewise.
60813         * inet/getrpcbyname.c: Likewise.
60814         * inet/getrpcbyname_r.c: Likewise.
60815         * inet/getrpcbynumber.c: Likewise.
60816         * inet/getrpcbynumber_r.c: Likewise.
60817         * inet/getrpcent.c: Likewise.
60818         * inet/getrpcent_r.c: Likewise.
60819         * inet/getaliasent.c: Likewise.
60820         * inet/getaliasent_r.c: Likewise.
60821         * inet/getaliasname.c: Likewise.
60822         * inet/getaliasname_r.c: Likewise.
60823         * nscd/getgrgid_r.c: Likewise.
60824         * nscd/getgrnam_r.c: Likewise.
60825         * nscd/gethstbyad_r.c: Likewise.
60826         * nscd/gethstbynm3_r.c: Likewise.
60827         * nscd/getpwnam_r.c: Likewise.
60828         * nscd/getpwuid_r.c: Likewise.
60829         * nscd/getsrvbynm_r.c: Likewise.
60830         * nscd/getsrvbypt_r.c: Likewise.
60831         * nscd/gai.c: Likewise.
60833         * configure.in (build_nscd): New substituted variable, set
60834         by --disable-build-nscd and defaults to $use_nscd.
60835         * configure: Regenerated.
60836         * config.make.in (build-nscd): New substituted variable.
60837         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
60838         Change conditional to require [$(build-nscd) = yes] as well.
60839         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
60841         [BZ# 13696]
60842         * configure.in (use_nscd): New substituted variable, set by
60843         --disable-nscd.  If enabled, define USE_NSCD.
60844         * configure: Regenerated.
60845         * config.h.in: Add USE_NSCD.
60846         * config.make.in (use-nscd): New substituted variable.
60847         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
60848         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
60849         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
60850         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
60851         (CFLAGS-getgrnam_r.c): Likewise.
60852         (CFLAGS-initgroups.c): Likewise.
60853         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
60854         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
60855         Variables removed.
60856         * inet/getnetgrent_r.c
60857         (nscd_setnetgrent): New function, broken out of ...
60858         (setnetgrent): ... here.  Call it.
60859         (innetgr): Conditionalize nscd bits on [USE_NSCD].
60860         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
60861         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
60862         * nscd/Makefile (routines, aux): Move definitions after include of
60863         Makeconfig.  Conditionalize on [$(use-nscd) != no].
60864         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
60865         Conditionalize on [USE_NSCD].
60866         (is_nscd, nscd_init_cb): Likewise.
60867         (nss_load_library): Conditionalize init callback on [USE_NSCD].
60868         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
60869         * nss/nss_db/db-init.c: Likewise.
60870         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
60871         [USE_NSCD].
60872         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
60873         (make_request): Use it.
60874         (cache_valid_p): New function.
60875         (__check_pf): Use it.
60876         * NEWS: Add item for --disable-nscd.
60878 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
60880         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
60881         to support sed >= 4.2.1-20-ga9bf076.
60882         * configure: Regenerated.
60884 2012-08-22  Roland McGrath  <roland@hack.frob.com>
60886         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
60887         Conditionalize whole body on [IREL].
60889 2012-08-22  Jeff Law <law@redhat.com>
60891         [BZ #14505]
60892         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
60893         if the family is PF_UNSPEC.
60895 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
60897         * Makerules (lib-version): Rename from V.
60898         (install-lib-nosubdir): Change V to lib-version.
60900 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
60902         [BZ #14252]
60903         * powerpc32/power6/wcschr.c: New file.
60904         * powerpc32/power6/wcscpy.c: New file.
60905         * powerpc32/power6/wcsrchr.c: New file.
60906         * powerpc64/power6/wcschr.c: New file.
60907         * powerpc64/power6/wcscpy.c: New file.
60908         * powerpc64/power6/wcsrchr.c: New file.
60910 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
60912         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
60913         (two_way_short_needle): Use it.
60914         * string/strstr.c (AVAILABLE1_USES_J): Define.
60915         * string/strcasestr.c: Likewise.
60917         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
60918         array references.
60919         * string/strcasestr.c (TOLOWER): Make side-effect safe.
60921         [BZ #11607]
60922         * NEWS: Add an entry.
60923         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
60924         define their defaults.
60925         (two_way_short_needle): Detect end-of-string on-the-fly.
60926         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
60927         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
60928         * string/bug-strcasestr1.c: New test.
60929         * string/Makefile: Run it.
60931 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
60933         [BZ #11607]
60934         * string/str-two-way.h (two_way_short_needle): Optimize matching of
60935         the first character.
60937 2012-08-21  Roland McGrath  <roland@hack.frob.com>
60939         * csu/elf-init.c (__libc_csu_irel): Function removed.
60940         * csu/libc-start.c (apply_irel): New function.
60941         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
60943 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
60945         * sysdeps/unix/sysv/linux/kernel-features.h
60946         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
60947         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
60948         <kernel-features.h>.
60949         [__NR_fadvise64_64]: Make code unconditional.
60950         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
60951         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
60952         !__NR_fadvise64_64)]: Likewise.
60953         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
60954         !__NR_fadvise64_64))]: Likewise.
60955         [__NR_fadvise64]: Make code unconditional.
60956         [!__NR_fadvise64]: Remove conditional code.
60957         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
60958         <kernel-features.h>.
60959         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60960         unconditional.
60961         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60962         conditional code.
60963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
60964         not include <kernel-features.h>.
60965         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60966         unconditional.
60967         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60968         conditional code.
60969         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
60970         include <kernel-features.h>.
60971         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60972         unconditional.
60973         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60974         conditional code.
60976 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
60978         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
60979         slight instruction rearrangements per scrollpipe analysis.
60980         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
60982 2012-08-20  Roland McGrath  <roland@hack.frob.com>
60984         * manual/syslog.texi (syslog; vsyslog, closelog):
60985         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
60986         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
60988         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
60989         DSOCAPS to match condition on defining it.
60991 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
60993         * sysdeps/unix/sysv/linux/kernel-features.h
60994         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
60995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
60996         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60997         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
60999         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61000         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
61002         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61003         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61005         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
61006         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
61008         * sysdeps/unix/sysv/linux/kernel-features.h
61009         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
61010         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
61011         unconditional.
61012         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61013         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
61014         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61015         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61016         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
61017         Make code unconditional.
61018         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61019         (__mmap64) [!__NR_mmap2]: Likewise.
61020         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
61021         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61022         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61023         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
61024         [__NR_mmap2]: Make code unconditional.
61025         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61026         (__mmap64) [!__NR_mmap2]: Likewise.
61028 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61030         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
61032 2012-08-18  Andreas Jaeger  <aj@suse.de>
61034         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
61036 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61038         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
61039         * include/unistd.h (__have_sock_cloexec): Likewise.
61040         (__have_pipe2): Likewise.
61041         (__have_dup3): Likewise.
61043 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61045         [BZ #9685]
61046         * include/unistd.h (__have_pipe2): Change define into an extern int.
61047         (__have_dup3): Likewise.
61048         * socket/have_sock_cloexec.c: Include fcntl.h.
61049         (__have_pipe2): New variable.
61050         (__have_dup3): Likewise.
61052 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
61054         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
61056 2012-08-17  Marek Polacek  <polacek@redhat.com>
61058         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
61059         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
61061 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61063         * configure.in: Add AC_SUBST for sysheaders.
61064         * configure: Regenerated.
61065         * config.make.in (sysheaders): New substituted variable.
61067         * sysdeps/unix/mkfifo.c: Moved ...
61068         * sysdeps/posix/mkfifo.c: ... here.
61069         * sysdeps/unix/mkfifoat.c: Moved ...
61070         * sysdeps/posix/mkfifoat.c: ... here.
61072         * sysdeps/unix/utime.c: Moved ...
61073         * sysdeps/posix/utime.c: ... here.
61075         * sysdeps/unix/time.c: Moved ...
61076         * sysdeps/posix/time.c: ... here.
61077         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
61078         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
61080         * sysdeps/unix/nice.c: Moved ...
61081         * sysdeps/posix/nice.c: ... here.
61083         * sysdeps/unix/alarm.c: Moved ...
61084         * sysdeps/posix/alarm.c: ... here.
61086         * intl/Makefile ($(codeset_mo)): Depend on the input file.
61088 2012-08-17  Jeff Law <law@redhat.com>
61090         * intl/Makefile (codeset_mo): New variable.
61091         ($(codeset_mo)): New target.
61092         (tst-codeset.out): Depend on that.  Remove explicit rule.
61093         (tst-gettext3.out, tst-gettext5.out): Likewise.
61094         (LOCPATH-ENV, tst-codeset-ENV): New variables.
61095         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
61096         * intl/tst-codeset.sh: Remove.
61097         * intl/tst-gettext3.sh: Likewise.
61098         * intl/tst-gettext5.sh: Likewise.
61100 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61102         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
61103         * sysdeps/unix/syscalls.list: ... here.
61105         * sysdeps/posix/getaddrinfo.c
61106         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
61107         (gaiconf_init, gaiconf_reload): Use them.
61108         [!_STATBUF_ST_NSEC]
61109         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
61110         Define using time_t rather than struct timespec.
61112         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
61113         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
61114         Macros removed.
61115         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
61116         [!NO_THREADS].
61117         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
61118         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
61119         Likewise.
61121         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
61122         __libc_cleanup_push argument.
61124         * bits/param.h: New file.
61125         * misc/sys/param.h: New file.
61126         * include/sys/param.h: New file.
61127         * misc/Makefile (headers): Add bits/param.h.
61128         * sysdeps/generic/sys/param.h: File removed.
61129         * sysdeps/unix/sysv/linux/bits/param.h: New file.
61130         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
61131         * sysdeps/mach/hurd/bits/param.h: New file.
61132         * sysdeps/mach/hurd/sys/param.h: File removed.
61134         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
61135         last change.
61137         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
61138         [_IO_MTSAFE_IO].
61139         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
61140         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
61141         New macros.
61143         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
61144         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
61145         rather than -D_IO_MTSAFE_IO conditionally.
61146         * stdio-common/Makefile (CPPFLAGS): Likewise.
61147         * wcsmbs/Makefile (CPPFLAGS): Likewise.
61148         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
61149         Use $(libio-mtsafe).
61150         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
61151         of -D_IO_MTSAFE_IO.
61152         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
61153         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
61154         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
61155         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
61156         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
61157         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
61158         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
61159         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
61160         (CFLAGS-fread_u_chk.c): Likewise.
61161         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
61162         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
61163         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
61164         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
61165         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
61166         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
61167         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
61168         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
61169         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
61171         * libio/Makefile: Test [$(libc-reentrant) = yes]
61172         instead of [$(filter %REENTRANT, $(defines)) nonempty].
61174         * Makeconfig
61175         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
61176         * sysdeps/pthread/configure: File removed.
61177         * sysdeps/pthread/Makeconfig: New file.
61178         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
61179         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
61181 2012-08-16  Gary Benson  <gbenson@redhat.com>
61183         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
61184         unmapping the first object in a namespace.
61186 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61188         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
61189         (__internal_setnetgrent): ... this.  Add internal_function to
61190         definition.  Add libc_hidden_def.
61191         (setnetgrent): Update caller.
61192         (internal_endnetgrent): Renamed to ...
61193         (__internal_endnetgrent): ... this.  Add internal_function to
61194         definition.  Add libc_hidden_def.
61195         (endnetgrent): Update caller.
61196         (internal_getnetgrent_r): Renamed to ...
61197         (__internal_getnetgrent_r): ... this.  Add internal_function to
61198         definition.  Add libc_hidden_def.
61199         (__getnetgrent_r): Update caller.
61200         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
61202 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61204         * stdlib/longlong.h: Update from GCC.
61206 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61208         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
61209         on _QL, which is set by umul_ppmm but never used.
61210         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
61211         variables, which are set by GMP macros but never used.
61212         * stdio-common/_itowa.c (_itowa): Likewise.
61213         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
61214         * stdlib/mod_1.c (mpn_mod_1): Likewise.
61216 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
61218         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
61219         struct La_sh_regs is not constant.
61220         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
61221         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
61222         and struct La_sparc64_regs are not constant.
61224 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61226         * sysdeps/unix/sysv/linux/kernel-features.h
61227         (__ASSUME_POSIX_TIMERS): Remove.
61228         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61229         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61230         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
61231         Make code unconditional.
61232         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61233         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
61234         Make code unconditional.
61235         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61236         * sysdeps/unix/sysv/linux/clock_nanosleep.c
61237         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
61238         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61239         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
61240         Make code unconditional.
61241         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61242         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
61243         (__libc_missing_posix_timers): Remove.
61245 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61247         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
61248         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
61250         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
61252         * elf/dl-sym.c: Include <stdlib.h>.
61254         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
61255         constants, which avoids warnings in 32-bit builds.
61257         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
61258         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
61260         * misc/lseek.c: File moved to ...
61261         * io/lseek.c: ... here.
61263         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
61265         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
61266         shifting LEN more than 31 bits at once.
61268 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61270         [BZ #14195]
61271         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
61272         segmentation fault for a case of two empty input strings.
61273         * string/test-strncasecmp.c (check1): Renamed to...
61274         (bz12205): ...this.
61275         (bz14195): Add new testcase for two empty input strings and N > 0.
61276         (test_main): Call new testcase, adapt for renamed function.
61278 2012-08-15  Andreas Jaeger  <aj@suse.de>
61280         [BZ #14090]
61281         * crypt/md5test2.c: New test, based on test supplied by Serge
61282         Belyshev <belyshev@depni.sinp.msu.ru>.
61283         * crypt/Makefile (xtests): Add md5test-giant..
61284         * crypt/Makefile ($(objpfx)md5test-giant): Add.
61286 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
61288         [BZ #14090]
61289         * crypt/md5.c (md5_process_block): Don't assume the buffer
61290         length is less than 2**32.
61291         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
61292         length is less than 2**64.
61294 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61296         * string/str-two-way.h: Include <sys/param.h>.
61297         (MAX): Macro removed.
61299         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
61300         Move #define and #undef of memmove to just before and after
61301         including <string.h>.
61303         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
61304         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
61305         and after including <string.h>.  Move declarations of
61306         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
61307         to before #include "string/memmove.c".
61309         * include/dirent.h: Declare __getdirentries.
61311         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
61312         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
61314 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
61316         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
61317         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
61318         * sysdeps/i386/configure: Regenerated.
61319         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
61320         STABS_CURRENT_FILE, and STABS_FUN.
61321         (END): Remove call to STABS_FUN_END.
61322         (STABS_CURRENT_FILE1): Delete.
61323         (STABS_CURRENT_FILE): Likewise.
61324         (STABS_FUN): Likewise.
61325         (STABS_FUN_END): Likewise.
61326         (STABS_FUN2): Likewise.
61327         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
61328         * sysdeps/x86_64/configure: Regenerated.
61330 2012-08-14  Roland McGrath  <roland@hack.frob.com>
61332         * elf/dl-open.c: Include <atomic.h>.
61333         * elf/dl-lookup.c: Likewise.
61335 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
61337         * sysdeps/unix/sysv/linux/kernel-features.h
61338         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
61339         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
61340         unconditionally.
61341         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
61342         unconditionally.
61343         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
61344         condition on __ASSUME_CLONE_THREAD_FLAGS.
61346 2012-08-14  Andreas Jaeger  <aj@suse.de>
61348         * sysdeps/i386/fpu/libm-test-ulps: Update.
61350 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
61352         * include/atomic.h (atomic_exchange_and_add): Split into ...
61353         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
61354         New atomic macros.
61356 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
61358         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61360 2012-08-13  Jeff Law <law@redhat.com>
61362         * manual/stdio.texi (snprintf): Clarify handling of the trailing
61363         null byte in the output string.
61365 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
61367         * sysdeps/unix/sysv/linux/kernel-features.h
61368         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
61369         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
61370         (__ASSUME_ARG_MAX_STACK_BASED): Define.
61371         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
61372         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
61373         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
61374         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
61376 2012-08-09  Jeff Law <law@redhat.com>
61378         [BZ #13939]
61379         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
61380         When avoid_arena is set, don't retry in the that arena.  Pick the
61381         next one, whatever it might be.
61382         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
61383         (arena_lock): Pass in new parameter to arena_get2.
61384         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
61385         arena_get2.
61386         (__libc_malloc): Unify retrying after main arena failure with
61387         __libc_memalign version.
61388         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
61390 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
61392         [BZ #14166]
61393         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
61394         to __redirect_strstr.
61395         (__strstr_sse42): Use typeof __redirect_strstr.
61396         (__strstr_ia32): Likewise.
61397         (__libc_strstr): New prototype.
61398         (strstr): Renamed to ...
61399         (__libc_strstr): This.
61400         (strstr): New strong alias of __libc_strstr.
61401         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
61402         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
61403         __redirect_time.
61404         Include <time.h>.
61405         (__libc_time): New prototype.
61406         (time_ifunc): Replace time with __libc_time.
61407         (time): New strong alias and hidden definition of __libc_time.
61408         (__GI_time): Remove strong alias.
61409         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
61410         Include <stddef.h>.
61411         (memmove): Redefined to __redirect_memmove.
61412         (__memmove_sse2): Use typeof __redirect_memmove.
61413         (__memmove_ssse3): Likewise.
61414         (__memmove_ssse3_back): Likewise.
61415         (__libc_memmove): New prototype.
61416         (memmove): Renamed to ...
61417         (__libc_memmove): This.
61418         (memmove): New strong alias of __libc_memmove.
61420 2012-08-08  Mark Salter  <msalter@redhat.com>
61422         * elf/elf.h
61423         (R_MN10300_TLS_GD): Define.
61424         (R_MN10300_TLS_LD): Likewise.
61425         (R_MN10300_TLS_LDO): Likewise.
61426         (R_MN10300_TLS_GOTIE): Likewise.
61427         (R_MN10300_TLS_IE): Likewise.
61428         (R_MN10300_TLS_LE): Likewise.
61429         (R_MN10300_TLS_DTPMOD): Likewise.
61430         (R_MN10300_TLS_DTPOFF): Likewise.
61431         (R_MN10300_TLS_TPOFF): Likewise.
61432         (R_MN10300_SYM_DIFF): Likewise.
61433         (R_MN10300_ALIGN): Likewise.
61434         (R_MN10300_NUM): Update.
61436 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
61438         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
61439         Remove.
61441 2012-08-08  Roland McGrath  <roland@hack.frob.com>
61443         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
61445         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
61446         sysdeps/unix -> sysdeps/posix move.
61447         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
61449 2012-08-07      Allan McRae     <allan@archlinux.org>
61451         [BZ #14303]
61452         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
61453         (SUNOS_CPP): Likewise.
61454         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
61455         not found.
61456         (open_input): Call CPP using execvp.
61458 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
61460         * sysdeps/unix/sysv/linux/kernel-features.h
61461         (__ASSUME_PROT_GROWSUPDOWN): Remove.
61462         (__ASSUME_NO_CLONE_DETACHED): Likewise.
61463         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
61464         (__ASSUME_WAITID_SYSCALL): Likewise.
61465         * sysdeps/unix/sysv/linux/dl-execstack.c
61466         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
61467         code unconditional.
61468         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
61469         conditional code.
61470         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
61471         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
61472         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
61473         code.
61474         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
61475         unconditional.
61476         [__ASSUME_WAITID_SYSCALL]: Likewise.
61477         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
61479 2012-08-07  Roland McGrath  <roland@hack.frob.com>
61481         * sysdeps/unix/closedir.c: Renamed to ...
61482         * sysdeps/posix/closedir.c: ... here.
61483         * sysdeps/unix/dirfd.c: Renamed to ...
61484         * sysdeps/posix/dirfd.c: ... here.
61485         * sysdeps/unix/dirstream.h: Renamed to ...
61486         * sysdeps/posix/dirstream.h: ... here.
61487         * sysdeps/unix/fdopendir.c: Renamed to ...
61488         * sysdeps/posix/fdopendir.c: ... here.
61489         * sysdeps/unix/opendir.c: Renamed to ...
61490         * sysdeps/posix/opendir.c: ... here.
61491         * sysdeps/unix/readdir.c: Renamed to ...
61492         * sysdeps/posix/readdir.c: ... here.
61493         * sysdeps/unix/readdir_r.c: Renamed to ...
61494         * sysdeps/posix/readdir_r.c: ... here.
61495         * sysdeps/unix/rewinddir.c: Renamed to ...
61496         * sysdeps/posix/rewinddir.c: ... here.
61497         * sysdeps/unix/seekdir.c: Renamed to ...
61498         * sysdeps/posix/seekdir.c: ... here.
61499         * sysdeps/unix/telldir.c: Renamed to ...
61500         * sysdeps/posix/telldir.c: ... here.
61501         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
61502         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
61503         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
61504         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
61506         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
61507         * bits/fcntl.h: ... here.
61509         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
61510         not 0.
61511         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
61512         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
61513         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
61514         (struct flock): Move l_start, l_len to the beginning.
61515         Use __pid_t for l_pid.
61516         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
61517         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
61518         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
61519         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
61520         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
61521         [__USE_LARGEFILE64] (struct flock64): New type.
61522         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
61524         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
61525         * bits/dirent.h: ... here.
61527         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
61528         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
61530 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
61532         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61533         Change from 2.6.0 to 2.6.16.
61534         * sysdeps/unix/sysv/linux/configure: Regenerated.
61535         * sysdeps/unix/sysv/linux/kernel-features.h
61536         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
61537         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
61538         version.
61539         (__ASSUME_UTIMES): Likewise.
61540         (__ASSUME_CLONE_STOPPED): Remove.
61541         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
61542         architectures, not kernel version.
61543         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
61544         (__ASSUME_NO_CLONE_DETACHED): Likewise.
61545         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
61546         (__ASSUME_WAITID_SYSCALL): Likewise.
61547         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
61548         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
61549         * README: State 2.6.16 as minimum Linux kernel version.  Do not
61550         refer to older versions.
61552 2012-08-06  Roland McGrath  <roland@hack.frob.com>
61554         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
61555         Define alphasort64 as an alias.
61556         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
61557         Define versionsort64 as an alias.
61558         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
61559         Define scandir64 as an alias.
61560         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
61561         Define scandirat64 as an alias.
61562         * dirent/alphasort64.c (alphasort64):
61563         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
61564         * dirent/versionsort64.c: Likewise.
61565         * dirent/scandir64.c: Likewise.
61566         * dirent/scandirat64.c: Likewise.
61567         * sysdeps/wordsize-64/alphasort.c: File removed.
61568         * sysdeps/wordsize-64/alphasort64.c: File removed.
61569         * sysdeps/wordsize-64/scandir.c: File removed.
61570         * sysdeps/wordsize-64/scandir64.c: File removed.
61571         * sysdeps/wordsize-64/scandirat.c: File removed.
61572         * sysdeps/wordsize-64/scandirat64.c: File removed.
61573         * sysdeps/wordsize-64/versionsort.c: File removed.
61574         * sysdeps/wordsize-64/versionsort64.c: File removed.
61575         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
61576         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
61577         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
61578         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
61579         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
61580         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
61581         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
61582         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
61584         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
61585         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
61586         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
61587         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61588         [defined __arch64__ || defined __sparcv9]
61589         (__INO_T_MATCHES_INO64_T): New macro.
61590         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61591         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
61592         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
61593         * sysdeps/unix/sysv/linux/bits/dirent.h
61594         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
61595         (_DIRENT_MATCHES_DIRENT64): New macro.
61597         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
61598         Define lockf64 as an alias.
61599         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
61600         Define fseeko64 as an alias.
61601         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
61602         Define ftello64 as an alias.
61603         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
61604         Define _IO_fgetpos64 and fgetpos64 as aliases.
61605         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
61606         Define _IO_fsetpos64 and fsetpos64 as aliases.
61607         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
61608         Conditionalize body on this.
61609         * libio/fseeko64.c: Likewise.
61610         * libio/ftello64.c: Likewise.
61611         * libio/iofgetpos64.c: Likewise.
61612         * libio/iofsetpos64.c: Likewise.
61613         * sysdeps/wordsize-64/lockf.c: File removed.
61614         * sysdeps/wordsize-64/lockf64.c: File removed.
61615         * sysdeps/wordsize-64/fseeko.c: File removed.
61616         * sysdeps/wordsize-64/fseeko64.c: File removed.
61617         * sysdeps/wordsize-64/ftello.c: File removed.
61618         * sysdeps/wordsize-64/ftello64.c: File removed.
61619         * sysdeps/wordsize-64/iofgetpos.c: File removed.
61620         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
61621         * sysdeps/wordsize-64/iofsetpos.c: File removed.
61622         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
61623         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
61624         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
61625         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
61626         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
61627         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
61628         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
61629         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
61630         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
61631         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
61632         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
61634         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
61635         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
61636         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
61637         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61638         [defined __arch64__ || defined __sparcv9]
61639         (__OFF_T_MATCHES_OFF64_T): New macro.
61640         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61641         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
61642         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61643         (__OFF_T_MATCHES_OFF64_T): New macro.
61645 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
61647         * stdlib/secure-getenv.c (__secure_getenv): Replace
61648         GLIBC_2_16 with GLIBC_2_17.
61650 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
61652         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
61653         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
61655 2012-08-03  David S. Miller  <davem@davemloft.net>
61657         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61659 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
61661         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
61662         Remove.
61663         (__ASSUME_CORRECT_SI_PID): Likewise.
61664         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
61665         (__ASSUME_TMPFS_NAME): Likewise.
61666         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
61667         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
61668         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
61669         (HAVE_AUX_SECURE): Make definition unconditional.
61670         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
61671         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
61673 2012-08-03  Roland McGrath  <roland@hack.frob.com>
61675         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
61676         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
61677         * sysdeps/mach/hurd/eloop-threshold.h: New file.
61678         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
61679         __eloop_threshold instead of SYMLOOP_MAX.
61681         * sysdeps/generic/eloop-threshold.h: New file.
61682         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
61683         of MAXSYMLINKS.
61684         * elf/chroot_canon.c (chroot_canon): Likewise.
61686 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
61688         [BZ #13717]
61689         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61690         Change to 2.6.0 everywhere.
61691         * sysdeps/unix/sysv/linux/configure: Regenerated.
61692         * sysdeps/unix/sysv/linux/kernel-features.h
61693         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
61694         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
61695         kernel versions.
61696         (__ASSUME_POSIX_TIMERS): Define unconditionally.
61697         (__ASSUME_FUTEX_REQUEUE): Remove.
61698         (__ASSUME_STATFS64): Define unconditionally.
61699         (__ASSUME_AT_SECURE): Likewise.
61700         (__ASSUME_CORRECT_SI_PID): Likewise.
61701         (__ASSUME_TGKILL): Define without depending on kernel version for
61702         i386.
61703         (__ASSUME_UTIMES): Likewise.
61704         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
61705         kernel version.
61706         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
61707         (__ASSUME_TMPFS_NAME): Likewise.
61708         * README: Update reference to Linux kernel versions.
61710 2012-08-02  Marek Polacek  <polacek@redhat.com>
61712         [BZ# 14150]
61713         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
61714         libc_cv_asm_type_prefix with %.
61715         * configure: Regenerated.
61716         * include/libc-symbols.h: Remove comment about
61717         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
61718         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
61719         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
61720         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
61721         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
61722         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
61723         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
61724         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
61725         * elf/tst-unique2mod1.c: Likewise.
61726         * elf/tst-unique1mod2.c: Likewise.
61727         * elf/tst-unique1mod1.c: Likewise.
61728         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
61729         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
61730         Replace ASM_TYPE_DIRECTIVE with .type.
61731         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61732         * sysdeps/i386/sysdep.h: Likewise.
61733         * sysdeps/x86_64/sysdep.h: Likewise.
61734         * sysdeps/sh/sysdep.h: Likewise.
61735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
61736         Do not define ASM_TYPE_DIRECTIVE.
61737         * sysdeps/powerpc/sysdep.h: Likewise.
61738         * sysdeps/powerpc/powerpc32/sysdep.h:
61739         Replace ASM_TYPE_DIRECTIVE with .type.
61740         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
61741         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
61742         * sysdeps/i386/fpu/e_powf.S: Likewise.
61743         * sysdeps/i386/fpu/e_expl.S: Likewise.
61744         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
61745         * sysdeps/i386/fpu/e_acosh.S: Likewise.
61746         * sysdeps/i386/fpu/e_pow.S: Likewise.
61747         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
61748         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
61749         * sysdeps/i386/fpu/s_expm1.S: Likewise.
61750         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
61751         * sysdeps/i386/fpu/e_log2.S: Likewise.
61752         * sysdeps/i386/fpu/e_log2l.S: Likewise.
61753         * sysdeps/i386/fpu/e_scalb.S: Likewise.
61754         * sysdeps/i386/fpu/e_powl.S: Likewise.
61755         * sysdeps/i386/fpu/e_log10f.S: Likewise.
61756         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
61757         * sysdeps/i386/fpu/e_logl.S: Likewise.
61758         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
61759         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
61760         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
61761         * sysdeps/i386/fpu/e_log2f.S: Likewise.
61762         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
61763         * sysdeps/i386/fpu/e_log.S: Likewise.
61764         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61765         * sysdeps/i386/fpu/e_logf.S: Likewise.
61766         * sysdeps/i386/fpu/e_log10l.S: Likewise.
61767         * sysdeps/i386/fpu/e_atanh.S: Likewise.
61768         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
61769         * sysdeps/i386/fpu/e_log10.S: Likewise.
61770         * sysdeps/i386/fpu/s_frexp.S: Likewise.
61771         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61772         * sysdeps/i386/fpu/s_asinh.S: Likewise.
61773         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
61774         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61775         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
61776         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
61777         * sysdeps/i386/i686/strtok.S: Likewise.
61778         * sysdeps/i386/i386-mcount.S: Likewise.
61779         * sysdeps/i386/strtok.S: Likewise.
61780         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
61781         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61782         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61783         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61784         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
61785         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61786         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
61787         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
61788         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61789         * sysdeps/x86_64/_mcount.S: Likewise.
61790         * sysdeps/x86_64/strtok.S: Likewise.
61791         * sysdeps/sh/_mcount.S: Likewise.
61793 2012-08-01  Roland McGrath  <roland@hack.frob.com>
61795         * libio/iofopen.c: Include <fcntl.h>.
61796         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
61797         (_IO_fopen64, fopen64): Define as aliases.
61798         * libio/iofopen64.c: Include <fcntl.h>.
61799         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
61800         Conditionalize body on this.
61801         * sysdeps/wordsize-64/iofopen.c: File removed.
61802         * sysdeps/wordsize-64/iofopen64.c: File removed.
61804 2012-08-01  Marek Polacek  <polacek@redhat.com>
61806         * libc/Makeconfig: Use elf in place of binfmt-subdir.
61807         Use dlfcn directly instead of a variable.
61808         (binfmt-subdir): Do not define.
61809         (dlfcn): Likewise.
61811 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
61813         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
61814         Remove all definitions.
61815         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
61816         <kernel-features.h>.
61817         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
61818         (miss_F_GETOWN_EX): Remove all definitions.
61819         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
61820         macro definition.
61821         [!__ASSUME_FCNTL64]: Remove conditional code.
61822         [__ASSUME_FCNTL64]: Make code unconditional.
61823         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
61824         <kernel-features.h>.
61825         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
61826         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
61827         (lockf64) [__NR_fcntl64]: Make code unconditional.
61828         (lockf64) [__ASSUME_FCNTL64]: Likewise.
61830         * sysdeps/unix/sysv/linux/kernel-features.h
61831         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
61832         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
61833         Make code unconditional.
61834         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61835         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
61837         [__NR_vfork]: Make code unconditional.
61838         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61839         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
61841         [__NR_vfork]: Make code unconditional.
61842         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61843         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61845 2012-08-01  Roland McGrath  <roland@hack.frob.com>
61847         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
61848         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
61850         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61851         Define mkstemp64 as an alias.
61852         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61853         Define mkstemps64 as an alias.
61854         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61855         Define mkostemp64 as an alias.
61856         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61857         Define mkostemps64 as an alias.
61858         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
61859         Conditionalize body on this.
61860         * misc/mkostemp64.c: Likewise.
61861         * misc/mkostemps64.c: Likewise.
61862         * misc/mkstemps64.c: Likewise.
61863         * sysdeps/wordsize-64/mkstemp64.c: File removed.
61864         * sysdeps/wordsize-64/mkostemp64.c: File removed.
61865         * sysdeps/wordsize-64/mkostemp.c: File removed.
61866         * sysdeps/wordsize-64/mkstemp.c: File removed.
61867         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
61868         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
61869         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
61870         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
61872         [BZ #14138]
61873         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
61874         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
61875         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
61876         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
61878         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
61879         compat_symbol macros from <shlib-compat.h> rather than the underlying
61880         default_symbol_version and symbol_version macros, so that DEFAULT
61881         lines in shlib-versions are respected.
61882         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
61884 2012-08-01  Florian Weimer  <fweimer@redhat.com>
61886         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
61887         Declare with warn_unused_result.
61888         (setgid, setregid, setegid, setresgid): Likewise.
61889         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
61890         Likewise.
61891         * WUR-REPORT: Remove set*id functions.
61893 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
61895         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
61897 2012-07-31  Roland McGrath  <roland@hack.frob.com>
61899         [BZ #10191]
61900         * include/sys/socket.h (__libc_accept, __libc_accept4):
61901         Add attribute_hidden.
61902         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
61904         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
61905         use of PTR_MANGLE.
61906         * inet/getnetgrent_r.c (setup): Likewise.
61908         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
61910 2012-07-31  David S. Miller  <davem@davemloft.net>
61912         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61914 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
61916         [BZ #13629]
61917         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
61918         value between 1.0 and 2.0 and smaller part has absolute value less
61919         than 1.0.
61920         * math/s_clog10.c (__clog10): Likewise.
61921         * math/s_clog10f.c (__clog10f): Likewise.
61922         * math/s_clog10l.c (__clog10l): Likewise.
61923         * math/s_clogf.c (__clogf): Likewise.
61924         * math/s_clogl.c (__clogl): Likewise.
61925         * math/libm-test.inc (clog_test): Add more tests.
61926         (clog10_test): Likewise.
61927         * sysdeps/i386/fpu/libm-test-ulps: Update.
61928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61930 2012-07-31  Florian Weimer  <fweimer@redhat.com>
61932         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
61933         Exit with zero in case no suitable GID is found, and write a
61934         message to standard error.
61936 2012-07-30  Roland McGrath  <roland@hack.frob.com>
61938         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
61939         rather than to 1.
61940         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
61941         (MAXPATHLEN): Removed.
61942         (NOGROUP, NODEV): New macros.
61943         (setbit, clrbit, isset, isclr): New macros.
61944         (howmany, roundup, powerof2): New macros.
61945         (DEV_BSIZE): New macro.
61947         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
61948         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
61950         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
61951         definition on [!__NO_LONG_DOUBLE_MATH].
61953         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
61954         PTR_MANGLE and PTR_DEMANGLE.
61956         * socket/accept4.c (accept4): Rename to __libc_accept4.
61957         Define accept4 as a weak alias.
61959         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
61960         on [_DIRENT_HAVE_D_TYPE].
61961         * io/ftw.c (ftw_dir): Likewise.
61963         * io/xmknod.c (__xmknod): Don't check PATH for being null.
61965         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
61967         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
61968         Use the BSD numbers rather than the arbitrary ones we had.
61969         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
61970         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
61971         (SIGXCPU, SIGXFSZ): New macros.
61972         (_NSIG): Now 32.
61974         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
61975         initializer on [_LIBC_REENTRANT].
61977         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
61978         definitions inside [_POSIX_MAPPED_FILES].
61980         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
61982         * dirent/opendir.c: Include <fcntl.h>.
61984         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
61985         (__libc_getspecific): Likewise.
61986         (__libc_key_create): Likewise.
61988         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
61989         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
61990         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
61991         (tmpfile64): Define as alias.
61992         * sysdeps/wordsize-64/tmpfile.c: File removed.
61993         * sysdeps/wordsize-64/tmpfile64.c: File removed.
61994         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
61995         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
61997         * stdio-common/vfscanf.c: Include <stdbool.h>.
61998         * nss/makedb.c: Likewise.
61999         * stdio-common/_i18n_number.h: Likewise.
62000         * argp/argp-help.c: Likewise.
62001         * posix/wordexp.c: Likewise.
62002         * sysdeps/posix/spawni.c: Likewise.
62003         * nss/nss_files/files-initgroups.c: Likewise.
62004         * stdio-common/reg-modifier.c: Include <stdlib.h>.
62005         * nss/nss_files/files-initgroups.c: Likewise.
62006         * nss/nss_db/db-netgrp.c: Likewise.
62007         * nss/nss_db/db-initgroups.c: Likewise.
62008         * io/fchmodat.c: Include <sys/stat.h>.
62010         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
62011         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
62013         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
62014         [HAVE_MMAP].
62016         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
62017         Add multiple inclusion protection.
62019 2012-07-27  David S. Miller  <davem@davemloft.net>
62021         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62023 2012-07-27  Gary Benson  <gbenson@redhat.com>
62025         [BZ #14298]
62026         * elf/rtld.c: Include <stap-probe.h>.
62027         (dl_main): Added static probes "init_start" and "init_complete".
62028         * elf/dl-load.c: Include <stap-probe.h>.
62029         (lose): Take new parameter "nsid".
62030         Added static probe "map_failed".
62031         (_dl_map_object_from_fd): Pass namespace id to lose.
62032         Added static probe "map_start".
62033         (open_verify): Pass namespace id to lose.
62034         * elf/dl-open.c: Include <stap-probe.h>.
62035         (dl_open_worker) Added static probes "map_complete", "reloc_start"
62036         and "reloc_complete".
62037         * elf/dl-close.c: Include <stap-probe.h>.
62038         (_dl_close_worker): Added static probes "unmap_start" and
62039         "unmap_complete".
62040         * elf/rtld-debugger-interface.txt: New file documenting the above.
62042 2012-07-26  Roland McGrath  <roland@hack.frob.com>
62044         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
62045         rather than a string variable.
62046         * sunrpc/rpc_main.c (h_output): Likewise.
62047         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
62049 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
62051         * inet/check_native.c: New file.
62053 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
62055         [BZ #13629]
62056         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
62057         if larger part has absolute value 1.0.
62058         * math/s_clog10.c (__clog10): Likewise.
62059         * math/s_clog10f.c (__clog10f): Likewise.
62060         * math/s_clog10l.c (__clog10l): Likewise.
62061         * math/s_clogf.c (__clogf): Likewise.
62062         * math/s_clogl.c (__clogl): Likewise.
62063         * math/libm-test.inc (clog_test): Add more tests.
62064         (clog10_test): Likewise.
62065         * sysdeps/i386/fpu/libm-test-ulps: Update.
62066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62068         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
62069         (pltexit): Likewise.
62070         (La_regs): Likewise.
62071         (La_retval): Likewise.
62072         (int_retval): Likewise.
62073         Update #error for removed macros to refer only to definitions in
62074         tst-audit.h.
62075         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
62076         macro.
62077         (pltexit): Likewise.
62078         (La_regs): Likewise.
62079         (La_retval): Likewise.
62080         (int_retval): Likewise.
62081         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
62082         macro.
62083         (pltexit): Likewise.
62084         (La_regs): Likewise.
62085         (La_retval): Likewise.
62086         (int_retval): Likewise.
62087         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
62088         macro.
62089         (pltexit): Likewise.
62090         (La_regs): Likewise.
62091         (La_retval): Likewise.
62092         (int_retval): Likewise.
62093         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
62094         macro.
62095         (pltexit): Likewise.
62096         (La_regs): Likewise.
62097         (La_retval): Likewise.
62098         (int_retval): Likewise.
62099         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
62100         macro.
62101         (pltexit): Likewise.
62102         (La_regs): Likewise.
62103         (La_retval): Likewise.
62104         (int_retval): Likewise.
62105         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
62106         macro.
62107         (pltexit): Likewise.
62108         (La_regs): Likewise.
62109         (La_retval): Likewise.
62110         (int_retval): Likewise.
62111         * sysdeps/generic/tst-audit.h: Update comment to refer only to
62112         macro definitions in tst-audit.h.
62113         * sysdeps/i386/tst-audit.h: New file.
62114         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
62115         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
62116         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
62117         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
62118         * sysdeps/sh/tst-audit.h: Likewise.
62119         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
62120         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
62121         * sysdeps/x86_64/tst-audit.h: Likewise.
62123 2012-07-26  Andreas Jaeger  <aj@suse.de>
62125         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
62126         ptrace.
62128         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
62129         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
62130         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
62131         PTRACE_O_MASK.
62132         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
62133         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
62134         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
62136         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
62137         value.
62139         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
62140         _sigsys.
62141         (si_call_addr, si_syscall, si_arch): Define new macro.
62142         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
62143         _sigsys.
62144         (si_call_addr, si_syscall, si_arch): Define new marcro.
62145         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
62146         _sigsys.
62147         (si_call_addr, si_syscall, si_arch): Define new macro.
62148         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
62149         _sigsys.
62150         (si_call_addr, si_syscall, si_arch): Define new macro.
62152 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62154         [BZ #13717]
62155         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62156         Change to 2.4.21 where previously 2.4.1.
62157         * sysdeps/unix/sysv/linux/configure: Regenerated.
62158         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
62159         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
62160         Linux kernel version.
62161         (__ASSUME_STD_AUXV): Remove.
62162         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
62163         kernel version.
62164         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
62165         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
62166         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
62167         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
62168         (__ASSUME_NETLINK_SUPPORT): Likewise.
62169         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
62170         (__no_netlink_support): Remove conditional definition.
62171         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
62172         Remove.
62173         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62174         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
62175         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
62176         (if_nameindex_ioctl): Remove.
62177         (if_nameindex_netlink): Do not handle __no_netlink_support.
62178         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62179         code.
62180         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
62181         Remove conditional code.
62182         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62183         code.
62184         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
62185         unconditional.
62186         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62187         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
62188         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
62189         Remove.
62190         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
62191         [!__ASSUME_STD_AUXV]: Remove conditional code.
62192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
62193         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
62194         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
62195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
62196         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
62197         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62198         code.
62199         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
62201         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
62202         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62203         conditional code.
62204         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
62206         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62207         code.
62208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
62209         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62210         conditional code.
62211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
62212         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62213         code unconditional.
62214         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62215         conditional code.
62216         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62217         unconditional.
62218         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62219         conditional code.
62220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62221         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62222         unconditional.
62223         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62224         conditional code.
62225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
62226         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62227         code unconditional.
62228         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62229         conditional code.
62230         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62231         unconditional.
62232         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62233         conditional code.
62234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
62235         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62236         code unconditional.
62237         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62238         conditional code.
62239         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62240         unconditional.
62241         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62242         conditional code.
62244 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
62246         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
62247         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
62248         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
62249         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
62250         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
62251         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
62252         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
62253         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
62254         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
62255         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
62256         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
62257         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
62258         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
62259         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
62260         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
62261         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
62262         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
62263         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
62264         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
62265         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
62266         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
62267         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
62268         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
62270 2012-07-25  Florian Weimer  <fweimer@redhat.com>
62272         * Versions.def: Add GLIBC_2.17.
62273         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
62274         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
62275         Introduce __libc_secure_getenv.
62276         * stdlib/Versions (2.17): Add secure_getenv
62277         (GLIBC_PRIVATE): Add __libc_secure_getenv.
62278         * stdlib/secure-getenv.c: Rename __secure_getenv to
62279         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
62280         symbol __secure_getenv for GLIBC_2.0.
62281         * stdlib/tst-secure-getenv.c: New.
62282         * stdlib/Makefile (tests): Add testcase.
62283         * manual/startup.texi (Environment Access): Document
62284         secure_getenv.
62285         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
62286         __libc_secure_getenv.
62287         * inet/ruserpass.c (ruserpass): Likewise.
62288         * malloc/mtrace.c (mtrace): Likewise.
62289         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
62290         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
62291         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
62292         * sysdeps/posix/tempname.c: Likewise.  Evaluate
62293         HAVE_SECURE_GETENV.
62294         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
62295         __secure_getenv to __libc_secure_getenv.
62296         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
62297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62298         Likewise.
62299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62300         Likewise.
62301         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62303         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62304         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62305         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
62306         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62307         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
62309 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62311         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
62312         (struct La_i86_retval): Likewise.
62313         (struct La_x86_64_regs): Likewise.
62314         (struct La_x86_64_retval): Likewise.
62315         (struct La_x32_regs): Likewise.
62316         (struct La_x32_retval): Likewise.
62317         (struct La_ppc32_regs): Likewise.
62318         (struct La_ppc32_retval): Likewise.
62319         (struct La_ppc64_regs): Likewise.
62320         (struct La_ppc64_retval): Likewise.
62321         (struct La_sh_regs): Likewise.
62322         (struct La_sh_retval): Likewise.
62323         (struct La_s390_32_regs): Likewise.
62324         (struct La_s390_32_retval): Likewise.
62325         (struct La_s390_64_regs): Likewise.
62326         (struct La_s390_64_retval): Likewise.
62327         (struct La_sparc32_regs): Likewise.
62328         (struct La_sparc32_retval): Likewise.
62329         (struct La_sparc64_regs): Likewise.
62330         (struct La_sparc64_retval): Likewise.
62331         (struct audit_ifaces): Remove architecture-specific pltenter and
62332         pltexit members.
62333         * sysdeps/i386/ldsodefs.h: New file.
62334         * sysdeps/powerpc/ldsodefs.h: Likewise.
62335         * sysdeps/s390/ldsodefs.h: Likewise.
62336         * sysdeps/sh/ldsodefs.h: Likewise.
62337         * sysdeps/sparc/ldsodefs.h: Likewise.
62338         * sysdeps/x86_64/ldsodefs.h: Likewise.
62340 2012-07-25  Marek Polacek  <polacek@redhat.com>
62342         [BZ #6808]
62343         * math/libm-test.inc (yn_test): Add another test.
62344         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
62345         to ERANGE when the result is +-Inf.
62346         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
62347         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
62348         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
62349         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
62351 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
62353         * conform/data/time.h-data (NULL): Use macro-constant.  Require
62354         equal to 0.
62355         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
62356         clock_t.
62357         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
62359 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
62361         * configure.in <sysdeps resolving>: Correct printing
62362         Implies_before.
62363         * configure: Regenerate.
62365 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
62367         * math/w_ilogb.c: Include <limits.h>.
62368         * math/w_ilogbl.c: Likewise.
62370 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62372         * manual/lang.texi (__va_copy): Document primarily as ISO C99
62373         va_copy.  Document allowing for unavailable va_copy only as
62374         pre-C99 compatibility.
62375         * manual/string.texi (Copying and Concatenation): Use va_copy
62376         instead of __va_copy in concat example.
62378 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
62380         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
62381         (__sendto): Use create_address_port.  Initialize APORT and deallocate
62382         it if not null.
62384         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
62385         with O_NOLINK passed to __file_name_lookup.
62387         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
62388         with O_NOLINK passed to __file_name_lookup.
62390         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
62391         negative N or less than NGIDS.
62393         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
62394         type to string_t.  Set ERANGE as errno and return it if NAME is not big
62395         enough.  Use memcpy instead of strncpy.
62397 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62399         * elf/Makefile (check-data): Remove.
62400         (localplt.data): New vpath directive.
62401         ($(objpfx)check-localplt.out): Use localplt.data from vpath
62402         instead of $(check-data).
62403         * scripts/data/localplt-generic.data: Move to ...
62404         * sysdeps/generic/localplt.data: ... here.
62405         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
62406         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
62407         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
62408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
62409         ... here.
62410         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
62411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
62412         ... here.
62413         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
62414         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
62415         ... here.
62416         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
62417         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
62418         ... here.
62419         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
62420         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
62421         ... here.
62422         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
62423         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
62424         ... here.
62426 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62428         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
62429         PPC32 and PPC64 files.
62430         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
62431         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
62433 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62435         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
62436         __makecontext_ret to ...
62437         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
62438         ... here and call exit if uc_link is NULL.  New file.
62439         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
62440         __makecontext_ret.S.
62441         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
62442         __makecontext_ret to ...
62443         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
62444         ... here and call exit if uc_link is NULL.  New file.
62445         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
62446         __makecontext_ret.S.
62448 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62450         * elf/elf.h (R_390_IRELATIVE): New definition.
62451         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
62452         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
62453         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
62454         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
62455         (elf_machine_lazy_rel): Likewise.
62456         * sysdeps/s390/dl-irel.h: New file.
62457         * sysdeps/s390/s390-64/memcpy.S: New asm code.
62458         * sysdeps/s390/s390-64/memset.S: New asm code.
62459         * sysdeps/s390/s390-64/memcmp.S: New asm code.
62460         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
62461         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
62462         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
62463         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
62464         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
62465         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
62466         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
62467         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
62468         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
62469         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
62470         * sysdeps/s390/s390-32/memcpy.S: New asm code.
62471         * sysdeps/s390/s390-32/memset.S: New asm code.
62472         * sysdeps/s390/s390-32/memcmp.S: New asm code.
62474 2012-07-17  Marek Polacek  <polacek@redhat.com>
62476         [BZ #14349]
62477         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
62478         * sysdeps/s390/s390-64/configure.in: Likewise.
62479         * sysdeps/sparc/configure.in: Likewise.
62480         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
62481         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
62482         * sysdeps/i386/configure.in: Likewise.
62483         * sysdeps/x86_64/configure.in: Likewise.
62484         * sysdeps/sh/configure.in: Likewise.
62485         * sysdeps/s390/s390-32/configure: Regenerated.
62486         * sysdeps/s390/s390-64/configure: Likewise.
62487         * sysdeps/x86_64/configure: Likewise.
62488         * sysdeps/sh/configure: Likewise.
62489         * sysdeps/powerpc/powerpc64/configure: Likewise.
62490         * sysdeps/powerpc/powerpc32/configure: Likewise.
62491         * sysdeps/sparc/configure: Likwise.
62492         * sysdeps/i386/configure: Likewise.
62494         * elf/dl-open.c: Comment fixes.
62496 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
62498         * Makefile [CXX] (check-data): Remove.
62499         [CXX] (c++-types.data): New vpath directive.
62500         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
62501         vpath.  Do not allow for C++ type data being missing.
62502         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
62503         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
62504         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
62505         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
62506         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
62507         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
62508         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
62509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
62510         ... here.
62511         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
62512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
62513         ... here.
62514         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
62515         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
62516         ... here.
62517         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
62518         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
62519         ... here.
62520         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
62521         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
62522         ... here.
62523         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
62524         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
62525         ... here.
62526         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
62527         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
62528         ... here.
62529         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
62530         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
62532         * elf/tls-macros.h (TLS_LE): Move architecture-specific
62533         definitions to architecture-specific files.
62534         (TLS_IE): Likewise.
62535         (TLS_LD): Likewise.
62536         (TLS_GD): Likewise.
62537         * sysdeps/i386/tls-macros.h: New file.
62538         * sysdeps/powerpc/tls-macros.h: Likewise.
62539         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
62540         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
62541         * sysdeps/sh/tls-macros.h: Likewise.
62542         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
62543         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
62544         * sysdeps/x86_64/tls-macros.h: Likewise.
62546 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
62548         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
62549         zero value for regular exit case.
62551         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
62552         (__start_context): Preserve zero value for regular exit case.
62554 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
62555             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62557         * manual/setjmp.texi (setcontext): Clarify normal process
62558         termination when uc_link is the null pointer.
62559         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
62560         exit call.
62562 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
62564         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
62565         preprocessor.  Test for each exception mask separately.
62567 2012-07-16  Andreas Jaeger  <aj@suse.de>
62569         * po/ru.po: Update from translation team.
62571 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
62573         * conform/data/string.h-data (NULL): Use macro-constant.  Require
62574         equal to 0.
62575         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
62576         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
62577         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
62578         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
62579         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62581 2012-07-13  Andreas Jaeger  <aj@suse.de>
62583         * po/fr.po: Update from translation team.
62585 2012-07-12  Marek Polacek  <polacek@redhat.com>
62587         [BZ #14173]
62588         * math/libm-test.inc (yn_test): Add test for BZ #14173.
62589         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
62590         loop condition.
62592 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
62594         [BZ #13717]
62595         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62596         Change to 2.4.1 where previously 2.4.0.
62597         * sysdeps/unix/sysv/linux/configure: Regenerated.
62598         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
62599         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
62600         version.
62601         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
62602         (__ASSUME_AT_CLKTCK): Remove.
62603         (__ASSUME_AT_PAGESIZE): Likewise.
62604         (__ASSUME_AT_XID): Likewise.
62605         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
62606         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
62607         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
62608         unconditionally.
62609         (HAVE_AUX_PAGESIZE): Likewise.
62610         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
62611         [__ASSUME_AT_CLKTCK]: Make code unconditional.
62612         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
62614 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
62616         [BZ #14307]
62617         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
62618         the temporary buffer used to invoke __gethostbyname2_r,
62619         __gethostbyaddr_r and gethostbyname4_r to make room for struct
62620         host_data / struct gaih_addrtuple.
62621         * resolv/nss_dns/dns-host.c (global scope): Move definition of
62622         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
62623         header file nss/nsswitch.h.
62624         * nss/nsswitch.h (global scope): Add definition of implementation
62625         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
62626         resolv/nss_dns/dns-host.c).
62628 2012-07-11  Andreas Jaeger  <aj@suse.de>
62630         * po/fr.po: Update from translation team.
62632         * po/sv.po: Update from translation team
62633         * po/fr.po: Another update from translation team.
62635 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62637         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
62638         for subnormals or multiply small sinh result by itself.
62639         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
62640         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62642 2012-07-11  David S. Miller  <davem@davemloft.net>
62644         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62646 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
62648         [BZ #14347]
62649         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
62650         (INTERNAL_MARK): Shift it here.
62652 2012-07-10  Marek Polacek  <polacek@redhat.com>
62654         [BZ #14151]
62655         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
62656         libc_cv_asm_global_directive with .globl.
62657         * configure: Regenerated.
62658         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
62659         with .globl.
62660         * sysdeps/i386/configure: Regenerated.
62661         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
62662         with .globl.
62663         * sysdeps/x86_64/configure: Regenerated.
62664         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
62665         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
62666         * elf/tst-unique2mod2.c: Likewise.
62667         * elf/tst-unique2mod1.c: Likewise.
62668         * elf/tst-unique1mod2.c: Likewise.
62669         * elf/tst-unique1mod1.c: Likewise.
62670         * sysdeps/s390/s390-32/sysdep.h: Likewise.
62671         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62672         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62673         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62674         * sysdeps/mach/sysdep.h: Likewise.
62675         * sysdeps/i386/sysdep.h: Likewise.
62676         * sysdeps/i386/i386-mcount.S: Likewise.
62677         * sysdeps/x86_64/_mcount.S: Likewise.
62678         * sysdeps/x86_64/sysdep.h: Likewise.
62679         * sysdeps/sh/_mcount.S: Likewise.
62680         * sysdeps/sh/sysdep.h: Likewise.
62681         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
62682         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
62683         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
62684         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62685         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
62686         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
62687         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
62688         * locale/localeinfo.h: Likewise.
62689         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
62690         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
62692 2012-07-09  Roland McGrath  <roland@hack.frob.com>
62694         [BZ #14336]
62695         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
62696         system".
62697         * manual/message.texi (The Uniforum approach): Likewise.
62698         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
62699         (glibc iconv Implementation): Likewise.
62701 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
62703         [BZ #14337]
62704         * math/s_clog.c (__clog): Avoid scaling a value down where that
62705         could result in underflow.
62706         * math/s_clog10.c (__clog10): Likewise.
62707         * math/s_clog10f.c (__clog10f): Likewise.
62708         * math/s_clog10l.c (__clog10l): Likewise.
62709         * math/s_clogf.c (__clogf): Likewise.
62710         * math/s_clogl.c (__clogl): Likewise.
62711         * math/libm-test.inc (clog_test): Add more tests.
62712         (clog10_test): Likewise.
62713         * sysdeps/i386/fpu/libm-test-ulps: Update.
62714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62716 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
62718         [BZ #14283]
62719         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
62720         by 7 not 8 to examine high bit of fractional part.
62722         [BZ #14042]
62723         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
62724         for call to __mcount_internal.
62725         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
62726         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
62727         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
62729 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
62731         [BZ #14154]
62732         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
62733         approximation for values within 0x1p-13f of an odd multiple of
62734         pi/4.
62735         * math/libm-test.inc (tan_test): Do not allow spurious underflow
62736         exception.  Add more tests.
62737         * sysdeps/i386/fpu/libm-test-ulps: Update.
62739         [BZ #6778]
62740         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
62741         inputs and return -1 for them.  Do not check for +Inf in case not
62742         reachable for +Inf.
62743         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
62744         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
62745         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
62746         and return -1 for them.  Do not check for +Inf in case not
62747         reachable for +Inf.
62748         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
62749         define.
62750         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
62751         and return -1 for them.  Do not check for +Inf in case not
62752         reachable for +Inf.
62753         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
62754         spurious underflow.
62755         * sysdeps/i386/fpu/libm-test-ulps: Update.
62756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62758 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
62760         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
62762 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
62764         [BZ #14157]
62765         [BZ #14331]
62766         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
62767         could result in spurious underflow.  Scale down values above
62768         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
62769         * math/s_csqrtf.c (__csqrtf): Likewise.
62770         * math/s_csqrtl.c (__csqrtl): Likewise.
62771         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
62772         spurious underflow.
62773         * sysdeps/i386/fpu/libm-test-ulps: Update.
62774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62776 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
62778         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
62779         xopen-msg.sed.
62780         * catgets/xopen-msg.awk: New file.
62781         * catgets/xopen-msg.sed: Removed.
62783         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
62784         po2text.sed.
62785         * intl/po2test.awk: New file.
62786         * intl/po2test.sed: Removed.
62788 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
62790         [BZ #14328]
62791         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
62792         or multiply small sinh result by itself.
62793         * math/s_ctanf.c (__ctanf): Likewise.
62794         * math/s_ctanh.c (__ctanh): Likewise.
62795         * math/s_ctanhf.c (__ctanhf): Likewise.
62796         * math/s_ctanhl.c (__ctanhl): Likewise.
62797         * math/s_ctanl.c (__ctanl): Likewise.
62798         * math/libm-test.inc (ctan_test_tonearest): New function.
62799         (ctan_test_towardzero): Likewise.
62800         (ctan_test_downward): Likewise.
62801         (ctan_test_upward): Likewise.
62802         (ctanh_test_tonearest): Likewise.
62803         (ctanh_test_towardzero): Likewise.
62804         (ctanh_test_downward): Likewise.
62805         (ctanh_test_upward): Likewise.
62806         (main): Call these new functions.
62807         * sysdeps/i386/fpu/libm-test-ulps: Update.
62808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62810 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
62812         * .gitignore: Delete /ports entry.
62814 2012-07-03  Andreas Jaeger  <aj@suse.de>
62816         * po/bg.po: Update from translation team.
62817         * po/cs.po: Likewise.
62818         * po/de.po: Likewise.
62819         * po/hr.po: Likewise.
62820         * po/nl.pl: Likewise.
62821         * po/pl.po: Likewise.
62822         * po/vi.po: Likewise.
62824 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
62826         * Makeconfig [!+link] (+link-before-libc): New variable.
62827         [!+link] (+link-after-libc): Likewise.
62828         [!+link] (+link-tests): Likewise.
62829         [!+link] (+link): Define in terms of $(+link-before-libc) and
62830         $(+link-after-libc).
62831         [!+link-static] (+link-static-before-libc): New variable.
62832         [!+link-static] (+link-static-after-libc): Likewise.
62833         [!+link-static] (+link-static-tests): Likewise.
62834         [!+link-static] (+link-static): Define in terms of
62835         $(+link-static-before-libc) and $(+link-static-after-libc).
62836         [build-shared] (link-libc-before-gnulib): New variable.
62837         [build-shared] (link-libc-tests): Likewise.
62838         [build-shared] (link-libc): Define in terms of
62839         $(link-libc-before-gnulib).
62840         [!build-shared] (link-libc-tests): New variable.
62841         (link-libc-static-tests): New variable.
62842         [!gnulib] (gnulib-arch): New variable.
62843         [!gnulib] (gnulib-tests): Likewise.
62844         [!gnulib] (static-gnulib-arch): Likewise.
62845         [!gnulib] (static-gnulib-tests): Likewise.
62846         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
62847         Define with "=" instead of ":=".
62848         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
62849         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
62850         * Rules (binaries-all-notests): New variable.
62851         (binaries-all-tests): Likewise.
62852         (binaries-static-notests): Likewise.
62853         (binaries-static-tests): Likewise.
62854         (binaries-all): Define using $(binaries-all-notests) and
62855         $(binaries-all-tests).
62856         (binaries-static): Define using $(binaries-static-notests) and
62857         $(binaries-static-tests).
62858         (binaries-shared-tests): New variable.
62859         (binaries-shared-notests): Likewise.
62860         (binaries-shared): Remove variable.
62861         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
62862         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
62863         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
62864         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
62865         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
62866         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
62867         * elf/Makefile (sln-modules): New variable.
62868         (extra-objs): Add $(sln-modules:=.o).
62869         (ldconfig-modules): Add static-stubs.
62870         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
62871         * elf/static-stubs.c: New file.
62873         [BZ #14283]
62874         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
62875         by 7 not 8 to examine high bit of fractional part.  Use volatile
62876         variables when splitting into final array of floats if
62877         __FLT_EVAL_METHOD__ != 0.
62878         * math/libm-test.inc (cos_test): Add another test.
62879         (sin_test): Likewise.
62880         * sysdeps/i386/fpu/libm-test-ulps: Update.
62882         [BZ #14273]
62883         * math/libm-test.inc (cosh_test): Add more tests.
62885         * version.h (RELEASE): Set to "development".
62886         (VERSION): Set to "2.16.90".
62888 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
62890         * NEWS: Update copyright. Remove last-updated date.
62891         Mention math library bug fixes and timezone data changes.
62892         * README: Mention GNU/Hurd, x32, and HPPA support status.
62894 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
62896         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
62898 2012-06-27  Andreas Jaeger  <aj@suse.de>
62900         * manual/contrib.texi (Contributors): Add Samuel Thibault.
62902 2012-06-25  Andreas Jaeger  <aj@suse.de>
62904         * sysdeps/s390/fpu/libm-test-ulps: Update.
62906 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
62907             Thomas Schwinge  <thomas@codesourcery.com>
62909         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
62910         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
62911         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
62912         fanotify_mark.
62914 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
62916         * sysdeps/mach/start.c: Remove file.
62917         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
62918         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
62919         * sysdeps/sh/init-first.c: Likewise.
62921         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
62922         registers for frame unwinding purposes, add CFI directives.
62923         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
62924         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
62925         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
62926         Likewise.
62928         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
62929         __fortify_fail returning.
62930         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
62932         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
62933         sysdeps/sh/____longjmp_chk.S.
62934         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
62935         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
62936         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
62937         (gen-as-const-headers): Append sigaltstack-offsets.sym.
62939         * sysdeps/sh/abort-instr.h: New file.
62940         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
62941         process in case exit returns.
62943         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
62944         initialize the GOT register before use.
62946         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
62947         calculation of ARGC > 4.
62949         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
62950         meaningful names to some local labels.
62952 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62953             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62955         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
62956         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
62957         (__arch_compare_and_exchange_val_16_acq): Likewise.
62958         (__arch_compare_and_exchange_val_32_acq): Likewise.
62959         (atomic_exchange_and_add): Fix gUSA sequence.
62960         (atomic_add): Likewise.
62961         (atomic_add_negative): Likewise.
62962         (atomic_add_zero): Likewise.
62963         (atomic_bit_test_set): Likewise.
62965 2012-06-22  Andreas Schwab  <schwab@redhat.com>
62967         [BZ #13579]
62968         * include/link.h (struct link_map): Add l_free_initfini.
62969         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
62970         l_initfini.
62971         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
62972         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
62973         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
62974         set.
62976 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
62978         * configure.in: Use AC_LANG_SOURCE.
62979         * configure: Regenerate.
62981 2012-06-22  Roland McGrath  <roland@hack.frob.com>
62983         * configure.in (libc_cv_localstatedir): New substituted variable.
62984         * configure: Regenerated.
62985         * config.make.in (localstatedir): New variable, substituted from
62986         libc_cv_localstatedir.
62987         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
62988         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
62989         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
62990         * sysdeps/gnu/configure: Regenerated.
62992 2012-06-21  Jeff Law  <law@redhat.com>
62994         [BZ #14277]
62995         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
62996         free.  Simplify list management for _LIBC case.
62998 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
63000         [BZ #14273]
63001         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
63002         Clear sign bit of 64-bit integer value before comparing against
63003         overflow value.
63005         * sysdeps/mach/configure: Regenerated.
63007 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
63009         [BZ #14278]
63010         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
63012 2012-06-21  Jeff Law  <law@redhat.com>
63014         [BZ #13882]
63015         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
63016         uint16_t for elements in the "seen" array to avoid char overflows.
63017         * elf/dl-fini.c (_dl_sort_fini): Likewise.
63018         * elf/dl-open.c (dl_open_worker): Likewise.
63020 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
63022         * scripts/list-sources.sh: Scan PORTS for translations.
63023         * po/libc.pot: Regenerated.
63025 2012-06-21  Andreas Jaeger  <aj@suse.de>
63027         [BZ #12194]
63028         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
63029         warning.
63030         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
63031         * bits/byteswap-16.h (__bswap_16): Likewise.
63032         * bits/byteswap.h (__bswap_constant_16): Likewise.
63034 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
63036         [BZ #14117]
63037         * sysdeps/i386/fpu_control.h: Removed.
63038         * sysdeps/x86_64/fpu_control.h: Moved to ...
63039         * sysdeps/x86/fpu_control.h: Here.
63041         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
63042         (_FPU_SETCW): Likewise.
63044 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
63046         [BZ #14117]
63047         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
63048         * sysdeps/x86/fpu/bits/mathinline.h: This.
63049         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
63051         [BZ #14050]
63052         [BZ #14117]
63053         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
63054         functions if __x86_64__ is defined.
63056 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
63058         * string/endian.h: Add !__ASSEMBLER__ condition for including
63059         conversion interfaces.
63061 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
63063         [BZ #14241]
63064         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
63065         of ABS(x) in calculating zero to negative powers other than odd
63066         integers.
63067         * math/libm-test.inc (pow_test): Add more tests.
63069 2012-06-15  Andreas Jaeger  <aj@suse.de>
63071         * manual/contrib.texi (Contributors): Update entry of Liubov
63072         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
63073         Machado Filho.
63075 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
63077         * string/string.h: Add __wur to GNU version of strerror_r.
63079 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
63081         [BZ #14229]
63082         * string/Makefile (tests): Add tst-strtok_r.
63083         * string/tst-strtok_r.c: New file.
63084         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
63085         RAX_LP/RDX_LP on SAVE_PTR.
63087 2012-06-14  Roland McGrath  <roland@hack.frob.com>
63089         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
63091 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
63093         * libm_test.inc (csqrt_test): Allow more spurious underflow
63094         exceptions.
63095         (j0_test): Likewise.
63096         (j1_test): Likewise.
63097         (y0_test): Likewise.
63098         (y1_test): Likewise.
63100 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
63102         * po/Makefile (libc.pot): Use UTF-8 charset.
63104 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
63106         [BZ #14210]
63107         Suppress sign-conversion warning from FD_SET.
63108         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
63109         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
63110         not unsigned long int.
63111         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
63113 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
63115         [BZ #14050]
63116         [BZ #14117]
63117         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
63118         __extern_always_inline instead of __extern_inline.
63119         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
63120         (__signbit): Likewise.
63121         (__signbitl): Support C++ namespace.
63122         (lrintf): New inline function.
63123         (lrint): Likewise.
63124         (llrintf): Likewise.
63125         (llrint): Likewise.
63126         (fmaxf): Likewise.
63127         (fmax): Likewise.
63128         (fminf): Likewise.
63129         (fmin): Likewise.
63130         (rint): Likewise.
63131         (rintf): Likewise.
63132         (ceil): Likewise.
63133         (ceilf): Likewise.
63134         (floor): Likewise.
63135         (floorf): Likewise.
63136         (nearbyint): Likewise.
63137         (nearbyintf): Likewise.
63139 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
63141         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
63142         non-default versions.
63144 2012-06-11  Roland McGrath  <roland@hack.frob.com>
63146         [BZ #14218]
63147         * manual/argp.texi (Argp): Reword argp_parse description slightly.
63149 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
63151         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
63152         (FE_UPWARD, FE_DOWNWARD): Don't define.
63153         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
63154         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
63156         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
63157         reading it.
63158         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
63159         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63161 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63163         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
63164         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
63165         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
63166         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
63168 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
63170         [BZ #14117]
63171         * sysdeps/i386/fpu/bits/fenv.h: Removed.
63172         * sysdeps/i386/fpu/Implies: New file.
63173         * sysdeps/x86_64/fpu/Implies: Likewise.
63174         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
63175         * sysdeps/x86/fpu/bits/fenv.h: This.
63177         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
63178         __SSE_MATH__.
63180 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
63182         [BZ #14134]
63183         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
63184         character 0xffff that matches the last element of the
63185         conversion table.
63187 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63189         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
63190         fmodl commit.
63192 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63194         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
63195         values higher than 25.6283.
63197 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63199         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
63200         subnormal exponent extraction and add some __builtin_expect.
63201         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
63202         Fix for subnormal mantissa calculation.
63204 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
63206         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
63207         cpu2 is -1 and errno is not ENOSYS.
63209 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
63211         [BZ #14117]
63212         * sysdeps/i386/i486/bits/string.h: Renamed to ...
63213         * sysdeps/x86/bits/string.h: This.
63214         * sysdeps/x86_64/bits/string.h: Removed.
63216         * sysdeps/i386/i486/bits/string.h: Define inline functions only
63217         if not compiling for x86-64, but compiling for >= i486.
63219         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
63220         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
63222         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
63223         New macro from Linux kernel 3.4.0.
63224         (FP_XSTATE_MAGIC2): Likewise.
63225         (FP_XSTATE_MAGIC2_SIZE): Likewise.
63226         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
63227         (struct _fpx_sw_bytes): New struct.
63228         (struct _xsave_hdr): Likewise.
63229         (struct _ymmh_state): Likewise.
63230         (struct _xstate): Likewise.
63232         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
63233         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
63234         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
63235         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
63236         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
63237         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
63239         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
63240         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
63241         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
63242         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
63243         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
63244         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
63246 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63248         [BZ #13743]
63249         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
63250         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
63251         (sysdep_headers): Include sys/platform/ppc.h.
63252         * sysdeps/powerpc/test-gettimebase.c: Test for
63253         __ppc_get_timebase() to catch future ISA opcode/insn changes.
63254         * manual/Makefile (appendices): Include platform.texi.
63255         * manual/contrib.texi (Contributors): Update @node pointers.
63256         * manual/maint.texi (Maintenance): Likewise.
63257         (Platform): New node.
63258         * manual/platform.texi: New file.  Document the new features.
63260 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
63261             Jakub Jelinek  <jakub@redhat.com>
63263         [BZ #14188]
63264         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
63265         where __builtin_expect is unavailable.
63267 2012-06-03  David S. Miller  <davem@davemloft.net>
63269         * stdlib/longlong.h: Updated from GCC.
63271 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
63273         [BZ #14042]
63274         * sysdeps/powerpc/powerpc32/mcount.c: New file.
63275         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
63276         __mcount_internal.
63277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63278         (GLIBC_2.16): Likewise.
63280 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63282         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
63284 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
63287         (default-abi): New variable.
63288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
63289         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
63290         variable.
63291         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
63292         Likewise.
63293         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
63294         Likewise.
63295         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
63296         Likewise.
63298         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
63299         definition.  Document in comment.
63301 2012-06-01  David S. Miller  <davem@davemloft.net>
63303         * stdlib/longlong.h: Updated from GCC.
63305 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63307         [BZ #14117]
63308         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
63309         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
63310         sys/debugreg.h sys/io.h here.
63311         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
63312         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
63313         sys/io.h.
63314         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
63315         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
63316         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
63317         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
63318         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
63319         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
63321         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
63322         Define only if __x86_64__ is defined.
63324 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63326         [BZ #14048]
63327         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
63328         Use int64_t for variable i.
63329         * math/libm-test.inc (fmod_test): Add more tests.
63331         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
63332         z computation is not scheduled after fetestexcept.
63333         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
63334         Use math_force_eval instead of asm to ensure calculation scheduled
63335         before exception test.
63336         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
63337         Ensure a1 + u.d computation is not scheduled after fetestexcept.
63339 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
63341         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
63342         computation is not scheduled after fetestexcept.
63344 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63346         [BZ #14117]
63347         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
63348         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
63350 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63352         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
63353         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
63355 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63357         [BZ #14117]
63358         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
63359         <bits/wordsize.h>.
63360         (__WCHAR_MIN): Support __WORDSIZE == 64.
63361         (__WCHAR_MAX): Likewise.
63363         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
63364         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
63366         [BZ #14183]
63367         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
63368         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
63370         [BZ #14117]
63371         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
63372         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
63374         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
63375         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
63377         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
63378         Defined to 1 if __x86_64__ isn't defined.
63379         (_STAT_VER_LINUX_OLD): New.
63380         (st_atime): Remove duplicate.
63381         (st_mtime): Likewise.
63382         (st_ctime): Likewise.
63384 2012-05-31  David S. Miller  <davem@davemloft.net>
63386         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
63387         entries.
63389 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
63391         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
63392         gen-libm-test.pl.
63394         [BZ #14132]
63395         * elf/dl-reloc.c: Include <_itoa.h>.
63396         (_dl_reloc_bad_type): Remove use of INTUSE.
63397         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
63398         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
63399         * stdio-common/psiginfo.c (psiginfo): Likewise.
63400         * stdio-common/psignal.c (psignal): Likewise.
63401         * string/strsignal.c (strsignal): Likewise.
63402         * include/signal.h (_sys_siglist): Declare hidden proto.
63403         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
63404         INTVARDEF with libc_hidden_data_def.
63405         * stdio-common/itoa-udigits.c: Likewise.
63406         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
63407         (_itoa_lower_digits_internal): Remove declaration.
63408         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
63409         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
63410         (_sys_sigabbrev_internal): Remove aliases.
63411         (_sys_siglist): Define hidden alias.
63413 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
63415         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63416         bits/sysctl.h.
63418 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63420         [BZ #14117]
63421         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
63422         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
63424         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
63425         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
63426         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
63427         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
63428         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
63429         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
63431         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
63432         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
63433         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
63435         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
63436         with __addr.
63437         (insw): Likewise.
63438         (insl): Likewise.
63439         (outsb): Likewise.
63440         (outsw): Likewise.
63441         (outsl): Likewise.
63443         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
63444         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
63445         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
63447         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
63448         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
63449         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
63450         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
63451         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
63452         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
63454         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
63455         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
63457         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
63458         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
63460         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
63461         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
63462         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
63464         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
63465         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
63466         to ...
63467         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
63469         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
63470         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
63471         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
63473         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
63474         for x86-64.
63475         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
63477 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
63479         * math/math.h (M_El): Use two more decimal places.
63480         (M_LOG2El): Likewise.
63481         (M_LOG10El): Likewise.
63482         (M_LN2l): Likewise.
63483         (M_LN10l): Likewise.
63484         (M_PIl): Likewise.
63485         (M_PI_2l): Likewise.
63486         (M_PI_4l): Likewise.
63487         (M_1_PIl): Likewise.
63488         (M_2_PIl): Likewise.
63489         (M_2_SQRTPIl): Likewise.
63490         (M_SQRT2l): Likewise.
63491         (M_SQRT1_2l): Likewise.
63493 2012-05-31  David S. Miller  <davem@davemloft.net>
63495         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
63496         values between float registers.
63497         * sysdeps/sparc/sparc64/memset.S: Likewise.
63498         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
63500 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
63502         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
63503         -D_FORTIFY_SOURCE=1.
63504         (CPPFLAGS-tst-longjmp_chk.c): Define.
63505         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
63506         (CPPFLAGS-tst-longjmp_chk2.c): Define.
63507         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
63508         CFLAGS-tst-wchar-h.c.
63510 2012-05-31  Marek Polacek  <polacek@redhat.com>
63512         [BZ #14132]
63513         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
63514         __endmntent_internal): Remove declaration.
63515         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
63516         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
63517         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
63519 2012-05-30  David S. Miller  <davem@davemloft.net>
63521         * sysdeps/sparc/sparc32/soft-fp/q_util.c
63522         (___Q_simulate_exceptions): Use real FP ops rather than writing
63523         into the %fsr.
63524         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
63525         Likewise.
63527 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63529         [BZ #14117]
63530         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
63531         * sysdeps/x86/bits/xtitypes.h: This.
63533         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
63534         * sysdeps/x86/bits/wordsize.h: This.
63536         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
63537         * sysdeps/x86/bits/huge_vall.h: This.
63539         * sysdeps/i386/bits/select.h: Removed.
63540         * sysdeps/x86_64/bits/select.h: Renamed to ...
63541         * sysdeps/x86/bits/select.h: This.
63543         * sysdeps/i386/bits/setjmp.h: Removed.
63544         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
63545         * sysdeps/x86/bits/setjmp.h: This.
63547         * sysdeps/i386/bits/mathdef.h: Removed.
63548         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
63549         * sysdeps/x86/bits/mathdef.h: This.
63551 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
63553         [BZ #14132]
63554         * include/sys/socket.h (__connect_internal)
63555         (__libc_sa_len_internal): Remove declaration.
63556         (__connect, __libc_sa_len): Declare hidden_proto.
63557         (SA_LEN): Remove use of INTUSE.
63558         * socket/connect.c: Add libc_hidden_def.
63559         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
63560         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
63561         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
63562         alias.
63563         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
63564         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
63565         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
63566         of adding _internal alias.
63568 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63570         [BZ #14117]
63571         * sysdeps/i386/bits/link.h: Removed.
63572         * sysdeps/i386/bits/linkmap.h: Likewise.
63573         * sysdeps/x86_64/bits/link.h: Renamed to ...
63574         * sysdeps/x86/bits/link.h: This.
63575         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
63576         * sysdeps/x86/bits/linkmap.h: This.
63578         * sysdeps/i386/bits/endian.h: Removed.
63579         * sysdeps/x86_64/bits/endian.h: Renamed to ...
63580         * sysdeps/x86/bits/endian.h: This.
63582         * sysdeps/i386/bits/byteswap.h: Removed.
63583         * sysdeps/i386/bits/byteswap-16.h: Likewise.
63584         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
63585         * sysdeps/x86/bits/byteswap.h: This.
63586         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
63587         * sysdeps/x86/bits/byteswap-16.h: This.
63588         * sysdeps/i386/Implies: Add x86.
63589         * sysdeps/x86_64/Implies: Likewise.
63591 2012-05-30  David S. Miller  <davem@davemloft.net>
63593         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
63594         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
63595         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
63596         (FP_TRAPPING_EXCEPTIONS): Define.
63597         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
63598         (FP_TRAPPING_EXCEPTIONS): Define.
63599         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
63600         subnormals only when inexact has been signalled or underflow
63601         exceptions are enabled.
63602         (_FP_PACK_CANONICAL): Likewise.
63604 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63606         [BZ #14183]
63607         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
63608         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
63610 2012-05-30  Richard Henderson  <rth@twiddle.net>
63612         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
63613         with #ifndef NOT_IN_libc.
63615         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
63616         marked to avoid plt entry.
63618 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63620         [BZ #14112]
63621         * Makeconfig (default-abi): New macro.
63622         (abi-includes): Likewise.
63623         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
63624         $(abi-$(default-abi)-lib-soname) for soname if defined.
63625         ($(common-objpfx)gnu/lib-names.stmp): Generate from
63626         abi-variants.
63627         * Makefile (installed-stubs): Likewise.
63628         * include/stubs-biarch.h: Removed.
63629         * scripts/lib-names.awk: Only handle one library at a time.
63630         * scripts/soversions.awk: Remove WORDSIZE support.
63631         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
63632         entries.
63633         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
63634         Removed.
63635         (syscall-list-default-condition): Likewise.
63636         (syscall-list-default-condition): Likewise.
63637         (syscall-list-includes): Likewise.
63638         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
63639         syscall-list-* with abi-*.  Handle undefined abi-variants.
63640         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
63641         * sysdeps/unix/sysv/linux/i386/Implies: New file.
63642         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
63643         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
63644         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
63645         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
63646         Removed.
63647         (syscall-list-32-options): Likewise.
63648         (syscall-list-32-condition): Likewise.
63649         (syscall-list-64-options): Likewise.
63650         (syscall-list-64-condition): Likewise.
63651         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
63652         macro.
63653         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
63654         Renamed to ...
63655         (abi-*): This.
63656         (abi-64-ld-soname): New macro.
63657         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
63658         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
63659         Renamed to ...
63660         (abi-*): This.
63661         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
63662         * sysdeps/x86_64/x32/shlib-versions: Likewise.
63664 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
63666         * sysdeps/unix/sysv/linux/kernel-features.h
63667         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
63668         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
63669         include <kernel-features.h>.
63670         [!__NR_ftruncate64]: Remove conditional code.
63671         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63672         [__NR_ftruncate64]: Make code unconditional.
63673         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63674         * sysdeps/unix/sysv/linux/truncate64.c: Do not
63675         include <kernel-features.h>.
63676         [!__NR_ftruncate64]: Remove conditional code.
63677         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63678         [__NR_ftruncate64]: Make code unconditional.
63679         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
63681         include <kernel-features.h>.
63682         [!__NR_ftruncate64]: Remove conditional code.
63683         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63684         [__NR_ftruncate64]: Make code unconditional.
63685         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
63687         include <kernel-features.h>.
63688         [!__NR_ftruncate64]: Remove conditional code.
63689         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63690         [__NR_ftruncate64]: Make code unconditional.
63691         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63693         * configure.in (libc_cv_fpie): Weaken to a compile test using
63694         LIBC_TRY_CC_OPTION.
63695         * configure: Regenerated.
63697 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63699         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
63700         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
63701         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
63702         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
63703         Refreshed.
63704         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
63705         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
63706         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
63707         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
63708         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
63709         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
63710         Refreshed.
63712 2012-05-27  David S. Miller  <davem@davemloft.net>
63714         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
63715         (___Q_zero): New.
63716         (__Q_simulate_exceptions): Return void.  Change to simulate
63717         exceptions by writing into the %fsr.
63718         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
63719         (__Qp_handle_exceptions): Likewise.
63720         (numbers): Delete.
63721         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
63722         __Qp_handle_exceptions.
63723         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
63724         __Qp_handle_exceptions.
63725         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
63726         as unused and give dummy FP_RND_NEAREST initializer.
63727         (FP_INHIBIT_RESULTS): Define.
63728         (___Q_simulate_exceptions): Update declaration.
63729         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
63730         formatting.
63731         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
63732         as unused and give dummy FP_RND_NEAREST initializer.
63733         (__Qp_handle_exceptions): Update declaration.
63734         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
63735         formatting.
63737 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
63739         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
63740         the temporary FPU control word.
63741         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
63742         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
63743         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
63744         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
63745         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
63746         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
63747         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
63748         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
63749         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
63750         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
63751         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63753 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63755         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
63756         fields.
63758 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
63760         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
63761         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
63762         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
63763         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
63764         Likewise.
63765         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
63766         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
63767         Likewise.
63769 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
63771         * po/h.po: Update from translation team.
63773 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
63775         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
63777         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
63778         handling of denormals.
63779         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
63780         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
63781         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
63782         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
63783         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63784         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
63785         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
63786         Likewise.
63788 2012-05-26  Marek Polacek  <polacek@redhat.com>
63790         [BZ #14152]
63791         * math/libm-test.inc (fma_test): Don't always expect underflow
63792         exception.
63794 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63796         [BZ #12416]
63797         * elf/tst-execstack.c: Include stackinfo.h.
63798         (do_test): Adjust test case to ensure that pthread_getattr_np
63799         behaviour remains the same after marking stack executable.
63801 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
63803         * sysdeps/unix/sysv/linux/kernel-features.h
63804         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
63805         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
63806         kernel-features.h.
63807         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
63808         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
63809         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
63810         kernel-features.h.
63811         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
63812         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
63814 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
63816         * configure.in: Define the default includes to being none.
63817         * configure: Regenerated.
63819 2012-05-25  Roland McGrath  <roland@hack.frob.com>
63821         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
63822         * sysdeps/x86_64/setjmp.S: Likewise.
63823         * sysdeps/i386/bsd-setjmp.S: Likewise.
63824         * sysdeps/i386/bsd-_setjmp.S: Likewise.
63825         * sysdeps/i386/setjmp.S: Likewise.
63826         * sysdeps/i386/__longjmp.S: Likewise.
63827         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
63828         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
63830         * include/stap-probe.h: New file.
63831         * configure.in: Handle --enable-systemtap.
63832         * configure: Regenerated.
63833         * config.h.in (USE_STAP_PROBE): New #undef.
63834         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
63835         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
63836         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
63838 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
63840         [BZ #13717]
63841         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63842         to 2.4.0 where earlier.
63843         * sysdeps/unix/sysv/linux/configure: Regenerated.
63844         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
63853         [__ASSUME_32BITUIDS]: Make code unconditional.
63854         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
63855         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
63856         <kernel-features.h>.
63857         [__ASSUME_32BITUIDS]: Make code unconditional.
63858         [!__ASSUME_32BITUIDS]: Remove conditional code.
63859         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
63860         <kernel-features.h>.
63861         [__ASSUME_32BITUIDS]: Make code unconditional.
63862         [!__ASSUME_32BITUIDS]: Remove conditional code.
63863         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
63864         <kernel-features.h>.
63865         [__ASSUME_32BITUIDS]: Make code unconditional.
63866         [!__ASSUME_32BITUIDS]: Remove conditional code.
63867         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
63868         <kernel-features.h>.
63869         [__ASSUME_32BITUIDS]: Make code unconditional.
63870         [!__ASSUME_32BITUIDS]: Remove conditional code.
63871         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
63872         <kernel-features.h>.
63873         [__ASSUME_32BITUIDS]: Make code unconditional.
63874         [!__ASSUME_32BITUIDS]: Remove conditional code.
63875         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
63876         <kernel-features.h>.
63877         [__ASSUME_32BITUIDS]: Make code unconditional.
63878         [!__ASSUME_32BITUIDS]: Remove conditional code.
63879         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
63880         <kernel-features.h>.
63881         [__ASSUME_32BITUIDS]: Make code unconditional.
63882         [!__ASSUME_32BITUIDS]: Remove conditional code.
63883         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
63884         <kernel-features.h>.
63885         [__ASSUME_32BITUIDS]: Make code unconditional.
63886         [!__ASSUME_32BITUIDS]: Remove conditional code.
63887         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
63888         <kernel-features.h>.
63889         [__ASSUME_32BITUIDS]: Make code unconditional.
63890         [!__ASSUME_32BITUIDS]: Remove conditional code.
63891         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
63892         <kernel-features.h>.
63893         [__ASSUME_32BITUIDS]: Make code unconditional.
63894         [!__ASSUME_32BITUIDS]: Remove conditional code.
63895         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
63896         <kernel-features.h>.
63897         [__NR_setresgid] (__setresgid): Do not declare.
63898         [__ASSUME_32BITUIDS]: Make code unconditional.
63899         [!__ASSUME_32BITUIDS]: Remove conditional code.
63900         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
63901         <kernel-features.h>.
63902         [__NR_setresuid] (__setresuid): Do not declare.
63903         [__ASSUME_32BITUIDS]: Make code unconditional.
63904         [!__ASSUME_32BITUIDS]: Remove conditional code.
63905         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
63906         <kernel-features.h>.
63907         [__ASSUME_32BITUIDS]: Make code unconditional.
63908         [!__ASSUME_32BITUIDS]: Remove conditional code.
63909         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
63910         <kernel-features.h>.
63911         [__ASSUME_32BITUIDS]: Make code unconditional.
63912         [!__ASSUME_32BITUIDS]: Remove conditional code.
63913         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
63914         <kernel-features.h>.
63915         [__ASSUME_32BITUIDS]: Make code unconditional.
63916         [!__ASSUME_32BITUIDS]: Remove conditional code.
63917         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
63918         <kernel-features.h>.
63919         [__ASSUME_32BITUIDS]: Make code unconditional.
63920         [!__ASSUME_32BITUIDS]: Remove conditional code.
63921         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
63922         <kernel-features.h>.
63923         [__ASSUME_32BITUIDS]: Make code unconditional.
63924         [!__ASSUME_32BITUIDS]: Remove conditional code.
63925         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
63926         <kernel-features.h>.
63927         [__ASSUME_32BITUIDS]: Make code unconditional.
63928         [!__ASSUME_32BITUIDS]: Remove conditional code.
63929         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
63930         <kernel-features.h>.
63931         [__ASSUME_32BITUIDS]: Make code unconditional.
63932         [!__ASSUME_32BITUIDS]: Remove conditional code.
63933         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
63934         <kernel-features.h>.
63935         [__ASSUME_32BITUIDS]: Make code unconditional.
63936         [!__ASSUME_32BITUIDS]: Remove conditional code.
63937         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
63938         <kernel-features.h>.
63939         [__ASSUME_32BITUIDS]: Make code unconditional.
63940         [!__ASSUME_32BITUIDS]: Remove conditional code.
63941         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
63942         <kernel-features.h>.
63943         [__ASSUME_32BITUIDS]: Make code unconditional.
63944         [!__ASSUME_32BITUIDS]: Remove conditional code.
63945         * sysdeps/unix/sysv/linux/kernel-features.h
63946         (__ASSUME_SETRESUID_SYSCALL): Remove.
63947         (__ASSUME_SETRESGID_SYSCALL): Likewise.
63948         (__ASSUME_32BITUIDS): Likewise.
63949         (__ASSUME_LDT_WORKS): Likewise.
63950         (__ASSUME_O_DIRECTORY): Likewise.
63951         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
63952         architecture but not kernel version.
63953         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
63954         (__ASSUME_MMAP2_SYSCALL): Likewise.
63955         (__ASSUME_STAT64_SYSCALL): Likewise.
63956         (__ASSUME_IPC64): Likewise.
63957         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
63958         <kernel-features.h>.
63959         [__ASSUME_32BITUIDS]: Make code unconditional.
63960         [!__ASSUME_32BITUIDS]: Remove conditional code.
63961         * sysdeps/unix/sysv/linux/opendir.c: Do not include
63962         <kernel-features.h>.
63963         [__ASSUME_O_DIRECTORY]: Make code unconditional.
63964         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
63965         132096]: Remove conditional code.
63966         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
63967         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
63968         <kernel-features.h>.
63969         [__ASSUME_32BITUIDS]: Make code unconditional.
63970         [!__ASSUME_32BITUIDS]: Remove conditional code.
63971         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
63972         <kernel-features.h>.
63973         [__ASSUME_32BITUIDS]: Make code unconditional.
63974         [!__ASSUME_32BITUIDS]: Remove conditional code.
63975         * sysdeps/unix/sysv/linux/setegid.c: Do not include
63976         <kernel-features.h>.
63977         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
63978         unconditional.
63979         (__setresgid): Do not declare.
63980         [__ASSUME_32BITUIDS]: Make code unconditional.
63981         [!__ASSUME_32BITUIDS]: Remove conditional code.
63982         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
63983         <kernel-features.h>.
63984         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
63985         unconditional.
63986         (__setresuid): Do not declare.
63987         [__ASSUME_32BITUIDS]: Make code unconditional.
63988         [!__ASSUME_32BITUIDS]: Remove conditional code.
63989         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
63990         <kernel-features.h>.
63991         [__ASSUME_32BITUIDS]: Make code unconditional.
63992         [!__ASSUME_32BITUIDS]: Remove conditional code.
63993         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
63994         <kernel-features.h>.
63995         [__ASSUME_32BITUIDS]: Make code unconditional.
63996         [!__ASSUME_32BITUIDS]: Remove conditional code.
63998 2012-05-25  Richard Henderson  <rth@twiddle.net>
64000         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
64001         dl_hwcap to ifunc resolver.
64002         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
64003         elf_ifunc_invoke.
64004         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
64005         dl_hwcap to ifunc resolver.
64006         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
64008 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64010         [BZ #14153]
64011         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
64012         for |x| <= 2**-26, not 2**-57.
64013         * math/libm-test.inc (acos_test): Do not allow spurious underflow
64014         exception.
64016 2012-05-24  Jeff Law  <law@redhat.com>
64018         * stdio-common/Makefile (tests): Add bug25.
64019         * stdio-common/bug25.c: New test.
64021 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64023         [BZ #13576]
64024         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
64025         multiple of MALLOC_ALIGNMENT in size.
64026         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
64028 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64030         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
64031         Require >= 256.
64032         (FILENAME_MAX): Use macro-int-constant.
64033         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
64034         (_IOFBF): Use macro-int-constant.
64035         (_IOLBF): Likewise.
64036         (_IONBF): Likewise.
64037         (SEEK_CUR): Likewise.
64038         (SEEK_END): Likewise.
64039         (SEEK_SET): Likewise.
64040         (TMP_MAX): Likewise.
64041         (EOF): Use macro-int-constant.  Require < 0.
64042         (NULL): Use macro-constant.  Require == 0.
64043         (stdin): Require type to be FILE *.
64044         (stdout): Likewise.
64045         (stderr): Likewise.
64046         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
64047         macro-int-constant.
64048         (EXIT_SUCCESS): Likewise.
64049         (NULL): Use macro-constant.  Require == 0.
64050         (RAND_MAX): Use macro-int-constant.
64051         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
64052         [C99-based standards] (strtof): Require function.
64053         [C99-based standards] (strtold): Likewise.
64054         [C99-based standards] (strtoll): Likewise.
64055         [C99-based standards] (strtoull): Likewise.
64056         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
64057         [ISO || ISO99 || ISO11] (limits.h): Likewise.
64058         [ISO || ISO99 || ISO11] (math.h): Likewise.
64059         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
64060         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
64061         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64063 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
64065         [BZ #14132]
64066         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
64067         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
64068         * intl/dgettext.c (DCGETTEXT): Likewise.
64069         * intl/gettext.c (DCGETTEXT): Likewise.
64070         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
64071         * posix/regex_internal.h (gettext): Likewise.
64072         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
64073         Remove declaration.
64074         * include/argz.h (__argz_count_internal)
64075         (__argz_stringify_internal): Remove declaration.
64076         (__argz_count, __argz_stringify): Declare hidden proto.
64077         * intl/dcgettext.c: Remove use of INTDEF.
64078         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
64079         * string/argz-stringify.c: Likewise.
64080         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64081         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64082         Declare hidden proto.
64083         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64084         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64085         Declare hidden proto.
64086         * include/stdio.h (__asprintf_internal): Don't declare.
64087         (__asprintf): Don't define as macro.  Declare hidden proto.
64088         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
64089         (__fsetlocking): Declare hidden proto.
64090         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
64091         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
64092         hidden proto.
64093         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
64094         (_IO_setlinebuf): Remove use of INTUSE.
64095         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
64096         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
64097         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
64098         Remove declaration.
64099         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
64100         (_IO_do_flush): Remove use of INTUSE.
64101         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
64102         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
64103         (_IO_adjust_column, _IO_least_wmarker)
64104         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
64105         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
64106         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
64107         (_IO_default_doallocate, _IO_wdefault_doallocate)
64108         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
64109         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
64110         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
64111         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
64112         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
64113         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
64114         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
64115         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
64116         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
64117         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
64118         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
64119         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
64120         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
64121         proto.
64122         (_IO_flush_all_internal, _IO_adjust_column_internal)
64123         (_IO_default_uflow_internal, _IO_default_finish_internal)
64124         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
64125         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
64126         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
64127         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
64128         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
64129         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
64130         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
64131         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
64132         (_IO_file_close_internal, _IO_file_close_it_internal)
64133         (_IO_file_underflow_internal, _IO_file_overflow_internal)
64134         (_IO_file_init_internal, _IO_file_attach_internal)
64135         (_IO_file_fopen_internal, _IO_file_read_internal)
64136         (_IO_file_sync_internal, _IO_file_seek_internal)
64137         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
64138         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
64139         (_IO_str_underflow_internal, _IO_str_overflow_internal)
64140         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
64141         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
64142         (_IO_list_all_internal, _IO_link_in_internal)
64143         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
64144         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
64145         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
64146         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
64147         (_IO_do_write_internal, _IO_padn_internal)
64148         (_IO_getline_info_internal, _IO_getline_internal)
64149         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
64150         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
64151         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
64152         (_IO_vfscanf_internal, _IO_vfprintf_internal)
64153         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
64154         (_IO_init_internal, _IO_un_link_internal): Don't declare.
64155         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
64156         with libc_hidden_ver, remove use of INTUSE.
64157         * libio/genops.c: Likewise.
64158         * libio/freopen.c: Likewise.
64159         * libio/freopen64.c: Likewise.
64160         * libio/iofclose.c: Likewise.
64161         * libio/iofdopen.c: Likewise.
64162         * libio/iofflush.c: Likewise.
64163         * libio/iofflush_u.c: Likewise.
64164         * libio/iofgets.c: Likewise.
64165         * libio/iofgets_u.c: Likewise.
64166         * libio/iofopen.c: Likewise.
64167         * libio/iofopncook.c: Likewise.
64168         * libio/iofread.c: Likewise.
64169         * libio/iofread_u.c: Likewise.
64170         * libio/ioftell.c: Likewise.
64171         * libio/iofwrite.c: Likewise.
64172         * libio/iogetline.c: Likewise.
64173         * libio/iogets.c: Likewise.
64174         * libio/iogetwline.c: Likewise.
64175         * libio/iopadn.c: Likewise.
64176         * libio/iopopen.c: Likewise.
64177         * libio/ioseekoff.c: Likewise.
64178         * libio/ioseekpos.c: Likewise.
64179         * libio/iosetbuffer.c: Likewise.
64180         * libio/iosetvbuf.c: Likewise.
64181         * libio/ioungetc.c: Likewise.
64182         * libio/ioungetwc.c: Likewise.
64183         * libio/iovdprintf.c: Likewise.
64184         * libio/iovsprintf.c: Likewise.
64185         * libio/iovsscanf.c: Likewise.
64186         * libio/memstream.c: Likewise.
64187         * libio/obprintf.c: Likewise.
64188         * libio/oldfileops.c: Likewise.
64189         * libio/oldiofclose.c: Likewise.
64190         * libio/oldiofdopen.c: Likewise.
64191         * libio/oldiofopen.c: Likewise.
64192         * libio/oldiopopen.c: Likewise.
64193         * libio/oldstdfiles.c: Likewise.
64194         * libio/putc.c: Likewise.
64195         * libio/setbuf.c: Likewise.
64196         * libio/setlinebuf.c: Likewise.
64197         * libio/stdfiles.c: Likewise.
64198         * libio/strops.c: Likewise.
64199         * libio/vasprintf.c: Likewise.
64200         * libio/vscanf.c: Likewise.
64201         * libio/vsnprintf.c: Likewise.
64202         * libio/vswprintf.c: Likewise.
64203         * libio/wfiledoalloc.c: Likewise.
64204         * libio/wfileops.c: Likewise.
64205         * libio/wgenops.c: Likewise.
64206         * libio/wmemstream.c: Likewise.
64207         * libio/wstrops.c: Likewise.
64208         * libio/__fpurge.c: Likewise.
64209         * libio/__fsetlocking.c: Likewise.
64210         * assert/assert.c: Likewise.
64211         * debug/fgets_chk.c: Likewise.
64212         * debug/fgets_u_chk.c: Likewise.
64213         * debug/fread_chk.c: Likewise.
64214         * debug/fread_u_chk.c: Likewise.
64215         * debug/gets_chk.c: Likewise.
64216         * debug/obprintf_chk.c: Likewise.
64217         * debug/vasprintf_chk.c: Likewise.
64218         * debug/vdprintf_chk.c: Likewise.
64219         * debug/vsnprintf_chk.c: Likewise.
64220         * debug/vsprintf_chk.c: Likewise.
64221         * malloc/mtrace.c: Likewise.
64222         * misc/error.c: Likewise.
64223         * misc/syslog.c: Likewise.
64224         * stdio-common/asprintf.c: Likewise.
64225         * stdio-common/fxprintf.c: Likewise.
64226         * stdio-common/getw.c: Likewise.
64227         * stdio-common/isoc99_fscanf.c: Likewise.
64228         * stdio-common/isoc99_scanf.c: Likewise.
64229         * stdio-common/isoc99_vfscanf.c: Likewise.
64230         * stdio-common/isoc99_vscanf.c: Likewise.
64231         * stdio-common/isoc99_vsscanf.c: Likewise.
64232         * stdio-common/printf-prs.c: Likewise.
64233         * stdio-common/printf_fp.c: Likewise.
64234         * stdio-common/printf_fphex.c: Likewise.
64235         * stdio-common/printf_size.c: Likewise.
64236         * stdio-common/putw.c: Likewise.
64237         * stdio-common/scanf.c: Likewise.
64238         * stdio-common/sprintf.c: Likewise.
64239         * stdio-common/tmpfile.c: Likewise.
64240         * stdio-common/vfprintf.c: Likewise.
64241         * stdio-common/vfscanf.c: Likewise.
64242         * stdlib/strfmon_l.c: Likewise.
64243         * sunrpc/openchild.c: Likewise.
64244         * sunrpc/xdr_stdio.c: Likewise.
64245         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
64246         * sysdeps/mach/hurd/tmpfile.c: Likewise.
64248 2012-05-24  Roland McGrath  <roland@hack.frob.com>
64250         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
64252         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
64253         in the third column, to generate for the shared library an IFUNC
64254         that uses _dl_vdso_vsym.
64255         * Makerules (COMPILE.c, compile-stdin.c): New variables.
64256         * Makeconfig (object-suffixes-noshared): New variable.
64258         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
64259         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
64260         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
64261         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
64263         [BZ #14132]
64264         * include/sys/time.h (__gettimeofday): Remove macro.
64265         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
64266         * time/gettimeofday.c (__gettimeofday): Remove #undef.
64267         Remove INTDEF.
64268         (__gettimeofday): Add libc_hidden_def.
64269         (gettimeofday): Add libc_hidden_weak.
64270         * sysdeps/mach/gettimeofday.c: Likewise.
64271         * sysdeps/posix/gettimeofday.c: Likewise.
64272         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
64273         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
64274         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
64275         (__gettimeofday_internal): Remove strong_alias.
64276         (__gettimeofday): Add libc_hidden_def.
64277         (gettimeofday): Add libc_hidden_weak.
64278         * sysdeps/unix/syscalls.list (gettimeofday):
64279         Remove __gettimeofday_internal alias.
64281 2012-05-24  Daniel Jacobowitz  <drow@false.org>
64282             H.J. Lu  <hongjiu.lu@intel.com>
64284         [BZ #12495]
64285         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
64286         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
64287         (largebin_index_32_big): New.
64288         (largebin_index): Use it for 16-byte alignment.
64289         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
64290         correction with front_misalign.
64292 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64294         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
64295         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
64296         Likewise.
64297         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
64298         Likewise.
64299         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64300         Likewise.
64301         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
64302         Likewise.
64303         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
64304         Likewise.
64305         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
64306         Likewise.
64307         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
64308         Likewise.
64309         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64310         Likewise.
64311         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
64312         Likewise.
64313         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
64314         Likewise.
64315         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
64316         Likewise.
64317         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
64318         Likewise.
64320         * scripts/data/c++-types-x32-linux-gnu.data: New file.
64321         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
64323 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64325         [BZ #10846]
64326         [BZ #14036]
64327         * math/libm-test.inc (exp_test): Add test from bug 14036.
64328         (pow_test): Add test from bug 10846.
64330         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
64331         and other flags.
64332         (special_function): Do not include flags in test name.
64333         (parse_args): Likewise.
64334         * sysdeps/i386/fpu/libm-test-ulps: Update.
64335         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64336         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64337         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64340         * math/gen-libm-test.pl (%beautify): Add entries for underflow
64341         exceptions.
64342         * math/libm-test.inc ("Philosophy"): Update comment about
64343         exception testing.
64344         (UNDERFLOW_EXCEPTION): New macro.
64345         (UNDERFLOW_EXCEPTION_OK): Likewise.
64346         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
64347         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
64348         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
64349         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
64350         (INVALID_EXCEPTION_OK): Update value.
64351         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
64352         (OVERFLOW_EXCEPTION_OK): Likewise.
64353         (IGNORE_ZERO_INF_SIGN): Likewise.
64354         (test_exceptions): Handle underflow exceptions.
64355         (acos_test): Update for underflow exception expectations.
64356         (cexp_test): Likewise.
64357         (clog_test): Likewise.
64358         (clog10_test): Likewise.
64359         (csqrt_test): Likewise.
64360         (ctan_test): Likewise.
64361         (ctanh_test): Likewise.
64362         (exp_test): Likewise.
64363         (exp10_test): Likewise.
64364         (exp2_test): Likewise.
64365         (expm1_test): Likewise.
64366         (fma_test): Likewise.
64367         (j0_test): Likewise.
64368         (jn_test): Likewise.
64369         (nexttoward_test): Likewise.
64370         (pow_test): Likewise.
64371         (scalbn_test): Likewise.
64372         (scalbln_test): Likewise.
64373         (tan_test): Likewise.
64374         (y1_test): Likewise.
64375         * sysdeps/i386/fpu/libm-test-ulps: Update.
64376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64378 2012-05-23  David S. Miller  <davem@davemloft.net>
64380         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
64381         (__libc_sigaction): Remove unused local variables.
64383 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64385         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
64387 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
64389         mktime: avoid signed integer overflow
64390         * time/mktime.c (__mktime_internal): Do not mishandle the case
64391         where diff == INT_MIN.
64393         mktime: simplify computation of average
64394         * time/mktime.c (ranged_convert): Use new time_t_avg function
64395         instead of rolling our own (probably-slower) code.
64397         mktime: do not assume signed right shift propagates sign bit
64398         * time/mktime.c (isdst_differ): New static function.
64399         (__mktime_internal): No need to normalize tm_isdst now.
64400         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
64401         tm_isdst values.
64403         mktime: merge another wrapv change from gnulib
64404         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
64405         from some compilers.
64407         mktime: remove incorrect attempt at unusual arithmetics
64408         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
64409         The code didn't really work on such machines anyway.
64410         (TYPE_MINIMUM): Assume two's complement.
64411         (twos_complement_arithmetic): Verify that long_int and time_t
64412         are two's complement (or unsigned, in the latter case).
64414         mktime: check signed shifts on long_int and time_t, too
64415         * time/mktime.c (SHR): Check that shifts work as desired
64416         on the types long_int and time_t too, as SHR is used on
64417         such types.
64419         mktime: do not assume 'long' is wide enough
64420         * time/mktime.c (verify): Move decl up.
64421         (long_int): New type.
64422         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
64423         to remove assumption in the code that 'long' is wide enough to
64424         store year values.  This assumption is not true on x32 and on
64425         some non-glibc platforms.
64427         mktime: merge wrapv change from gnulib
64428         * time/mktime.c (WRAPV): New macro.
64429         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
64430         (guess_time_tm, __mktime_internal): Do not assume that signed
64431         integer overflow wraps around; modern compilers generate code
64432         where this assumption is no longer valid.
64434 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64436         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
64437         Replace "jmp L(pseudo_end)" with "ret".
64438         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
64439         Likewise.
64441 2012-05-23  Andreas Jaeger  <aj@suse.de>
64443         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
64444         * sysdeps/unix/sysv/linux/poll.c: Remove file.
64446 2012-05-23  Andreas Jaeger  <aj@suse.de>
64447             Maximilian Attems  <max@stro.at>
64449         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
64450         New macros.
64452 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64454         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
64455         code so that pseudo_end is just ret and the stack pointer is
64456         correct also for static library in error case.
64458 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
64460         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
64461         move to syscalls.list.
64462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
64463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
64464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
64465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
64467         * manual/install.texi (Running make install): Do not mention Linux
64468         kernel version for which pt_chown is not needed.
64469         (Linux): Do not mention problems with nscd with 2.0 kernels.
64470         * INSTALL: Regenerated.
64472 2012-05-23  Andreas Jaeger  <aj@suse.de>
64474         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
64475         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
64476         macro.
64477         * sysdeps/unix/sysv/linux/s390/bits/mman.h
64478         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64479         * sysdeps/unix/sysv/linux/sh/bits/mman.h
64480         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64481         * sysdeps/unix/sysv/linux/i386/bits/mman.h
64482         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64483         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
64484         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64485         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
64486         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64487         * sysdeps/unix/sysv/linux/bits/in.h
64488         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
64490 2012-05-22  Roland McGrath  <roland@hack.frob.com>
64492         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
64493         (PREPARE_VERSION): Just use assert instead, it will be elided
64494         under [NDEBUG] anyway.
64496 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64498         * sysdeps/unix/sysv/linux/Makefile: Include
64499         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
64500         (sysdep_routines): Remove sysctl.
64501         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
64502         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
64503         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
64504         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
64505         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
64507 2012-05-22  Andreas Jaeger  <aj@suse.de>
64509         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
64510         that pseudo_end is just ret and the stack pointer is correct also
64511         for static library in error case.
64513 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
64515         [BZ #14122]
64516         * nss/nsswitch.c (defconfig_entries): New variable.
64517         (__nss_database_lookup): Don't leak defconfig entries.
64518         (nss_parse_service_list): Don't leak on error paths.
64519         (free_database_entries): New function.
64520         (free_defconfig): New function.
64521         (free_mem): Move common code to free_database_entries.
64523 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64525         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
64526         Add arch_prctl.
64527         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
64529         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
64530         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
64531         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
64532         New macro.
64533         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
64534         (INTERNAL_SYSCALL_TYPES): Likewise.
64535         (LOAD_ARGS_TYPES_[1-6]): Likewise.
64536         (LOAD_REGS_TYPES_[1-6]): Likewise.
64537         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
64538         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
64540 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64542         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
64543         copysignl for GLIBC_2_0.
64544         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
64545         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
64546         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
64547         logbl for GLIBC_2_0.
64548         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
64549         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
64551 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64553         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
64554         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
64556         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
64557         Use "neg %eax".
64559         * time/mktime.c: Update copyright years.
64561 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
64563         mktime: merge comment-quoting-style change from gnulib
64564         * time/mktime.c: Quote 'like this' in comments.
64565         The GNU coding standards suggest that we no longer quote `like this',
64566         as "`" and "'" are typically rendered asymmetrically nowadays.
64567         The typical gnulib style is to quote 'like this' when quoting
64568         code, and "like this" when quoting English.
64570         * time/mktime.c (compile-command): Add "-I.".
64572         mktime: merge mktime-internal.h change from gnulib
64573         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
64575         mktime: merge time_r change from gnulib
64576         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
64578         mktime: merge DEBUG change from gnulib
64579         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
64580         case system <time.h> has a #define.
64582         mktime: merge <sys/types.h> change from gnulib
64583         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
64584         since <time.t> is now guaranteed to define time_t.
64586         mktime: merge HAVE_CONFIG_H change from gnulib
64587         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
64589 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64591         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
64592         Use "neg %eax".
64594         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
64595         __rlim_t cast.
64596         (struct rusage): Use anonymous union to pad each field to
64597         __syscall_slong_t.
64599 2012-05-21  David S. Miller  <davem@davemloft.net>
64601         * Makefules (o-iterator): Remove .s cases.
64602         (compile-command.s): Delete.
64603         (COMPILE.s): Delete.
64604         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
64606 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
64608         * configure.in (libc_cv_predef_stack_protector): Only consider
64609         "foobar" and "__stack_chk_fail" lines in libc_undefs.
64610         * configure: Regenerated.
64612 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64614         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
64615         New macro.  Use R*LP on int and pointer.
64616         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
64617         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
64618         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
64619         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
64621         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
64622         [__WORDSIZE_TIME64_COMPAT32] instead of
64623         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
64624         (struct utmp): Likewise.
64625         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
64626         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
64627         Renamed to ...
64628         (__WORDSIZE_TIME64_COMPAT32): This.
64629         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
64630         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
64631         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
64632         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
64633         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
64634         (__WORDSIZE_TIME64_COMPAT32): New macro.
64636 2012-05-21  Andreas Jaeger  <aj@suse.de>
64638         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
64639         only if [SHARED]. Add prototype for __wcschr_ia32.
64641 2012-05-21  Roland McGrath  <roland@hack.frob.com>
64643         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
64644         of %rbp unmolested in the jmp_buf while mangling the low bits.
64645         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
64646         unmolested high bits of %rbp while demangling the low bits.
64647         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
64649 2012-05-21  Andreas Jaeger  <aj@suse.de>
64651         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
64652         * sunrpc/svc_simple.c: Use it for registerrpc.
64653         * sunrpc/xcrypt.c: Use it for passwd2des.
64655         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
64657 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64659         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
64660         Don't define if [__SYSCALL_WORDSIZE != 32].
64661         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
64662         New macro.
64664 2012-05-21  Bruno Haible  <bruno@clisp.org>
64665             Andreas Jaeger  <aj@suse.de>
64667         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
64668         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
64669         inptr and inend for must_buffer_ch.
64670         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
64671         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
64672         * stdio-common/Makefile (tests): Remove bug15.
64673         (bug15-ENV): Remove macro.
64674         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
64675         anymore.
64677 2012-05-19  Andreas Jaeger  <aj@suse.de>
64678             Roland McGrath  <roland@hack.frob.com>
64680         * manual/contrib.texi: Completely rewritten. It contains now an
64681         alphabetical list of contributors and their contributions.
64683 2012-05-21  Richard Henderson  <rth@twiddle.net>
64685         * misc/getauxval.c (__getauxval): Use unsigned long int.
64686         * misc/sys/auxv.h: Include <sys/cdefs.h>.
64687         (getauxval): Use unsigned long int.
64689 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64691         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
64693 2012-05-21  Roland McGrath  <roland@hack.frob.com>
64695         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
64696         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
64697         __alignof__ (long double).
64699 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64701         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64703 2012-05-20  Richard Henderson  <rth@twiddle.net>
64705         * misc/getauxval.c: New file.
64706         * misc/sys/auxv.h: New file.
64707         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
64708         (routines): Add getauxval.
64709         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
64710         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
64711         * elf/dl-sysdep.c (_dl_auxv): Remove.
64712         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
64713         * elf/dl-support.c (_dl_auxv): New variable.
64714         (_dl_aux_init): Initialize it.
64715         * manual/startup.texi (Auxiliary Vector): New node.
64716         * sysdeps/generic/bits/hwcap.h: New file.
64717         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
64718         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
64719         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
64720         * sysdeps/sparc/sysdep.h: ... here.  Include it.
64721         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
64722         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
64723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64724         Update.
64725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
64726         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
64727         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
64728         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
64729         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
64730         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
64731         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
64732         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
64734 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64736         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64738 2012-05-19  David S. Miller  <davem@davemloft.net>
64740         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64742 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
64744         [BZ #14123]
64745         * math/s_ccosh.c: Include <float.h>
64746         (__ccosh): Avoid internal overflow calculating sinh and cosh
64747         values before multiplying by sin and cos values.
64748         * math/s_ccoshf.c: Likewise.
64749         * math/s_ccoshl.c: Likewise.
64750         * math/s_csin.c: Likewise.
64751         * math/s_csinf.c: Likewise.
64752         * math/s_csinl.c: Likewise.
64753         * math/s_csinh.c: Likewise.
64754         * math/s_csinhf.c: Likewise.
64755         * math/s_csinhl.c: Likewise.
64756         * math/libm-test.inc (ccos_test): Add more tests.
64757         (ccosh_test): Likewise.
64758         (csin_test): Likewise.
64759         (csinh_test): Likewise.
64760         * sysdeps/i386/fpu/libm-test-ulps: Update.
64761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64763 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
64765         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
64766         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
64768         * sysdeps/x86_64/x32/_itoa.h: Add comment.
64770 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
64772         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
64773         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
64774         * sysdeps/powerpc/soft-fp/Versions: Likewise.
64775         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
64776         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
64777         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
64778         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
64779         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
64780         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
64781         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
64782         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
64783         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
64784         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
64785         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
64786         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
64787         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
64788         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
64789         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
64790         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
64791         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
64792         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
64793         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
64794         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
64795         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
64796         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
64797         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
64798         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
64799         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
64800         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
64801         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
64802         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
64804 2012-05-18  Andreas Jaeger  <aj@suse.de>
64806         * csu/.gitignore: Delete.
64808 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
64810         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
64811         (timex): Use __syscall_slong_t.
64813 2012-05-18  Andreas Jaeger  <aj@suse.de>
64814             Carlos O'Donell  <carlos_odonell@mentor.com>
64816         * manual/install.texi (Configuring and compiling): Update
64817         description about files modified in the source directory.
64818         * INSTALL: Regenerated.
64820 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
64822         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
64823         value.  Use "or" to set return value to -1.
64824         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
64825         negate return value.
64827 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64829         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
64830         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
64831         failure if the compiler has Graphite support disabled.
64832         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
64833         Likewise.
64834         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
64835         (CFLAGS-memmove.c): Likewise.
64836         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
64837         Likewise.
64839 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
64841         * sysdeps/x86_64/x32/_itoa.h: New file.
64843         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
64844         getdents system call only if kernel and user dirents have the
64845         same d_ino and d_off.
64847         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
64848         LLONG_MAX != LONG_MAX.
64849         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64850         (_fitoa_word): Likewise.
64852         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
64853         years.
64854         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
64855         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
64856         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
64858         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
64859         include <bits/wordsize.h>.  Check __x86_64__ instead of
64860         __WORDSIZE.
64861         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
64862         if __x86_64__ is defined.  Use anonymous union on fpstate.
64864         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
64865         anonymous union.
64867 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
64869         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
64870         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
64871         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
64872         Refer to _rtld_local_ro instead of _rtld_global_ro.
64873         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
64874         Likewise.
64875         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
64876         Likewise.
64877         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
64878         Likewise.
64879         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
64880         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
64881         of _rtld_global, and rtld_progname instead of _dl_argv[0].
64883         [BZ #10882]
64884         * sysdeps/powerpc/powerpc32/dl-machine.c
64885         (__elf_machine_runtime_setup) [PROF]: Don't reference
64886         _dl_prof_resolve.
64888 2012-05-18  Andreas Jaeger  <aj@suse.de>
64890         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
64891         function only available for GCCs before 3.4 since GCC 3.4
64892         introduced a builtin.
64893         (lrint): Likewise.
64894         (llrintf): Likewise.
64895         (llrint): Likewise.
64896         (fmaxf): Likewise.
64897         (fmax): Likewise.
64898         (fminf): Likewise.
64899         (fmin): Likewise.
64900         (rint): Likewise.
64901         (rintf): Likewise.
64902         (nearbyint): Likewise.
64903         (nearbyintf): Likewise.
64904         (ceil): Likewise.
64905         (ceilf): Likewise.
64906         (floor): Likewise.
64907         (floorf): Likewise.
64909 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64911         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
64912         on both fields and cast pointer to __syscall_ulong_t.
64914         * bits/types.h (__fsword_t): New type.
64915         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
64916         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
64917         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64918         (__FSWORD_T_TYPE): Likewise.
64919         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64920         (__FSWORD_T_TYPE): Likewise.
64921         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64922         (__FSWORD_T_TYPE): Likewise.
64923         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
64924         (__FSWORD_T_TYPE): Likewise.
64925         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
64926         __SWORD_TYPE with __fsword_t.
64927         (statfs64): Likewise.
64929 2012-05-17  David S. Miller  <davem@davemloft.net>
64931         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
64933 2012-05-17  Andreas Jaeger  <aj@suse.de>
64935         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
64936         warning.
64938 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64940         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
64942 2012-05-17  Andreas Jaeger  <aj@suse.de>
64944         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
64945         when it is used.
64947 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
64949         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
64951 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64953         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
64954         * sysdeps/x86_64/tst-mallocalign1.c: New file.
64956 2012-05-17  Andreas Jaeger  <aj@suse.de>
64957             Carlos O'Donell  <carlos_odonell@mentor.com>
64959         [BZ #14059]
64960         * sysdeps/x86_64/multiarch/init-arch.h
64961         (bit_YMM_Usable): Rename to...
64962         (bit_AVX_Usable): ... this.
64963         (bit_FMA4_Usable): New macro.
64964         (bit_XMM_state): New macro.
64965         (bit_YMM_state): New macro.
64966         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
64967         [__ASSEMBLER__] (index_AVX_Usable): ... this.
64968         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
64969         (CPUID_OSXSAVE): New macro.
64970         (CPUID_AVX): New macro.
64971         (CPUID_FMA4): New macro.
64972         (index_YMM_Usable): Rename to...
64973         (index_AVX_Usable): ... this.
64974         (HAS_AVX): Use HAS_ARCH_FEATURE.
64975         (HAS_FMA4): Likewise.
64976         (HAS_YMM_USABLE): Remove.
64977         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64978         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
64979         are present.
64980         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
64981         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
64982         * sysdeps/x86_64/multiarch/Makefile: Likewise.
64983         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
64984         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
64986 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
64988         * math/libm-test.c: Support platforms without multiple rounding modes.
64989         * math/bug-nextafter.c: Support platforms without FP exceptions.
64990         * math/bug-nexttoward.c: Likewise.
64991         * math/test-fenv.c: Likewise.
64992         * math/test-misc.c: Likewise.
64993         * stdlib/bug-getcontext.c: Likewise.
64995 2012-05-17  Andreas Jaeger  <aj@suse.de>
64997         * manual/examples/search.c (critter_cmp): Change signature to
64998         avoid warnings.
64999         * manual/string.texi (Collation Functions): Likewise.
65001 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65003         * bits/types.h: Fold copyright years.
65004         * bits/typesizes.h: Likewise.
65005         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
65006         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
65007         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
65008         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
65009         * time/time.h: Likewise.
65011 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
65013         [BZ #208]
65014         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
65015         in instead of returning them.  Return void.
65016         (__libc_mallinfo): Accumulate over all arenas.
65017         (__malloc_stats): Adjust for change in int_mallinfo interface.
65019 2012-05-16  Roland McGrath  <roland@hack.frob.com>
65021         [BZ #10375]
65022         * configure.in (NM): Add AC_CHECK_TOOL for it.
65023         (libc_extra_cflags): New substituted variable.
65024         Check for -fstack-protector being used implicitly.
65025         * configure: Regenerated.
65026         * config.make.in (config-extra-cflags): New variable,
65027         gets @libc_extra_cflags@.
65028         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
65030         [BZ #10375]
65031         * configure.in: Check for _FORTIFY_SOURCE being predefined.
65032         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
65033         * configure: Regenerated.
65034         * config.make.in (CPPUNDEFS): New substituted variable.
65035         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
65036         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
65037         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
65039 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65041         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
65042         (mq_attr): Use __syscall_slong_t.
65044 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65046         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
65047         Check __x86_64__ instead of __WORDSIZE.
65048         (_STAT_VER_LINUX): Likewise.
65049         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
65050         __syscall_ulong_t and __syscall_slong_t.
65051         (stat64): Likewise.
65053 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65055         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
65057 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65059         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
65061 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65063         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
65064         __syscall_ulong_t.
65066         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
65067         include <bits/wordsize.h>.  Check __x86_64__ instead of
65068         __WORDSIZE.
65069         (greg_t): Use "__extension__ long long int" if __x86_64__ is
65070         defined.
65071         (mcontext_t): Replace "unsigned long" with "unsigned long long".
65073         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
65074         include <bits/wordsize.h>.  Check __x86_64__ instead of
65075         __WORDSIZE.
65076         (user_regs_struct): Use "__extension__ unsigned long long"
65077         instead of "unsigned long" if __x86_64__ is defined.
65078         (user): Likewise.  Pad after pointer field if __ILP32__ is
65079         defined.
65081 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
65083         * configure.in (makeinfo): Require version 4.5 or later.  Allow
65084         versions 5 to 9.
65085         * configure: Regenerated.
65086         * manual/install.texi (texinfo): Increase version requirement to
65087         4.5 or later.
65088         * INSTALL: Regenerated.
65090         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
65092 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65094         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
65096         * sysdeps/x86_64/x32/ffs.c: New file.
65098         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
65099         __syscall_ulong_t.
65100         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
65101         defined.  Use __syscall_ulong_t.
65102         (shminfo): Use __syscall_ulong_t.
65103         (shm_info): Likewise.
65105         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
65106         __syscall_ulong_t.
65108         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
65109         <bits/wordsize.h>.
65110         (msgqnum_t): Use __syscall_ulong_t.
65111         (msglen_t): Likewise.
65112         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
65113         __syscall_ulong_t.
65115         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
65116         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65118         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
65120         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
65121         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
65123         * sysvipc/sys/msg.h (msgbuf): Replace long int with
65124         __syscall_slong_t.
65126         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
65127         include <bits/wordsize.h>.  Check __x86_64__ instead of
65128         __WORDSIZE.
65130         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
65131         "unsigned long long int" if __x86_64__ is defined.
65132         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
65134         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
65135         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65136         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
65138         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
65139         <stdint.h>.
65140         (GET_PC): Cast to uintptr_t first.
65141         (GET_FRAME): Likewise.
65142         (GET_STACK): Likewise.
65144         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
65145         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
65146         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
65147         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
65148         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
65149         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
65150         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
65151         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
65152         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
65153         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
65154         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
65155         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
65156         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
65157         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
65158         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
65159         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
65160         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
65161         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
65162         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
65163         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
65164         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
65165         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
65166         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
65167         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
65168         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
65169         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
65170         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
65171         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
65172         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
65174 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
65176         * Makerules (+depfiles): Also collect depfiles from .oS in
65177         $(extra-objs).
65178         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
65179         .oS, $(libnldbl-routines)).
65181         * Makerules (native-compile-mkdep-flags): Define.
65182         * sunrpc/Makefile (extra-objs): Add $(addprefix
65183         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
65184         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
65185         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
65186         calling $(make-target-directory).
65188 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65190         * bits/types.h (__snseconds_t): Removed.
65191         * time/time.h (struct timespec): Replace __snseconds_t with
65192         __syscall_slong_t.
65193         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
65194         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
65195         Likewise.
65196         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65197         (__SNSECONDS_T_TYPE): Likewise.
65198         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65199         (__SNSECONDS_T_TYPE): Likewise.
65200         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65201         (__SNSECONDS_T_TYPE): Likewise.
65203 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65205         * sysdeps/mach/hurd/bits/typesizes.h
65206         (__SYSCALL_SLONG_TYPE): New macro.
65207         (__SYSCALL_ULONG_TYPE): Likewise.
65209 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65211         * bits/types.h (__syscall_slong_t): New type.
65212         (__syscall_ulong_t): Likewise.
65214         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
65215         (__SYSCALL_ULONG_TYPE): Likewise.
65216         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65217         (__SYSCALL_SLONG_TYPE): Likewise.
65218         (__SYSCALL_ULONG_TYPE): Likewise.
65219         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65220         (__SYSCALL_SLONG_TYPE): Likewise.
65221         (__SYSCALL_ULONG_TYPE): Likewise.
65222         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65223         (__SYSCALL_SLONG_TYPE): Likewise.
65224         (__SYSCALL_ULONG_TYPE): Likewise.
65226 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65228         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
65229         Add sigaltstack-offsets.sym.
65230         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
65231         <sigaltstack-offsets.h>.
65232         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
65233         longjmp_msg pointer.
65234         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
65235         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
65236         signal stack.
65237         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
65239 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65241         * elf/stackguard-macros.h: Remove file.
65242         * sysdeps/generic/stackguard-macros.h: New file.
65243         * sysdeps/i386/stackguard-macros.h: Likewise.
65244         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
65245         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
65246         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
65247         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
65248         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
65249         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
65250         * sysdeps/x86_64/stackguard-macros.h: Likewise.
65251         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
65252         <elf/stackguard-macros.h>.
65254         [BZ #14109]
65255         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
65256         __aligned__ in attribute.
65257         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
65258         (gregset_t): Likewise.
65260 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65262         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
65263         * sysdeps/x86_64/64/Implies-after: Here.  New file.
65264         * sysdeps/x86_64/x32/Implies-after: New file.
65266 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65268         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
65269         and access return value for _dl_profile_fixup.  Use R10_LP to
65270         load frame size.
65272 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65274         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
65276 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65278         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
65279         * sysdeps/x86_64/x32/sysdep.h: New file.
65281 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65283         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
65284         * sysdeps/x86_64/setjmp.S: Likewise.
65286 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65288         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
65289         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
65290         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
65291         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
65292         remove unused global constant.
65294 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
65296         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
65297         include of <not-cancel.h>.
65299 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65301         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
65303 2012-05-15  Jeff Law  <law@redhat.com>
65304             Andreas Jaeger  <aj@suse.de>
65306         [BZ #13594]
65307         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
65308         out from...
65309         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
65310         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
65311         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
65312         code changing __hst_map_handle.map.
65314 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65316         * configure.in (sysnames): Look for Implies-before and Implies-after
65317         files.
65318         * configure: Regenerated.
65320 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65322         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
65323         8-byte data alignment with LP_SIZE alignment.
65325 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65327         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
65328         into R10_LP.
65330 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65332         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
65334 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65336         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
65337         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
65338         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
65339         Likewise.
65340         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
65342 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65344         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
65345         (stackinfo_sub_sp): Likewise.
65347 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65349         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
65350         RAX_LP.
65352 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65354         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
65355         into R*_LP.
65357 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65359         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
65360         sizes into R*_LP.
65362 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65364         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
65366 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65368         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
65369         into R11_LP and load __x86_64_shared_cache_size_half into
65370         R8_LP.
65372 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65374         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
65375         R8_LP.
65377 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65379         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
65380         logb for POWER7.
65381         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
65382         logbf for POWER7.
65383         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
65384         logbl for POWER7.
65385         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
65386         powerpc32/power7/fpu/s_logb.c via #include.
65387         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
65388         powerpc32/power7/fpu/s_logbf.c via #include.
65389         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
65390         powerpc32/power7/fpu/s_logbl.c via #include.
65392 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65394         * README.libm: Remove file.
65396 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65398         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
65399         count for x32.  Use R*_LP and omit operand-size suffix.
65401 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65403         * shlib-versions: Move x86_64-.*-linux.* entries to ...
65404         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
65405         * sysdeps/x86_64/x32/shlib-versions: New file.
65407 2012-05-14  Roland McGrath  <roland@hack.frob.com>
65409         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
65410         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
65411         Use _dl_fatal_printf instead.
65413 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
65415         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
65416         set if not set by the user.  Do not allow for being unset.
65417         * sysdeps/unix/sysv/linux/configure: Regenerated.
65419 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65421         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
65422         the `q' suffix from lea and replace .quad with ASM_ADDR.
65424 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65426         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
65427         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
65428         instead of $17.
65429         (PTR_DEMANGLE): Likewise.
65431 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65433         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
65434         (LP_OP): Likewise.
65435         (ASM_ADDR): Likewise.
65436         (RAX_LP): Likewise.
65437         (RBP_LP): Likewise.
65438         (RBX_LP): Likewise.
65439         (RCX_LP): Likewise.
65440         (RDI_LP): Likewise.
65441         (RSI_LP): Likewise.
65442         (RSP_LP): Likewise.
65443         (R8_LP): Likewise.
65444         (R9_LP): Likewise.
65445         (R10_LP): Likewise.
65446         (R10_LP): Likewise.
65447         (R11_LP): Likewise.
65448         (R12_LP): Likewise.
65449         (R13_LP): Likewise.
65450         (R14_LP): Likewise.
65451         (R15_LP): Likewise.
65453 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65455         * sysdeps/x86_64/x32/dl-machine.h: New file.
65457 2012-05-14  Andreas Jaeger  <aj@suse.de>
65459         * manual/Makefile (subdir): Remove export of subdir.
65460         (all): Remove target.
65461         (.PHONY): Remove all from list.
65462         (mkinstalldirs): Remove.
65463         (.PHONY): Remove installdirs from list.
65464         ($(inst_infodir)/libc.info): Use make-target-directory.
65465         (installdirs): Remove.
65466         (subdir_%): Remove.
65467         (glibc-targets): Remove.
65468         (lib): Remove.
65469         (stubs): Remove.
65470         ($(objpfx)stubs ../po/manual.pot): Remove.
65471         ($(objpfx)stamp%): Remove.
65472         (make-target-directory): Remove.
65473         (subdir_install): Remove.
65474         (routines): Remove.
65475         (aux): Remove.
65476         (sources): Remove.
65477         (objects): Remove.
65478         (headers): Remove.
65480         [BZ #13750]
65481         * manual/.gitignore: Remove, it's not needed anymore.
65482         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
65483         all files in it.
65484         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
65485         directory.
65486         (texis): Renamed to $(objpfx)texis.
65487         (texis-path): New, contains path to generated files.
65488         (chapters.%): Use texis-path for complete path, add extra argument
65489         libc-texinfo.sh.
65490         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
65491         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
65492         (summary,texi, stamp-summary): Use complete path of
65493         files. Generate files in build dir.
65494         (dir-add.texi): Build in build dir.
65495         (libm-err.texi,stamp-libm-err): Likewise.
65496         (version.texi, stamp-version): Likewise.
65497         (.%c.texi): Likewise.
65498         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
65499         (mostlyclean): Remove target.
65500         (realclean): Remove target.
65501         (generated): Add new variable with contents from mostlyclean and
65502         realclean, remove entries duplicated in common-mostlyclean, add
65503         stamp-libm-err and stamp-version.
65504         (generated-dirs): Add libc directory.
65505         ($(inst_infodir)/libc.info): Install files from build dir.
65507         * manual/install.texi (Configuring and compiling): Adjust since
65508         the info files are not part of the tar ball anymore.
65510 2012-05-14  Andreas Jaeger  <aj@suse.de>
65512         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
65513         variable.
65515 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
65517         [BZ #13717]
65518         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
65519         to 2.2.0 where earlier.
65520         * sysdeps/unix/sysv/linux/configure: Regenerated.
65521         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
65522         Remove conditional code.
65523         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
65524         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
65525         Remove conditional code.
65526         [!__NR_lchown]: Likewise.
65527         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65528         [__NR_lchown]: Likewise.
65529         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
65530         comment referencing __ASSUME_LCHOWN_SYSCALL.
65531         * sysdeps/unix/sysv/linux/i386/sigaction.c
65532         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65533         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65534         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
65535         Remove conditional code.
65536         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
65537         (__protocol_available): Remove #if 0 code.
65538         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
65539         conditional code.
65540         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
65541         * sysdeps/unix/sysv/linux/kernel-features.h
65542         (__ASSUME_GETCWD_SYSCALL): Don't define.
65543         (__ASSUME_REALTIME_SIGNALS): Likewise.
65544         (__ASSUME_PREAD_SYSCALL): Likewise.
65545         (__ASSUME_PWRITE_SYSCALL): Likewise.
65546         (__ASSUME_POLL_SYSCALL): Likewise.
65547         (__ASSUME_LCHOWN_SYSCALL): Likewise.
65548         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
65549         non-SPARC.
65550         (__ASSUME_SIOCGIFNAME): Don't define.
65551         (__ASSUME_MSG_NOSIGNAL): Likewise.
65552         (__ASSUME_SENDFILE): Define unconditionally.
65553         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
65554         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
65555         conditional code.
65556         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
65557         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
65558         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
65559         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65560         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
65561         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
65562         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
65564         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65565         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
65567         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65568         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
65570         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65571         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
65573         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65574         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
65576         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65577         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
65579         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65580         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
65582         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65583         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
65585         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65586         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65587         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
65588         Remove conditional code.
65589         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65590         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
65591         Remove conditional code.
65592         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65593         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
65594         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
65595         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
65596         Remove conditional code.
65597         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65598         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
65599         Remove conditional code.
65600         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65601         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
65602         Remove conditional code.
65603         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65604         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
65605         Remove conditional code.
65606         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65607         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
65608         Remove conditional code.
65609         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65610         * sysdeps/unix/sysv/linux/sh/pwrite64.c
65611         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65612         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65613         * sysdeps/unix/sysv/linux/sigaction.c
65614         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65615         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65616         * sysdeps/unix/sysv/linux/sigpending.c
65617         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65618         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65619         * sysdeps/unix/sysv/linux/sigprocmask.c
65620         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65621         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65622         * sysdeps/unix/sysv/linux/sigsuspend.c
65623         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65624         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65625         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
65626         (__libc_missing_rt_sigs): Remove.
65627         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
65628         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
65629         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
65630         Remove conditional code.
65631         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
65632         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
65633         return 1.
65634         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
65635         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
65636         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
65637         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
65639 2012-05-14  Andreas Jaeger  <aj@suse.de>
65641         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
65642         it's not used in glibc.
65643         (__coshm1): Likewise.
65644         (__acosh1p): Likewise.
65645         (__sgn): Likewise.
65647         * manual/string.texi (Copying and Concatenation): Add missing
65648         variable in concat example.
65649         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
65651 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65653         [BZ #14103]
65654         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
65655         __builtin_clzl with __builtin_clzll.
65657 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65659         [BZ #14104]
65660         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
65661         libc_freeres_ptr.
65663 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65665         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
65666         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
65667         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
65668         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
65670 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
65672         * NEWS: Update ia64 info.
65674 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
65676         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
65677         used as bcopy.
65679 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
65681         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
65682         * sysdeps/unix/syscalls.list (dup3): Likewise.
65683         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
65684         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
65686 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
65688         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
65689         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
65691 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
65693         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
65694         thread pointer.
65695         (TLS_IE): Use mov/add instead of movq/addq to load thread
65696         pointer.
65697         (TLS_GD_PREFIX): New.
65698         (TLS_GD): Use it.
65700 2012-05-11  David S. Miller  <davem@davemloft.net>
65702         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
65703         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
65704         (_FPU_SETCW): Likewise.
65706 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65708         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
65709         is 32-byte aligned.
65711 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
65713         [BZ #11837]
65714         * iconvdata/gb18030.c: Update tables.
65715         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
65716         characters specially.
65717         (BODY for TO_LOOP): Add encoding of missing ranges.
65719 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
65721         [BZ #13673]
65722         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
65723         * sysdeps/mach/hurd/dup3.c: Likewise.
65724         * sysdeps/mach/hurd/readlinkat.c: Likewise.
65725         * sysdeps/powerpc/memmove.c:: Likewise.
65727 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65729         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
65730         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
65732 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65734         * elf/elf.h (R_X86_64_RELATIVE64): New.
65735         (R_X86_64_NUM): Updated.
65736         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
65737         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
65738         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
65739         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
65740         tst-quad1pie tst-quad2pie
65741         (modules-names): Add tst-quadmod1 tst-quadmod2.
65742         ($(objpfx)tst-quad1): New dependency.
65743         ($(objpfx)tst-quad2): Likewise.
65744         ($(objpfx)tst-quad1pie): Likewise.
65745         ($(objpfx)tst-quad2pie): Likewise.
65746         * sysdeps/x86_64/tst-quad1.c: New file.
65747         * sysdeps/x86_64/tst-quad1pie.c: New file.
65748         * sysdeps/x86_64/tst-quad2.c: Likewise.
65749         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
65750         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
65751         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
65752         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
65753         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
65755 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65757         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
65758         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
65759         * streams/stropts.h (t_scalar_t): Define type.
65761         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
65762         (_PATH_PRESERVE): Set to "/var/lib".
65763         (_PATH_RWHODIR): Set to "/var/spool/rwho".
65765         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
65766         instead of int.
65768         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
65769         if __dir_mkfile succeeded.
65771         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
65772         checking for _hurd_dtablesize.  Unlock it right after having
65773         finished _hurd_dtable allocation.
65775 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65777         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
65778         * sysdeps/mach/hurd/configure: Regenerated.
65779         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
65780         special-casing to...
65781         * sysdeps/gnu/configure.in: ... this new file.
65782         * sysdeps/unix/sysv/linux/configure: Regenerated.
65783         * sysdeps/gnu/configure: New generated file.
65785         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
65786         for Linux: use nsec instead of usec, as well as:
65787         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
65788         members of type struct timespec.
65789         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
65790         New macros.
65791         (struct stat64): Likewise.
65792         (_STATBUF_ST_NSEC): New macro.
65793         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
65795         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
65796         __strtoul_internal rather than strtoul.
65798 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65800         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
65801         and reject them.
65803 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65805         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
65806         which preserves existing values.
65807         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
65809 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65811         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
65812         TIMEOUT values.  Return EINVAL for NFDS values either negative or
65813         greater than FD_SETSIZE.
65815 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65817         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
65818         allocated, call __vm_protect to finish enabling the existing space, and
65819         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
65820         allocate the remainder.
65822 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65824         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
65825         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
65827 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65829         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
65830         sysdeps/mach/hurd/readlink.c.
65832         * posix/tst-sysconf.c (posix_options): Only use
65833         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
65834         _POSIX_SYNCHRONIZED_IO when they are defined
65835         * sysdeps/mach/hurd/bits/posix_opt.h:
65836         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
65837         (_XOPEN_REALTIME): Undefine macro.
65838         (_XOPEN_REALTIME_THREADS): Undefine macro.
65839         (_XOPEN_SHM): Undefine macro.
65840         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
65841         macro to -1.
65842         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
65843         macro to -1.
65844         (_POSIX_ASYNC_IO): Undefine macro.
65845         (_POSIX_PRIORITIZED_IO): Undefine macro.
65846         (_POSIX_SPIN_LOCKS): Define macro to -1.
65848         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
65849         SA_NODEFER, SA_RESETHAND.
65850         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
65851         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
65852         F_DUPFD_CLOEXEC.
65854 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65856         * elf/Makefile (pldd-modules): Define unconditionally.
65858 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65860         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
65862 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65864         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
65865         Return ENOENT when name is empty.
65866         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
65868 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65870         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
65872         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
65874 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65876         Fix mlock in all cases except non-readable pages.
65877         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
65878         instead of VM_PROT_ALL as parameter to __vm_wire function.
65880         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
65881         (__mkdir): When path is `/', just fail with EEXIST.
65882         * sysdeps/mach/hurd/mkdirat.c: Likewise.
65884 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65886         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
65887         <sys/uio.h> (for writev).
65888         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
65889         and <sys/param.h> (for MIN).
65891 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65893         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
65894         REQUESTED_TIME.  Properly set the remaining time and return EINTR
65895         if interrupted.
65897 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65899         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
65900         Depend on against $(link-rpcuserlibs).
65902 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65904         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
65905         (__libc_stack_end): Do not use attribute_relro.
65906         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
65907         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
65908         to libthread-provided value.
65909         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
65910         attribute_relro.
65912 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65914         [BZ #3748]
65915         * bits/libc-lock.h (__libc_once_get): New macro.
65916         * sysdeps/mach/bits/libc-lock.h: Likewise.
65917         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
65918         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
65919         instead of using implementation details.
65921         * libio/fileops.c: Unconditionally include <kernel-features.h>.
65922         * libio/freopen.c: Likewise.
65923         * libio/freopen64.c: Likewise.
65924         * misc/syslog.c: Likewise.
65925         * nscd/connections.c: Likewise.
65926         * nscd/netgroupcache.c: Likewise.
65927         * sysdeps/posix/getcwd.c: Likewise.
65929 2012-05-10  Roland McGrath  <roland@hack.frob.com>
65931         * math/w_ilogbf.c: Add #include <limits.h>.
65933 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65935         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
65936         path instead of returning without unlocking.
65938         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
65939         immediate-write ioctls.
65940         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
65942 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65944         * sysdeps/mach/hurd/i386/init-first.c (init): Use
65945         __builtin_frame_address instead of making assumptions about the
65946         location of the return address relative to DATA.  Force early load of
65947         the return address.
65948         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
65949         __builtin_frame_address.
65951         dup3 for GNU Hurd.
65952         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
65953         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
65954         implement dup3 and do some further code clean-ups.
65955         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
65956         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
65958 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65960         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
65962         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
65963         HURD_CRITICAL_END around holding _hurd_dtable_lock.
65964         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
65965         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
65966         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
65967         d->port.lock.
65969         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
65970         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
65971         when handler == SIG_ERR, not when handler != SIG_ERR.
65973 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65975         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
65976         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
65977         definitions.
65979         accept4 for GNU Hurd.
65980         * include/sys/socket.h (__libc_accept4): New prototype.
65981         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
65982         to implement __libc_accept4.
65983         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
65984         __libc_accept4.
65985         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
65987         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
65988         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
65989         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
65990         signal-defines.sym.
65992 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65994         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
65996 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65998         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
65999         assertion on O_CLOEXEC flag.
66000         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
66001         * hurd/intern-fd.c: Likewise.
66002         * hurd/port2fd.c: Likewise.
66004 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66006         [BZ #3906]
66007         * bits/in.h (IPV6_PKTINFO): Define new macro.
66008         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
66010 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66012         [BZ #13954]
66013         [BZ #13955]
66014         [BZ #13956]
66015         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
66016         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
66017         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
66018         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
66019         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66020         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
66021         * math/libm-test.inc (logb_test) : Additional logb tests.
66023 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
66024             Andreas Jaeger  <aj@suse.de>
66026         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
66027         * configure: Regenerated.
66028         * config.h.in (LINK_OBSOLETE_RPC): New macro.
66029         * config.make.in (link-obsolete-rpc): New substituted variable.
66030         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
66031         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
66032         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66033         (shared-only-routines): Don't set it under [link-obsolete-rpc],
66034         so that libc.a contains the symbols.
66035         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66036         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
66037         * sunrpc/auth_none.c: Likewise.
66038         * sunrpc/auth_unix.c: Likewise.
66039         * sunrpc/authdes_prot.c: Likewise.
66040         * sunrpc/authuxprot.c: Likewise.
66041         * sunrpc/clnt_gen.c: Likewise.
66042         * sunrpc/clnt_perr.c: Likewise.
66043         * sunrpc/clnt_raw.c: Likewise.
66044         * sunrpc/clnt_simp.c: Likewise.
66045         * sunrpc/clnt_tcp.c: Likewise.
66046         * sunrpc/clnt_udp.c: Likewise.
66047         * sunrpc/clnt_unix.c: Likewise.
66048         * sunrpc/des_crypt.c: Likewise.
66049         * sunrpc/des_soft.c: Likewise.
66050         * sunrpc/get_myaddr.c: Likewise.
66051         * sunrpc/key_call.c: Likewise.
66052         * sunrpc/key_prot.c: Likewise.
66053         * sunrpc/netname.c: Likewise.
66054         * sunrpc/pm_getmaps.c: Likewise.
66055         * sunrpc/pm_getport.c: Likewise.
66056         * sunrpc/pmap_clnt.c: Likewise.
66057         * sunrpc/pmap_prot.c: Likewise.
66058         * sunrpc/pmap_prot2.c: Likewise.
66059         * sunrpc/pmap_rmt.c: Likewise.
66060         * sunrpc/publickey.c: Likewise.
66061         * sunrpc/rpc_cmsg.c: Likewise.
66062         * sunrpc/rpc_common.c: Likewise.
66063         * sunrpc/rpc_dtable.c: Likewise.
66064         * sunrpc/rpc_prot.c: Likewise.
66065         * sunrpc/rpc_thread.c: Likewise.
66066         * sunrpc/rtime.c: Likewise.
66067         * sunrpc/svc.c: Likewise.
66068         * sunrpc/svc_auth.c: Likewise.
66069         * sunrpc/svc_raw.c: Likewise.
66070         * sunrpc/svc_run.c: Likewise.
66071         * sunrpc/svc_tcp.c: Likewise.
66072         * sunrpc/svc_udp.c: Likewise.
66073         * sunrpc/svc_unix.c: Likewise.
66074         * sunrpc/svcauth_des.c: Likewise.
66075         * sunrpc/xcrypt.c: Likewise.
66076         * sunrpc/xdr.c: Likewise.
66077         * sunrpc/xdr_array.c: Likewise.
66078         * sunrpc/xdr_float.c: Likewise.
66079         * sunrpc/xdr_intXX_t.c: Likewise.
66080         * sunrpc/xdr_mem.c: Likewise.
66081         * sunrpc/xdr_rec.c: Likewise.
66082         * sunrpc/xdr_ref.c: Likewise.
66083         * sunrpc/xdr_sizeof.c: Likewise.
66084         * sunrpc/xdr_stdio.c: Likewise.
66086 2012-05-10  Roland McGrath  <roland@hack.frob.com>
66088         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
66089         change.  Update copyright years.
66091 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
66093         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
66095 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
66096             Joseph Myers  <joseph@codesourcery.com>
66097             Paul Pluzhnikov  <ppluzhnikov@google.com>
66099         [BZ #14012]
66100         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
66101         requiring rpcgen.
66102         [cross-compiling] (extra-libs): Likewise.
66103         [cross-compiling] (extra-libs-others): Likewise.
66104         [cross-compiling] (librpcsvc-routines): Likewise.
66105         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
66106         [cross-compiling] (omit-deps): Likewise.
66107         (sunrpc-CPPFLAGS): New variable.
66108         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
66109         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
66110         (cross-rpcgen-objs): New variable.
66111         (extra-objs): Append $(cross-rpcgen-objs).
66112         ($(cross-rpcgen-objs)): New rule.
66113         ($(objpfx)cross-rpcgen): Likewise.
66114         (rpcgen-cmd): Define to use $(built-program-file).  Expand
66115         comment.
66116         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
66117         ($(objpfx)x%.stmp): Likewise.
66118         * sunrpc/proto.h [IS_IN_build] (_): Define.
66119         [IS_IN_build] (_libc_intl_domainname): Likewise.
66121 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66123         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
66124         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
66125         and R_X86_64_TPOFF64.
66127 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
66129         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
66130         sysdeps/unix/sysv/syscalls.list.
66131         (stime): Likewise.
66132         (utime): Likewise.
66133         * sysdeps/unix/sysv/syscalls.list: Remove file.
66135 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
66137         [BZ #3440]
66138         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
66139         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
66140         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
66141         (__LC_IDENTIFICATION): Make these macros useful in #if
66142         expressions, as required by C99.
66144 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
66146         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
66147         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
66148         after this.
66150 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
66152         * stdlib/longlong.h: Updated from GCC.
66154 2012-05-09  Andreas Jaeger  <aj@suse.de>
66156         * nscd/nscd.c (run_modes): Make named enum, reorder so that
66157         default is first entry.
66158         (run_mode): Set type.
66159         (main): Remove informal message about syslog.
66160         (options): Fix typo.
66162         [BZ #14053]
66163         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
66164         to asm.
66165         (lrint): Likewise.
66166         (llrintf): Likewise.
66167         (llrint): Likewise.
66168         (rint): Likewise.
66169         (rintf): Likewise.
66170         (nearbyint): Likewise.
66171         (nearbyintf): Likewise.
66173 2012-05-09  Andreas Jaeger  <aj@suse.de>
66174             Pedro Alves  <palves@redhat.com>
66176         * nscd/nscd.c (run_mode): Use enum.
66177         (main): Cleanup coding style issue.
66179 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
66180             Andreas Jaeger  <aj@suse.de>
66182         * nscd/nscd.c (go_background): Replaced with...
66183         (run_mode): ... this.
66184         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
66185         (options): Add -F --foreground.
66186         (main): Implement it.
66187         (parse_opt): Parse it.
66189 2012-05-09  Andreas Jaeger  <aj@suse.de>
66191         [BZ #14083]
66192         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
66193         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
66194         -Wconversion warning.
66195         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
66196         Likewise.
66198 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
66200         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
66201         == 0.
66202         (LC_ALL): Use macro-int-constant.
66203         (LC_COLLATE): Likewise.
66204         (LC_CTYPE): Likewise.
66205         (LC_MESSAGES): Likewise.
66206         (LC_MONETARY): Likewise.
66207         (LC_NUMERIC): Likewise.
66208         (LC_TIME): Likewise.
66209         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
66210         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66211         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66212         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
66213         Specify type.
66214         [C99-based standards] (float_t): Expect type.
66215         [C99-based standards] (double_t): Expect type.
66216         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
66217         type.
66218         [C99-based standards] (HUGE_VALL): Likewise.
66219         [C99-based standards] (INFINITY): Likewise.
66220         [C99-based standards] (NAN): Likewise.
66221         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
66222         [C99-based standards] (FP_NAN): Likewise.
66223         [C99-based standards] (FP_NORMAL): Likewise.
66224         [C99-based standards] (FP_SUBNORMAL): Likewise.
66225         [C99-based standards] (FP_ZERO): Likewise.
66226         [C99-based standards] (FP_FAST_FMA): Use
66227         optional-macro-int-constant.  Specify type.  Require == 1.
66228         [C99-based standards] (FP_FAST_FMAF): Likewise.
66229         [C99-based standards] (FP_FAST_FMAL): Likewise.
66230         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
66231         [C99-based standards] (FP_ILOGBNAN): Likewise.
66232         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
66233         Specify type.
66234         [C99-based standards] (MATH_ERREXCEPT): Likewise.
66235         [C99-based standards] (math_errhandling): Specify type.
66236         [ISO99 || ISO11] (signgam): Do not allow.
66237         [non-C99-based standards] (copysignf): Do not allow.
66238         [non-C99-based standards] (exp2f): Likewise.
66239         [non-C99-based standards] (log2f): Likewise.
66240         [non-C99-based standards] (modff): Allow.
66241         [non-C99-based standards] (erff): Do not allow.
66242         [non-C99-based standards] (erfcf): Likewise.
66243         [non-C99-based standards] (gammaf): Likewise.
66244         [non-C99-based standards] (hypotf): Likewise.
66245         [non-C99-based standards] (j0f): Likewise.
66246         [non-C99-based standards] (j1f): Likewise.
66247         [non-C99-based standards] (jnf): Likewise.
66248         [non-C99-based standards] (lgammaf): Likewise.
66249         [non-C99-based standards] (tgammaf): Likewise.
66250         [non-C99-based standards] (y0f): Likewise.
66251         [non-C99-based standards] (y1f): Likewise.
66252         [non-C99-based standards] (ynf): Likewise.
66253         [non-C99-based standards] (isnanf): Likewise.
66254         [non-C99-based standards] (acoshf): Likewise.
66255         [non-C99-based standards] (asinhf): Likewise.
66256         [non-C99-based standards] (atanhf): Likewise.
66257         [non-C99-based standards] (cbrtf): Likewise.
66258         [non-C99-based standards] (expm1f): Likewise.
66259         [non-C99-based standards] (ilogbf): Likewise.
66260         [non-C99-based standards] (log1pf): Likewise.
66261         [non-C99-based standards] (logbf): Likewise.
66262         [non-C99-based standards] (nextafterf): Likewise.
66263         [non-C99-based standards] (remainderf): Likewise.
66264         [non-C99-based standards] (rintf): Likewise.
66265         [non-C99-based standards] (scalbf): Likewise.
66266         [non-C99-based standards] (copysignl): Likewise.
66267         [non-C99-based standards] (exp2l): Likewise.
66268         [non-C99-based standards] (log2l): Likewise.
66269         [non-C99-based standards] (modfl): Allow.
66270         [non-C99-based standards] (erfl): Do not allow.
66271         [non-C99-based standards] (erfcl): Likewise.
66272         [non-C99-based standards] (gammal): Likewise.
66273         [non-C99-based standards] (hypotl): Likewise.
66274         [non-C99-based standards] (j0l): Likewise.
66275         [non-C99-based standards] (j1l): Likewise.
66276         [non-C99-based standards] (jnl): Likewise.
66277         [non-C99-based standards] (lgammal): Likewise.
66278         [non-C99-based standards] (tgammal): Likewise.
66279         [non-C99-based standards] (y0l): Likewise.
66280         [non-C99-based standards] (y1l): Likewise.
66281         [non-C99-based standards] (ynl): Likewise.
66282         [non-C99-based standards] (isnanl): Likewise.
66283         [non-C99-based standards] (acoshl): Likewise.
66284         [non-C99-based standards] (asinhl): Likewise.
66285         [non-C99-based standards] (atanhl): Likewise.
66286         [non-C99-based standards] (cbrtl): Likewise.
66287         [non-C99-based standards] (expm1l): Likewise.
66288         [non-C99-based standards] (ilogbl): Likewise.
66289         [non-C99-based standards] (log1pl): Likewise.
66290         [non-C99-based standards] (logbl): Likewise.
66291         [non-C99-based standards] (nextafterl): Likewise.
66292         [non-C99-based standards] (remainderl): Likewise.
66293         [non-C99-based standards] (rintl): Likewise.
66294         [non-C99-based standards] (scalbl): Likewise.
66295         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66296         [non-C99-based standards] (FP_*): Do not allow.
66297         [C99-based standards] (FP_*): Change to
66298         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66299         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66300         allow.
66301         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
66302         (SIG_ERR): Likewise.
66303         [X/Open-based standards] (SIG_HOLD): Likewise.
66304         (SIG_IGN): Likewise.
66305         (SIGABRT): Use macro-int-constant.  Specify type.  Require
66306         positive value.
66307         (SIGFPE): Likewise.
66308         (SIGILL): Likewise.
66309         (SIGINT): Likewise.
66310         (SIGSEGV): Likewise.
66311         (SIGTER): Likewise.
66312         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
66313         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
66314         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
66315         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
66316         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
66317         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
66318         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
66319         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
66320         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
66321         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
66322         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
66323         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
66324         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
66325         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
66326         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
66327         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
66328         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
66329         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
66330         [X/Open-based standards] (SIGTRAP): Likewise.
66331         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
66332         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
66333         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
66334         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
66335         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66336         allow.
66338 2012-05-08  Ian Wienand  <ianw@vmware.com>
66340         [BZ #14080]
66341         * time/tzset.c (__tzset_parse_tz): Update default rules for
66342         daylight time changes in the Energy Policy Act of 2005.
66344 2012-05-09  Andreas Jaeger  <aj@suse.de>
66346         [BZ #13983]
66347         * elf/ldconfig.c (parse_conf): Change string to make clear that
66348         ldconfig only issued a warning if ld.so.conf does not exist.
66350 2012-05-08  David S. Miller  <davem@davemloft.net>
66352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
66353         movxtod instead of popping the value on the stack.
66355         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66357 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
66359         * config.h.in: Add HAVE_ARM_PCS_VFP.
66361 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
66363         [BZ #13979]
66364         * include/features.h: Warn if user requests __FORTIFY_SOURCE
66365         checking but the checks are disabled for any reason.
66367 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
66369         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
66370         and ELF64_R_TYPE with ELFW(R_TYPE).
66372 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
66374         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
66375         (ulimit): Likewise.
66377         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
66378         (settimeofday): Likewise.
66380 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
66382         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
66383         a struct th_u2 inside the union, and move tu_block/tu_code into
66384         a new th_u3 union of tu_block/tu_code inside of that.  Move
66385         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
66386         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
66387         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
66388         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
66389         (th_stuff): Change to th_u1.tu_stuff.
66390         (th_data): Define.
66391         (th_msg): Change to th_u1.th_u2.tu_data.
66393 2012-05-07  David S. Miller  <davem@davemloft.net>
66395         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66397         [BZ #14074]
66398         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
66399         (SETUP_PIC_REG): Use it.
66400         (SETUP_PIC_REG_LEAF): Use it.
66402 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
66404         [BZ #13885]
66405         [BZ #13923]
66406         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66407         USE_AS_EXPM1L.
66408         (EXPL_FINITE): Likewise.
66409         (FLDLOG): Likewise.
66410         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66411         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
66412         e_expl.S.
66413         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66414         USE_AS_EXPM1L.
66415         (EXPL_FINITE): Likewise.
66416         (FLDLOG): Likewise.
66417         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66418         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
66419         e_expl.S.
66420         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
66421         test of -max_value argument for long double.
66422         * sysdeps/i386/fpu/libm-test-ulps: Update.
66423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66425 2012-05-06  David S. Miller  <davem@davemloft.net>
66427         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
66428         quad soft-float symbols whose references which are compiler
66429         generated.
66430         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
66432 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
66434         [BZ #13884]
66435         [BZ #13914]
66436         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66437         USE_AS_EXP10L.
66438         (EXPL_FINITE): Likewise.
66439         (FLDLOG): Likewise.
66440         (c0): Likewise.
66441         (c1): Likewise.
66442         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
66443         Adjust comments for base varying.
66444         (__expl_finite): Change alias to EXPL_FINITE.
66445         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
66446         e_expl.S.
66447         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
66448         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
66449         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
66450         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
66451         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66452         USE_AS_EXP10L.
66453         (EXPL_FINITE): Likewise.
66454         (FLDLOG): Likewise.
66455         (c0): Likewise.
66456         (c1): Likewise.
66457         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
66458         Adjust comments for base varying.
66459         (__expl_finite): Change alias to EXPL_FINITE.
66460         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
66461         tests for bugs.
66462         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66464         [BZ #14064]
66465         * math/libm-test.inc (check_float_internal): Correct ulp
66466         calculation for subnormal expected results.
66468 2012-05-06  Andreas Jaeger  <aj@suse.de>
66470         * Makeconfig (+math-flags): New, set to -frounding-math.
66471         (+cflags): Add +math-flags so that all of glibc gets compiled with
66472         it.
66474         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
66476 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
66478         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
66479         Disable one test.
66481         [BZ #13787]
66482         [BZ #13922]
66483         [BZ #14036]
66484         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
66485         (__ieee754_expl): Allow for and saturate large arguments.
66486         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
66487         (u_threshold): Likewise.
66488         (__exp): Call __ieee754_exp before checking for overflow and
66489         underflow.
66490         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
66491         (u_threshold): Likewise.
66492         (__expf): Call __ieee754_expf before checking for overflow and
66493         underflow.
66494         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
66495         (u_threshold): Likewise.
66496         (__expl): Call __ieee754_expl before checking for overflow and
66497         underflow.
66498         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
66499         (__ieee754_expl): Allow for and saturate large arguments.
66500         * math/libm-test.inc (exp_test): Add another test.  Do not allow
66501         missing overflow exception on overflow.
66502         (expm1_test): Do not allow missing overflow exception on overflow.
66504         * sysdeps/i386/fpu/e_expl.c: Move to ...
66505         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
66506         rather than using inline asm.
66507         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
66508         * sysdeps/x86_64/fpu/e_expl.S: Copy from
66509         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
66511         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
66512         (nice): Likewise.
66513         (poll): Likewise.
66514         (signal): Likewise.
66515         (time): Likewise.
66516         (times): Likewise.
66518 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66520         * sysdeps/unix/syscalls.list (adjtime): Add entry from
66521         sysdeps/unix/common/syscalls.list.
66522         (fchmod): Likewise.
66523         (fchown): Likewise.
66524         (ftruncate): Likewise.
66525         (getrusage): Likewise.
66526         (gettimeofday): Likewise.
66527         (setpgid): Likewise.
66528         (setregid): Likewise.
66529         (setreuid): Likewise.
66530         (sigaction): Likewise.
66531         (truncate): Likewise.
66532         (vhangup): Likewise.
66533         * sysdeps/unix/common/syscalls.list: Remove file.
66534         * sysdeps/unix/bsd/Implies: Don't include unix/common.
66535         * sysdeps/unix/sysv/linux/Implies: Likewise.
66537 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
66539         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
66540         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
66541         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
66542         Moved to ...
66543         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
66544         Here.
66545         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
66546         to ...
66547         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
66548         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
66549         to ...
66550         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
66551         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
66552         to ...
66553         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
66554         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
66555         to ...
66556         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
66557         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
66558         to ...
66559         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
66560         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
66561         to ...
66562         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
66563         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
66564         to ...
66565         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
66566         Here.
66567         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
66568         to ...
66569         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
66570         Here.
66571         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
66572         to ...
66573         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
66574         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
66575         Moved to ...
66576         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
66577         Here.
66578         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
66579         to ...
66580         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
66582 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66584         * sysdeps/unix/common/bits/dirent.h: Remove file.
66585         * sysdeps/unix/common/bits/fcntl.h: Likewise.
66587         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
66588         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
66589         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
66590         * sysdeps/unix/bsd/isatty.c: Likewise.
66591         * sysdeps/unix/bsd/tcdrain.c: Likewise.
66592         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
66593         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
66595 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66597         [BZ #13563]
66598         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
66599         long double comparison inaccuracies.
66600         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
66601         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66603 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
66605         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
66606         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
66608 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66610         [BZ #14049]
66611         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
66612         nonzero digits before rounding a hex value.
66613         * stdlib/tst-strtod.c (tests): Add another test.
66615 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66617         * sysdeps/s390/fpu/libm-test-ulps: Update.
66619 2012-05-03  Andreas Jaeger  <aj@suse.de>
66621         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
66622         does not get optimized out.
66623         (malloc_opt_barrier): New.
66625 2012-05-03  Andreas Jaeger  <aj@suse.de>
66626             Roland McGrath  <roland@hack.frob.com>
66628         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
66629         intermediate file deletion.
66630         (generated): Add .symlist files.
66632 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
66634         [BZ #13775]
66635         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
66636         Redirect under this condition.
66637         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
66638         [__USE_GNU] (__dprintf_chk): Not under this condition.
66639         [__USE_GNU] (__vdprintf_chk): Likewise.
66640         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
66641         under this condition.
66642         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
66643         [__USE_XOPEN2K8] (dprintf): Define under this condition.
66644         [__USE_XOPEN2K8] (vdprintf): Likewise.
66645         [__USE_GNU] (__dprintf_chk): Not under this condition.
66646         [__USE_GNU] (__vdprintf_chk): Likewise.
66647         [__USE_GNU] (dprintf): Likewise.
66648         [__USE_GNU] (vdprintf): Likewise.
66650 2012-05-03  Roland McGrath  <roland@hack.frob.com>
66652         * elf/Makefile (common-generated): Set this instead of generated for
66653         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
66654         $(all-built-dso)-derived lists.
66656 2012-05-03  Andreas Jaeger  <aj@suse.de>
66658         * sysdeps/i386/fpu/libm-test-ulps: Update.
66660         * FAQ: Removed.
66661         * FAQ.in: Likewise.
66662         * scripts/gen-FAQ.pl: Likewise.
66663         * manual/install.texi (Installation): Point to online location of
66664         FAQ.
66665         * Makefile (files-for-dist): Remove FAQ.
66666         (FAQ): Remove.
66668 2012-05-02  Allan McRae  <allan@archlinux.org>
66670         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
66671         (LDFLAGS-reldepmod5.so): Likewise.
66672         (LDFLAGS-reldep6mod1.so): Likewise.
66673         (LDFLAGS-reldep6mod4.so): Likewise.
66674         (LDFLAGS-reldep8mod3.so): Likewise.
66675         (LDFLAGS-unload4mod1.so): Likewise.
66676         (LDFLAGS-unload4mod2.so): Likewise.
66677         (LDFLAGS-tst-initorder): Likewise.
66678         (LDFLAGS-tst-initordera2.so): Likewise.
66679         (LDFLAGS-tst-initordera3.so): Likewise.
66680         (LDFLAGS-tst-initordera4.so): Likewise.
66681         (LDFLAGS-tst-initorderb2.so): Likewise.
66682         (LDFLAGS-noload): Likewise.
66683         (LDFLAGS-next): Likewise.
66684         (LDFLAGS-order2mod1.so): Likewise.
66685         (LDFLAGS-order2mod2.so): Likewise.
66686         (LDFLAGS-tst-initorder2): Likewise.
66687         (LDFLAGS-tst-initorder2a.so): Likewise.
66688         (LDFLAGS-tst-initorder2b.so): Likewise.
66689         (LDFLAGS-tst-initorder2c.so): Likewise.
66690         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
66692 2012-05-02  David S. Miller  <davem@davemloft.net>
66694         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66696 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
66698         [BZ #14055]
66699         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
66701 2012-05-02  Andreas Jaeger  <aj@suse.de>
66703         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
66704         since we manipulate rounding mode.
66705         (CPPFLAGS-test-idouble.c): Likewise.
66706         (CPPFLAGS-test-ifloat.c): Likewise.
66707         (CFLAGS-test-ldouble.c): Likewise.
66708         (CFLAGS-test-double.c): Likewise.
66709         (CFLAGS-test-float.c): Likewise.
66710         (CFLAGS-test-misc.c): Likewise.
66711         (CFLAGS-test-test-fenv.c): Likewise.
66713 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66715         [BZ #2550]
66716         [BZ #2570]
66717         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
66718         comparisons to determine direction to adjust input.
66720 2012-05-01  Roland McGrath  <roland@hack.frob.com>
66722         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
66723         output to the target.
66725         * scripts/localplt.awk: New file.
66726         * elf/Makefile ($(objpfx)check-localplt): Target removed.
66727         (check-localplt-CFLAGS): Variable removed.
66728         ($(all-built-dso:=.jmprel)): New static pattern rule.
66729         (generated): Add those targets.
66730         (localplt-built-dso): New variable.
66731         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
66733         * elf/check-localplt.c: File removed.
66735         * scripts/check-execstack.awk: New file.
66736         * elf/Makefile ($(objpfx)check-execstack): Target removed.
66737         (check-execstack-CFLAGS): Variable removed.
66738         ($(objpfx)check-execstack.h): Target removed.
66739         ($(objpfx)execstack-default): New target.
66740         (generated): Add that instead of check-execstack.h.
66741         ($(all-built-dso:=.phdr)): New static pattern rule.
66742         (generated): Add those targets.
66743         * elf/check-execstack.c: File removed.
66745         * scripts/check-textrel.awk: New file.
66746         * elf/Makefile ($(objpfx)check-textrel): Target removed.
66747         (check-textrel-CFLAGS): Variable removed.
66748         (all-built-dso): Use := to define.o
66749         ($(all-built-dso:=.dyn)): New static pattern rule.
66750         (generated): Add those targets.
66751         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
66752         * config.make.in (READELF): New substituted variable.
66753         * elf/check-textrel.c: File removed.
66755 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
66757         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66758         allow.
66759         * conform/data/ctype.h-data [C99-based standards] (isblank):
66760         Expect function.
66761         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
66762         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
66763         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66764         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
66765         Specify type.  Require positive value.
66766         (EILSEQ): Likewise.
66767         (ERANGE): Likewise.
66768         [ISO || POSIX] (EILSEQ): Do not expect.
66769         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
66770         Specify type.  Require positive value.
66771         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
66772         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
66773         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
66774         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
66775         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
66776         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
66777         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
66778         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
66779         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
66780         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
66781         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
66782         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
66783         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
66784         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
66785         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
66786         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
66787         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
66788         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
66789         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
66790         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
66791         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
66792         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
66793         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
66794         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
66795         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
66796         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
66797         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
66798         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
66799         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
66800         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
66801         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
66802         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
66803         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
66804         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
66805         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
66806         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
66807         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
66808         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
66809         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
66810         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
66811         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
66812         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
66813         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
66814         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
66815         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
66816         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
66817         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
66818         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
66819         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
66820         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
66821         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
66822         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
66823         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
66824         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
66825         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
66826         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
66827         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
66828         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
66829         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
66830         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
66831         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
66832         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
66833         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
66834         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
66835         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
66836         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
66837         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
66838         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
66839         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
66840         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
66841         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
66842         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
66843         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
66844         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
66845         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
66846         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
66847         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
66848         Require >= 2.
66849         (FLT_ROUNDS): Expect as macro, not constant.
66850         (FLT_MANT_DIG): Use macro-int-constant.
66851         (DBL_MANT_DIG): Likewise.
66852         (LDBL_MANT_DIG): Likewise.
66853         (FLT_DIG): Likewise.
66854         (DBL_DIG): Likewise.
66855         (LDBL_DIG): Likewise.
66856         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
66857         (DBL_MIN_EXP): Likewise.
66858         (LDBL_MIN_EXP): Likewise.
66859         (FLT_MAX_EXP): Use macro-int-constant.
66860         (DBL_MAX_EXP): Likewise.
66861         (LDBL_MAX_EXP): Likewise.
66862         (FLT_MAX_10_EXP): Likewise.
66863         (DBL_MAX_10_EXP): Likewise.
66864         (LDBL_MAX_10_EXP): Likewise.
66865         (FLT_MAX): Use macro-constant.
66866         (DBL_MAX): Likewise.
66867         (LDBL_MAX): Likewise.
66868         (FLT_EPSILON): Use macro-constant.  Give upper bound.
66869         (DBL_EPSILON): Likewise.
66870         (LDBL_EPSILON): Likewise.
66871         (FLT_MIN): Likewise.
66872         (DBL_MIN): Likewise.
66873         (LDBL_MIN): Likewise.
66874         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
66875         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
66876         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
66877         [ISO11] (FLT_HAS_SUBNORM): Likewise.
66878         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
66879         [ISO11] (DBL_DECIMAL_DIG): Likewise.
66880         [ISO11] (FLT_DECIMAL_DIG): Likewise.
66881         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
66882         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
66883         [ISO11] (FLT_TRUE_MIN): Likewise.
66884         [ISO11] (LDBL_TRUE_MIN): Likewise.
66885         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66886         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
66887         (SCHAR_MIN): Use macro-int-constant.  Specify type.
66888         (SCHAR_MAX): Likewise.
66889         (UCHAR_MAX): Likewise.
66890         (CHAR_MIN): Likewise.
66891         (CHAR_MAX): Likewise.
66892         (MB_LEN_MAX): Use macro-int-constant.
66893         (SHRT_MIN): Use macro-int-constant.  Specify type.
66894         (SHRT_MAX): Likewise.
66895         (USHRT_MAX): Likewise.
66896         (INT_MAX): Likewise.
66897         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
66898         bound negative.
66899         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
66900         bound with "U".
66901         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
66902         bound with "L".
66903         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
66904         bound negative.  Suffix upper bound with "L".
66905         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
66906         bound with "UL".
66907         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
66908         Specify type.
66909         [C99-based standards] (LLONG_MAX): Likewise.
66910         [C99-based standards] (ULLONG_MAX): Likewise.
66911         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
66912         == 0.
66913         [ISO11] (max_align_t): Require type.
66914         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66916         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
66917         from $CFLAGS, without defining away __attribute__ calls.
66918         (checknamespace): Use $CFLAGS_namespace.
66920         * conform/conformtest.pl (@keywords): Only include C99 keywords
66921         for standards based on C99 or C11.
66923         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
66924         Disable tests.
66925         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
66926         UNIX98]: Likewise.
66928         * conform/conformtest.pl: Handle "macro-int-constant" and test for
66929         usability of symbols in #if.
66931         * conform/conformtest.pl: If macro or constant types start
66932         "promoted:", expect the symbol to be of the following type
66933         promoted by the integer promotions.
66935         * conform/conformtest.pl: Parse all "constant" and "macro" lines
66936         in one place.  Also handle "macro-constant".
66938         * conform/conformtest.pl: Only accept expected macro values with
66939         "==".  Parse all "macro" lines in one place.
66940         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
66942         * conform/conformtest.pl: Handle braced types on "constant" lines
66943         instead of handling "typed-constant".
66944         * conform/data/signal.h-data: Use "constant" instead of
66945         "typed-constant".
66947         * conform/conformtest.pl: Handle "optional-" at start of lines in
66948         one place rather than duplicating several cases.  Handle each
66949         format of "macro" line with initial "optional-".
66951         * conform/conformtest.pl: Only accept expected constant or
66952         optional-constant values with "==".  Parse all "constant" lines in
66953         one place.  Parse all "optional-constant" lines in one place.
66954         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
66955         * conform/data/fmtmsg.h-data: Likewise.
66956         * conform/data/netinet/in.h-data: Likewise.
66957         * conform/data/tar.h-data: Likewise.
66958         * conform/data/limits.h-data: Use "==" form on "constant" and
66959         "optional-constant" lines.
66961         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
66962         Use -std=c99 for XOPEN2K.
66963         (@knownproblems): Remove.
66964         (newtoken): Don't check %isknown.
66966         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
66967         Do not expect macro.
66968         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
66969         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
66970         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
66971         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
66972         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
66973         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
66974         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
66975         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
66976         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
66977         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
66978         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
66979         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
66980         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
66981         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
66982         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
66983         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
66984         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
66985         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
66986         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
66987         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
66988         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
66989         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
66990         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
66991         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
66992         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
66993         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
66994         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
66995         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
66996         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
66997         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
66998         [XPG3] (acosh): Likewise.
66999         [XPG3] (asinh): Likewise.
67000         [XPG3] (atanh): Likewise.
67001         [XPG3] (cbrt): Likewise.
67002         [XPG3] (expm1): Likewise.
67003         [XPG3] (ilogb): Likewise.
67004         [XPG3] (log1p): Likewise.
67005         [XPG3] (logb): Likewise.
67006         [XPG3] (nextafter): Likewise.
67007         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
67008         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
67009         [XPG3] (remainder): Likewise.
67010         [XPG3] (rint): Likewise.
67011         [XPG3 || XPG4 || UNIX98] (round): Likewise.
67012         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
67013         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
67014         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
67015         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
67016         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
67017         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
67018         [UNIX98 || XOPEN2K] (scalb): Expect.
67019         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
67020         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
67021         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
67022         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
67023         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
67024         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
67025         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
67026         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
67027         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
67028         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
67029         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
67030         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
67031         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
67032         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
67033         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
67034         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
67035         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
67036         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
67037         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
67038         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
67039         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
67040         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
67041         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
67042         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
67043         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
67044         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
67045         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
67046         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
67047         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
67048         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
67049         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
67050         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
67051         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
67052         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
67053         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
67054         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
67055         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
67056         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
67057         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
67058         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
67059         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
67060         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
67061         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
67062         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
67063         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
67064         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
67065         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
67066         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
67067         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
67068         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
67069         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
67070         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
67071         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
67072         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
67073         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
67074         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
67075         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
67076         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
67077         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
67078         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
67079         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
67080         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
67081         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
67082         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
67083         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
67084         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
67085         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
67086         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
67087         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
67088         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
67089         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
67090         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
67091         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
67092         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
67093         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
67094         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
67095         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
67096         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
67097         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
67098         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
67099         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
67100         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
67101         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
67102         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
67103         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
67104         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
67105         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
67106         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
67107         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
67108         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
67109         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
67110         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
67111         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
67112         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
67113         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
67114         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
67115         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
67116         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
67117         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
67118         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
67119         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
67120         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
67121         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
67122         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
67123         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
67124         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
67125         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
67126         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
67127         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
67128         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
67129         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
67130         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
67131         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
67132         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
67133         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
67134         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
67135         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
67136         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
67137         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
67138         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
67139         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
67140         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
67141         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
67142         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
67143         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
67144         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
67145         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
67146         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
67147         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
67148         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
67149         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
67150         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
67151         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
67152         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
67153         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
67154         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
67155         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
67157         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
67158         _XOPEN_SOURCE_EXTENDED for XPG4.
67160         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
67162         * Makeconfig (localtime): Remove variable.
67163         (inst_localtime-file): Likewise.
67165 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
67168         Update.
67169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67170         Update.
67171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
67172         Update.
67173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
67174         Update.
67175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
67176         Update.
67177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
67178         Update.
67179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67180         Update.
67181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
67182         Update.
67183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67184         Update.
67186 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67188         [BZ #2550]
67189         [BZ #2570]
67190         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
67191         comparisons to determine direction to adjust input.
67192         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
67193         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
67194         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
67195         Likewise.
67196         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
67197         Likewise.
67198         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
67199         Likewise.
67200         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
67201         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
67202         Likewise.
67203         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
67204         Likewise.
67205         * math/libm-test.inc (nexttoward_test): Add more tests.
67207 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67209         [BZ #14040]
67210         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
67211         in version GLIBC_2.1, not GLIBC_2.0.
67212         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
67213         Likewise.
67215 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
67217         [BZ #13942]
67218         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
67219         (1 - x) * (1 + x).
67220         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67221         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
67222         * math/libm-test.inc (acos_test): Add more tests.
67223         (asin_test): Likewise.
67224         * sysdeps/i386/fpu/libm-test-ulps: Update.
67225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67227         [BZ #14034]
67228         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
67229         of square root.
67230         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
67231         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67232         * math/libm-test.inc (acos_test_tonearest): New function.
67233         (acos_test_towardzero): Likewise.
67234         (acos_test_downward): Likewise.
67235         (acos_test_upward): Likewise.
67236         (asin_test_tonearest): Likewise.
67237         (asin_test_towardzero): Likewise.
67238         (asin_test_downward): Likewise.
67239         (asin_test_upward): Likewise.
67240         (main): Call the new functions.
67241         * sysdeps/i386/fpu/libm-test-ulps: Update.
67242         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67244         [BZ #13884]
67245         [BZ #13924]
67246         * math/e_exp10.c: Include <float.h>.
67247         (__ieee754_exp10): Handle underflow here rather than multiplying
67248         large negative argument by M_LN10.
67249         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
67250         of __ieee754_expf.
67251         * math/e_exp10l.c: Include <float.h>.
67252         (__ieee754_exp10l): Handle underflow here rather than multiplying
67253         large negative argument by M_LN10l.
67254         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
67255         spurious overflow exception on underflow.
67257 2012-04-29  Marek Polacek  <polacek@redhat.com>
67259         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
67260         (__fortify_function): New macro.
67261         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
67262         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
67263         __extern_always_inline.
67264         * libio/bits/stdio2.h: Likewise.
67265         * libio/bits/stdio.h: Likewise.
67266         * string/string.h: Likewise.
67267         * string/bits/string3.h: Likewise.
67268         * include/stdio.h: Likewise.
67269         * stdlib/bits/stdlib.h: Likewise.
67270         * stdlib/stdlib.h: Likewise.
67271         * rt/bits/mqueue2.h: Likewise.
67272         * rt/mqueue.h: Likewise.
67273         * posix/bits/unistd.h: Likewise.
67274         * posix/unistd.h: Likewise.
67275         * io/bits/poll2.h: Likewise.
67276         * io/bits/fcntl2.h: Likewise.
67277         * io/fcntl.h: Likewise.
67278         * io/sys/poll.h: Likewise.
67279         * misc/bits/syslog.h: Likewise.
67280         * misc/bits/syslog-ldbl.h: Likewise.
67281         * misc/sys/syslog.h: Likewise.
67282         * socket/bits/socket2.h: Likewise.
67283         * socket/sys/socket.h: Likewise.
67284         * debug/tst-chk1.c: Likewise.
67285         * wcsmbs/bits/wchar2.h: Likewise.
67286         * wcsmbs/bits/wchar-ldbl.h: Likewise.
67287         * wcsmbs/wchar.h: Likewise.
67289 2012-04-29  Andreas Jaeger  <aj@suse.de>
67291         * Makerules (tests): Remove enable-check-abi protection.
67292         (check-abi-warn): Remove.
67293         (check-abi-%): Remove check-abi-warn usage.
67295         * configure.in: Remove check-abi configure option.
67296         * configure: Regenerated.
67297         * config.make.in (enable-check-abi): Remove.
67299 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
67301         [BZ #14033]
67302         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
67303         double functions to double *_finite functions.
67305         [BZ #13941]
67306         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
67307         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
67308         LDBL_MIN_EXP.
67309         * stdio-common/Makefile (tests): Add tst-sprintf3.
67310         * stdio-common/tst-sprintf3.c: New file.
67312         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
67313         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
67315 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
67317         * conform/conformtest.pl: Remove duplicate typed-constant
67318         handling.
67320 2012-04-28  David S. Miller  <davem@davemloft.net>
67322         * Makerules (%.abilist): Add vpath on sysdep_dirs.
67323         (check-abi-%): Remove AWK script prerequisite and explicit
67324         abilist directory.
67325         (check-abi): Rewrite to just diff the symlist with the abilist.
67326         (config-tls, config-abi-config): Delete, no longer used.
67327         (update-abi-%): Remove AWK script and explicit abilist directory.
67328         (update-abi): Rewrite to simply compare and conditionally copy the
67329         symlist and the sysdep abilist file.  Remove update-abi-config
67330         checks.
67331         * abilist/ld.abilist: Remove.
67332         * abilist/libBrokenLocale.abilist: Remove.
67333         * abilist/libanl.abilist: Remove.
67334         * abilist/libcrypt.abilist: Remove.
67335         * abilist/libdl.abilist: Remove.
67336         * abilist/librt.abilist: Remove.
67337         * abilist/libthread_db.abilist: Remove.
67338         * abilist/libutil.abilist: Remove.
67339         * scripts/extract-abilist.awk: Remove.
67340         * scripts/merge-abilist.awk: Remove.
67341         * sysdeps/generic/libcidn.abilist: New file.
67342         * sysdeps/generic/libnss_compat.abilist: New file.
67343         * sysdeps/generic/libnss_db.abilist: New file.
67344         * sysdeps/generic/libnss_dns.abilist: New file.
67345         * sysdeps/generic/libnss_files.abilist: New file.
67346         * sysdeps/generic/libnss_hesiod.abilist: New file.
67347         * sysdeps/generic/libnss_nis.abilist: New file.
67348         * sysdeps/generic/libnss_nisplus.abilist: New file.
67349         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
67350         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
67351         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
67352         file.
67353         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
67354         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
67355         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
67356         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
67357         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
67358         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
67359         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
67360         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
67361         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
67362         file.
67363         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
67364         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
67365         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
67366         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
67367         file.
67368         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
67369         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
67370         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
67371         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
67372         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
67373         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
67374         file.
67375         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
67376         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
67377         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
67378         file.
67379         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
67380         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
67381         New file.
67382         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
67383         New file.
67384         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
67385         New file.
67386         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
67387         New file.
67388         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
67389         New file.
67390         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
67391         New file.
67392         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
67393         New file.
67394         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
67395         New file.
67396         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
67397         New file.
67398         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
67399         New file.
67400         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
67401         New file.
67402         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
67403         New file.
67404         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
67405         New file.
67406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
67407         file.
67408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
67409         New file.
67410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
67411         New file.
67412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
67413         file.
67414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
67415         New file.
67416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
67417         New file.
67418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
67419         file.
67420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
67421         New file.
67422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67423         New file.
67424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
67425         New file.
67426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
67427         New file.
67428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
67429         New file.
67430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
67431         New file.
67432         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
67433         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
67434         file.
67435         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
67436         New file.
67437         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
67438         file.
67439         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
67440         file.
67441         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
67442         file.
67443         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
67444         file.
67445         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
67446         file.
67447         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
67448         New file.
67449         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
67450         file.
67451         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
67452         file.
67453         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
67454         New file.
67455         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
67456         file.
67457         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
67458         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
67459         file.
67460         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
67461         New file.
67462         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
67463         file.
67464         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
67465         file.
67466         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
67467         file.
67468         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
67469         file.
67470         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
67471         file.
67472         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
67473         New file.
67474         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
67475         file.
67476         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
67477         file.
67478         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
67479         New file.
67480         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
67481         file.
67482         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
67483         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
67484         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
67485         file.
67486         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
67487         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
67488         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
67489         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
67490         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
67491         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
67492         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
67493         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
67494         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
67495         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
67496         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
67497         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
67498         file.
67499         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
67500         New file.
67501         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
67502         file.
67503         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
67504         file.
67505         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
67506         file.
67507         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
67508         file.
67509         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
67510         file.
67511         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
67512         New file.
67513         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
67514         New file.
67515         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
67516         file.
67517         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
67518         New file.
67519         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
67520         file.
67521         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
67522         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
67523         file.
67524         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
67525         New file.
67526         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
67527         file.
67528         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
67529         file.
67530         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
67531         file.
67532         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
67533         file.
67534         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
67535         file.
67536         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
67537         New file.
67538         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
67539         New file.
67540         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
67541         file.
67542         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
67543         New file.
67544         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
67545         file.
67547 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
67549         * conform/conformtest.pl: Fix typo in handling typed-constant from
67550         allow-header.
67552 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
67554         * README: Cut down references to pre-2.6 Linux kernels and
67555         Linuxthreads.  Update lists of configurations in libc and ports
67556         and sort alphabetically.  Say "or newer" with Linux kernel version
67557         requirements.
67559         * config.h.in [IS_IN_build]: Allow compiling without optimization.
67561 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
67563         [BZ #887]
67564         * math/libm-test.inc (logb_test_downward): New test to expose
67565         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
67566         rounding mode.
67568 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
67570         [BZ #14027]
67571         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
67572         to be done.
67573         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
67574         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
67576 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
67578         * sysdeps/unix/i386/brk.S: Remove file.
67579         * sysdeps/unix/i386/dl-brk.S: Likewise.
67580         * sysdeps/unix/i386/pipe.S: Likewise.
67581         * sysdeps/unix/i386/sigreturn.S: Likewise.
67582         * sysdeps/unix/i386/syscall.S: Likewise.
67583         * sysdeps/unix/i386/vfork.S: Likewise.
67584         * sysdeps/unix/i386/wait.S: Likewise.
67586         * sysdeps/unix/common/tcsendbrk.c: Move to ...
67587         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
67589         * configure.in (arm*-none*): Do not allow without
67590         --enable-hacker-mode.
67591         (netbsd*): Remove case setting base_os.
67592         (386bsd*): Likewise.
67593         (freebsd*): Likewise.
67594         (bsdi*): Likewise.
67595         (osf*): Likewise.
67596         (sunos*): Likewise.
67597         (ultrix*): Likewise.
67598         (newsos*): Likewise.
67599         (dynix*): Likewise.
67600         (*bsd*): Likewise.
67601         (sysv*): Likewise.
67602         (isc*): Likewise.
67603         (esix*): Likewise.
67604         (sco*): Likewise.
67605         (minix*): Likewise.
67606         (irix4*): Likewise.
67607         (irix6*): Likewise.
67608         (solaris[2-9]*): Likewise.
67609         (none): Likewise.
67610         * configure: Regenerated.
67612 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67614         [BZ #11521]
67615         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
67616         overflow or cancellation in calculating denominator.
67617         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
67618         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
67619         down expression to avoid unexpected rounding in newer GCCs.
67620         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
67622 2012-04-26  David S. Miller  <davem@davemloft.net>
67624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
67625         long-double compat symbols.
67626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
67628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
67629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
67630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
67631         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
67632         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
67633         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
67634         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
67635         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
67636         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
67637         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
67638         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
67640 2012-04-25  David S. Miller  <davem@davemloft.net>
67642         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
67643         HWCAP_* values only after the memory barriers have been defined.
67644         (atomic_full_barrier): Define.
67645         (atomic_read_barrier): Define.
67646         (atomic_write_barrier): Define.
67648 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67650         * shlib-versions: Add libgcc_s version information.
67651         * sysdeps/generic/libgcc_s.h: Remove.
67652         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
67653         libgcc_s.h.
67654         * sysdeps/gnu/unwind-resume.c: Likewise.
67655         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
67657 2012-04-25  David S. Miller  <davem@davemloft.net>
67659         * sysdeps/unix/sparc/brk.S: Delete.
67660         * sysdeps/unix/sparc/dl-brk.S: Delete.
67661         * sysdeps/unix/sparc/pipe.S: Delete.
67662         * sysdeps/unix/sparc/sysdep.S: Delete.
67663         * sysdeps/unix/sparc/sysdep.h: Delete.
67664         * sysdeps/unix/sparc/vfork.S: Delete.
67665         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
67666         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
67667         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
67668         (ret_ERRVAL, r0, r1, MOVE): Define.
67669         (JUMPTARGET): Remove.
67670         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
67671         sysdeps/unix/sparc/sysdep.h
67672         (ENTRY, END): Remove.
67673         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67675 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
67677         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
67678         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
67679         -DIS_IN_build.
67681         * timezone/README: Update upstream location and email address for
67682         tzcode and tzdata.
67683         * timezone/zdump.c: Update from tzcode 2012b.
67684         * timezone/zic.c: Likewise.
67686         * configure.in (libc_cv_as_needed): Remove test.
67687         * configure: Regenerated.
67688         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
67689         conditional definition.
67690         [$(have-as-needed) != yes] (no-as-needed): Likewise.
67691         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
67692         * config.make.in (have-as-needed): Remove variable.
67694 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
67695             Paul Pluzhnikov  <ppluzhnikov@google.com>
67697         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
67698         strings correctly.
67700 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
67702         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
67703         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
67704         * sysdeps/sh/strlen.S: Likewise.
67706 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
67708         * sysdeps/unix/fork.S: Remove file.
67709         * sysdeps/unix/i386/fork.S: Likewise.
67710         * sysdeps/unix/sparc/fork.S: Likewise.
67712         * sysdeps/unix/system.c: Remove file.
67713         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
67715         * sysdeps/unix/getegid.S: Remove file.
67716         * sysdeps/unix/geteuid.S: Likewise.
67718 2012-04-24  Roland McGrath  <roland@hack.frob.com>
67720         * scripts/check-localplt.awk: New file.
67721         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
67722         of diff.
67723         * scripts/data/localplt-generic.data: Add a comment.
67725         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
67726         NODE when __dir_mkfile failed.
67727         * sysdeps/mach/hurd/symlinkat.c: Likewise.
67728         Reported by Ludovic Courtès <ludo@gnu.org>.
67730 2012-04-24  Andreas Jaeger  <aj@suse.de>
67732         * Makerules (common-clean): Also remove gen-as-const-headers
67733         files.
67735 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
67737         * Makerules (native-compile): Do not change working directory for
67738         build.  Use $(OUTPUT_OPTION) in command.
67739         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
67741 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67743         [BZ #13886]
67744         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
67745         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
67746         * math/libm-test.inc (floor_test): Add more tests.
67747         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
67749 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
67751         * sysdeps/unix/getdents.c: Remove file.
67752         * sysdeps/unix/sysv/getdents.c: Likewise.
67753         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
67755         * sysdeps/unix/syscalls.list (madvise): Add syscall from
67756         sysdeps/unix/mman/syscalls.list.
67757         (mmap): Likewise.
67758         (mprotect): Likewise.
67759         (msync): Likewise.
67760         (munmap): Likewise.
67761         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
67762         * sysdeps/unix/mman/syscalls.list: Remove.
67763         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
67765         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
67766         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
67767         * configure: Regenerated.
67768         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
67769         $(libgcc_s_suffix).
67770         * config.make.in (libgcc_s_suffix): Remove variable.
67772 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
67774         * sysdeps/unix/sysv/gethostname.c: Move to ...
67775         * sysdeps/posix/gethostname.c: ... here.
67777         * sysdeps/unix/execve.S: Remove file.
67779         * sysdeps/unix/_exit.S: Remove file.
67781 2012-04-23  Andreas Jaeger  <aj@suse.de>
67783         [BZ #13739]
67784         * manual/Makefile: Remove make dist support, there's no
67785         need for a stand-alone documentation tar ball.
67786         (TEXI2DVI): Define always, it's not in Makeconfig.
67787         (dist): Removed.
67788         (tar-it): Removed.
67789         (edition): Removed.
67790         (glibc-doc-$(edition).tar): Removed
67791         (%.Z): Removed.
67792         (%.gz): Removed.
67793         (%.uu): Removed.
67794         (ETAGS): Remove, it's in Makeconfig.
67795         (move-if-change): Remove, it's in Makeconfig.
67797 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
67799         [BZ #13970]
67800         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
67801         (strtod, strtof, strtold, strtol, strtoul, strtoq)
67802         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
67803         (strtod_l, strtof_l, strtold_l): Remove __wur.
67804         It is not necessarily an error to ignore strtol's return value.
67805         One can reliably look at the stored endptr to decide whether
67806         the number had valid syntax.
67808 2012-04-21  Andreas Jaeger  <aj@suse.de>
67810         [BZ #13739]
67811         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
67813 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
67815         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
67816         * sysdeps/unix/sysv/Versions: Remove file.
67818 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
67820         [BZ #13927]
67821         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67823 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
67825         [BZ #7064]
67826         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
67827         version from __vm86.
67829 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
67831         * sysdeps/unix/common/lxstat.c: Remove file.
67832         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
67834         * sysdeps/unix/sysv/Makefile: Remove file.
67836         * sysdeps/unix/sysv/direct.h: Remove file.
67838         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
67839         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
67840         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
67841         * sysdeps/unix/sysv/bits/signum.h: Likewise.
67842         * sysdeps/unix/sysv/bits/stat.h: Likewise.
67843         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
67844         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
67846         * sysdeps/unix/sysv/setrlimit.c: Remove file.
67848         * sysdeps/unix/xmknod.c: Remove file.
67849         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
67851         * sysdeps/unix/sysv/settimeofday.c: Remove file.
67853         * sysdeps/unix/sysv/i386/time.S: Remove file.
67855         * sysdeps/unix/fxstat.c: Remove file.
67856         * sysdeps/unix/xstat.c: Likewise.
67857         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
67859         * sysdeps/unix/sysv/sigaction.c: Remove file.
67861         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
67862         (sysdep_headers): Remove variable.
67863         [termio.h not in sysdep_headers] (generated): Likewise.
67864         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
67865         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
67866         * sysdeps/unix/sysv/tcdrain.c: Likewise.
67867         * sysdeps/unix/sysv/tcflow.c: Likewise.
67868         * sysdeps/unix/sysv/tcflush.c: Likewise.
67869         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
67870         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
67871         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
67872         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
67873         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
67875         * sysdeps/unix/siglist.c: Remove file.
67877         * sysdeps/unix/getppid.S: Remove file.
67879         * sysdeps/unix/mkdir.c: Remove file.
67880         * sysdeps/unix/rmdir.c: Likewise.
67882 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
67884         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
67885         ERR_MAX value.
67886         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
67887         errlist-compat value.
67889 2012-04-18  David S. Miller  <davem@davemloft.net>
67891         * sysdeps/generic/memcopy.h (reg_char): Delete.
67892         * debug/strcat_chk.c: Use char, not reg_char.
67893         * debug/strcpy_chk.c: Likewise.
67894         * debug/strncat_chk.c: Likewise.
67895         * debug/strncpy_chk.c: Likewise.
67896         * string/memchr.c: Likewise.
67897         * string/memrchr.c: Likewise.
67898         * string/rawmemchr.c: Likewise.
67899         * string/strcat.c: Likewise.
67900         * string/strchr.c: Likewise.
67901         * string/strchrnul.c: Likewise.
67902         * string/strcmp.c: Likewise.
67903         * string/strcpy.c: Likewise.
67904         * string/strncat.c: Likewise.
67905         * string/strncmp.c: Likewise.
67906         * string/strncpy.c: Likewise.
67908 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
67910         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
67911         __builtin_memcopy is called when src and dest ranges are known to not
67912         overlap.
67914 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
67916         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
67917         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
67918         fwd_align_merge macro call.
67919         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
67920         bwd_align_merge macro call.
67921         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
67923 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
67925         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
67926         bwd_align_merge macros.
67927         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
67928         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
67929         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
67931 2012-04-18  David S. Miller  <davem@davemloft.net>
67933         * sysdeps/sparc/sparc64/memcopy.h: Delete.
67935 2012-04-18  Andreas Jaeger  <aj@suse.de>
67937         [BZ# 6794]
67938         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
67939         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
67940         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67942         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
67943         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
67944         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67946         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
67947         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
67948         Adjust for changed ldbl-128 files.
67950         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
67951         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
67952         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67954 2012-04-17  David S. Miller  <davem@davemloft.net>
67956         * sysdeps/sparc/sparc32/memcopy.h: Delete.
67958 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
67960         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
67961         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
67962         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
67963         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
67964         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
67965         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
67967 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67969         [BZ #6794]
67970         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
67971         * math/libm-test.inc: Add ilogb errno and exception tests.
67972         * math/w_ilogb.c: New file: ilogb wrapper.
67973         * math/w_ilogbf.c: New file: ilogbf wrapper.
67974         * math/w_ilogbl.c: New file: ilogbl wrapper.
67975         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
67976         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
67977         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
67978         exception being thrown with 0.0 as argument.
67979         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
67980         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
67981         exception being thrown with 0.0 as argument.
67982         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
67983         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
67984         exception being thrown with 0.0 as argument.
67985         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
67986         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
67987         exception being thrown with 0.0 as argument.
67988         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
67989         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
67990         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
67991         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
67992         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
67993         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
67994         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
67995         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
67996         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
67998 2012-04-17  Petr Baudis  <pasky@ucw.cz>
68000         * include/sys/uio.h: Change __vector to __iovec to avoid clash
68001         with altivec.
68003 2012-04-16  Marek Polacek  <polacek@redhat.com>
68005         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
68007 2012-04-16  Marek Polacek  <polacek@redhat.com>
68009         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
68010         operands of fdivp instruction.
68012 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68014         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
68015         * elf/tst-auditmod3b.c: Likewise.
68016         * elf/tst-auditmod4b.c: Likewise.
68017         * elf/tst-auditmod5b.c: Likewise.
68018         * elf/tst-auditmod6b.c: Likewise.
68019         * elf/tst-auditmod6c.c: Likewise.
68020         * elf/tst-auditmod7b.c: Likewise.
68021         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
68022         * sysdeps/x86_64/preconfigure.in: Likewise.
68023         * sysdeps/x86_64/preconfigure: Regenerated.
68025 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68027         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
68028         __ILP32__.
68030 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
68032         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68033         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
68035 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
68037         [BZ #13973]
68038         * locale/iso-639.def: Fix gl language name. Spotted by
68039         Yaron Shahrabani.
68041 2012-04-12  Roland McGrath  <roland@hack.frob.com>
68043         [BZ #2074]
68044         * libio/libio.h (__io_write_fn): Update comment.
68046 2012-04-12  Petr Baudis  <pasky@ucw.cz>
68048         [BZ #2074]
68049         * stdio.texi (Hook Functions): The user provided writer function
68050         is not allowed to return -1.
68052 2012-04-11  David S. Miller  <davem@davemloft.net>
68054         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68056 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
68058         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
68059         Add a leading slash to rtkaio.
68061 2012-04-11  Jim Meyering  <meyering@redhat.com>
68063         [BZ #11959]
68064         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
68065         It is not necessarily an error to ignore fwrite's return
68066         value.  One can reliably use ferror to test for errors after
68067         the fact.
68069 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68071         * bits/types.h (__snseconds_t): New type.
68072         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
68074         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
68075         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68076         (__SNSECONDS_T_TYPE): Likewise.
68077         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68078         (__SNSECONDS_T_TYPE): Likewise.
68079         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68080         (__SNSECONDS_T_TYPE): Likewise.
68082 2012-04-10  Andreas Jaeger  <aj@suse.de>
68084         [BZ #2636]
68085         * manual/time.texi (Processor Time): Return type of times is
68086         elapsed real time since an arbitrary point in the past.
68087         (CPU Time): Move CLK_TCK from here...
68088         (Processor Time): ...to here.  Correct description.
68089         * manual/conf.texi (Constants for Sysconf): Correct description of
68090         _SC_CLK_TCK.
68092 2012-04-10  David S. Miller  <davem@davemloft.net>
68094         [BZ #13967]
68095         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
68096         where the is a gap between DT_REL(A) and DT_JMPREL.
68098 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68100         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
68101         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68102         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68104 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68106         * elf/dl-support.c (_dl_inhibit_cache): New variable.
68107         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
68108         (dl_main): Handle --inhibit-cache.
68109         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
68110         _dl_inhibit_cache.
68111         * elf/dl-load.c (_dl_map_object): Use it.
68112         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
68114 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68116         [BZ #13872]
68117         * sysdeps/i386/fpu/e_powl.S (p78): New object.
68118         (__ieee754_powl): Saturate large exponents rather than testing for
68119         overflow of y*log2(x).
68120         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68121         * math/libm-test.inc (pow_test): Do not permit spurious overflow
68122         exceptions.
68124         [BZ #11521]
68125         * math/s_ctan.c: Include <float.h>.
68126         (__ctan): Avoid internal overflow or cancellation in calculating
68127         denominator.
68128         * math/s_ctanf.c: Likewise.
68129         * math/s_ctanl.c: Likewise.
68130         * math/s_ctanh.c: Likewise.
68131         * math/s_ctanhf.c: Likewise.
68132         * math/s_ctanhl.c: Likewise.
68133         * math/libm-test.inc (ctan_test): Add more tests.
68134         (ctanh_test): Likewise.
68135         * sysdeps/i386/fpu/libm-test-ulps: Update.
68136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68138 2012-04-09  Andreas Jaeger  <aj@suse.de>
68140         [BZ #6894]
68141         * manual/filesys.texi (Directory Entries): Mention that d_namlen
68142         is an optional BSD extension.
68144         [BZ #10254]
68145         * manual/stdio.texi (Opening Streams): Document additional fopen
68146         parameters.
68148 2012-04-09  Roland McGrath  <roland@hack.frob.com>
68150         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
68151         %eax without telling the compiler.
68153 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
68155         [BZ # 13963]
68156         * manual/install.texi: Use sourceware.org.
68158 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68160         [BZ #13873]
68161         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
68162         (__ieee754_pow): Generate overflow and underflow using huge*huge
68163         and tiny*tiny rather than just returning constant infinity or zero
68164         for large exponents.
68165         * math/libm-test.inc (pow_test): Require overflow exceptions for
68166         applicable cases of large exponents.
68168         [BZ #706]
68169         * sysdeps/i386/fpu/e_pow.S (p10): New object.
68170         (__ieee754_pow): Use iterative multiplication algorithm only for
68171         integer exponents with absolute value below 1024.  Check for odd
68172         integer exponents when using algorithm for real exponents.
68173         * math/libm-test.inc (pow_test): Add more tests.
68174         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68176 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
68178         [BZ #13705]
68179         * math/libm-test.inc (exp_test): Do not allow overflow exception
68180         on underflow test.
68182 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
68184         [BZ #13705]
68185         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
68186         instead of __kernel_standard_f.
68188 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
68190         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
68191         * sysdeps/x86_64/memset_chk.S: Likewise.
68193 2012-04-08  Andreas Jaeger  <aj@suse.de>
68195         [BZ #10153]
68196         * manual/startup.texi (Environment Access): Describe return value
68197         for putenv and setenv.
68199         [BZ #6895]
68200         * manual/filesys.texi (Directory Entries): Add description for
68201         DT_LNK.
68203         [BZ #6890]
68204         * manual/filesys.texi (Directory Entries): Clarify that it's file
68205         system not operating system in the description of DT_UNKNOWN.
68207         [BZ #6578]
68208         * manual/syslog.texi (closelog): Fix reference, it's openlog.
68210 2012-04-08  Stephen Compall  <s11@member.fsf.org>
68212         [BZ #6649]
68213         * manual/llio.texi (Opening and Closing Files): Add cross
68214         reference to explain mode argument.
68216 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
68218         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
68219         * sysdeps/x86_64/memset_chk.S: Likewise.
68221 2012-04-07  David S. Miller  <davem@davemloft.net>
68223         * elf/elf.h (R_SPARC_WDISP10): Define.
68224         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
68225         R_SPARC_SIZE32.
68226         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
68227         R_SPARC_SIZE64 and R_SPARC_H34.
68229 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
68231         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
68232         conditions and remove no longer applicable assertion.
68234 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68236         * bits/byteswap.h: Include <features.h>.
68237         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68238         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68240 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68242         * bits/byteswap.h (__bswap_16): Removed.
68243         Include <bits/byteswap-16.h> to get __bswap_16.
68244         * sysdeps/i386/bits/byteswap.h: Likewise.
68245         * sysdeps/s390/bits/byteswap.h: Likewise.
68246         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68247         * bits/byteswap-16.h: New file.
68248         * sysdeps/i386/bits/byteswap-16.h: Likewise.
68249         * sysdeps/s390/bits/byteswap-16.h: Likewise.
68250         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
68251         * string/Makefile (headers): Add bits/byteswap-16.h.
68253 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68255         [BZ #13895]
68256         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
68257         extra indirection.
68258         * nss/Makefile (tests-static, tests): Add tst-nss-static.
68259         * nss/tst-nss-static.c: New.
68261 2012-04-06  Robert Millan  <rmh@gnu.org>
68263         [BZ #6486]
68264         * manual/llio.texi (File Position Primitive): lseek
68265         refers to WHENCE when it really means OFFSET.
68267 2012-04-06  Andreas Jaeger  <aj@suse.de>
68269         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
68270         strncmp declarations.
68272         * abilist/libc.abilist: Add __poll and __ppoll.
68274 2012-04-05  David S. Miller  <davem@davemloft.net>
68276         * scripts/check-local-headers.sh: Accept a host triplet in the
68277         path matched by the exclude regexp.
68279         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
68280         definition.
68281         * sysdeps/powerpc/powerpc32/dl-machine.h
68282         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
68283         * sysdeps/s390/s390-32/dl-machine.h
68284         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68285         * sysdeps/sparc/sparc32/dl-machine.h
68286         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68287         * sysdeps/sparc/sparc64/dl-machine.h
68288         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68290         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
68291         lazy binding.
68292         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
68293         undefined symbol errors.
68295         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
68296         DT_NEEDED entries.
68298 2012-04-05  Michael Matz  <matz@suse.de>
68300         [BZ #13592]
68301         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
68303 2012-04-05  Andreas Jaeger  <aj@suse.de>
68305         [BZ #13908]
68306         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
68307         comment.
68309 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68311         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
68312         which ROUND is no valid rounding mode.
68314 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68316         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
68317         read again.
68318         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
68320 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68322         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
68323         an exception using FPU order intentionally.
68325 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68327         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
68328         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
68329         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
68330         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
68332 2012-04-05  Simon Josefsson  <simon@josefsson.org>
68334         [BZ #12340]
68335         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
68336         EINVAL when BUFLEN is too smal.
68338 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
68340         [BZ #13553]
68341         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
68342         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
68344 2012-04-03  Andreas Jaeger  <aj@suse.de>
68346         [BZ #13938]
68347         * manual/setjmp.texi (System V contexts): Fix sentence.
68349         [BZ #13926]
68350         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
68351         New macro for this case.
68352         [!__GNUC__] (__bswap_64): New inline function for this case.
68353         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68354         * bits/byteswap.h: Likewise.
68355         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
68356         ull, guard with __GLIBC_HAVE_LONG_LONG.
68358         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
68359         __GLIBC_HAVE_LONG_LONG.
68361         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
68362         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
68364 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
68366         [BZ #13691]
68367         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
68368         inptr and inend, rather than using last_ch.
68370 2012-04-02  David S. Miller  <davem@davemloft.net>
68372         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
68373         * stdio-common/printf-parse.h (read_int): Change return type to
68374         'int', return -1 on INT_MAX overflow.
68375         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
68376         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
68377         overflows INT_MAX.  Check for overflow of in-format-string precision
68378         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
68379         SIZE_MAX not INT_MAX for integer overflow test.
68380         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
68381         skip the construct in the format string but do not record anything.
68382         * stdio-common/bug22.c: Adjust to test both width/prevision
68383         INT_MAX overflow as well as total length INT_MAX overflow.  Check
68384         explicitly for proper errno values.
68386 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
68388         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
68389         CHAR_MAX.
68390         * string/test-strcmp.c [! WIDE]: Likewise.
68391         * time/tst-mktime2.c: Likewise for INT_MAX.
68392         * string/test-string.h: #include <sys/param.h> for MIN.
68394         * csu/init-first.c (__libc_init_first): Call __ctype_init.
68395         * sysdeps/i386/init-first.c (init): Likewise.
68396         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
68397         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
68398         * sysdeps/sh/init-first.c (init): Likewise.
68400 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
68402         * po/ru.po: Update from translation team.
68403         * po/vi.po: Likewise.
68405 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
68407         * resolv/nss_dns/dns-host.c: Merge copyright years.
68409 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68411         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
68412         Optimize memcpy with prefetch if
68413         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
68414         src, dst pointers have unequal 16 byte alignments.
68416 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
68418         [BZ #13928]
68419         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
68420         from a CNAME entry and return the minimum ttl for the query.
68421         (gaih_getanswer_slice): Likewise.
68423 2012-03-30  Jeff Law  <law@redhat.com>
68425         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
68426         due to long keys.
68427         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
68428         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
68430         * resolv/nss_dns/dns-host.c: Update copyright year.
68432 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
68434         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
68435         requests to save a system call.  Fix check that all bytes are sent.
68437         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
68438         comments for sendmmsg.
68440 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68442         [BZ #13691]
68443         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
68444         with only 1 character between 0x0041 and 0x01b0.
68445         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
68446         * wcsmbs/tst-mbsnrtowcs.c: New file.
68448 2012-03-29  David S. Miller  <davem@davemloft.net>
68450         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
68451         small copies by hand.
68453 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68455         [BZ #13761]
68456         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
68457         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
68458         group memberships.
68460 2012-03-28  David S. Miller  <davem@davemloft.net>
68462         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
68463         that branches into memcpy.
68464         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
68465         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
68466         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
68467         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
68468         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
68469         bits.
68470         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
68471         implementation too.
68472         * sysdeps/sparc/mempcpy.S: New file.
68474         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
68475         the IFUNC routine in the libc case.
68476         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
68478         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
68479         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
68480         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
68481         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
68482         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
68483         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
68484         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
68485         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
68487         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
68488         loop to 256 bytes instead of 64 bytes and fix test signedness.
68490         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
68491         * sysdeps/sparc/sparc32/Makefile: rather than here...
68492         * sysdeps/sparc/sparc64/Makefile: and here.
68494 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
68496         * malloc/mallocbug.c: Avoid warnings about unused variables.
68498 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
68500         [BZ #13760]
68501         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
68502         in the right place. Discard and retry query if response is
68503         larger than input buffer size.
68505 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
68507         [BZ #369]
68508         [BZ #2678]
68509         [BZ #3866]
68510         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
68511         x for large integer exponent.
68512         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
68513         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
68514         sign of result as needed afterwards.
68515         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
68516         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
68517         result for underflowing pow the same as for overflow.
68518         (__kernel_standard_l): Handle powl overflow and underflow here
68519         rather than calling __kernel_standard.
68520         * math/libm-test.inc (pow_test): Add more tests.
68522         [BZ #3868]
68523         [BZ #13879]
68524         [BZ #13910]
68525         [BZ #13911]
68526         [BZ #13912]
68527         [BZ #13913]
68528         [BZ #13915]
68529         [BZ #13916]
68530         [BZ #13917]
68531         [BZ #13918]
68532         [BZ #13919]
68533         [BZ #13920]
68534         [BZ #13921]
68535         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
68536         * sysdeps/ieee754/k_standard.c: Include <float.h>.
68537         (__kernel_standard_l): New function.
68538         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
68539         __kernel_standard.
68540         * math/w_acosl.c (__acosl): Likewise.
68541         * math/w_asinl.c (__asinl): Likewise.
68542         * math/w_atan2l.c (__atan2l): Likewise.
68543         * math/w_atanhl.c (__atanhl): Likewise.
68544         * math/w_coshl.c (__coshl): Likewise.
68545         * math/w_exp10l.c (__exp10l): Likewise.
68546         * math/w_exp2l.c (__exp2l): Likewise.
68547         * math/w_fmodl.c (__fmodl): Likewise.
68548         * math/w_hypotl.c (__hypotl): Likewise.
68549         * math/w_j0l.c (__j0l, __y0l): Likewise.
68550         * math/w_j1l.c (__j1l, __y1l): Likewise.
68551         * math/w_jnl.c (__jnl, __ynl): Likewise.
68552         * math/w_lgammal.c (__lgammal): Likewise.
68553         * math/w_log10l.c (__log10l): Likewise.
68554         * math/w_log2l.c (__log2l): Likewise.
68555         * math/w_logl.c (__logl): Likewise.
68556         * math/w_powl.c (__powl): Likewise.
68557         * math/w_remainderl.c (__remainderl): Likewise.
68558         * math/w_scalbl.c (sysv_scalbl): Likewise.
68559         * math/w_sinhl.c (__sinhl): Likewise.
68560         * math/w_sqrtl.c (__sqrtl): Likewise.
68561         * math/w_tgammal.c (__tgammal): Likewise.
68562         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
68563         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
68564         * math/libm-test.inc (acos_test): Add more tests.
68565         (acosh_test): Likewise.
68566         (asin_test): Likewise.
68567         (atanh_test): Likewise.
68568         (exp_test): Likewise.
68569         (exp10_test): Likewise.
68570         (exp2_test): Likewise.
68571         (expm1_test): Likewise.
68572         (lgamma_test): Likewise.
68573         (log_test): Likewise.
68574         (log10_test): Likewise.
68575         (log1p_test): Likewise.
68576         (log2_test): Likewise.
68577         (pow_test): Do not allow some spurious overflow exceptions.
68578         (sqrt_test): Add more tests.
68579         (tgamma_test): Likewise.
68580         (y0_test): Likewise.
68581         (y1_test): Likewise.
68582         (yn_test): Likewise.
68584 2012-03-27  Anton Blanchard  <anton@samba.org>
68586         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
68587         MAP_HUGETLB.
68588         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
68589         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
68590         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
68592 2012-03-27  David S. Miller  <davem@davemloft.net>
68594         * conform/Makefile: Run run-conformtest.sh using $(BASH).
68596         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
68597         have-as-vis3 check.
68599 2012-03-27  Andreas Jaeger  <aj@suse.de>
68601         * sysdeps/x86_64/elf/configure.in: Moved to ...
68602         * sysdeps/x86_64/configure.in: ... here.
68603         * sysdeps/x86_64/elf/start.S: Moved to ...
68604         * sysdeps/x86_64/start.S: ... here.
68605         * sysdeps/x86_64/elf/configure: Delete.
68607         * sysdeps/x86_64/configure.in: Merge contents from
68608         sysdeps/i386/configure.in (without i686 check).
68610         * sysdeps/i386/elf/Versions: Merge into ...
68611         * sysdeps/i386/Versions: ... this.
68612         * sysdeps/i386/elf/Versions: Delete file.
68613         * sysdeps/i386/elf/start.S: Moved to ...
68614         * sysdeps/i386/start.S: ...here.
68615         * sysdeps/i386/elf/configure.in: Merge into...
68616         * sysdeps/i386/configure.in: ...here.
68617         * sysdeps/i386/elf/configure.in: Delete file.
68618         * sysdeps/i386/elf/configure: Delete file.
68620         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
68621         * debug/backtracesyms.c: ... here.
68622         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
68623         * debug/backtracesymsfd.c: ... here.
68624         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
68625         * sysdeps/generic/ifunc-sel.h: ... here.
68627         * sysdeps/unix/i386/start.c: Delete file.
68628         * sysdeps/unix/sparc/start.c: Delete file.
68629         * sysdeps/unix/start.c: Delete file.
68631         * sysdeps/sh/elf/configure.in: Moved to ...
68632         * sysdeps/sh/configure.in: ... here.
68633         * sysdeps/sh/elf/start.S: Moved to ...
68634         * sysdeps/sh/start.S: ... here.
68635         * sysdeps/sh/elf/configure: Delete file.
68637         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
68638         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
68639         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
68640         * sysdeps/powerpc/powerpc64/entry.h: ... here.
68641         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
68642         * sysdeps/powerpc/powerpc64/start.S: here.
68643         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
68644         * sysdeps/powerpc/powerpc64/Makefile: ... this.
68645         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
68646         * sysdeps/powerpc/powerpc64/configure.in: ... this.
68647         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
68649         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
68650         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
68651         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
68652         * sysdeps/powerpc/powerpc32/start.S: ... here.
68653         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
68654         * sysdeps/powerpc/powerpc32/configure.in: ... this.
68655         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
68657         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
68658         * sysdeps/powerpc/ifunc-sel.h: ... here.
68659         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
68660         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
68662         * sysdeps/sparc/elf/configure.in: Moved to ...
68663         * sysdeps/sparc/configure.in: ... here.
68664         * sysdeps/sparc/elf/configure: Delete file.
68665         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
68666         * sysdeps/sparc/sparc32/start.S: ... here.
68667         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
68668         * sysdeps/sparc/sparc64/start.S: ... here.
68669         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
68670         * sysdeps/sparc/sparc32/Makefile: ... this.
68671         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
68672         * sysdeps/sparc/sparc64/Makefile: ... this.
68674         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
68675         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
68676         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
68677         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
68678         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
68679         * sysdeps/s390/s390-32/setjmp.S: ... here.
68680         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
68681         * sysdeps/s390/s390-32/configure.in: ... here.
68682         * sysdeps/s390/s390-32/elf/configure: Delete file.
68683         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
68684         * sysdeps/s390/s390-32/start.S: ... here.
68686         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
68687         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
68688         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
68689         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
68690         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
68691         * sysdeps/s390/s390-64/setjmp.S: ... here.
68692         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
68693         * sysdeps/s390/s390-64/configure.in: ... here
68694         * sysdeps/s390/s390-64/elf/configure: Delete file.
68695         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
68696         * sysdeps/s390/s390-64/start.S: ... here.
68697         * sysdeps/s390/s390-64/elf/configure: Delete.
68699         * configure.in: Remove support for elf directories in sysdeps.
68701         * configure: Regenerated.
68702         * sysdeps/i386/configure: Regenerated.
68703         * sysdeps/powerpc/powerpc32/configure: Regenerated.
68704         * sysdeps/powerpc/powerpc64/configure: Regenerated.
68705         * sysdeps/s390/s390-32/configure: Regenerated.
68706         * sysdeps/s390/s390-64/configure: Regenerated.
68707         * sysdeps/sh/configure: Regenerated.
68708         * sysdeps/sparc/configure: Regenerated.
68709         * sysdeps/x86_64/configure: Regenerated.
68711 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
68713         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68715         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
68716         denormal result into account.
68718 2012-03-25  Roland McGrath  <roland@hack.frob.com>
68720         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
68721         Reported by Allan McRae <allan@archlinux.org>.
68723 2012-03-23  Jeff Law  <law@redhat.com>
68725         * nss/getnssent.c (__nss_getent): Fix typo.
68727 2012-03-23  David S. Miller  <davem@davemloft.net>
68729         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68731 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
68733         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
68734         to pad to uint64_t for each field.
68735         (dl_tls_index): Replace unsigned long with uint64_t.
68737 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
68738         Paul Pluzhnikov  <ppluzhnikov@google.com>
68740         [BZ #6528]
68741         * grp/Makefile (otherlibs): Don't set it.
68742         * inet/Makefile (otherlibs): Likewise.
68743         * login/Makefile (otherlibs): Likewise.
68744         * nscd/Makefile (otherlibs): Likewise.
68745         * posix/Makefile (otherlibs): Likewise.
68746         * pwd/Makefile (otherlibs): Likewise.
68747         * rt/Makefile (otherlibs): Likewise.
68748         * sunrpc/Makefile (otherlibs): Likewise.
68749         * nss/Makefile (otherlibs): Likewise.
68750         Add libnss_files to routines and static-only-routines.
68751         ($(objpfx)getent): Remove rule.
68752         * resolv/Makefile: Add libnss_dns and libresolv to routines and
68753         static-only-routines.
68755 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
68757         [BZ #13892]
68758         * math/s_cexp.c: Include <float.h>.
68759         (__cexp): Handle exp result overflowing not necessarily
68760         overflowing both real and imaginary parts of result.
68761         * math/s_cexpf.c: Likewise.
68762         * math/s_cexpl.c: Likewise.
68763         * math/libm-test.inc (cexp_test): Add more tests.
68764         * sysdeps/i386/fpu/libm-test-ulps: Update.
68765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68767 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68769         * include/link.h (ELFW): New macro.
68770         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
68771         Replace ELF64_R_TYPE with ELFW(R_TYPE).
68773 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68775         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
68776         with uint64_t.
68778 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68780         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
68781         declaration.
68782         (struct La_x32_retval): Likewise.
68784 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68786         * sysdeps/x86_64/preconfigure.in: New file.
68787         * sysdeps/x86_64/preconfigure: New generated file.
68789 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
68791         [BZ #13824]
68792         * math/e_exp2l.c: Include <float.h>.
68793         (__ieee754_exp2l): Handle overflow and underflow cases
68794         separately.  Only pass fractional part of argument to
68795         __ieee754_expl.
68796         * math/libm-test.inc (exp2_test): Add more tests.
68798         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
68799         negating x to take absolute value.
68800         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
68801         Likewise.
68802         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
68803         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
68804         Likewise.
68805         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
68806         computing low part if x was negated.
68807         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
68809 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
68811         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
68812         la_x32_gnu_pltexit.
68813         (pltexit): Cast int_retval to ptrdiff_t.
68814         * elf/tst-auditmod3b.c: Likewise.
68815         * elf/tst-auditmod4b.c: Likewise.
68816         * elf/tst-auditmod5b.c: Likewise.
68817         * elf/tst-auditmod6b.c: Likewise.
68818         * elf/tst-auditmod6c.c: Likewise.
68819         * elf/tst-auditmod7b.c: Likewise.
68821         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
68822         and x32_gnu_pltexit.
68824         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
68825         __ELF_NATIVE_CLASS.
68826         (La_x32_regs): New macro.
68827         (La_x32_retval): Likewise.
68828         (la_x32_gnu_pltenter): New function prototype.
68829         (la_x32_gnu_pltexit): Likewise.
68831 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
68833         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
68834         exponent.
68836         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68838         * configure.in (libc_cv_cc_nofma): Check for option to disable
68839         generation of FMA instructions.
68840         * configure: Regenerate.
68841         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
68842         * sysdeps/ieee754/dbl-64/Makefile: New file.
68843         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
68844         Remove brandred-fma4.
68845         (CFLAGS-brandred-fma4.c): Remove.
68846         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
68847         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
68848         define.
68849         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
68850         define.
68852 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
68854         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
68855         LLONG_MAX != LONG_MAX.
68856         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68857         (_fitoa_word): Likewise.
68858         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
68859         LLONG_MAX != LONG_MAX.
68860         * stdio-common/_itowa.h: Include <_itoa.h>.
68861         (_itowa_word): Use _ITOA_WORD_TYPE on value.
68862         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
68863         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
68864         only if not defined.
68865         (_ITOA_WORD_TYPE): Likewise.
68866         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68867         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
68869 2012-03-21  David S. Miller  <davem@davemloft.net>
68871         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68873 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
68875         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
68876         of x86_64 when setting libc_cv_slibdir, libdir and
68877         libc_cv_localedir.
68878         * sysdeps/unix/sysv/linux/configure: Regenerated.
68880 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
68882         * manual/lang.texi (Old Varargs): Remove section.
68883         (How Variadic): Update menu.
68884         (va_start): Do not mention varargs.h.
68886 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
68887             Joseph Myers  <joseph@codesourcery.com>
68889         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
68890         link test.
68891         * configure: Regenerated.
68893 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
68895         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
68896         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
68897         conformtest.pl
68899 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
68901         * NOTES: Remove.
68902         * Makefile (files-for-dist): Remove NOTES.
68903         (NOTES): Remove rule.
68904         * README: Don't refer to NOTES.
68905         * manual/creature.texi: Don't include macros.texi.
68906         * manual/intro.texi (creature.texi): Remove comment referring to
68907         NOTES.
68909         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
68910         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
68911         * configure: Regenerated.
68912         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
68913         LIBC_TRY_CC_OPTION.
68914         (libc_cv_as_i686): Likewise.
68915         (libc_cv_cc_avx): Likewise.
68916         (libc_cv_cc_sse2avx): Likewise.
68917         (libc_cv_cc_fma4): Likewise.
68918         (libc_cv_cc_novzeroupper): Likewise.
68919         * sysdeps/i386/configure: Regenerated.
68921         [BZ #13883]
68922         * sysdeps/i386/fpu/s_cexp.S: Remove.
68923         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
68924         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
68925         * math/libm-test.inc (cexp_test): Add more tests.
68926         * sysdeps/i386/fpu/libm-test-ulps: Update.
68927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68929 2012-03-21  Allan McRae  <allan@archlinux.org>
68931         * timezone/Makefile: Do not install iso3166.tab and zone.tab
68933 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
68935         [BZ #13871]
68936         * math/w_exp2.c: Do not include <float.h>.
68937         (o_threshold, u_threshold): Remove.
68938         (__exp2): Calculate result before checking finiteness and calling
68939         __kernel_standard.
68940         * math/w_exp2f.c: Likewise.
68941         * math/w_exp2l.c: Likewise.
68942         * math/libm-test.inc (exp2_test): Require overflow exception for
68943         1e6 input.
68945         [BZ #3866]
68946         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
68947         range of signed 64-bit integers before using fistpll.  Remove
68948         checks for whether integers fit in mantissa bits.
68949         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
68950         the range of signed 32-bit integers before using fistpl.  Remove
68951         checks for whether integers fit in mantissa bits.
68952         * sysdeps/i386/fpu/e_powl.S (p64): New object.
68953         (__ieee754_powl): Test for y outside the range of signed 64-bit
68954         integers before using fistpll.  Reduce 64-bit values to 63-bit
68955         ones as needed.
68956         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
68957         divide-by-zero is raised for zero to large negative powers.
68958         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
68959         (__ieee754_powl): Test for y outside the range of signed 64-bit
68960         integers before using fistpll.  Reduce 64-bit values to 63-bit
68961         ones as needed.
68962         * math/libm-test.inc (pow_test): Add more tests.
68964 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68966         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
68967         <stdio-common/_itoa.h>.
68968         * debug/segfault.c: Likewise.
68969         * elf/dl-cache.c: Likewise.
68970         * elf/dl-minimal.c: Likewise.
68971         * elf/dl-misc.c: Likewise.
68972         * elf/dl-sysdep.c: Likewise.
68973         * elf/dl-version.c: Likewise.
68974         * elf/rtld.c: Likewise.
68975         * hurd/hurdsock.c: Likewise.
68976         * hurd/lookup-retry.c: Likewise.
68977         * malloc/malloc.c: Likewise.
68978         * malloc/mtrace.c: Likewise.
68979         * nscd/nscd_getgr_r.c: Likewise.
68980         * nscd/nscd_getpw_r.c: Likewise.
68981         * nscd/nscd_getserv_r.c: Likewise.
68982         * posix/getopt_init.c: Likewise.
68983         * posix/wordexp.c: Likewise.
68984         * stdio-common/_itoa.c: Likewise.
68985         * stdio-common/printf_fphex.c: Likewise.
68986         * stdio-common/vfprintf.c: Likewise.
68987         * string/_strerror.c: Likewise.
68988         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
68989         * sysdeps/i386/i686/hp-timing.h: Likewise.
68990         * sysdeps/mach/_strerror.c: Likewise.
68991         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
68992         * sysdeps/mach/hurd/sethostid.c: Likewise.
68993         * sysdeps/mach/hurd/xmknodat.c: Likewise.
68994         * sysdeps/mach/xpg-strerror.c: Likewise.
68995         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
68996         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
68997         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
68998         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
68999         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
69000         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
69001         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
69002         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
69003         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
69004         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
69005         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
69006         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
69007         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
69008         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
69009         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
69010         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
69011         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
69012         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
69013         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
69014         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
69015         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
69017         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
69019         * stdio-common/_itoa.h: Moved to ...
69020         * sysdeps/generic/_itoa.h: Here.
69022         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
69024         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
69025         instead of "_itoa.h" and "_itowa.h".
69026         * stdio-common/vfprintf.: Likewise.
69028 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69030         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
69031         <bits/wordsize.h>.
69032         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
69033         (__signbit): Likwise.
69034         (llrintf): Likwise.
69035         (llrint): Likwise.
69037 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69039         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
69040         __WORDSIZE != 64.
69042 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
69044         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
69045         OVERFLOW_EXCEPTION_OK.
69046         * math/libm-test.inc ("Philosophy"): Update comment about
69047         exception testing.
69048         (OVERFLOW_EXCEPTION): Define.
69049         (OVERFLOW_EXCEPTION_OK): Likewise.
69050         (INVALID_EXCEPTION_OK): Renumber.
69051         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
69052         (IGNORE_ZERO_INF_SIGN): Likewise.
69053         (test_exceptions): Handle FE_OVERFLOW.
69054         (exp10_test): Expect overflow exceptions.
69055         (exp2_test): Likewise.
69056         (expm1_test): Likewise.
69057         (nextafter_test): Likewise.
69058         (pow_test): Likewise.
69059         (scalbn_test): Likewise.
69060         (scalbln_test): Likewise.
69062 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69064         * sysdeps/x86_64/bits/atomic.h
69065         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
69066         64bit integer.
69067         (atomic_exchange_acq): Likewise.
69068         (__arch_exchange_and_add_body): Likewise.
69069         (__arch_add_body): Likewise.
69070         (atomic_add_negative): Likewise.
69071         (atomic_add_zero): Likewise.
69073 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69075         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
69076         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
69078 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69080         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
69081         Check __x86_64__ instead of __WORDSIZE.
69083 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69085         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
69087 2012-03-19  David S. Miller  <davem@davemloft.net>
69089         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69091         * sysdeps/sparc/fpu/fenv_private.h: New file.
69092         * sysdeps/sparc/fpu/math_private.h: Use it.
69093         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
69094         Remove.
69095         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
69096         (libc_feholdexcept_setroundl): Remove.
69097         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
69098         Remove.
69099         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
69100         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
69102 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69104         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
69105         int64_t instead of long int.
69106         (INSERT_WORDS64): Likwise.
69108 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69110         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
69111         _Unwind_GetCFA return to _Unwind_Ptr first.
69113 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
69115         [BZ #13629]
69116         * math/s_clog.c: Include <float.h>.
69117         (__clog): Scale large or subnormal inputs.
69118         * math/s_clogf.c: Likewise.
69119         * math/s_clogl.c: Likewise.
69120         * math/s_clog10.c: Include <float.h>.
69121         (M_LOG10_2): Define.
69122         (__clog10): Scale large or subnormal inputs.
69123         * math/s_clog10f.c: Likewise.
69124         * math/s_clog10l.c: Likewise.
69125         * math/libm-test.inc (clog_test): Add more tests.
69126         (clog10_test): Likewise.
69127         * sysdeps/i386/fpu/libm-test-ulps: Update.
69128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69130         [BZ #11451]
69131         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
69132         x and y.
69133         * math/libm-test.inc (atan2_test): Add another test.
69135         * Makerules (common-objdir-compile): Remove.
69136         * sysdeps/unix/Makefile (config-generated): Do not add
69137         $(unix-generated) to variable.
69138         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
69139         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
69140         Remove rule.
69141         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
69142         Likewise.
69143         [generic bits/local_lim.h] (before-compile): Do not append to
69144         variable.
69145         [generic bits/local_lim.h] (common-generated): Likewise.
69146         [generic sys/param.h] (before-compile): Do not append to variable.
69147         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
69148         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
69149         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
69150         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
69151         include.
69152         [generic sys/param.h] (sys/param.h-includes): Remove variable.
69153         [generic sys/param.h] (sys/param.h-includes): Remove rule.
69154         [generic sys/param.h] ($(addprefix
69155         $(common-objpfx),$(sys/param.h-includes))): Likewise.
69156         [generic sys/param.h] (common-generated): Do not append to
69157         variable.
69158         [generic sys/param.h] (sysdep_headers): Likewise.
69159         [generic bits/errno.h] (before-compile): Do not append to
69160         variable.
69161         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
69162         rule.
69163         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
69164         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
69165         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
69166         [generic bits/errno.h] (common-generated): Do not append to
69167         variable.
69168         [generic bits/ioctls.h] (before-compile): Do not append to
69169         variable.
69170         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
69171         rule.
69172         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
69173         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
69174         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
69175         rule.
69176         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
69177         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
69178         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
69179         [generic bits/ioctls.h] (common-generated): Do not append to
69180         variable.
69181         [generic sys/syscall.h] (syscall.h): Remove variable.
69182         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
69183         rule.
69184         [generic sys/syscall.h] (before-compile): Do not append to
69185         variable.
69186         [generic sys/syscall.h] (common-generated): Likewise.
69187         * sysdeps/unix/errnos-tmpl.c: Remove file.
69188         * sysdeps/unix/errnos.awk: Likewise.
69189         * sysdeps/unix/ioctls-tmpl.c: Likewise.
69190         * sysdeps/unix/ioctls.awk: Likewise.
69191         * sysdeps/unix/mk-local_lim.c: Likewise.
69192         * sysdeps/unix/snarf-ioctls: Likewise.
69194 2012-03-19  Richard Henderson  <rth@twiddle.net>
69196         * sysdeps/i386/fpu/fenv_private.h: New file.
69197         * sysdeps/i386/fpu/math_private.h: Use it.
69198         (math_opt_barrier, math_force_eval): Remove.
69199         (libc_feholdexcept_setround_53bit): Remove.
69200         (libc_feupdateenv_53bit): Remove.
69201         * sysdeps/x86_64/fpu/math_private.h: Likewise.
69202         (math_opt_barrier, math_force_eval): Remove.
69203         (libc_feholdexcept): Remove.
69204         (libc_feholdexcept_setround): Remove.
69205         (libc_fetestexcept, libc_fesetenv): Remove.
69206         (libc_feupdateenv_test): Remove.
69207         (libc_feupdateenv, libc_feholdsetround): Remove.
69208         (libc_feresetround): Remove.
69210         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
69211         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
69213         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
69214         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
69215         (libc_feupdateenv_testl): New.
69216         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
69217         (libc_feupdateenv_testf): New.
69218         (libc_feupdateenv): Use libc_feupdateenv_test.
69219         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
69220         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
69222         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
69223         (libc_feholdsetroundf, libc_feholdsetroundl): New.
69224         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
69225         (libc_feresetround_noex): New.
69226         (libc_feresetround_noexf): New.
69227         (libc_feresetround_noexl): New.
69228         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
69229         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
69230         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
69231         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
69232         SET_RESTORE_ROUND.
69233         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
69234         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
69235         (__cos): Likewise.
69236         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
69237         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
69238         SET_RESTORE_ROUND_NOEX.
69239         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
69240         SET_RESTORE_ROUND_NOEXF.
69241         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
69242         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
69243         (libc_feholdsetroundf): New.
69244         (libc_feresetround, libc_feresetroundf): New.
69246         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
69247         (libc_feholdexcept_setround_53bit): Convert from macro to function.
69248         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
69250         * sysdeps/generic/math_private.h: Include <fenv.h>.
69251         (default_libc_feholdexcept): New.
69252         (default_libc_feholdexcept_setround): New.
69253         (default_libc_fesetenv, default_libc_feupdateenv): New.
69254         (libc_feholdexcept): Only define if undefined.
69255         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
69256         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
69257         (libc_feholdexcept_setroundl): Likewise.
69258         (libc_feholdexcept_setround_53bit): Likewise.
69259         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
69260         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
69261         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
69262         (libc_feupdateenv_53bit): Likewise.
69263         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
69264         (libc_feholdexcept): Convert from macro to inline function.
69265         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
69266         (libc_fesetenv, libc_feupdateenv): Likewise.
69268         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
69269         not previously defined.
69270         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
69271         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
69272         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
69273         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
69274         * sysdeps/ieee754/flt-32/math_private.h: New file.
69275         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
69276         math_private.h below SET_FLOAT_WORD.
69277         (__isnan, __isinf_ns, __finite): Remove.
69278         (__isnanf, __isinf_nsf, __finitef): Remove.
69280 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
69282         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69284 2012-03-17  David S. Miller  <davem@davemloft.net>
69286         [BZ #6471]
69287         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
69288         for 2.16.
69290 2012-03-16  David S. Miller  <davem@davemloft.net>
69292         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
69293         warnings.
69295         [BZ #6471]
69296         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
69297         properly.
69298         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
69299         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
69300         sysdep_routines when subdir is sysvipc.
69301         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
69302         __getshmlba helper.
69304         * sysdeps/sparc/fpu/libm-test/ulps: Update.
69306 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69308         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
69309         [__LP64__].
69311 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69313         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
69314         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
69315         (__lround): Renamed to ...
69316         (__llround): This.  Replace long int with long long int.
69317         Define lround functions as aliases of llround functions.
69318         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
69320 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69322         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
69323         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
69324         adresses to uintptr_t.  Replace "long int" and "unsigned long
69325         int" with "greg_t" on va_arg.
69327 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69329         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
69330         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
69332         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
69333         Move e_machine check before EI_CLASS check.  Handle x32
69334         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
69335         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
69336         SKIP_EM_IA_64 and include
69337         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
69339         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
69340         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
69341         (add_system_dir): New macro.
69343         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
69344         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
69346 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69348         [BZ #2551]
69349         [BZ #2552]
69350         [BZ #2553]
69351         [BZ #2554]
69352         [BZ #2562]
69353         [BZ #2563]
69354         [BZ #2565]
69355         [BZ #2566]
69356         [BZ #2576]
69357         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
69358         (y0): Likewise.
69359         * math/w_j0f.c (j0f): Likewise.
69360         (y0f): Likewise.
69361         * math/w_j0l.c (__j0l): Likewise.
69362         (__y0l): Likewise.
69363         * math/w_j1.c (j1): Likewise.
69364         (y1): Likewise.
69365         * math/w_j1f.c (j1f): Likewise.
69366         (y1f): Likewise.
69367         * math/w_j1l.c (__j1l): Likewise.
69368         (__y1l): Likewise.
69369         * math/w_jn.c (jn): Likewise.
69370         (yn): Likewise.
69371         * math/w_jnf.c (jnf): Likewise.
69372         (ynf): Likewise.
69373         * math/w_jnl.c (__jnl): Likewise.
69374         (__ynl): Likewise.
69375         * math/libm-test.inc (j0_test): Add more tests.
69376         (j1_test): Likewise.
69377         (jn_test): Likewise.  Add trailing semicolon to existing test.
69378         (y0_test): Likewise.
69379         (y1_test): Likewise.
69380         * sysdeps/i386/fpu/libm-test-ulps: Update.
69381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69383         [BZ #13851]
69384         [BZ #13854]
69385         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
69386         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
69387         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
69388         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
69389         (__tanl): Set errno for infinite argument.
69390         * sysdeps/i386/fpu/mptan.c: Remove.
69391         * sysdeps/i386/fpu/s_tan.S: Likewise.
69392         * sysdeps/i386/fpu/s_tanl.S: Likewise.
69393         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
69394         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
69395         * math/libm-test.inc (tan_test): Add more tests and enable more
69396         tests for double and long double.
69397         * sysdeps/i386/fpu/libm-test-ulps: Update.
69398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69400 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
69402         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
69403         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
69405 2012-03-16  Roland McGrath  <roland@hack.frob.com>
69407         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
69408         * configure.in: Use it for both main tree and add-ons.
69409         * configure: Regenerated.
69411 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69413         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
69415 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69417         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
69418         in comment.
69420         [BZ #13851]
69421         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
69422         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
69423         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
69424         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
69425         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
69426         infinite argument.
69427         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
69428         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
69429         != 0 for prec == 2.
69430         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
69431         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
69432         * sysdeps/i386/fpu/s_cosl.S: Likewise.
69433         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
69434         * sysdeps/i386/fpu/s_sinl.S: Likewise.
69435         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
69436         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
69437         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
69438         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
69439         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
69440         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
69441         * math/libm-test.inc (cos_test): Add more tests and enable more
69442         tests for long double.
69443         (sin_test): Likewise.
69444         (sincos_test): Likewise.
69445         * sysdeps/i386/fpu/libm-test-ulps: Update.
69446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69448 2012-03-16  David S. Miller  <davem@davemloft.net>
69450         * sysdeps/sparc/fpu/math_private.h: New file.
69452 2012-03-15  David S. Miller  <davem@davemloft.net>
69454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
69455         file.
69456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
69457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
69458         file.
69459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
69460         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
69461         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
69462         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
69463         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
69464         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
69465         sysdep routines.
69466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
69468         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
69469         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
69471         * sysdeps/sparc/sparc-ifunc.h: New file.
69472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
69473         sparc-ifunc.h
69474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
69475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
69476         Likewise.
69477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
69478         Likewise.
69479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
69480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
69481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
69482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
69483         Likewise.
69484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
69485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
69486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
69487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
69488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
69489         Likewise.
69490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
69491         Likewise.
69492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
69493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
69494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
69495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
69496         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
69497         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
69498         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
69499         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
69500         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
69501         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
69502         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
69503         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
69504         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
69505         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
69506         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
69507         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
69508         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
69509         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
69510         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
69511         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
69512         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
69513         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
69514         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
69515         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
69517 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
69519         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
69520         scaling.
69521         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69523 2012-03-15  Andreas Jaeger  <aj@suse.de>
69525         [BZ #13852]
69526         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
69527         ieee754/flt-32 implementation for sin, cos and sincos.
69528         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
69529         * sysdeps/i386/fpu/s_cosf.S: Likewise.
69530         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
69531         * sysdeps/i386/fpu/s_sinf.S: Likewise.
69532         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
69533         ieee754/flt-32 implementation for tan.
69535         * math/libm-test.inc (cos_test): Enable some large input tests for
69536         float as well
69537         (sin_test): Likewise.
69538         (sincos_test): Likewise.
69539         (tan_test): Add tests for large input.
69541         * sysdeps/i386/fpu/libm-test-ulps: Update.
69543 2012-03-15  Andreas Jaeger  <aj@suse.de>
69545         [BZ #13658]
69546         * math/libm-test.inc (cos_test): Add more test cases.
69547         (sin_test): Likewise.
69548         (sincos_test): Likewise.
69550 2012-03-15  Andreas Jaeger  <aj@suse.de>
69552         [BZ #13837]
69553         * math/libm-test.inc (cos_test): Add a test case for large input
69554         value.
69555         (sin_test): Likewise.
69556         (sincos_test): Likewise.
69558 2012-03-15  Andreas Jaeger  <aj@suse.de>
69559             Joseph Myers  <joseph@codesourcery.com>
69561         [BZ #13658]
69562         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
69563         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
69564         * sysdeps/i386/fpu/branred.c: Likewise.
69565         * sysdeps/i386/fpu/dosincos.c: Likewise.
69566         * sysdeps/i386/fpu/mpa.c: Likewise.
69567         * sysdeps/i386/fpu/s_cos.S: Likewise.
69568         * sysdeps/i386/fpu/s_sin.S: Likewise.
69569         * sysdeps/i386/fpu/s_sincos.S: Likewise.
69570         * sysdeps/i386/fpu/sincos32.c: Likewise.
69572         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
69573         Define.
69574         (libc_feupdateenv_53bit): Define.
69575         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
69576         Define.
69577         (libc_feupdateenv_53bit): Define.
69579         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
69580         53 bit (without extend i386 double precision).
69582         * math/libm-test.inc (sincos_test): Add tests for large input.
69583         (sin): Likewise.
69584         (cos): Likewise.
69586         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
69588 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
69590         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69592 2012-03-15  David S. Miller  <davem@davemloft.net>
69594         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
69595         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
69596         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
69597         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
69598         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
69599         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
69600         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
69601         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
69602         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
69603         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
69604         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
69605         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
69606         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
69607         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
69608         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
69609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
69610         file.
69611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
69612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
69613         file.
69614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
69615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
69616         file.
69617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
69618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
69619         file.
69620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
69621         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
69622         fmin/fmax sysdep routines.
69623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
69625 2012-03-14  David S. Miller  <davem@davemloft.net>
69627         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
69628         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
69629         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
69630         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
69631         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
69632         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
69633         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
69634         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
69635         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
69636         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
69637         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
69638         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
69639         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
69640         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
69641         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
69642         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
69643         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
69644         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
69645         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
69646         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
69647         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
69648         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
69649         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
69650         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
69651         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
69652         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
69653         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
69654         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
69655         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
69656         routines.
69657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
69658         file.
69659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
69660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
69661         file.
69662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
69663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
69664         file.
69665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
69666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
69667         file.
69668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
69669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
69670         file.
69671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
69672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
69673         file.
69674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
69675         file.
69676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
69677         file.
69678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
69679         file.
69680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
69681         New file.
69682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
69683         file.
69684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
69685         file.
69686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
69687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
69688         file.
69689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
69690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
69691         file.
69692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
69693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
69694         file.
69695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
69696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
69697         VIS3 routines.
69699         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
69700         New file.
69702         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69704         * sysdeps/sparc/configure.in: New file.
69705         * sysdeps/sparc/configure: Generate.
69706         * configure.in (libc_cv_sparc_as_vis3): Substitute.
69707         * configure: Regenerate.
69708         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
69709         * config.make.in (have-as-vis3): New.
69710         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
69711         available use -Av9d instead of -Av9a.
69712         * sysdeps/sparc/sparc64/Makefile: Likewise.
69713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
69714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
69715         New file.
69716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
69717         file.
69718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
69719         New file.
69720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
69721         file.
69722         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
69723         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
69724         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
69725         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
69726         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
69728         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
69729         fzeros/fnegs to load 0x80000000 into a float register instead of
69730         using the stack.
69731         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
69733 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
69735         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69736         bits/syscall.h.
69737         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
69738         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
69739         ($(inst_includedir)/bits/syscall.h): Remove rule.
69740         ($(objpfx)bits/syscall.d): Include instead of
69741         $(objpfx)syscall-list.d.
69742         (generated): Change syscall-list.h and syscall-list.d to
69743         bits/syscall.h and bits/syscall.d.
69745 2012-03-14  Roland McGrath  <roland@hack.frob.com>
69747         [BZ #13846]
69748         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
69750 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
69752         [BZ #13841]
69753         * math/s_csqrt.c: Include <float.h>.
69754         (__csqrt): Scale large or subnormal inputs.
69755         * math/s_csqrtf.c: Likewise.
69756         * math/s_csqrtl.c: Likewise.
69757         * math/libm-test.inc (csqrt_test): Add more tests.
69758         * sysdeps/i386/fpu/libm-test-ulps: Update.
69759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69761         [BZ #13840]
69762         * math/libm-test.inc (hypot_test): Add more tests.
69764 2012-03-13  David S. Miller  <davem@davemloft.net>
69766         [BZ #13840]
69767         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
69768         double-precision for the calculation instead of scaling.
69770 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
69772         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
69773         manipulate bits before adding and subtracting TWO52[sx].
69774         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
69775         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
69776         Likewise.
69777         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
69779 2012-03-13  David S. Miller  <davem@davemloft.net>
69781         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
69782         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
69783         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
69784         rtld-global-offsets.h
69785         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69787         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
69788         large parameters.
69790         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
69792         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
69793         'err' in the ifdef scope in which it is actually used.
69795         * nss/nss_db/db-init.c: Include string.h
69797 2012-03-12  David S. Miller  <davem@davemloft.net>
69799         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
69800         masking out of the most significant byte of random value used.
69801         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69802         Fix coding style in previous change.
69804         * sysdeps/unix/sysv/linux/kernel-features.h
69805         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
69806         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
69807         expression.
69808         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
69809         later.
69811 2012-03-11  David S. Miller  <davem@davemloft.net>
69813         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
69814         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
69815         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
69816         for 'resultvar' otherwise things get truncated on 64-bit.
69818         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69819         Fix masking out of the most significant byte of random value used.
69821         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69823 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
69825         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69827 2012-03-09  David S. Miller  <davem@davemloft.net>
69829         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
69830         variables with appropriate CPP guards.
69831         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
69832         from the frame pointer, not the stack pointer.  Correct layout
69833         comments.  Fix test on resulting framesize and the management of
69834         the outregs buffer for pltexit.  Preserve floating point return
69835         values across _dl_call_pltexit call.
69836         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
69837         framesize and the management of the outregs buffer for pltexit.
69838         Preserve floating point return values across _dl_call_pltexit
69839         call.
69840         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
69841         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
69842         (la_sparc64_gnu_pltexit): New functions.
69843         (print_exit): Fix format string for return register value.
69845 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
69847         * sunrpc/Makefile (others): Add rpcgen.
69848         ($(objpfx)rpcgen): Remove special build rule and dependency on
69849         libc.
69850         * sunrpc/rpcgen.c: New file.
69852 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
69854         [BZ #13673]
69855         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
69856         * stdio-common/bug-vfprintf-nargs.c: Likewise.
69857         * sysdeps/i386/crti.S: Likewise.
69858         * sysdeps/i386/crtn.S: Likewise.
69859         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
69860         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
69861         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
69862         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
69863         * sysdeps/sh/crti.S: Likewise.
69864         * sysdeps/sh/crtn.S: Likewise.
69865         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
69867         [BZ #13673]
69868         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
69869         with URL.
69870         * locale/programs/locfile-kw.gperf: Likewise.
69871         * locale/programs/charmap-kw.h: Regenerated.
69872         * locale/programs/locfile-kw.h: Likewise.
69874         [BZ #13673]
69875         * intl/plural.y: Replace FSF snail mail address with URL.
69876         * intl/plural.c: Regenerated.
69878 2012-03-09  Richard Henderson  <rth@twiddle.net>
69880         * include/math_private.h: Remove file.
69881         * math/math_private.h: Move file ...
69882         * sysdeps/generic/math_private.h: ... here.
69884         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
69885         * sysdeps/powerpc/fpu/math_private.h: Likewise.
69886         * sysdeps/x86_64/fpu/math_private.h: Likewise.
69888         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
69889         and <math_private.h>.
69890         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
69891         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
69892         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
69893         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
69894         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
69895         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
69896         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69897         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69898         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
69899         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69900         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69901         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69902         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
69903         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69904         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
69905         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
69906         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69907         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
69908         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
69909         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
69910         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69911         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
69912         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
69913         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69914         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
69915         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
69916         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
69917         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69918         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69919         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
69920         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
69921         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69922         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
69923         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
69924         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
69925         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
69926         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
69927         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
69928         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
69929         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69930         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
69931         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
69932         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
69933         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
69934         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
69935         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
69936         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
69937         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
69938         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
69939         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
69940         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
69941         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
69942         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
69943         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
69944         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
69945         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
69946         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69947         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
69948         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
69949         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
69950         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
69951         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
69952         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69953         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
69954         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
69955         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
69956         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
69957         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
69958         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
69959         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
69960         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
69961         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69962         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
69963         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69964         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
69965         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
69966         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
69967         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
69968         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
69969         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
69970         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
69971         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
69972         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
69973         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
69974         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
69975         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
69976         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
69977         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
69978         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
69979         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69980         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69981         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
69982         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69983         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
69984         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
69985         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
69986         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69987         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
69988         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69989         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
69990         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
69991         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
69992         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
69993         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
69994         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
69995         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
69996         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
69997         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
69998         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
69999         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
70000         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
70001         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
70002         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
70003         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
70004         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
70005         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70006         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
70007         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
70008         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
70009         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
70010         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
70011         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70012         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70013         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
70014         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
70015         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
70016         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
70017         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
70018         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70019         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
70020         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
70021         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
70022         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70023         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
70024         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
70025         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70026         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
70027         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70028         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
70029         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
70030         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70031         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70032         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70033         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
70034         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
70035         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70036         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70037         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70038         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
70039         * sysdeps/ieee754/k_standard.c: Likewise.
70040         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
70041         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
70042         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70043         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
70044         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
70045         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
70046         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
70047         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
70048         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
70049         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
70050         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70051         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
70052         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
70053         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
70054         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
70055         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
70056         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
70057         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
70058         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
70059         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
70060         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
70061         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
70062         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70063         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70064         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
70065         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
70066         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70067         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70068         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70069         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70070         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
70071         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70072         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70073         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70074         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
70075         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70076         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70077         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
70078         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
70079         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70080         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
70081         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
70082         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
70083         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70084         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
70085         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
70086         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70087         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70088         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70089         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70090         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
70091         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
70092         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
70093         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
70094         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
70095         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
70096         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
70097         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
70098         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
70099         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
70100         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
70101         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
70102         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
70103         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
70104         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70105         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70106         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
70107         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
70108         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
70109         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
70110         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
70111         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70112         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
70113         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
70114         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
70115         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
70116         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
70117         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
70118         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70119         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
70120         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
70121         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
70122         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
70123         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
70124         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
70125         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
70126         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
70127         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
70128         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
70129         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
70130         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
70131         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
70132         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
70133         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
70134         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
70135         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
70136         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
70137         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
70138         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
70139         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
70140         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
70141         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
70142         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
70143         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
70144         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
70145         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
70146         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
70147         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
70148         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
70149         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
70150         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
70151         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
70152         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
70153         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70154         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
70155         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70156         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
70157         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70158         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70159         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
70160         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70161         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
70162         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
70163         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
70164         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70165         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
70166         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
70167         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
70168         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
70169         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
70170         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
70171         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
70172         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
70173         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
70174         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
70175         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
70176         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
70177         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
70178         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
70179         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
70180         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
70181         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
70182         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
70183         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
70184         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70185         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
70186         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
70187         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
70188         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
70189         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
70190         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
70191         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
70192         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70193         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70194         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
70195         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
70196         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
70197         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
70198         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
70199         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
70200         * sysdeps/ieee754/s_lib_version.c: Likewise.
70201         * sysdeps/ieee754/s_matherr.c: Likewise.
70202         * sysdeps/ieee754/s_signgam.c: Likewise.
70203         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
70204         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
70205         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
70206         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
70207         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
70208         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
70209         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
70210         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
70211         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
70212         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
70213         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
70214         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
70215         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
70216         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
70217         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
70218         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
70219         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
70220         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
70221         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
70222         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
70223         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
70225 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70227         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
70228         * sunrpc/rpc_main.c: Likewise.
70229         * sunrpc/rpc_svcout.c: Likewise.
70231 2012-03-09  David S. Miller  <davem@davemloft.net>
70233         * include/math_private.h: New file.
70235 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70237         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
70238         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
70239         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
70240         from <bits/socket_type.h>.
70241         (enum __socket_type): Don't define here.
70242         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
70243         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70244         bits/socket_type.h.
70246         [BZ #13566]
70247         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
70248         checking __USE_GNU.
70250         * Makerules ($(inst_includedir)/%.h): New rule.
70251         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
70252         (install-others): Remove variable setting.
70253         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
70255 2012-03-08  Richard Henderson  <rth@twiddle.net>
70257         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
70258         from macro to inline function; merge with the
70259         !__LIBC_INTERNAL_MATH_INLINES version.
70260         (__ieee754_sqrtf): Likewise.
70262         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
70263         to inline function.
70264         (__rintf, __floor, __floorf): Likewise.
70266         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
70267         macro to inline function.
70268         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
70270         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
70271         not <math/math_private.h>.
70273 2012-03-08  David S. Miller  <davem@davemloft.net>
70275         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
70276         copyright year.
70277         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
70279 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
70281         * resolv/gai_misc.c (handle_requests): Fix struct timespec
70282         normalization.
70283         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
70284         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
70286 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
70288         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
70289         be defined individually, they must be defined as a block.  Define
70290         S for printing a string instead of hidint the different by using a
70291         macro for adding the 'l'.
70292         * stdio-common/tst-fphex-wide.c: Adjust.
70294 2012-03-07  Marek Polacek  <polacek@redhat.com>
70296         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
70298 2012-03-08  Marek Polacek  <polacek@redhat.com>
70300         [BZ #13806]
70301         * stdio-common/Makefile (tests): Add tst-fphex-wide.
70302         * stdio-common/tst-fphex.c: Define a few macros to make the
70303         test reusable.  Use them.
70304         * stdio-common/tst-fphex-wide.c: New file.
70306 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
70308         [BZ #6911]
70309         * manual/macros.texi (gnusystems): New macro.
70310         (nongnusystems): Likewise.
70311         (gnulinuxhurdsystems): Likewise.
70312         (gnuhurdsystems): Likewise..
70313         (gnulinuxsystems): Likewise.
70314         * manual/charset.texi: Use new macros or @theglibc{} to refer to
70315         variants of the GNU system, not "GNU system".
70316         * manual/conf.texi: Likewise.
70317         * manual/errno.texi: Likewise.  Update example of errno macro
70318         expansion.
70319         * manual/filesys.texi: Likewise.
70320         (getumask): Document as specific to GNU/Hurd.
70321         * manual/install.texi: Likewise.  Reword some references to
70322         GNU/Linux.
70323         * manual/intro.texi: Likewise.
70324         * manual/io.texi: Likewise.
70325         (File Name Portability): Detail which constraints are inapplicable
70326         to all GNU systems and which are only inapplicable to GNU/Hurd.
70327         * manual/job.texi: Likewise.
70328         * manual/llio.texi: Likewise.
70329         (O_NOCTTY): Document as present on GNU/Linux.
70330         * manual/maint.texi: Likewise.
70331         * manual/memory.texi: Likewise.
70332         * manual/pattern.texi: Likewise.
70333         * manual/pipe.texi: Likewise.
70334         * manual/process.texi: Likewise.
70335         * manual/resource.texi: Likewise.
70336         (RUSAGE_CHILDREN): Remove statement about specifying a particular
70337         child on GNU/Hurd.
70338         * manual/setjmp.texi: Likewise.
70339         * manual/signal.texi: Likewise.
70340         * manual/startup.texi: Likewise.
70341         * manual/stdio.texi: Likewise.
70342         * manual/terminal.texi: Likewise.
70343         (ONLCR): Document as POSIX.
70344         (OXTABS): Document availability on GNU/Linux as XTABS.
70345         (ONOEOT): Document availability separately from other bits.
70346         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
70347         * manual/time.texi: Likewise.
70348         * manual/users.texi: Likewise.
70349         * INSTALL: Regenerated.
70350         * sysdeps/gnu/errlist.c: Regenerated.
70352         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
70353         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
70354         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
70355         puts.
70356         * configure: Regenerated.
70358 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
70360         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
70361         default includes instead of AC_HEADER_CHECK.
70362         * sysdeps/i386/configure: Regenerated.
70364         [BZ #10716]
70365         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
70366         * math/s_cacoshf.c (__cacoshf): Likewise.
70367         * math/s_cacoshl.c (__cacoshl): Likewise.
70368         * math/s_casinh.c (__casinh): Set signs of result from argument.
70369         * math/s_casinhf.c (__casinhf): Likewise.
70370         * math/s_casinhl.c (__casinhl): Likewise.
70371         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
70372         (casinh_test): Add more tests.
70373         * sysdeps/i386/fpu/libm-test-ulps: Update.
70374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70376 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
70378         * po/zh_TW.po: Update from translation team.
70380         * login/Makefile (distribute): Remove variable.
70381         * catgets/Makefile: Likewise.
70382         * mach/Makefile: Likewise.
70383         * malloc/Makefile: Likewise.
70384         * misc/Makefile: Likewise.
70385         * iconv/Makefile: Likewise.
70386         * nscd/Makefile: Likewise.
70387         * hurd/Makefile: Likewise.
70388         * manual/Makefile: Likewise.
70389         * locale/Makefile: Likewise.
70390         * intl/Makefile: Likewise.
70391         * conform/Makefile: Likewise.
70392         * nss/Makefile: Likewise.
70393         * time/Makefile: Likewise.
70394         * soft-fp/Makefile: Likewise.
70395         * dirent/Makefile: Likewise.
70396         * gmon/Makefile: Likewise.
70397         * po/Makefile: Likewise.
70398         * rt/Makefile: Likewise.
70399         * socket/Makefile: Likewise.
70400         * math/Makefile: Likewise.
70401         * signal/Makefile: Likewise.
70402         * debug/Makefile: Likewise.
70403         * elf/Makefile: Likewise.
70404         * timezone/Makefile: Likewise.
70405         * stdlib/Makefile: Likewise.
70406         * iconvdata/Makefile: Likewise.
70407         * sunrpc/Makefile: Likewise.
70408         * io/Makefile: Likewise.
70409         * argp/Makefile: Likewise.
70410         * inet/Makefile: Likewise.
70411         * hesiod/Makefile: Likewise.
70412         * grp/Makefile: Likewise.
70413         * csu/Makefile: Likewise.
70414         * wctype/Makefile: Likewise.
70415         * crypt/Makefile: Likewise.
70416         * libio/Makefile: Likewise.
70417         * string/Makefile: Likewise.
70418         * nis/Makefile: Likewise.
70419         * resolv/Makefile: Likewise.
70420         * stdio-common/Makefile: Likewise.
70421         * wcsmbs/Makefile: Likewise.
70422         * dlfcn/Makefile: Likewise.
70423         * posix/Makefile: Likewise.
70425         [BZ #6959]
70426         * timezone/Makefile: Don't install timezone files, just the programs
70427         and scripts.
70429 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
70431         * nss/databases.def: Add missing gshadow entry.
70433         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
70435 2012-03-06  Marek Polacek  <polacek@redhat.com>
70437         [BZ #13726]
70438         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
70439         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
70440         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
70441         * stdio-common/tst-long-dbl-fphex.c: New file.
70443 2012-03-06  David S. Miller  <davem@davemloft.net>
70445         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70446         (set_obp_int): New function.
70447         (get_obp_int): New function.
70448         (__get_clockfreq_via_dev_openprom): Likewise.
70449         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
70450         Avoid unused variable warnings on 'val' and use builtin_expect.
70451         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
70452         __builtin_expect.
70453         (INLINE_CLONE_SYSCALL): Likewise.
70455 2012-03-05  David S. Miller  <davem@davemloft.net>
70457         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70459 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
70461         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70463         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
70464         only for |x| >= 40.
70465         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70467 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
70469         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
70470         Replace gettimeofday with __vdso_gettimeofday.
70472         * sysdeps/unix/sysv/linux/x86_64/init-first.c
70473         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
70474         __vdso_clock_gettime and __vdso_getcpu.
70476         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
70477         time with __vdso_time.
70479 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
70481         * manual/lang.texi (size_t): Note types to which size_t may be
70482         equivalent with the GNU C Library, but do not describe when
70483         differences between them are significant.
70485 2012-03-05  Andreas Jaeger  <aj@suse.de>
70487         * sysdeps/i386/fpu/libm-test-ulps: Update.
70489 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
70491         [BZ #3976]
70492         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
70493         (__ieee754_pow): Save and restore rounding mode and use
70494         round-to-nearest for main computations.
70495         * math/libm-test.inc (pow_test_tonearest): New function.
70496         (pow_test_towardzero): Likewise.
70497         (pow_test_downward): Likewise.
70498         (pow_test_upward): Likewise.
70499         (main): Call the new functions.
70500         * sysdeps/i386/fpu/libm-test-ulps: Update.
70501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70503         [BZ #3976]
70504         * math/libm-test.inc (cosh_test_tonearest): New function.
70505         (cosh_test_towardzero): Likewise.
70506         (cosh_test_downward): Likewise.
70507         (cosh_test_upward): Likewise.
70508         (sinh_test_tonearest): Likewise.
70509         (sinh_test_towardzero): Likewise.
70510         (sinh_test_downward): Likewise.
70511         (sinh_test_upward): Likewise.
70512         (main): Call the new functions.
70513         * sysdeps/i386/fpu/libm-test-ulps: Update.
70514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70516 2012-03-05  Tom de Vries  <tom@codesourcery.com>
70518         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
70519         default stack guard is set in last bytes.
70520         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
70522 2012-03-05  Kees Cook  <keescook@chromium.org>
70524         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
70526         [BZ #13656]
70527         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
70528         possibly allocate from heap instead of stack.
70529         * stdio-common/bug-vfprintf-nargs.c: New file.
70530         * stdio-common/Makefile (tests): Add nargs overflow test.
70532 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
70534         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70536 2012-03-03  Marek Polacek  <polacek@redhat.com>
70538         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
70539         * math/math_private.h: Likewise.
70540         * stdlib/tst-strtod.c: Likewise.
70541         * sysdeps/i386/i486/bits/atomic.h: Likewise.
70542         * sysdeps/x86_64/bits/atomic.h: Likewise.
70544 2012-03-02  David S. Miller  <davem@davemloft.net>
70546         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
70547         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
70548         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
70549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
70550         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
70551         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
70552         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
70553         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
70555 2012-03-02  Roland McGrath  <roland@hack.frob.com>
70557         [BZ #13792]
70558         * manual/examples/README: New file, says the example source files
70559         can be used under GPL>=2.
70560         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
70561         line containing just "*/".
70562         * manual/examples/add.c: Add copyright header (GPL>=2).
70563         * manual/examples/argp-ex1.c: Likewise.
70564         * manual/examples/argp-ex2.c: Likewise.
70565         * manual/examples/argp-ex3.c: Likewise.
70566         * manual/examples/argp-ex4.c: Likewise.
70567         * manual/examples/atexit.c: Likewise.
70568         * manual/examples/db.c: Likewise.
70569         * manual/examples/dir.c: Likewise.
70570         * manual/examples/dir2.c: Likewise.
70571         * manual/examples/execinfo.c: Likewise.
70572         * manual/examples/filecli.c: Likewise.
70573         * manual/examples/filesrv.c: Likewise.
70574         * manual/examples/fmtmsgexpl.c: Likewise.
70575         * manual/examples/genpass.c: Likewise.
70576         * manual/examples/inetcli.c: Likewise.
70577         * manual/examples/inetsrv.c: Likewise.
70578         * manual/examples/isockad.c: Likewise.
70579         * manual/examples/longopt.c: Likewise.
70580         * manual/examples/memopen.c: Likewise.
70581         * manual/examples/memstrm.c: Likewise.
70582         * manual/examples/mkfsock.c: Likewise.
70583         * manual/examples/mkisock.c: Likewise.
70584         * manual/examples/mygetpass.c: Likewise.
70585         * manual/examples/pipe.c: Likewise.
70586         * manual/examples/popen.c: Likewise.
70587         * manual/examples/rprintf.c: Likewise.
70588         * manual/examples/search.c: Likewise.
70589         * manual/examples/select.c: Likewise.
70590         * manual/examples/setjmp.c: Likewise.
70591         * manual/examples/sigh1.c: Likewise.
70592         * manual/examples/sigusr.c: Likewise.
70593         * manual/examples/stpcpy.c: Likewise.
70594         * manual/examples/strdupa.c: Likewise.
70595         * manual/examples/strftim.c: Likewise.
70596         * manual/examples/strncat.c: Likewise.
70597         * manual/examples/subopt.c: Likewise.
70598         * manual/examples/swapcontext.c: Likewise.
70599         * manual/examples/termios.c: Likewise.
70600         * manual/examples/testopt.c: Likewise.
70601         * manual/examples/testpass.c: Likewise.
70602         * manual/examples/timeval_subtract.c: Likewise.
70604         [BZ #13792]
70605         * manual/time.texi (Elapsed Time): Move timeval_subtract example
70606         function to ...
70607         * manual/timeval_subtract.c.texi: ... here, new file.
70609 2012-03-02  David S. Miller  <davem@davemloft.net>
70611         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
70613 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
70615         [BZ #3976]
70616         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
70617         (__sin): Save and restore rounding mode and use round-to-nearest
70618         for all computations.
70619         (__cos): Save and restore rounding mode and use round-to-nearest
70620         for all computations.
70621         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
70622         <fenv.h>.
70623         (tan): Save and restore rounding mode and use round-to-nearest for
70624         all computations.
70625         * math/libm-test.inc (cos_test_tonearest): New function.
70626         (cos_test_towardzero): Likewise.
70627         (cos_test_downward): Likewise.
70628         (cos_test_upward): Likewise.
70629         (sin_test_tonearest): Likewise.
70630         (sin_test_towardzero): Likewise.
70631         (sin_test_downward): Likewise.
70632         (sin_test_upward): Likewise.
70633         (tan_test_tonearest): Likewise.
70634         (tan_test_towardzero): Likewise.
70635         (tan_test_downward): Likewise.
70636         (tan_test_upward): Likewise.
70637         (main): Call the new functions.
70638         * sysdeps/i386/fpu/libm-test-ulps: Update.
70639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70641         [BZ #10135]
70642         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
70643         small n, then large n, before computing and testing k+n.
70644         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
70645         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
70646         Likewise.
70647         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
70648         Likewise.
70649         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
70650         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
70651         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
70652         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
70653         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
70654         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
70655         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
70656         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
70657         * math/libm-test.inc (scalbn_test): Add more tests.
70658         (scalbln_test): Likewise.
70660         * manual/filesys.texi (mode_t): Describe constraints on size and
70661         signedness, not exact equivalence to a particular type.
70662         (ino_t): Likewise.
70663         (ino64_t): Likewise.
70664         (dev_t): Likewise.
70665         (nlink_t): Likewise.
70666         (blkcnt_t): Likewise.
70667         (blkcnt64_t): Likewise.
70668         * manual/llio.texi (off_t): Likewise.
70670         [BZ #3976]
70671         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
70672         (__ieee754_exp): Save and restore rounding mode and use
70673         round-to-nearest for all computations.
70674         * math/libm-test.inc (exp_test_tonearest): New function.
70675         (exp_test_towardzero): Likewise.
70676         (exp_test_downward): Likewise.
70677         (exp_test_upward): Likewise.
70678         (main): Call the new functions.
70679         * sysdeps/i386/fpu/libm-test-ulps: Update.
70680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70682 2012-03-01  Chris Demetriou  <cgd@google.com>
70684         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
70685         have predictable order.
70687 2012-03-01  David S. Miller  <davem@davemloft.net>
70689         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
70691         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
70692         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
70693         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
70694         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
70696         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
70697         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
70698         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
70699         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
70700         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
70701         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
70702         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
70703         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
70704         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
70706         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70708         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
70709         * sysdeps/sparc/fpu/libm-test-ulps: to here.
70710         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
70712         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
70713         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
70714         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
70715         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
70716         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
70717         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
70718         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
70719         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
70720         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
70721         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
70722         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
70723         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
70724         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
70725         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
70726         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
70727         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70728         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
70729         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
70730         * sysdeps/sparc/elf/configure: Regenerated.
70732 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
70734         * configure.in (AS, LD): Require binutils 2.20 or later.
70735         * configure: Regenerated.
70736         * manual/install.texi (Tools for Compilation): Give binutils 2.20
70737         as required minimum version.
70738         * INSTALL: Regenerated.
70740         [BZ #2541]
70741         [BZ #4108]
70742         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
70743         before squaring exponent.
70744         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
70745         bottom long double and 27 bits of top long double before squaring
70746         exponent.
70747         * math/libm-test.inc (erfc_test): Add more tests.
70748         * sysdeps/i386/fpu/libm-test-ulps: Update.
70749         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70752 2012-03-01  Kai Tietz  <ktietz@redhat.com>
70754         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
70755         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
70756         containing bit-fields.
70757         * soft-fp/extended.h (_FP_UNION_E): Likewise.
70758         * soft-fp/single.h (_FP_UNION_S): Likewise.
70759         * soft-fp/double.h (_FP_UNION_D): Likewise.
70761 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
70763         [BZ #13786]
70764         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
70765         not include ../strcmp.S.
70766         [USE_AS_STRNCASECMP_L]: Likewise.
70767         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
70768         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
70769         * sysdeps/i386/i686/multiarch/strncase_l-c.c
70770         (__strncasecmp_l_ia32): Define as alias to
70771         __strncasecmp_l_nonascii.
70773         [BZ #5794]
70774         * math/libm-test.inc (expm1_test): Add test for bug 5794.
70775         * sysdeps/i386/fpu/libm-test-ulps: Update.
70776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70778         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
70779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70781 2012-02-29  Jeff Law  <law@redhat.com>
70783         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
70784         out of bounds read.
70786 2012-02-29  Marek Polacek  <polacek@redhat.com>
70788         [BZ #13706]
70789         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
70790         * elf/Makefile: Add rules to run tst-unused-dep.out.
70792 2012-02-28  David S. Miller  <davem@davemloft.net>
70794         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
70795         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
70796         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
70797         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
70798         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
70799         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
70801 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
70803         * math/libm-test.inc (llround_test): Move one test from
70804         lround_test.  Use TEST_f_L in moved test.
70805         (lround_test): Move misplaced test to llround_test.  Add testcase
70806         from bug 2561.
70808 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
70810         * sysdeps/x86_64/fpu/e_expf.S: New file.
70811         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
70813 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
70815         [BZ #13637]
70816         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
70817         of remain_len that may cause incomplete multi-byte character and
70818         false match.
70819         * posix/bug-regex33.c: New file.
70820         * posix/Makefile (tests): Add bug-regex33.
70822 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
70824         * manual/macros.texi: New file.
70825         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
70826         * manual/libc.texinfo: Include macros.texi.
70827         * manual/creatute.texi: Likewise.
70828         * manual/install.texi: Likewise.
70829         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
70830         @glibcadj{} in references to the GNU C Library.
70831         * manual/charset.texi: Likewise.
70832         * manual/conf.texi: Likewise.
70833         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
70834         when not using those macros.
70835         * manual/creature.texi: Likewise.
70836         * manual/crypt.texi: Likewise.
70837         * manual/errno.texi: Likewise.
70838         * manual/filesys.texi: Likewise.
70839         * manual/header.texi: Likewise.
70840         * manual/install.texi: Likewise.
70841         * manual/intro.texi: Likewise.
70842         * manual/io.texi: Likewise.
70843         * manual/job.texi: Likewise.
70844         * manual/lang.texi: Likewise.
70845         * manual/libc.texiinfo: Likewise.
70846         * manual/llio.texi: Likewise.
70847         * manual/locale.texi: Likewise.
70848         * manual/maint.texi: Likewise.
70849         * manual/math.texi: Likewise.
70850         * manual/memory.texi: Likewise.
70851         * manual/message.texi: Likewise.
70852         * manual/nss.texi: Likewise.
70853         * manual/pattern.texi: Likewise.
70854         * manual/process.texi: Likewise.
70855         * manual/resource.texi: Likewise.
70856         * manual/search.texi: Likewise.
70857         * manual/setjmp.texi: Likewise.
70858         * manual/signal.texi: Likewise.
70859         * manual/socket.texi: Likewise.
70860         * manual/startup.texi: Likewise.
70861         * manual/stdio.texi: Likewise.
70862         * manual/string.texi: Likewise.
70863         * manual/sysinfo.texi: Likewise.
70864         * manual/syslog.texi: Likewise.
70865         * manual/terminal.texi: Likewise.
70866         * manual/time.texi: Likewise.
70867         * manual/users.texi: Likewise.
70868         * INSTALL: Regenerated.
70869         * NOTES: Regenerated.
70870         * sysdeps/gnu/errlist.c: Regenerated.
70872 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
70874         * include/dirent.h: Include <dirstream.h> before
70875         <dirent/dirent.h>.
70877 2012-02-28  David S. Miller  <davem@davemloft.net>
70879         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
70880         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
70881         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
70882         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
70884 2012-02-27  David S. Miller  <davem@davemloft.net>
70886         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
70887         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
70888         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
70889         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
70891         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
70892         frame pointer instead of stack pointer relative arg slot.
70893         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
70894         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
70895         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
70897 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
70899         [BZ #3992]
70900         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
70902 2012-02-27  David S. Miller  <davem@davemloft.net>
70904         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
70905         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
70906         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
70907         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
70908         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
70909         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
70910         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
70911         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
70913 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
70915         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
70916         later.  Allow versions 5-9.
70917         * configure: Regenerated.
70918         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
70919         required minimum version and 4.6 as recommended version.  Do not
70920         mention bugs in GCC 2.7 and 2.8.
70921         * INSTALL: Regenerated.
70923 2012-02-27  David S. Miller  <davem@davemloft.net>
70925         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
70926         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
70927         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
70928         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
70929         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
70930         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
70931         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
70932         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
70934         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
70935         manipulate bits before adding and subtracting TWO112[sx].
70936         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
70938 2012-02-27  Roland McGrath  <roland@hack.frob.com>
70940         [BZ #13775]
70941         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
70942         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
70943         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
70944         being in POSIX, because they are in 1003.1-2008.
70946         * rt/tst-aio.c: Include <fcntl.h>.
70947         * rt/tst-aio7.c: Likewise.
70948         * rt/tst-aio64.c: Likewise.
70950         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
70952 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
70954         * manual/install.texi (--with-headers): Describe headers as
70955         interface headers, not private headers.
70956         (Specific advice for GNU/Linux systems): Describe use of headers
70957         from "make headers_install", not private headers from older
70958         kernels.
70959         * INSTALL: Regenerated.
70960         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
70961         Change to 2.6.19.
70962         * sysdeps/unix/sysv/linux/configure: Regenerated.
70964         * manual/llio.texi (fclean): Remove documentation.
70966         * manual/Makefile (libc-texi-generated): New variable.  Include
70967         version.texi.
70968         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
70969         $(libc-texi-generated), not duplicated list of files.
70970         (version.texi, stamp-version): New rules.
70971         (realclean): Remove $(libc-texi-generated), not individual files
70972         from that list.  Do not remove dir-add.texinfo.
70973         * manual/libc.texinfo: Comment out uses of edition numbers and
70974         references to printed manual.  Remove last-updated dates.
70975         (EDITION): Comment out.
70976         (ISBN): Likewise.
70977         (VERSION, UPDATED): Remove.
70978         (version.texi): Include.
70980 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
70982         * sysdeps/posix/spawni.c: Include <signal.h>.
70983         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
70984         * sysdeps/pthread/aio_fsync.c: Likewise.
70986 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
70988         * conform/Makefile (tests): Run only when not cross-compiling and
70989         when fast-check is not defined.
70991         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
70992         * conform/data/limits.h-data: Fixes for POSIX2008.
70993         * conform/run-conformtest.sh: Run all tests.
70994         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
70995         headers.
70996         * include/bits/dlfcn.h: Likewise.
70997         * include/langinfo.h: Likewise.
70998         * include/monetary.h: Likewise.
70999         * include/sys/poll.h: Likewise.
71001         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
71002         for __USE_GNU.
71003         * posix/spawn.h: Define __need_sigset_t.
71004         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
71005         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
71006         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
71007         to get sigevent_t only.
71008         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
71009         only for __USE_GNU.
71010         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71011         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71012         process_vm_writev only for __USE_GNU.
71013         * termios/termios.h: Declare tcgetsid also for POSIX2008.
71015         * conform/Makefile: For now ignore errors from run-conformtest.
71016         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
71017         POSIX to avoid namespace pollution.  Don't prepend headers.
71018         * conform/data/aio.h-data: Fixes for POSIX testing.
71019         * conform/data/fcntl.h-data: Likewise.
71020         * conform/data/glob.h-data: Likewise.
71021         * conform/data/grp.h-data: Likewise.
71022         * conform/data/pthread.h-data: Likewise.
71023         * conform/data/pwd.h-data: Likewise.
71024         * conform/data/signal.h-data: Likewise.
71025         * conform/data/spawn.h-data: Likewise.
71026         * conform/data/stdio.h-data: Likewise.
71027         * conform/data/stdlib.h-data: Likewise.
71028         * conform/data/stropts.h-data: Likewise.
71029         * conform/data/sys/mman.h-data: Likewise.
71030         * conform/data/sys/stat.h-data: Likewise.
71031         * conform/data/sys/types.h-data: Likewise.
71032         * conform/data/sys/wait.h-data: Likewise.
71033         * conform/data/time.h-data: Likewise.
71034         * conform/data/unistd.h-data: Likewise.
71035         * conform/data/utime.h-data: Likewise.
71037         * io/sys/stat.h: fchmod was always in POSIX.
71038         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
71039         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
71040         * rt/aio.h: Define __need_timespec before including <time.h>.
71041         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
71042         struct.  Add forward declaration of pthread_attr_t and use it in
71043         sigevent.
71044         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
71045         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
71046         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
71047         always remove CLK_TCK definition.
71049 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
71051         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
71053 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
71055         * conform/run-conformtest.sh: New file.
71056         * conform/Makefile: Run run-conformtest for tests.
71057         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
71058         support.
71060         * conform/data/uchar.h-data: New file.
71061         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
71062         * conform/data/arpa/inet.h-data: Likewise.
71063         * conform/data/assert.h-data: Likewise.
71064         * conform/data/complex.h-data: Likewise.
71065         * conform/data/cpio.h-data: Likewise.
71066         * conform/data/ctype.h-data: Likewise.
71067         * conform/data/dirent.h-data: Likewise.
71068         * conform/data/dlfcn.h-data: Likewise.
71069         * conform/data/errno.h-data: Likewise.
71070         * conform/data/fcntl.h-data: Likewise.
71071         * conform/data/float.h-data: Likewise.
71072         * conform/data/fmtmsg.h-data: Likewise.
71073         * conform/data/fnmatch.h-data: Likewise.
71074         * conform/data/ftw.h-data: Likewise.
71075         * conform/data/glob.h-data: Likewise.
71076         * conform/data/grp.h-data: Likewise.
71077         * conform/data/iconv.h-data: Likewise.
71078         * conform/data/inttypes.h-data: Likewise.
71079         * conform/data/langinfo.h-data: Likewise.
71080         * conform/data/libgen.h-data: Likewise.
71081         * conform/data/limits.h-data: Likewise.
71082         * conform/data/locale.h-data: Likewise.
71083         * conform/data/math.h-data: Likewise.
71084         * conform/data/monetary.h-data: Likewise.
71085         * conform/data/mqueue.h-data: Likewise.
71086         * conform/data/ndbm.h-data: Likewise.
71087         * conform/data/net/if.h-data: Likewise.
71088         * conform/data/netdb.h-data: Likewise.
71089         * conform/data/netinet/in.h-data: Likewise.
71090         * conform/data/nl_types.h-data: Likewise.
71091         * conform/data/poll.h-data: Likewise.
71092         * conform/data/pthread.h-data: Likewise.
71093         * conform/data/pwd.h-data: Likewise.
71094         * conform/data/regex.h-data: Likewise.
71095         * conform/data/sched.h-data: Likewise.
71096         * conform/data/search.h-data: Likewise.
71097         * conform/data/semaphore.h-data: Likewise.
71098         * conform/data/setjmp.h-data: Likewise.
71099         * conform/data/signal.h-data: Likewise.
71100         * conform/data/spawn.h-data: Likewise.
71101         * conform/data/stdarg.h-data: Likewise.
71102         * conform/data/stdio.h-data: Likewise.
71103         * conform/data/stdlib.h-data: Likewise.
71104         * conform/data/string.h-data: Likewise.
71105         * conform/data/strings.h-data: Likewise.
71106         * conform/data/stropts.h-data: Likewise.
71107         * conform/data/sys/ipc.h-data: Likewise.
71108         * conform/data/sys/mman.h-data: Likewise.
71109         * conform/data/sys/msg.h-data: Likewise.
71110         * conform/data/sys/resource.h-data: Likewise.
71111         * conform/data/sys/select.h-data: Likewise.
71112         * conform/data/sys/sem.h-data: Likewise.
71113         * conform/data/sys/shm.h-data: Likewise.
71114         * conform/data/sys/socket.h-data: Likewise.
71115         * conform/data/sys/stat.h-data: Likewise.
71116         * conform/data/sys/statvfs.h-data: Likewise.
71117         * conform/data/sys/time.h-data: Likewise.
71118         * conform/data/sys/timeb.h-data: Likewise.
71119         * conform/data/sys/times.h-data: Likewise.
71120         * conform/data/sys/types.h-data: Likewise.
71121         * conform/data/sys/uio.h-data: Likewise.
71122         * conform/data/sys/un.h-data: Likewise.
71123         * conform/data/sys/utsname.h-data: Likewise.
71124         * conform/data/sys/wait.h-data: Likewise.
71125         * conform/data/syslog.h-data: Likewise.
71126         * conform/data/tar.h-data: Likewise.
71127         * conform/data/termios.h-data: Likewise.
71128         * conform/data/utime.h-data: Likewise.
71129         * conform/data/utmpx.h-data: Likewise.
71130         * conform/data/varargs.h-data: Likewise.
71131         * conform/data/wchar.h-data: Likewise.
71132         * conform/data/wctype.h-data: Likewise.
71133         * conform/data/wordexp.h-data: Likewise.
71135         * include/stropts.h: New file.
71136         * include/uchar.h: New file.
71137         * include/aio.h: Changes to allow conformtest.pl to use the headers.
71138         * include/assert.h: Likewise.
71139         * include/ctype.h: Likewise.
71140         * include/dirent.h: Likewise.
71141         * include/dlfcn.h: Likewise.
71142         * include/fcntl.h: Likewise.
71143         * include/fnmatch.h: Likewise.
71144         * include/glob.h: Likewise.
71145         * include/grp.h: Likewise.
71146         * include/libio.h: Likewise.
71147         * include/locale.h: Likewise.
71148         * include/math.h: Likewise.
71149         * include/net/if.h: Likewise.
71150         * include/netdb.h: Likewise.
71151         * include/netinet/in.h: Likewise.
71152         * include/pthread.h: Likewise.
71153         * include/pwd.h: Likewise.
71154         * include/regex.h: Likewise.
71155         * include/sched.h: Likewise.
71156         * include/search.h: Likewise.
71157         * include/setjmp.h: Likewise.
71158         * include/signal.h: Likewise.
71159         * include/stdio.h: Likewise.
71160         * include/stdlib.h: Likewise.
71161         * include/string.h: Likewise.
71162         * include/sys/cdefs.h: Likewise.
71163         * include/sys/mman.h: Likewise.
71164         * include/sys/msg.h: Likewise.
71165         * include/sys/resource.h: Likewise.
71166         * include/sys/select.h: Likewise.
71167         * include/sys/socket.h: Likewise.
71168         * include/sys/stat.h: Likewise.
71169         * include/sys/statvfs.h: Likewise.
71170         * include/sys/time.h: Likewise.
71171         * include/sys/times.h: Likewise.
71172         * include/sys/uio.h: Likewise.
71173         * include/sys/utsname.h: Likewise.
71174         * include/sys/wait.h: Likewise.
71175         * include/termios.h: Likewise.
71176         * include/time.h: Likewise.
71177         * include/ulimit.h: Likewise.
71178         * include/unistd.h: Likewise.
71179         * include/utime.h: Likewise.
71180         * include/wchar.h: Likewise.
71181         * include/wctype.h: Likewise.
71182         * include/wordexp.h: Likewise.
71184         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
71186         * time/time.h: TIME_UTC must be a macro.
71187         Make timespec_get available for ISO C11 only as well.
71189 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
71191         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
71192         Reported by Peng Haitao <penght@cn.fujitsu.com>.
71194 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71196         * configure.in: Use -o not -a in test for unsupported multi-arch.
71198 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71200         * manual/texinfo.tex: Update to version 2012-01-19.16.
71202 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71204         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
71206 2012-02-24  Roland McGrath  <roland@hack.frob.com>
71208         [BZ #13738]
71209         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
71210         * manual/fdl-1.3.texi: New file.
71211         * manual/fdl-1.1.texi: File removed.
71213         [BZ #13738]
71214         * manual/libc.texinfo (FDL_VERSION): New @set.
71215         Use it for mention of FDL in cover text.
71216         (Documentation License): Use it in @include file name.
71218 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71219             Roland McGrath  <roland@hack.frob.com>
71221         [BZ #5461]
71222         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
71223         (not LONG_LONG_MAX and LONG_LONG_MIN.
71224         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
71225         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
71226         name.
71227         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
71229 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71231         [BZ #2547]
71232         [BZ #11365]
71233         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
71234         manipulate bits before adding and subtracting TWO23[sx].
71235         * math/libm-test.inc (nearbyint_test): Add more tests.
71237 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71239         [BZ #2548]
71240         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
71241         bits before adding and subtracting TWO23[sx].
71242         * math/libm-test.inc (rint_test): Add more tests.
71243         (rint_test_tonearest): Likewise.
71244         (rint_test_towardzero): Likewise.
71245         (rint_test_downward): Likewise.
71246         (rint_test_upward: Likewise.
71248 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71250         [BZ #10110]
71251         * include/stdc-predef.h: New file.  Extracted from features.h.
71252         * include/features.h: Include stdc-predef.h.
71253         * Makefile (headers): Add stdc-predef.h.
71254         * CONFORMANCE (Compiler limitations): Update.
71256 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71258         * manual/libc.texinfo (VERSION, UPDATED): Revert.
71260 2012-02-21  David S. Miller  <davem@davemloft.net>
71262         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
71263         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71265 2012-02-20  David S. Miller  <davem@davemloft.net>
71267         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
71268         using a normal save/restore sequence, rather than allocating a
71269         dummy stack frame just to store a frame pointer and restore.
71270         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71272 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71274         * manual/install.texi: Fix stray word in line-wrapped comment.
71276 2012-02-20  David S. Miller  <davem@davemloft.net>
71278         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
71279         both binutils and gcc support GOTDATA.
71281         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
71282         "rd %pc" in the PIC register setup sequences.
71284         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
71285         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
71286         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71287         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
71288         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71289         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
71290         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71291         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71292         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
71293         (SYSCALL_ERROR_HANDLER): Likewise.
71294         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71295         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71296         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
71297         (SYSCALL_ERROR_HANDLER): Likewise.
71299         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
71300         (HAVE_GCC_GOTDATA): New.
71301         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
71302         relocation support in both binutils and gcc.
71303         * sysdeps/sparc/elf/configure: Regenerate.
71305         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
71306         * sysdeps/sparc/sparc32/elf/configure: Delete.
71307         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
71308         * sysdeps/sparc/sparc64/elf/configure: Delete.
71309         * sysdeps/sparc/elf/configure.in: New file.
71310         * sysdeps/sparc/elf/configure: Generate.
71312         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
71313         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
71314         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71315         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
71316         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
71318 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71320         * manual/install.texi: Do not mention specific glibc version
71321         numbers.
71322         * manual/libc.texinfo (VERSION, UPDATED): Update.
71323         (@copying): Use @copyright{} and range of years.
71325 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71327         [BZ #13695]
71328         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
71329         [crti.S not in sysdirs] (generated): Do not append.
71330         [crti.S not in sysdirs] (omit-deps): Likewise.
71331         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
71332         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
71333         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
71334         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
71335         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
71336         Likewise.
71337         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
71338         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
71339         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
71340         * csu/defs.awk: Remove file.
71341         * sysdeps/generic/initfini.c: Likewise.
71342         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
71343         variable.
71344         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
71345         Likewise.
71347 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71349         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
71350         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
71351         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
71352         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
71353         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71354         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
71355         <bits/epoll.h>.
71356         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
71357         (__EPOLL_PACKED): Define to empty if not defined by
71358         <bits/epoll.h>.
71359         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
71360         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71361         bits/epoll.h.
71363 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71365         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
71366         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
71367         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
71368         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
71369         <bits/timerfd.h>.
71370         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
71371         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71372         bits/timerfd.h.
71374 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71376         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
71377         in C locale.
71378         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71379         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
71380         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
71381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71383 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
71385         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71386         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71388 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
71390         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
71391         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
71392         defined.
71393         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
71394         Likewise.
71395         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
71396         entry for 2.16.
71398 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
71400         * math/w_acos.c: Use non-signaling floating-point comparisons.
71401         * math/w_acosf.c: Likewise.
71402         * math/w_acosh.c: Likewise.
71403         * math/w_acoshf.c: Likewise.
71404         * math/w_acoshl.c: Likewise.
71405         * math/w_acosl.c: Likewise.
71406         * math/w_asin.c: Likewise.
71407         * math/w_asinf.c: Likewise.
71408         * math/w_asinl.c: Likewise.
71409         * math/w_atanh.c: Likewise.
71410         * math/w_atanhf.c: Likewise.
71411         * math/w_atanhl.c: Likewise.
71412         * math/w_exp2.c: Likewise.
71413         * math/w_exp2f.c: Likewise.
71414         * math/w_exp2l.c: Likewise.
71415         * math/w_j0.c: Likewise.
71416         * math/w_j0f.c: Likewise.
71417         * math/w_j0l.c: Likewise.
71418         * math/w_j1.c: Likewise.
71419         * math/w_j1f.c: Likewise.
71420         * math/w_j1l.c: Likewise.
71421         * math/w_jn.c: Likewise.
71422         * math/w_jnf.c: Likewise.
71423         * math/w_log.c: Likewise.
71424         * math/w_log10.c: Likewise.
71425         * math/w_log10f.c: Likewise.
71426         * math/w_log10l.c: Likewise.
71427         * math/w_log2.c: Likewise.
71428         * math/w_log2f.c: Likewise.
71429         * math/w_log2l.c: Likewise.
71430         * math/w_logf.c: Likewise.
71431         * math/w_logl.c: Likewise.
71432         * math/w_sqrt.c: Likewise.
71433         * math/w_sqrtf.c: Likewise.
71434         * math/w_sqrtl.c: Likewise.
71435         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71436         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
71437         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71438         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
71439         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
71441 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71443         [BZ #9739]
71444         * manual/string.texi (strnlen): Use correct parameter name in
71445         equivalent expression.
71447 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71449         [BZ #11174]
71450         * manual/users.texi (seteuid): Consistently use neweuid for
71451         argument name.
71453 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71455         [BZ #13704]
71456         * manual/nss.texi (Services in the NSS configuration): Correct
71457         list of services in example configuration file.
71459 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
71461         [BZ #11322]
71462         * manual/arith.texi: Remove statements about negative zero
71463         behaving identically to zero.
71465 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
71467         [BZ #5993]
71468         * manual/install.texi: Do not document upgrading from libc5.
71470 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
71472         [BZ #4596]
71473         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
71475 2012-02-18  David S. Miller  <davem@davemloft.net>
71477         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
71478         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
71479         %o7 across the call.
71480         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
71481         instead.
71482         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
71483         SETUP_PIC_REG_LEAF.
71484         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71485         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
71486         * sysdeps/sparc/crtn.S: Likewise.
71488 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
71490         * aout/Makefile: Remove.
71492 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
71494         [BZ #13058]
71495         * manual/examples/argp-ex1.c (main): Format definition in GNU
71496         style.
71497         * manual/examples/argp-ex2.c (main): Likewise.
71498         * manual/examples/argp-ex3.c (main): Likewise.
71499         * manual/examples/argp-ex4.c (main): Likewise.
71500         * manual/examples/longopt.c (main): Use new-style prototype
71501         definition.
71502         * manual/examples/strncat.c (main): Specify return type and use
71503         (void) for arguments.
71504         * manual/examples/subopt.c (main): Use char **argv argument.
71506 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71508         [BZ #5077]
71509         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
71510         rounding modes.
71512 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
71514         [BZ #6907]
71515         * manual/string.texi (strchr): Change when strchrnul is
71516         recommended.
71518 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
71520         [BZ #174]
71521         * manual/locale.texi (setlocale): Document LOCPATH.
71523 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71525         [BZ #10210]
71526         * manual/process.texi (execle): Move @dots{} before last argument.
71528 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
71530         [BZ #12047]
71531         * manual/charset.texi (Generic Charset Conversion): Fix typo
71532         (LC_TYPE -> LC_CTYPE).
71534 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
71536         [BZ #5805]
71537         * manual/arith.texi (scalbn): Use @var{} on parameter names.
71538         (scalbnf): Likewise.
71539         (scalbnl): Likewise.
71540         (scalbln): Likewise.
71541         (scalblnf): Likewise.
71542         (scalblnl): Likewise.
71543         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
71544         (vwarnx): Likewise.
71545         (verr): Likewise.
71546         (verrx): Likewise.
71547         * manual/filesys.texi (telldir): Use braces around return type.
71548         * manual/llio.texi (mmap): Add space after comma.
71549         (mmap64): Likewise.
71550         * manual/math.texi (jn): Use @var{} on parameter names.
71551         (jnf): Likewise.
71552         (jnl): Likewise.
71553         (yn): Likewise.
71554         (ynf): Likewise.
71555         (ynl): Likewise.
71556         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
71557         line.
71558         * manual/resource.texi (ulimit): Use @dots{} instead of literal
71559         "...".
71560         (sched_get_priority_min): Remove semicolon on @deftypefun line.
71561         (sched_get_priority_max): Likewise.
71562         * manual/signal.texi (sigvec): Add space after comma.
71563         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
71564         names.
71565         (if_indextoname): Likewise.
71566         (if_freenameindex): Likewise.
71567         (sendto): Use ',' instead of '.' in prototype.
71568         * manual/startup.texi (syscall): Use @dots{} instead of literal
71569         "...".
71570         * manual/stdio.texi (__fpending): Separate initial words of
71571         paragraph from @deftypefun line.
71572         * manual/syslog.texi (syslog): Use @dots{} instead of literal
71573         "...".
71574         (vsyslog): Use @var{} on parameter names.
71575         * manual/terminal.texi (stty): Use @var{} on parameter names.
71576         * manual/users.texi (getutmp): Use @var{} on parameter names.
71577         (getutmpx): Likewise.
71579 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71581         [BZ #6884]
71582         * manual/stdio.texi (fopen): Fix typos in description of
71583         ",ccs=STRING".
71585 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
71587         [BZ #4026]
71588         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
71589         get clock_id definition.
71591 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
71593         [BZ #4822]
71594         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
71595         (madvise): Cast every argument to void on its own.
71597 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71599         [BZ #9902]
71600         * manual/startup.texi (Exit Status): Fix typo.
71602 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71604         [BZ #10140]
71605         * manual/examples/argp-ex1.c: Include <stdlib.h>.
71606         * manual/examples/argp-ex2.c: Likewise.
71607         * manual/examples/argp-ex3.c: Likewise.
71609 2012-02-16  Richard Henderson  <rth@redhat.com>
71611         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
71612         * sysdeps/s390/s390-32/initfini.c: Remove.
71613         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
71614         * sysdeps/s390/s390-64/initfini.c: Remove.
71616 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71618         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
71619         compiler output for sysdeps/generic/initfini.c.
71620         * sysdeps/sh/elf/initfini.c: Remove file.
71622 2012-02-16  David S. Miller  <davem@davemloft.net>
71624         [BZ #11494]
71625         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
71627         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
71628         * sysdeps/sparc/crti.S: New file.
71629         * sysdeps/sparc/crtn.S: New file.
71630         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
71631         * sysdeps/sparc/sparc64/Makefile: Likewise.
71633 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
71635         [BZ #3335]
71636         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
71638 2012-02-15  Roland McGrath  <roland@hack.frob.com>
71640         [BZ #4822]
71641         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
71643         * mach/devstream.c (cookie_io_functions_t): Macro removed.
71644         (write, read, close): Likewise.
71645         Patch by Aurelien Jarno <aurelien@aurel32.net>.
71647 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
71649         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
71650         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
71651         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
71652         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
71653         <bits/signalfd.h>.
71654         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
71655         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71656         bits/signalfd.h.
71658 2012-02-14  Marek Polacek  <polacek@redhat.com>
71660         * sysdeps/x86_64/crti.S: New file.
71661         * sysdeps/x86_64/crtn.S: New file.
71662         * sysdeps/x86_64/elf/initfini.c: Remove file.
71664 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
71666         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
71667         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
71668         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
71669         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
71670         <bits/inotify.h>.
71671         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
71672         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71673         bits/inotify.h.
71675 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
71677         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
71678         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
71679         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
71680         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
71681         <bits/eventfd.h>.
71682         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
71683         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71684         bits/eventfd.h.
71686 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
71688         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
71689         __feraiseexcept instead of feraiseexcept.
71691         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
71692         nanosleep invocations.
71693         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
71694         strings, and add error checking for a nanosleep invocations.
71696 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
71698         Replace FSF snail mail address with URLs, as per GNU coding standards.
71699         Most of the snail mail addresses were wrong anyway, and omitting
71700         them makes the source code easier to maintain.  Almost all of the
71701         changes are to license notices and to locale LC_IDENTIFICATION
71702         addresses, except for this one:
71703         * manual/libc.texinfo: In "Published by", give the FSF's URL,
71704         not its snail mail address.
71706 2012-02-09  Richard Henderson  <rth@twiddle.net>
71708         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
71709         of kernel-features.h.
71711         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
71713 2012-02-08  Marek Polacek  <polacek@redhat.com>
71715         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
71716         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
71717         * sysdeps/gnu/_G_config.h: Likewise.
71718         * sysdeps/generic/_G_config.h: Likewise.
71720 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
71722         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
71723         tests.
71724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71726         * sysdeps/powerpc/powerpc32/crti.S: New file.
71727         * sysdeps/powerpc/powerpc32/crtn.S: New file.
71728         * sysdeps/powerpc/powerpc64/crti.S: New file.
71729         * sysdeps/powerpc/powerpc64/crtn.S: New file.
71731         * Makeconfig (have-initfini): Don't set.
71732         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
71733         * configure.in (nopic_initfini): Don't substitute.
71734         * config.h.in (HAVE_INITFINI): Don't #undef.
71735         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
71736         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
71738 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
71740         Support crti.S and crtn.S provided directly by architectures.
71741         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
71742         [crti.S in sysdirs] (omit-deps): Likewise.
71743         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
71744         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
71745         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
71746         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
71747         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
71748         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
71749         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
71750         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
71751         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
71752         compiler output for sysdeps/generic/initfini.c.
71753         * sysdeps/i386/elf/Makefile: Remove file.
71754         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
71756 2012-02-07  Marek Polacek  <polacek@redhat.com>
71758         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
71759         * sysdeps/gnu/_G_config.h: Likewise.
71760         * sysdeps/mach/hurd/_G_config.h: Likewise.
71762 2012-02-07  Marek Polacek  <polacek@redhat.com>
71764         * math/Makefile (tests): Add tst-CMPLX2.
71765         * math/tst-CMPLX2.c: New file.
71767 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
71769         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71771         * math/libm-test.inc (jn_test): Add missing L suffix.
71773 2012-02-06  Marek Polacek  <polacek@redhat.com>
71775         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
71776         * sysdeps/i386/fpu/e_powf.S: Likewise.
71777         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71778         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
71779         * sysdeps/i386/fpu/e_acosh.S: Likewise.
71780         * sysdeps/i386/fpu/e_pow.S: Likewise.
71781         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
71782         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71783         * sysdeps/i386/fpu/s_expm1.S: Likewise.
71784         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
71785         * sysdeps/i386/fpu/e_log2.S: Likewise.
71786         * sysdeps/i386/fpu/e_log2l.S: Likewise.
71787         * sysdeps/i386/fpu/e_scalb.S: Likewise.
71788         * sysdeps/i386/fpu/e_powl.S: Likewise.
71789         * sysdeps/i386/fpu/s_log1p.S: Likewise.
71790         * sysdeps/i386/fpu/e_log10f.S: Likewise.
71791         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
71792         * sysdeps/i386/fpu/e_logl.S: Likewise.
71793         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
71794         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
71795         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
71796         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
71797         * sysdeps/i386/fpu/e_log2f.S: Likewise.
71798         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71799         * sysdeps/i386/fpu/e_log.S: Likewise.
71800         * sysdeps/i386/fpu/s_cexp.S: Likewise.
71801         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71802         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
71803         * sysdeps/i386/fpu/e_logf.S: Likewise.
71804         * sysdeps/i386/fpu/e_log10l.S: Likewise.
71805         * sysdeps/i386/fpu/e_atanh.S: Likewise.
71806         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
71807         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
71808         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
71809         * sysdeps/i386/fpu/e_log10.S: Likewise.
71810         * sysdeps/i386/fpu/s_frexp.S: Likewise.
71811         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71812         * sysdeps/i386/fpu/s_asinh.S: Likewise.
71813         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
71814         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71815         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
71816         * sysdeps/i386/asm-syntax.h: Likewise.
71817         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
71818         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71819         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
71820         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
71821         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
71822         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
71823         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
71824         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
71825         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
71826         * sysdeps/powerpc/sysdep.h: Likewise.
71827         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
71828         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
71830 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
71832         [BZ #411]
71833         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
71835 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
71837         * sysdeps/i386/sysdep.h: Include <features.h>.
71838         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
71839         version.
71841 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
71843         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
71844         Define.
71845         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
71846         LOAD_PIC_REG_STR.
71848 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
71850         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
71851         (SETUP_PIC_REG): Use GET_PC_THUNK.
71852         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
71853         macro.
71855 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
71857         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
71858         for non-PIC compilation.
71859         (SETUP_PIC_REG): Add .p2align directive.
71860         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
71861         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
71862         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
71863         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
71864         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
71865         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
71866         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
71867         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
71868         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
71869         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
71870         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
71871         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
71872         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
71873         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
71874         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
71875         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
71876         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
71877         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
71878         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
71879         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
71880         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
71881         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
71882         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
71883         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
71884         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
71885         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
71886         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71887         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
71888         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
71889         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
71890         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
71891         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71892         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
71893         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
71894         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
71895         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
71896         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
71897         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
71898         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
71899         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
71900         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
71902 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
71904         * math/tst-CMPLX.c: Include <stdio.h>.
71906 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
71908         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
71909         float.
71910         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
71911         * sysdeps/sparc/bits/mathdef.h: Likewise.
71913 2012-01-31  Marek Polacek  <polacek@redhat.com>
71915         * libio/libio.h: Don't define _PARAMS.
71916         * locale/programs/config.h: Don't define PARAMS.
71917         * stdlib/strtol_l.c: Likewise.
71918         (__strtol_l): Remove PARAMS from the prototype.
71920 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
71922         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
71923         names.  Just use the correct names.  Remove unnecessary wrapper
71924         functions.
71925         * malloc/arena.c: Likewise.
71926         * malloc/hooks.c: Likewise.
71928         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
71929         ARENA_TEST says not to.  Simplify test for creation of a new arena.
71930         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
71932 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
71934         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
71935         into tail calls.
71936         (update_get_addr): New function.
71937         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
71938         GET_ADDR_MODULE parameter.
71940 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
71942         * crypt/cert.c: Remove __STDC__ conditionals.
71943         * crypt/crypt-entry.c: Likewise.
71944         * crypt/crypt_util.c: Likewise.
71945         * libio/filedoalloc.c: Likewise.
71946         * libio/fileops.c: Likewise.
71947         * libio/genops.c: Likewise.
71948         * libio/iofclose.c: Likewise.
71949         * libio/iofdopen.c: Likewise.
71950         * libio/iofopen.c: Likewise.
71951         * libio/iofopen64.c: Likewise.
71952         * libio/iogetdelim.c: Likewise.
71953         * libio/iopopen.c: Likewise.
71954         * libio/obprintf.c: Likewise.
71955         * libio/oldfileops.c: Likewise.
71956         * libio/oldiofclose.c: Likewise.
71957         * libio/oldiofdopen.c: Likewise.
71958         * libio/oldiofopen.c: Likewise.
71959         * libio/oldiopopen.c: Likewise.
71960         * libio/wfiledoalloc.c: Likewise.
71961         * libio/wgenops.c: Likewise.
71962         * locale/programs/xmalloc.c: Likewise.
71963         * misc/syslog.c: Likewise.
71964         * stdio-common/xbug.c: Likewise.
71965         * string/memchr.c: Likewise.
71966         * string/memcmp.c: Likewise.
71967         * string/memrchr.c: Likewise.
71968         * string/rawmemchr.c: Likewise.
71969         * sysdeps/posix/getcwd.c: Likewise.
71970         * time/strftime_l.c: Likewise.
71972 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
71974         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
71975         * config.make.in (config-cflags-sse2avx): Define.
71976         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
71977         Fix typo.
71979 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
71981         * scripts/config.guess: Update from upstream config git repository.
71982         * scripts/config.sub: Likewise.
71984 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
71986         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
71987         (EM_NUM): Update.
71988         (R_TILEPRO_*, R_TILEGX_*): New macros.
71990         * scripts/firstversions.awk: Fix bug in version range handling.
71992         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
71994         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
71996         * include/sys/epoll.h: New file.
71997         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
71998         libc_hidden_def.
72000 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
72002         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
72003         Avoid unnecessary __WORDSIZE == 64 test.
72004         (fmaxf): Use VEX format if possible.
72005         (fmax): Likewise.
72006         (fminf): Likewise.
72007         (fmin): Likewise.
72009         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
72010         * math/math_private.h: Remove libc_fegetround* and
72011         libc_fesetround*.
72012         * sysdeps/i386/configure.in: Check for -msse2avx.
72013         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
72014         also if SSE2AVX is defined.
72015         Remove libc_fegetround* and libc_fesetround*.
72016         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
72017         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
72018         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
72019         of HAS_YMM_USABLE.
72020         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72021         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72022         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72023         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72024         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72026         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
72028 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72030         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
72031         size is not set.
72032         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
72034 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
72036         [BZ #13618]
72037         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
72038         relocation.
72039         * Makeconfig (libm): Define.
72040         * elf/Makefile: Add rules to build and run tst-relsort1.
72041         * elf/tst-relsort1.c: New file.
72042         * elf/tst-relsort1mod1.c: New file.
72043         * elf/tst-relsort1mod2.c: New file.
72045 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
72047         * math/s_ldexp.c: Remove __STDC__ conditionals.
72048         * math/s_ldexpf.c: Likewise.
72049         * math/s_ldexpl.c: Likewise.
72050         * math/s_nextafter.c: Likewise.
72051         * math/s_nexttowardf.c: Likewise.
72052         * math/s_significand.c: Likewise.
72053         * math/s_significandf.c: Likewise.
72054         * math/s_significandl.c: Likewise.
72055         * math/w_jnl.c: Likewise.
72056         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
72057         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
72058         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
72059         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
72060         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
72061         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
72062         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
72063         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
72064         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
72065         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
72066         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
72067         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72068         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
72069         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
72070         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
72071         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
72072         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
72073         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
72074         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
72075         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72076         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72077         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
72078         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
72079         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
72080         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
72081         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
72082         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
72083         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
72084         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
72085         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
72086         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
72087         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
72088         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
72089         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
72090         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
72091         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
72092         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
72093         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
72094         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
72095         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
72096         * sysdeps/ieee754/k_standard.c: Likewise.
72097         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72098         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
72099         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
72100         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
72101         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
72102         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
72103         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
72104         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
72105         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
72106         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
72107         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
72108         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
72109         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
72110         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
72111         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
72112         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
72113         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
72114         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
72115         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
72116         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
72117         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
72118         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
72119         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
72120         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
72121         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
72122         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
72123         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72124         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72125         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72126         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
72127         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
72128         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
72129         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
72130         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
72131         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
72132         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
72133         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
72134         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
72135         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
72136         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
72137         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
72138         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
72139         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
72140         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
72141         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
72142         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
72143         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
72144         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
72145         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
72146         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
72147         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
72148         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
72149         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
72150         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
72151         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
72152         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
72153         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
72154         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72155         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72156         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72157         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
72158         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
72159         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
72160         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
72161         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
72162         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
72163         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
72164         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
72165         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
72166         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
72167         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
72168         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
72169         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
72170         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
72171         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
72172         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
72173         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
72174         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
72175         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
72176         * sysdeps/ieee754/s_matherr.c: Likewise.
72177         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
72178         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
72179         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
72180         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
72182 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72184         * crypt/md5.h: Remove __STDC__ conditionals.
72185         * libio/libioP.h: Likewise.
72186         * locale/programs/config.h: Likewise.
72187         * sysdeps/generic/sysdep.h: Likewise.
72188         * sysdeps/i386/asm-syntax.h: Likewise.
72189         * sysdeps/s390/asm-syntax.h: Likewise.
72190         * sysdeps/unix/sysdep.h: Likewise.
72191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
72192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72194 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72196         * libio/libio.h: Remove __STDC__ conditionals.
72197         * malloc/obstack.h: Likewise.
72198         * math/complex.h: Likewise.
72199         * math/math.h: Likewise.
72200         * sysdeps/generic/_G_config.h: Likewise.
72201         * sysdeps/gnu/_G_config.h: Likewise.
72202         * sysdeps/mach/hurd/_G_config.h: Likewise.
72203         * sysdeps/powerpc/bits/mathdef.h: Likewise.
72204         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72205         * sysdeps/sparc/bits/mathdef.h: Likewise.
72207 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
72209         [BZ #13583]
72210         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
72211         Clean up HAS_* macros.
72212         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
72213         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
72214         possible.
72215         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
72216         HAS_AVX.
72217         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72218         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72219         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72220         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72221         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72223 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
72225         * elf/tst-unique3.cc (gets): Remove declaration.
72226         * elf/tst-unique3lib.cc (gets): Likewise.
72227         * elf/tst-unique3lib2.cc (gets): Likewise.
72228         * elf/tst-unique4.cc (gets): Likewise.
72230 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
72232         * include/stdio.h: Add C++ protection.  Add gets declarations and
72233         definitions.
72234         * debug/tst-chk1.c: Don't declare gets here.
72235         * stdio-common/tst-gets.c: Likewise.
72237 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72239         * posix/glob: Remove directory.
72241 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72243         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
72245 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
72247         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
72248         of the non-standard EPFNOSUPPORT.
72250 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72252         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
72253         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
72254         ANYWHERE set to 1 only on KERN_NO_SPACE error.
72256 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
72258         * wcsmbs/uchar.h: Test __STDC_VERSION__.
72260 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
72262         * nscd/aicache.c (addhstaiX): Do not cache negative results of
72263         transient errors.
72264         * nscd/grpcache.c (cache_addgr): Likewise.
72265         * nscd/hstcache.c (cache_addhst): Likewise.
72266         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72267         * nscd/pwdcache.c (cache_addpw): Likewise.
72268         * nscd/servicescache.c (cache_addserv): Likewise.
72270 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
72272         * malloc/malloc.c: Various cleanups.
72273         * malloc/hooks.c: Likewise.
72275         * stdlib/Makefile (tests): Add bug-fmtmsg1.
72276         * stdlib/bug-fmtmsg1.c: New file.
72278         * stdlib/fmtmsg.c (init): Add missing unlock.
72279         Patch by Peng Haitao <penght@cn.fujitsu.com>.
72281 2012-01-12  Marek Polacek  <polacek@redhat.com>
72283         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
72284         and _GNU_SOURCE.
72286 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72288         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
72289         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
72290         macro to ensure uniqueness of label name.
72291         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
72292         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
72294 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
72296         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
72298         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
72299         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
72300         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
72301         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
72303 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
72305         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
72307         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
72308         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
72309         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
72311         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
72313         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
72314         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
72315         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
72316         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
72318         * math/bits/math-finite.h: Add ldexp support.
72320 2012-01-10  Marek Polacek  <polacek@redhat.com>
72322         * locale/programs/localedef.h (show_archive_content): Add noreturn
72323         attribute.
72325 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
72327         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
72329 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72331         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
72333         * io/Makefile (headers): Add bits/poll2.h.
72335 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
72337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
72338         typo #include statement.
72340 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72342         * include/sys/cdefs.h: Define __attribute_alloc_size.
72343         * catgets/gencat.c: Add alloc_size attribute and apply consistently
72344         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
72345         * elf/pldd.c: Likewise.
72346         * iconv/iconv_charmap.c: Likewise.
72347         * iconv/iconvconfig.c: Likewise.
72348         * iconv/strtab.c: Likewise.
72349         * locale/programs/locale.c: Likewise.
72350         * locale/programs/localedef.h: Likewise.
72351         * locale/programs/simple-hash.c: Likewise.
72352         * nscd/nscd.h: Likewise.
72353         * nss/makedb.c: Likewise.
72354         * sysdeps/generic/ldconfig.h: Likewise.
72355         * locale/programs/localedef.c: Remove xmalloc prototype.
72356         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
72358 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
72360         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
72361         appropriate.
72363 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72365         * math/Makefile (tests): Add tst-CMPLX.
72366         * math/tst-CMPLX.c: New file.
72368         * math/complex.h (CMPLXL): Fix typo.
72370         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
72371         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
72372         GLIBC_2.16.
72373         * debug/tst-chk1.c: Add poll and ppoll tests.
72374         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
72375         * include/sys/poll.h: Add hidden proto for ppoll.
72376         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
72377         * sysdeps/mach/hurd/ppoll.c: Likewise.
72378         * io/ppoll.c: Likewise.
72379         * debug/poll_chk.c: New file.
72380         * debug/ppoll_chk.c: New file.
72381         * include/bits/poll2.h: New file.
72382         * io/bits/poll2.h: New file.
72384         [BZ #1350]
72385         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
72387         * configure.in: static is always set to yes.  Remove.
72388         * config.make.in: Don't set build-static.
72389         * Makeconfig: Remove use of build-static.
72390         * dlfcn/Makefile: Likewise.
72391         * elf/Makefile: Likewise.
72392         * math/Makefile: Likewise.
72393         * misc/Makefile: Likewise.
72394         * nptl/Makefile: Likewise.
72395         * sysdeps/mach/hurd/Makefile: Likewise.
72397         * configure.in: PWD_P is not used anymore.
72398         * config.make.in: Remove PWD_P entry.
72400         * configure.in: Remove last remnants of RANLIB.
72401         No need to check for signed size_t anymore.
72402         Don't set libc_commonpagesize and libc_relro_required here for Alpha
72403         and IA-64.
72404         Remove __builtin_expect test because we require at least gcc 3.4.
72405         * aclocal.m4: Likewise.
72407         * wcsmbs/mbrtoc16.c: Implement using towc function.
72408         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
72409         * wcsmbs/wcsmbsload.c: Likewise.
72410         * iconv/gconv_simple.c: Likewise.
72411         * iconv/gconv_int.h: Likewise.
72412         * iconv/gconv_builtin.h: Likewise.
72413         * iconv/iconv_prog.c: Remove CHAR16 handling.
72415         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
72417         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
72419         * configure.in: Remove --with-elf and --enable-bounded options.
72420         Dont set base_machine for ia64.  More non-ELF conditions removed.
72421         Remove testing and setting of leading underscore information.
72422         * config.make.in (build-bounded): Set to no.
72423         * config.h.in: Remove NO_UNDERSCORES entry.
72424         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
72425         them.
72426         * csu/start.c: Remove !NO_UNDERSCORE code.
72427         * locale/localeinfo.h: Likewise.
72428         * sysdeps/generic/machine-gmon.h: Likewise.
72429         * sysdeps/generic/sysdep.h: Likewise.
72430         * sysdeps/i386/sysdep.h: Likewise.
72431         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
72432         * sysdeps/mach/sysdep.h: Likewise.
72433         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72434         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72435         * sysdeps/sh/sysdep.h: Likewise.
72436         * sysdeps/sparc/sparc32/alloca.S: Likewise.
72437         * sysdeps/unix/i386/sysdep.S: Likewise.
72438         * sysdeps/unix/sparc/start.c: Likewise.
72439         * sysdeps/unix/sparc/sysdep.S: Likewise.
72440         * sysdeps/unix/sparc/sysdep.h: Likewise.
72441         * sysdeps/unix/start.c: Likewise.
72442         * sysdeps/unix/x86_64/sysdep.S: Likewise.
72443         * sysdeps/x86_64/sysdep.h: Likewise.
72445 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
72447         [BZ #13553]
72448         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
72449         for non-gcc.
72450         * argp/argp-fmtstream.h: Use const instead __const.
72451         * argp/argp.h: Likewise.
72452         * assert/assert.h: Likewise.
72453         * bits/fenv.h: Likewise.
72454         * bits/sched.h: Likewise.
72455         * bits/sigset.h: Likewise.
72456         * bits/sigthread.h: Likewise.
72457         * catgets/nl_types.h: Likewise.
72458         * conform/data/pthread.h-data: Likewise.
72459         * crypt/crypt-private.h: Likewise.
72460         * crypt/crypt.h: Likewise.
72461         * crypt/crypt_util.c: Likewise.
72462         * ctype/ctype.h: Likewise.
72463         * debug/execinfo.h: Likewise.
72464         * debug/mbsnrtowcs_chk.c: Likewise.
72465         * debug/mbsrtowcs_chk.c: Likewise.
72466         * debug/wcsnrtombs_chk.c: Likewise.
72467         * debug/wcsrtombs_chk.c: Likewise.
72468         * debug/wcstombs_chk.c: Likewise.
72469         * dirent/dirent.h: Likewise.
72470         * dlfcn/dlfcn.h: Likewise.
72471         * elf/neededtest4.c: Likewise.
72472         * grp/grp.h: Likewise.
72473         * gshadow/gshadow.h: Likewise.
72474         * iconv/gconv.h: Likewise.
72475         * iconv/gconv_int.h: Likewise.
72476         * iconv/gconv_simple.c: Likewise.
72477         * iconv/iconv.h: Likewise.
72478         * iconv/loop.c: Likewise.
72479         * iconv/skeleton.c: Likewise.
72480         * include/aio.h: Likewise.
72481         * include/aliases.h: Likewise.
72482         * include/argz.h: Likewise.
72483         * include/arpa/inet.h: Likewise.
72484         * include/assert.h: Likewise.
72485         * include/dirent.h: Likewise.
72486         * include/dlfcn.h: Likewise.
72487         * include/execinfo.h: Likewise.
72488         * include/fcntl.h: Likewise.
72489         * include/fenv.h: Likewise.
72490         * include/glob.h: Likewise.
72491         * include/grp.h: Likewise.
72492         * include/libintl.h: Likewise.
72493         * include/mntent.h: Likewise.
72494         * include/netdb.h: Likewise.
72495         * include/pwd.h: Likewise.
72496         * include/rpc/netdb.h: Likewise.
72497         * include/sched.h: Likewise.
72498         * include/search.h: Likewise.
72499         * include/shadow.h: Likewise.
72500         * include/signal.h: Likewise.
72501         * include/stdio.h: Likewise.
72502         * include/stdlib.h: Likewise.
72503         * include/string.h: Likewise.
72504         * include/sys/socket.h: Likewise.
72505         * include/sys/stat.h: Likewise.
72506         * include/sys/statfs.h: Likewise.
72507         * include/sys/statvfs.h: Likewise.
72508         * include/sys/syslog.h: Likewise.
72509         * include/sys/time.h: Likewise.
72510         * include/sys/uio.h: Likewise.
72511         * include/time.h: Likewise.
72512         * include/unistd.h: Likewise.
72513         * include/utmp.h: Likewise.
72514         * include/wchar.h: Likewise.
72515         * include/wctype.h: Likewise.
72516         * inet/aliases.h: Likewise.
72517         * inet/arpa/inet.h: Likewise.
72518         * inet/netinet/ether.h: Likewise.
72519         * inet/netinet/in.h: Likewise.
72520         * intl/libintl.h: Likewise.
72521         * io/bits/fcntl2.h: Likewise.
72522         * io/fcntl.h: Likewise.
72523         * io/ftw.h: Likewise.
72524         * io/sys/poll.h: Likewise.
72525         * io/sys/stat.h: Likewise.
72526         * io/sys/statfs.h: Likewise.
72527         * io/sys/statvfs.h: Likewise.
72528         * io/utime.h: Likewise.
72529         * libio/bits/stdio.h: Likewise.
72530         * libio/bits/stdio2.h: Likewise.
72531         * libio/libio.h: Likewise.
72532         * libio/libioP.h: Likewise.
72533         * libio/stdio.h: Likewise.
72534         * locale/lc-ctype.c: Likewise.
72535         * locale/locale.h: Likewise.
72536         * login/utmp.h: Likewise.
72537         * malloc/arena.c: Likewise.
72538         * malloc/malloc.c: Likewise.
72539         * malloc/malloc.h: Likewise.
72540         * malloc/mcheck.c: Likewise.
72541         * malloc/mtrace.c: Likewise.
72542         * math/bits/mathcalls.h: Likewise.
72543         * math/fenv.h: Likewise.
72544         * math/math_private.h: Likewise.
72545         * misc/bits/error.h: Likewise.
72546         * misc/bits/syslog.h: Likewise.
72547         * misc/err.h: Likewise.
72548         * misc/error.h: Likewise.
72549         * misc/fstab.h: Likewise.
72550         * misc/mntent.h: Likewise.
72551         * misc/regexp.h: Likewise.
72552         * misc/search.h: Likewise.
72553         * misc/sgtty.h: Likewise.
72554         * misc/sys/mman.h: Likewise.
72555         * misc/sys/syslog.h: Likewise.
72556         * misc/sys/uio.h: Likewise.
72557         * misc/sys/xattr.h: Likewise.
72558         * misc/ttyent.h: Likewise.
72559         * nis/rpcsvc/ypclnt.h: Likewise.
72560         * nss/nss.h: Likewise.
72561         * posix/bits/unistd.h: Likewise.
72562         * posix/fnmatch.h: Likewise.
72563         * posix/glob.h: Likewise.
72564         * posix/sched.h: Likewise.
72565         * posix/spawn.h: Likewise.
72566         * posix/sys/wait.h: Likewise.
72567         * posix/unistd.h: Likewise.
72568         * posix/wordexp.h: Likewise.
72569         * pwd/pwd.h: Likewise.
72570         * resolv/netdb.h: Likewise.
72571         * resource/sys/resource.h: Likewise.
72572         * rt/aio.h: Likewise.
72573         * rt/bits/mqueue2.h: Likewise.
72574         * rt/mqueue.h: Likewise.
72575         * shadow/shadow.h: Likewise.
72576         * signal/signal.h: Likewise.
72577         * socket/send.c: Likewise.
72578         * socket/sendto.c: Likewise.
72579         * socket/sys/socket.h: Likewise.
72580         * stdio-common/printf.h: Likewise.
72581         * stdlib/bits/stdlib.h: Likewise.
72582         * stdlib/fmtmsg.h: Likewise.
72583         * stdlib/monetary.h: Likewise.
72584         * stdlib/stdlib.h: Likewise.
72585         * stdlib/ucontext.h: Likewise.
72586         * streams/stropts.h: Likewise.
72587         * string/argz.h: Likewise.
72588         * string/bits/string2.h: Likewise.
72589         * string/string.h: Likewise.
72590         * string/strings.h: Likewise.
72591         * sunrpc/rpc/auth.h: Likewise.
72592         * sunrpc/rpc/auth_des.h: Likewise.
72593         * sunrpc/rpc/clnt.h: Likewise.
72594         * sunrpc/rpc/netdb.h: Likewise.
72595         * sunrpc/rpc/pmap_clnt.h: Likewise.
72596         * sunrpc/rpc/xdr.h: Likewise.
72597         * sysdeps/generic/inttypes.h: Likewise.
72598         * sysdeps/generic/net/if.h: Likewise.
72599         * sysdeps/generic/sys/swap.h: Likewise.
72600         * sysdeps/gnu/net/if.h: Likewise.
72601         * sysdeps/gnu/utmpx.h: Likewise.
72602         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
72603         * sysdeps/i386/i486/bits/string.h: Likewise.
72604         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
72605         * sysdeps/s390/bits/string.h: Likewise.
72606         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
72607         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
72608         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
72609         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
72610         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
72611         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
72612         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
72613         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
72614         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
72615         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
72616         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
72617         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
72618         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
72619         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
72620         * sysdeps/unix/sysv/linux/readv.c: Likewise.
72621         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
72622         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
72623         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72624         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
72625         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
72626         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
72627         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
72628         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
72629         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
72630         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
72631         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
72632         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
72633         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72634         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
72635         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
72636         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
72637         * sysvipc/sys/ipc.h: Likewise.
72638         * sysvipc/sys/msg.h: Likewise.
72639         * sysvipc/sys/sem.h: Likewise.
72640         * sysvipc/sys/shm.h: Likewise.
72641         * termios/termios.h: Likewise.
72642         * time/sys/time.h: Likewise.
72643         * time/time.h: Likewise.
72644         * wcsmbs/bits/wchar2.h: Likewise.
72645         * wcsmbs/uchar.h: Likewise.
72646         * wcsmbs/wchar.h: Likewise.
72647         * wctype/wctype.h: Likewise.
72649         [BZ #13551]
72650         * Makeconfig: Remove all but ELF support including AIX support.
72651         * Makerules: Likewise.
72652         * config.h.in: Likewise.
72653         * config.make.in: Likewise.
72654         * configure: Likewise.
72655         * configure.in: Likewise.
72656         * csu/Makefile: Likewise.
72657         * csu/version.c: Likewise.
72658         * debug/Makefile: Likewise.
72659         * dlfcn/Makefile: Likewise.
72660         * elf/Makefile: Likewise.
72661         * extra-lib.mk: Likewise.
72662         * iconv/Makefile: Likewise.
72663         * include/libc-symbols.h: Likewise.
72664         * include/shlib-compat.h: Likewise.
72665         * resolv/Makefile: Likewise.
72666         * resolv/res_libc.c: Likewise.
72667         * rt/Makefile: Likewise.
72668         * sysdeps/i386/asm-syntax.h: Likewise.
72669         * sysdeps/i386/sysdep.h: Likewise.
72670         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
72671         * sysdeps/mach/sysdep.h: Likewise.
72672         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
72673         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
72674         * sysdeps/s390/asm-syntax.h: Likewise.
72675         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72676         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72677         * sysdeps/sh/sysdep.h: Likewise.
72678         * sysdeps/unix/sparc/sysdep.h: Likewise.
72679         * sysdeps/wordsize-32/divdi3.c: Likewise.
72680         * sysdeps/x86_64/sysdep.h: Likewise.
72682         * argp/Versions: Remove _argp_unlock_xxx.
72684         [BZ #13559]
72685         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
72686         * abilist/libBrokenLocale.abilist: Likewise.
72687         * abilist/libanl.abilist: Likewise.
72688         * abilist/libc.abilist: Likewise.
72689         * abilist/libcrypt.abilist: Likewise.
72690         * abilist/libdl.abilist: Likewise.
72691         * abilist/libm.abilist: Likewise.
72692         * abilist/libnsl.abilist: Likewise.
72693         * abilist/libpthread.abilist: Likewise.
72694         * abilist/libresolv.abilist: Likewise.
72695         * abilist/librt.abilist: Likewise.
72696         * abilist/libthread_db.abilist: Likewise.
72697         * abilist/libutil.abilist: Likewise.
72698         * abilist/libnss_db.abilist: New file.
72700         * scripts/abilist.awk: Add support for indirect functions.
72702         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
72704         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
72706         * shlib-versions: Remove entries for ports architectures.
72708         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
72709         files in ports.
72710         * elf/stackguard-macros.h: Remove support for IA-64.
72711         * elf/tst-auditmod1.c: Likewise.
72712         * sysdeps/generic/ldsodefs.h: Likewise.
72714         * sysdeps/unix/sysv/linux/configure.in: Ports should define
72715         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
72716         configure files.
72718         [BZ #13552]
72719         * configure.in: Remove --enable-omitfp support.
72720         * FAQ.in: Adjust.
72721         * config.make.in: Likewise.
72722         * Makeconfig: Likewise.
72723         * manual/install.texi: Likewise.
72725         In case anyone cares, the IA-64 architecture could move to ports.
72726         * sysdeps/ia64/*: Removed.
72727         * sysdeps/unix/sysv/linux/ia64/*: Removed.
72728         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
72730         [BZ #13555]
72731         * configure.in: Remove entries for unsupported architectures.
72733         [BZ #13533]
72734         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
72735         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
72736         routines.
72737         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
72738         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
72739         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
72740         fall back to using wcrtomb.
72741         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
72742         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
72743         renaming.
72744         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
72745         * wcsmbs/tst-c16c32-1.c: New file.
72747         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
72748         local variable.
72750         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
72752         * elf/tst-unique3.cc: Add explicit declaration of gets.
72753         * elf/tst-unique3lib.cc: Likewise.
72754         * elf/tst-unique3lib2.cc: Likewise.
72755         * elf/tst-unique4.cc: Likewise.
72757         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
72759 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
72761         [BZ #13566]
72762         * assert/assert.h (static_assert): Don't define for C++.
72763         * libio/stdio.h (gets): Do declare for C++ <= C++11.
72764         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
72766 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
72768         * iconv/loop.c (single loop): Fix assertion in storing of
72769         remaining bytes.
72771         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
72773 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
72775         * posix/getconf.c: Update copyright year.
72776         * nss/getent.c: Likewise.
72777         * nss/makedb.c: Likewise.
72778         * iconv/iconvconfig.c: Likewise.
72779         * iconv/iconv_prog.c: Likewise.
72780         * elf/ldconfig.c: Likewise.
72781         * elf/pldd.c: Likewise.
72782         * elf/sotruss.ksh: Likewise.
72783         * catgets/gencat.c: Likewise.
72784         * csu/version.c: Likewise.
72785         * elf/ldd.bash.in: Likewise.
72786         * elf/sprof.c (print_version): Likewise.
72787         * locale/programs/locale.c: Likewise.
72788         * locale/programs/localedef.c: Likewise.
72789         * login/programs/pt_chown.c: Likewise.
72790         * nscd/nscd.c (print_version): Likewise.
72791         * debug/xtrace.sh: Likewise.
72792         * malloc/memusage.sh: Likewise.
72793         * malloc/mtrace.pl: Likewise.
72794         * debug/catchsegv.sh: Likewise.
72796 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
72798         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
72799         pure attribute.
72801 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
72803         [BZ #13533]
72804         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
72805         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
72806         transformations.
72807         * iconv/gconv_int.h: Likewise.
72808         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
72809         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
72810         from libc for GLIBC_2.16.
72811         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
72812         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
72813         * wcsmbs/uchar.h: Really define mbstate_t.
72814         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
72815         * wcsmbs/c16rtomb.c: New file.
72816         * wcsmbs/mbrtoc16.c: New file.
72817         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
72818         for C/POSIX locale.
72819         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
72820         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
72822         * wcsmbs/wchar.h: Add missing __restrict.
72824 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
72826         [BZ #13532]
72827         * time/Makefile (routines): Add timespec_get.
72828         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
72829         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
72830         timespec for ISO C11.
72831         * time/timespec_get.c: New file.
72832         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
72833         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
72835         [BZ #13531]
72836         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
72837         * stdlib/stdlib.h: Declare aligned_alloc.
72838         * Versions.def: Add GLIBC_2.16 for libc.
72839         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
72841         [BZ 13527]
72842         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
72843         ISO C11.
72845         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
72846         code.
72848         [BZ #13528]
72849         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
72851         [BZ #13529]
72852         * assert/assert.h (static_assert): Define.
72854         * version.h: Update for 2.16 development version.
72856         [BZ #13526]
72857         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
72858         _ISOC11_SOURCE.
72860         * version.h (RELEASE): Bump for 2.15 release.
72861         * include/features.h (__GLIBC_MINOR__): Bump to 15.
72863         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
72864         Patch by Marek Polacek <mpolacek@redhat.com>.
72866         * bits/byteswap.h: Protect long long constants with __extension__.
72867         * sysdeps/i386/bits/byteswap.h: Likewise.
72868         * sysdeps/ia64/bits/byteswap.h: Likewise.
72869         * sysdeps/s390/bits/byteswap.h: Likewise.
72870         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72872 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72874         [BZ #13540]
72875         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
72876         destination buffer.
72877         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
72879 2011-12-23  Marek Polacek  <polacek@redhat.com>
72881         * elf/dl-addr.c (determine_info): Add inline keyword.
72882         * elf/tst-auditmod4b.c (check_avx): Likewise.
72883         * elf/tst-auditmod6b.c (check_avx): Likewise.
72884         * elf/tst-auditmod6c.c (check_avx): Likewise.
72885         * elf/tst-auditmod7b.c (check_avx): Likewise.
72887 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
72889         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
72890         !__SSE_MATH__.
72892 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72894         [BZ #13540]
72895         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
72896         processing for last bytes.
72898 2011-08-06  Bruno Haible  <bruno@clisp.org>
72900         [BZ #13061]
72901         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
72902         U+0385, not to U+1FEE.
72904         [BZ #13062]
72905         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
72906         entry for U+00A5 U+0301.
72908 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
72910         [BZ #13166]
72911         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
72912         buffer for the output is too small.
72914         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
72915         optimization.
72917         [BZ #13185]
72918         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
72919         SSE flags if possible.
72921 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72923         [BZ #13540]
72924         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
72925         processing for last bytes.
72927 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
72929         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
72930         (syscall-list-default-options, syscall-list-default-condition)
72931         (syscall-list-includes): Define.
72932         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
72933         list of ABIs and options and #if conditions for each ABI.  Do not
72934         handle common syscalls between ABIs specially.
72935         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
72936         Remove.
72937         (syscall-list-variants, syscall-list-32bit-options)
72938         (syscall-list-32bit-condition, syscall-list-64bit-options)
72939         (syscall-list-64bit-condition): Define.
72940         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
72941         (syscall-list-variants, syscall-list-32bit-options)
72942         (syscall-list-32bit-condition, syscall-list-64bit-options)
72943         (syscall-list-64bit-condition): Define.
72944         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
72945         Remove.
72946         (syscall-list-variants, syscall-list-32bit-options)
72947         (syscall-list-32bit-condition, syscall-list-64bit-options)
72948         (syscall-list-64bit-condition): Define.
72949         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
72950         Remove.
72951         (syscall-list-variants, syscall-list-32bit-options)
72952         (syscall-list-32bit-condition, syscall-list-64bit-options)
72953         (syscall-list-64bit-condition): Define.
72955 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
72957         * locale/iso-639.def: Add brx entry.
72959         [BZ #13328]
72960         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
72961         Proposed by Mariusz_Cukr <marcukr@op.pl>.
72963         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
72964         __feraiseexcept_renamed.
72966 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
72968         [BZ #13538]
72969         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
72970         EPOLLET with unsigned values.
72971         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72972         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
72974         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
72975         to large cancellation.
72976         * math/s_cacoshf.c: Likewise.
72977         * math/s_cacoshl.c: Likewise.
72979 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
72981         [BZ #13305]
72982         [BZ #12786]
72983         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
72984         * math/s_cacoshf.c: Likewise.
72985         * math/s_cacoshl.c: Likewise.
72987 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
72989         [BZ #13439]
72990         * iconv/gconv.h: Define __GCONV_SWAP.
72991         * iconvdata/unicode.c: The swap bit must be stored in __flags.
72992         * iconvdata/utf-16.c: Likewise.
72993         * iconvdata/utf-32.c: Likewise.
72995 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
72997         [BZ #13524]
72998         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
72999         numerator after shifting it by one limb.
73001 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
73003         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
73004         under [__USE_EXTERN_INLINES].
73006 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73008         [BZ #13446]
73009         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
73011 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73013         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
73014         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
73015         optimized code.
73016         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
73017         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
73018         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
73019         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
73020         for strncasecmp/strncasecmp_l compilation.
73021         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
73022         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
73024 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
73026         [BZ #13484]
73027         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
73028         of __asm__.
73030 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73032         [BZ #13506]
73033         * time/tzfile.c (__tzfile_read): Check values from file header.
73035 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
73037         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
73038         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
73039         * powerpc/powerpc32/dl-start.S: Likewise.
73040         * powerpc/powerpc32/elf/start.S: Likewise.
73041         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
73042         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
73043         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
73044         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
73045         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
73046         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
73047         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
73048         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
73049         * powerpc/powerpc32/fpu/s_round.S: Likewise.
73050         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
73051         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
73052         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
73053         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
73054         * powerpc/powerpc32/memset.S: Likewise.
73055         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
73056         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
73057         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
73058         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
73059         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
73060         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
73061         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
73062         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
73063         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
73064         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
73065         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
73066         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73067         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73069 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73071         * math/libm-test.inc: Added more nearbyint tests.
73072         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
73073         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
73074         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
73075         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
73077 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
73079         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
73080         FD_CLOEXEC.
73082 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73084         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
73085         Add wcscpy-ssse3 wcscpy-c.
73086         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
73087         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
73088         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
73089         * sysdeps/x86_64/wcschr.S: New file.
73090         * sysdeps/x86_64/wcsrchr.S: New file.
73091         * string/test-strcmp.c: Remove checking of wcscmp function for
73092         wrong alignments.
73093         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
73094         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
73095         wcsrchr-sse2 wcsrchr-c.
73096         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
73097         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
73098         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
73099         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
73100         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
73101         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
73102         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
73103         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
73104         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
73105         * wcsmbc/wcschr.c (WCSCHR): New macro.
73107 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73109         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
73110         * wcsmbs/test-wcsrchr.c: New file.
73111         * string/test-strrchr.c: Add wcsrchr support.
73112         (WIDE): New macro.
73113         * wcsmbs/test-wcscpy.c: New file.
73114         * string/test-strcpy.c: Add wcscpy support.
73115         (WIDE): New macro.
73117 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
73119         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
73120         the inner loop.
73122 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
73124         [BZ #13472]
73125         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
73127 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
73129         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
73130         Minor optimizations.
73132         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
73133         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
73134         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
73136 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
73138         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
73139         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
73140         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
73141         for gcc to avoid warnings.
73142         * inet/Makefile (tests): Add tst-checks.
73143         * inet/tst-checks.c: New file.
73145         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
73146         warning.
73148         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
73149         __wmemcmp_sse2.
73151         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
73152         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
73154         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
73156 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
73158         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
73159         problem.
73161         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
73163 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
73165         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
73166         conditional on GCC version.
73167         (__arch_compare_and_exchange_val_8_acq)
73168         (__arch_compare_and_exchange_val_16_acq)
73169         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
73170         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
73171         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
73173 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
73175         * sysdeps/sh/backtrace.c: New file.
73177 2011-12-02  Andreas Schwab  <schwab@redhat.com>
73179         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
73180         parenthesis.
73182 2011-12-01  Andreas Schwab  <schwab@redhat.com>
73184         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
73185         falling back to utime.
73187 2011-11-30  Andreas Schwab  <schwab@redhat.com>
73189         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
73190         expectations for float.
73192 2011-11-29  Andreas Schwab  <schwab@redhat.com>
73194         * locale/weight.h (findidx): Add parameter len.
73195         * locale/weightwc.h (findidx): Likewise.
73196         * posix/fnmatch_loop.c (FCT): Adjust caller.
73197         * posix/regcomp.c (build_equiv_class): Likewise.
73198         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
73199         * posix/regexec.c (check_node_accept_bytes): Likewise.
73200         * string/strcoll_l.c (STRCOLL): Likewise.
73201         * string/strxfrm_l.c (STRXFRM): Likewise.
73203 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
73205         * Makefile.in: Remove CVSOPT handling.
73206         * configure.in: Remove use of AC_REVISION.
73207         * iconvdata/Makefile (distribute): No need to filter out CVS.
73208         * scripts/list-sources.sh: Remove CVS, subversion and monotone
73209         handling.
73211 2011-11-16  Andreas Schwab  <schwab@redhat.com>
73213         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
73214         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
73215         [USE_AS_STRNCASECMP_L]: Likewise.
73216         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
73217         NO_TLS_DIRECT_SEG_REFS.
73218         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
73219         Fix argument offsets for non-PIC.
73220         [USE_AS_STRNCASECMP_L]: Likewise.
73221         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
73222         NO_TLS_DIRECT_SEG_REFS.
73224 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73226         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
73227         O_CLOEXEC.
73228         * locale/loadlocale.c (_nl_load_locale): Likewise.
73230 2011-11-15  Andreas Schwab  <schwab@redhat.com>
73232         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
73233         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
73234         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
73235         (SYSCALL_GETTIME): Set errno on error.
73237         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
73238         count references to noai6ai_cached.
73240 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73242         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
73244         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
73245         FD_CLOEXEC for /proc/self/maps.
73247         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
73248         FD_CLOEXEC for /proc/meminfo.
73250         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
73251         gai.conf.
73253         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
73254         FD_CLOEXEC for given file.
73256         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
73258         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
73259         FD_CLOEXEC for /etc/hosts.
73260         (_gethtent): Likewise.
73262         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
73264         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
73265         cancellation and set FD_CLOEXEC for /etc/netgroup.
73267         * nss/nss_files/files-key.c (search): Don't allow cancellation when
73268         reading /etc/publickey.
73270         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
73271         allow cancellation when reading /etc/group.
73273         * nss/nss_files/files-alias.c (internal_setent): Don't allow
73274         cancellation.
73275         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
73277         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
73278         when using data file.
73280         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
73282         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
73283         (write_nis_obj): Use "c" and "e" in fopen.
73285         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
73287         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
73289         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
73291         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
73293         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
73294         locale.alias.
73296         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
73298         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
73300         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
73302         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
73303         file parsing and set FD_CLOEXEC.
73305 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73307         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
73309 2011-11-14  Andreas Schwab  <schwab@redhat.com>
73311         * malloc/arena.c (arena_get2): Don't call reused_arena when
73312         _int_new_arena failed.
73314 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73316         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
73317         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
73318         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
73319         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73320         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73321         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
73322         to compile strcasecmp and strncasecmp.
73323         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
73324         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
73326         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
73328 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
73330         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
73331         locale-defines.sym to gen-as-const-headers.
73332         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
73333         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
73334         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
73335         to compile strcasecmp and strncasecmp.
73336         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
73337         strcasecmp_l and strncasecmp_l.
73338         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
73339         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
73340         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
73341         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
73342         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
73343         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
73344         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
73345         * sysdeps/i386/i686/multiarch/strncase.S: New file.
73346         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
73347         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
73348         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
73350 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
73352         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
73353         result of SYSDEP_GETTIME_CPU to retval.
73354         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
73355         parameter list to macro.  Remove trailing semicolon.  Adjust users.
73357         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
73358         variable.
73360         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
73361         mantissa words.
73362         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
73364         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
73365         from unused variable.
73367         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
73368         DWARF definitions.
73369         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
73370         for assembling.
73372         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
73373         over namespaces.
73375         * sunrpc/rpc_prot.c (rejected): Fix case value.
73377         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
73378         unsigned long long int to avoid warnings in shift.
73380         * posix/regex_internal.c (re_string_reconstruct): Actually use result
73381         of use of trans.
73382         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
73383         variable tmp.
73385         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
73386         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
73387         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
73389         * nis/nis_table.c (nis_list): Use variable of correct type for
73390         result of __follow_path call.
73392 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73394         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
73395         of math functions ceil, trunc, floor, round, and sqrt, when
73396         avaliable on the platform.
73397         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
73398         name clash.
73399         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
73400         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
73401         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
73403 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
73405         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
73406         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
73408 2011-11-11  Roland McGrath  <roland@hack.frob.com>
73410         * include/unistd.h: Fix __readlink return type.
73411         Reported by Chris Metcalf <cmetcalf@tilera.com>.
73413 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
73415         * stdlib/ucontext.h: Undo last change for makecontext.
73417 2011-11-11  Andreas Schwab  <schwab@redhat.com>
73419         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
73421         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
73422         * setjmp/setjmp.h: Mark functions as non-leaf.
73423         * setjmp/bits/setjmp2.h: Likewise.
73424         * stdlib/ucontext.h: Likewise.
73426 2011-11-10  Andreas Schwab  <schwab@redhat.com>
73428         * malloc/arena.c (_int_new_arena): Don't increment narenas.
73429         (reused_arena): Don't check arena limit.
73430         (arena_get2): Atomically check arena limit.
73432 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
73434         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
73435         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
73437         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
73438         instructions.
73440 2011-11-07  Andreas Schwab  <schwab@redhat.com>
73442         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
73443         handler when locking.
73445         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
73446         Fix size of allocated buffer.
73448 2011-11-04  Andreas Schwab  <schwab@redhat.com>
73450         [BZ #10103]
73451         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
73452         declarations for long double functions.
73453         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
73455         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
73457 2011-11-03  Andreas Schwab  <schwab@redhat.com>
73459         * nscd/nscd.c (main): Don't start AVC thread until credentials are
73460         installed.
73462         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
73463         is disabled.
73465 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73467         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
73469 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
73471         * include/alloca.h (stackinfo_alloca_round): Define.
73472         (extend_alloca): Use it.
73473         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
73474         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
73475         here.
73477         * scripts/check-local-headers.sh: Ignore libaudit.h.
73479         * nscd/Makefile (extra-objs): Make recursively expanded.
73481 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
73483         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
73484         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
73486         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
73487         * posix/tst-rfc3484-2.c: Likewise.
73488         * posix/tst-rfc3484-3.c: Likewise.
73490         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
73491         process_vm_writev.
73492         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
73493         process_vm_writev.
73494         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
73495         process_vm_writev from libc using GLIBC_2.15 version.
73497         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
73499 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
73501         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
73502         stack usage.
73504 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
73506         [BZ #13367]
73507         * nss/getent.c (initgroups_keys): Show error message in case no group
73508         names are given.
73510         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
73511         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
73512         __bump_nl_timestamp.
73513         * nscd/connections (nscd_init): When host database is served open
73514         netlink socket and request notification about configuration changes.
73515         (main_loop_poll): Track netlink file descriptor and bump timestamp
73516         in case data becomes available.
73517         (main_loop_epoll): Likewise.
73518         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
73519         (database_pers_head): Add extra_data fileds.
73520         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
73521         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
73522         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
73523         Adjust caller.
73524         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
73525         in6ai data, call __free_in6ai.
73526         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
73527         Add -DHAVE_NETLINK.
73528         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
73529         interface information.  Reuse previous data if netlink timestamp
73530         is not changed.
73531         (__bump_nl_timestamp): New function.
73532         (__free_in6ai): New function.
73534 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
73536         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
73537         close_not_cancel_no_status here.
73538         (__check_pf): Reorganize code a bit to not call close twice if OOM.
73540 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
73542         [BZ #13276]
73543         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
73544         return value.
73546         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
73547         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
73548         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
73550 2011-07-03  Andreas Jaeger  <aj@suse.de>
73552         [BZ #10709]
73553         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
73554         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
73555         * math/libm-test.inc (sin_test): Add test case.
73557 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
73559         [BZ #13337]
73560         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
73561         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
73563         * elf/chroot_canon.c (chroot_canon): Cleanups.
73565         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
73567         [BZ #13335]
73568         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
73569         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
73571         * string/test-strchr.c: Make usable for strchrnul testing.
73572         * string/test-strchrnul.c: New file.
73573         * string/Makefile (strop-tests): Add strchrnul.
73575         * po/it.po: Update from translation team.
73576         * po/es.po: Likewise.
73578 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
73580         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
73581         the three constants needed as parameters.  Drop the others.
73582         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
73583         __m128i_strloadu_tolower.
73584         Create and initialize variable zero and use it in all the places
73585         where _mm_setzero_si128 was used.
73587         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
73588         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
73589         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
73590         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
73591         anymore.
73592         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
73593         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
73594         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
73595         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
73596         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
73597         __mpranred, __mptan.
73598         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
73599         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
73600         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
73601         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
73602         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
73603         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
73604         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
73605         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
73606         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
73608 2011-10-28  Andreas Schwab  <schwab@redhat.com>
73610         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
73611         redefine if SHARED.
73612         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
73614         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
73615         wide char related routines to wcsmbs subdir.
73617 2011-10-27  Andreas Schwab  <schwab@redhat.com>
73619         [BZ #13344]
73620         * misc/sys/cdefs.h (__THROWNL): Define.
73621         * posix/unistd.h: Use __THREADNL instead of __THREAD
73622         for memory synchronization functions.
73624 2011-10-26  Roland McGrath  <roland@hack.frob.com>
73626         [BZ #13349]
73627         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
73628         doesn't exist.
73629         * manual/stdio.texi (Obstack Streams): Node removed.
73631 2011-10-26  Andreas Schwab  <schwab@redhat.com>
73633         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
73634         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73635         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73637         * math/math_private.h (math_force_eval): Allow non-addressable
73638         arguments.
73639         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
73641 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73643         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
73644         file is not needed.
73646         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
73647         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
73648         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73649         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73650         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73651         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73652         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73653         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
73654         Add AVX variants.
73655         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
73656         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
73657         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
73658         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
73659         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
73660         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
73661         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
73662         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
73663         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
73664         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
73665         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
73666         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
73667         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
73668         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
73669         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
73670         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
73671         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
73672         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
73673         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
73675         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
73676         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
73678         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
73679         place.  Use VEX encoding when compiling for AVX.
73681 2011-10-25  Andreas Schwab  <schwab@redhat.com>
73683         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
73684         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
73686         * string/test-strchr.c (do_test): Don't generate NUL bytes.
73688 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73690         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
73691         useless if() expression.
73692         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73693         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
73694         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
73695         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73696         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
73697         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73698         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73699         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73700         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
73701         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73702         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73703         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73704         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
73705         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73706         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
73707         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73708         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73709         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73710         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
73712         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
73714 2011-10-25  Andreas Schwab  <schwab@redhat.com>
73716         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
73717         condition.
73718         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73720 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73722         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
73723         .text section.  Avoid duplicate constants.
73724         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73725         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73726         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73727         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73728         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73729         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73730         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73731         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73732         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
73733         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
73734         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
73735         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73736         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
73737         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
73738         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
73739         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
73740         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
73741         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
73742         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73743         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73744         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73745         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73746         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73747         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
73748         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
73749         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
73750         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
73751         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
73752         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
73753         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
73754         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
73755         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
73756         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
73757         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
73758         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
73759         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
73760         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
73761         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
73762         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
73763         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
73764         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
73765         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
73766         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
73767         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
73768         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
73770 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
73772         * sysdeps/x86_64/dla.h: Move to ...
73773         * sysdeps/x86_64/fpu/dla.h: ...here.
73774         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
73775         situations.  Use __builtin_fma only for gcc 4.6 and up.
73777         * config.make.in: Add have-mfma4 entry.
73778         * configure.in: Substitute libc_cv_cc_fma4.
73779         * math/Makefile (dbl-only-routines): Add sincostab.
73780         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
73781         Use __sincostab not sincos.
73782         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
73783         name is a macro.
73784         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73785         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73786         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73787         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
73788         using __copysign.
73789         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
73790         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
73791         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
73792         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
73793         and __inv.
73794         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
73795         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
73796         __copysign.
73797         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
73798         define aliases when function name is a macro.
73799         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
73800         sysdeps/ieee754/dbl-64/sincos.tbl.
73801         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
73802         fma4-enabled routines.
73803         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
73804         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
73805         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
73806         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
73807         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
73808         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
73809         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
73810         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
73811         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
73812         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
73813         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
73814         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
73815         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
73816         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
73817         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
73818         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
73819         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
73820         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
73821         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
73822         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
73823         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
73824         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
73825         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
73826         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
73827         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
73828         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
73829         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
73830         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
73831         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
73832         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
73834         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
73835         rename.
73836         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73837         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73838         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73839         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73840         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73841         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73842         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73843         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73845 2011-10-24  Andreas Schwab  <schwab@redhat.com>
73847         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
73849 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
73851         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
73853         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
73854         prediction.
73855         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
73857         * string/strnlen.c: Don't define STRNLEN, reverse logic.
73858         Remove unused variable magic_bits.
73859         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
73861         * string/strnlen.c: Define and use STRNLEN macro.
73862         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
73863         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
73864         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
73865         * wcsmbs/wcslen.c: Define and use WCSLEN.
73866         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
73867         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
73868         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
73869         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
73870         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
73871         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
73872         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
73874 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73876         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73877         strnlen-sse2-no-bsf.
73878         Rename strlen-no-bsf to strlen-sse2-no-bsf.
73879         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
73880         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
73881         Add strnlen support.
73882         (USE_AS_STRNLEN): New macro.
73883         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
73884         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
73885         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
73886         * sysdeps/x86_64/wcslen.S: New file.
73888 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
73890         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
73891         XMM-moves are used for copying on small sizes.
73893 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73895         * wcsmbs/Makefile (strop-tests): Add wcschr.
73896         * wcsmbs/test-wcschr.c: New file.
73897         * string/test-strchr.c: Update.
73898         Add wcschr support.
73899         (WIDE): New macro.
73901 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73903         * wcsmbs/Makefile (strop-tests): Add wcslen.
73904         * wcsmbs/test-wcslen.c: New file.
73905         * string/test-strlen.c: Update.
73906         Add wcslen support.
73907         (WIDE): New macro.
73909 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
73911         * po/it.po: Update from translation team.
73913 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73915         * sysdeps/x86_64/wcscmp.S: Update.
73916         Fix wrong comparison semantics.
73917         wcscmp shall use signed comparison not unsigned.
73918         Don't use substraction to avoid overflow bug.
73919         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
73920         * wcsmbc/wcscmp.c: Likewise.
73921         * string/test-strcmp.c: Likewise.
73922         Add new tests to check cases with negative values.
73924 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
73926         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
73927         * sysdeps/x86_64/dla.h: ...here.  New file.
73928         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
73929         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73930         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73931         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73932         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73933         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73934         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73935         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73936         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73938 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
73940         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
73941         __ynl_finite aliases.
73943 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
73945         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73947         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
73948         define DLA_FMA.
73949         [DLA_FMA] (EMULV): Use DLA_FMA.
73950         [DLA_FMA] (MUL12): Use EMULV.
73951         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
73952         that are not needed.
73953         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73954         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73955         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73956         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73957         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73958         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73959         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73961 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
73963         * math/s_nan.c: Undef __nan.
73964         * math/s_nanf.c: Undef __nanf.
73965         * math/s_nanl.c: Undef __nanl.
73966         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
73967         "math_private.h".
73969 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
73971         * math/s_catan.c: Add branch predictions.
73972         * math/s_catanf.c: Likewise.
73973         * math/s_catanh.c: Likewise.
73974         * math/s_catanhf.c: Likewise.
73975         * math/s_catanhl.c: Likewise.
73976         * math/s_catanl.c: Likewise.
73977         * math/s_cexp.c: Likewise.
73978         * math/s_cexpf.c: Likewise.
73979         * math/s_cexpl.c: Likewise.
73980         * math/s_clog.c: Likewise.
73981         * math/s_clog10.c: Likewise.
73982         * math/s_clog10f.c: Likewise.
73983         * math/s_clog10l.c: Likewise.
73984         * math/s_clogf.c: Likewise.
73985         * math/s_clogl.c: Likewise.
73986         * math/s_csqrt.c: Likewise.
73987         * math/s_csqrtf.c: Likewise.
73988         * math/s_csqrtl.c: Likewise.
73989         * math/s_ctanf.c: Likewise.
73990         * math/s_ctanh.c: Likewise.
73991         * math/s_ctanhf.c: Likewise.
73992         * math/s_ctanhl.c: Likewise.
73993         * math/s_ctanl.c: Likewise.
73995         * math/math_private.h: Define __nan, __nanf, __nanl.
73996         * math/s_cacosh.c: Include <math_private.h>.
73997         * math/s_cacoshl.c: Likewise.
73998         * math/s_casinh.c: Likewise.
73999         * math/s_casinhf.c: Likewise.
74000         * math/s_casinhl.c: Likewise.
74001         * math/s_ccos.c: Rely entire on ccosh.
74002         * math/s_ccosf.c: Rely entire on ccoshf.
74003         * math/s_ccosl.c: Rely entirely on ccoshl.
74004         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
74005         Remove tests for FE_INVALID.
74006         * math/s_ccoshf.c: Likewise.
74007         * math/s_ccoshl.c: Likewise.
74008         * math/s_csin.c: Likewise.
74009         * math/s_csinf.c: Likewise.
74010         * math/s_csinh.c Likewise.
74011         * math/s_csinhf.c: Likewise.
74012         * math/s_csinhl.c: Likewise.
74013         * math/s_csinl.c: Likewise.
74014         * math/s_ctan.c: Likewise.
74015         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
74016         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
74017         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
74019 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
74021         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
74022         compilation problems.
74024         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
74025         __builtin_expect.
74027 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
74029         * sysdeps/i386/configure.in: Test for -mfma4 option.
74030         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
74031         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
74032         COMMON_CPUID_INDEX_80000001.
74033         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
74034         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
74035         use it if FMA3 is not supported.
74036         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
74038         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
74039         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
74041 2011-10-20  Andreas Schwab  <schwab@redhat.com>
74043         [BZ #12892]
74044         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
74045         it would create a cycle with a link time dependency.
74047 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
74049         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
74050         instruction.
74051         * string/Makefile (strop-tests): Add rawmemchr.
74052         * string/test-rawmemchr.c: New file.
74054         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
74055         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
74056         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
74057         when compiling str{,n}casecmp and when AVX is available.  Hook up
74058         new optimized code in initializers.
74060 2011-10-19  Andreas Schwab  <schwab@redhat.com>
74062         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
74063         __feraiseexcept instead of feraiseexcept.
74065 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
74067         * math/math_private.h: Define defaults for libc_fetestexcept and
74068         libc_feupdateenv.
74069         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
74070         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
74071         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
74072         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74073         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
74074         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74075         libc_fetestexcept and libc_feupdateenv.
74077         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
74078         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
74079         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
74080         * sysdeps/x86_64/fpu/math_private.h: Define special version of
74081         libc_feholdexcept_setround.
74083         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
74084         Add s_nearbyint-c and s_nearbyintf-c.
74085         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
74086         nearbyintf inlines.
74087         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
74088         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
74089         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
74090         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
74092         * math/math_private.h: Define defaults for libc_fegetround,
74093         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
74094         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
74095         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
74096         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
74097         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
74098         standard functions.
74099         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
74100         Remove comments and hacks for old compiler versions.
74101         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74102         libc_fegetround, libc_fesetround, libc_feholdexcept, and
74103         libc_feholdexceptl.
74105 2011-10-18  Andreas Schwab  <schwab@redhat.com>
74107         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
74108         (__feraiseexcept_renamed): Add __NTH.
74109         (feraiseexcept): Add __NTH.  Rename local variables to fix
74110         namespace violations.
74112 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
74114         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
74116         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
74118         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
74119         recently added interfaces.
74120         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
74122         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
74123         about macro parameter expansion.
74125         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
74126         __NO_MATH_INLINES is defined.  Cleanups.
74128         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
74129         and __floorf is target has SSE4.1.
74130         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
74131         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
74132         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
74133         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
74135         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
74136         name.
74137         (floorf): Likewise.
74139         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
74141 2011-10-17  Andreas Schwab  <schwab@redhat.com>
74143         * misc/sys/cdefs.h: Fix last change.
74145         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
74146         database lookup.
74148 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
74150         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
74152         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
74153         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74154         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
74155         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74156         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74157         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
74158         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74159         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74160         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
74161         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
74162         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
74163         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
74164         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
74165         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
74166         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
74167         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
74168         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
74169         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
74170         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
74171         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
74172         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
74173         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
74175         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
74176         ceil, ceilf, floor, floorf.
74178         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
74179         Perform IRELATIVE relocations last.
74181         * elf/do-rel.h: Add another parameter nrelative, replacing the
74182         local variable with the same name.  Change name of the function
74183         to end in Rel or Rela (uppercase).
74184         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
74185         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
74186         elf_dynamic_do_##reloc function.
74188 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74190         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
74191         is sufficient, at least on modern CPUs.
74193         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
74195         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
74196         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
74198         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
74199         __expl_finite.
74200         * math/bits/math-finite.h: Add entries for exp.
74201         * math/e_expl.c: Add __*_finite alias.
74202         * sysdeps/i386/fpu/e_exp.S: Likewise.
74203         * sysdeps/i386/fpu/e_expf.S: Likewise.
74204         * sysdeps/i386/fpu/e_expl.c: Likewise.
74205         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74206         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74207         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
74208         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
74209         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
74210         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
74211         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
74213         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
74214         is sufficient, at least on modern CPUs.
74216         * ctype/ctype-info.c (__ctype_init): Define.
74217         * include/ctype.h (__ctype_init): Declare.
74218         (__ctype_b_loc): The variable is always initialized.
74219         (__ctype_toupper_loc): Likewise.
74220         (__ctype_tolower_loc): Likewise.
74221         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
74222         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
74224 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
74226         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
74228         * configure.in: Also look in $cxxmachine/include for C++ system
74229         headers.
74231 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74233         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
74234         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
74235         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
74236         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
74237         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
74238         (USE_AS_WMEMCMP): New macro.
74239         Fixing indents.
74240         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
74241         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
74242         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
74243         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
74244         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74245         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
74246         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
74247         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
74248         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
74249         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
74250         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
74251         (USE_AS_WMEMCMP): New macro.
74252         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
74253         * sysdeps/string/test-memcmp.c: Update.
74254         Fix simple_wmemcmp.
74255         Add new tests.
74256         * wcsmbs/wmemcmp.c: Update.
74257         (WMEMCMP): New macro.
74258         Fix overflow bug.
74260 2011-10-12  Andreas Jaeger  <aj@suse.de>
74262         [BZ #13268]
74263         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
74265 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74267         * libio/iofwide.c (do_length): Avoid warning.
74269         * ctype/ctype.h (__isctype_f): Add missing __THROW.
74271 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
74273         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
74275         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
74276         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
74277         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
74278         * sysdeps/i386/i686/fpu/e_log.S: New file.
74279         * sysdeps/i386/i686/fpu/e_logf.S: New file.
74280         * sysdeps/i386/i686/fpu/e_logl.S: New file.
74282         * ctype/ctype.h: Add support for inlined isXXX functions when
74283         compiling C++ code.
74285 2011-10-14  Andreas Schwab  <schwab@redhat.com>
74287         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74289         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
74291 2011-10-13  Roland McGrath  <roland@hack.frob.com>
74293         [BZ #13291]
74294         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
74296 2011-10-13  Andreas Schwab  <schwab@redhat.com>
74298         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
74299         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
74300         feraiseexcept.
74302         * sysdeps/x86_64/memrchr.S: Check for zero size.
74304         * string/stratcliff.c: Add memrchr tests.
74306 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74308         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74309         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
74310         rawmemchr-sse2 rawmemchr-sse2-bsf.
74311         * sysdeps/i386/i686/multiarch/memchr.S: New file.
74312         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
74313         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
74314         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
74315         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
74316         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
74317         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
74318         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
74319         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
74320         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
74321         * string/memrchr.c (MEMRCHR): New macro.
74323 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
74325         Add integration with gcc's -ffinite-math-only and optimize wrapper
74326         functions in libm.
74327         * Versions.def: Define GLIBC_2.15 version for libm.
74328         * math/Makefile (headers): Add bits/math-finite.h.
74329         * math/bits/math-finite.h: New file.
74330         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
74331         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
74332         * math/e_acoshl.c: Add __*_finite alias.
74333         * math/e_acosl.c: Likewise.
74334         * math/e_asinl.c: Likewise.
74335         * math/e_atan2l.c: Likewise.
74336         * math/e_atanhl.c: Likewise.
74337         * math/e_coshl.c: Likewise.
74338         * math/e_exp10.c: Likewise.
74339         * math/e_exp10f.c: Likewise.
74340         * math/e_exp10l.c: Likewise.
74341         * math/e_exp2l.c: Likewise.
74342         * math/e_fmodl.c: Likewise.
74343         * math/e_gammal_r.c: Likewise.
74344         * math/e_hypotl.c: Likewise.
74345         * math/e_j0l.c: Likewise.
74346         * math/e_j1l.c: Likewise.
74347         * math/e_jnl.c: Likewise.
74348         * math/e_lgammal_r.c: Likewise.
74349         * math/e_log10l.c: Likewise.
74350         * math/e_log2l.c: Likewise.
74351         * math/e_logl.c: Likewise.
74352         * math/e_powl.c: Likewise.
74353         * math/e_sinhl.c: Likewise.
74354         * math/e_sqrtl.c: Likewise.
74355         * math/e_scalb.c: Completely rewritten and optimized.
74356         * math/e_scalbf.c: Likewise.
74357         * math/e_scalbl.c: Likewise.
74358         * math/w_acos.c: Likewise.
74359         * math/w_acosf.c: Likewise.
74360         * math/w_acosl.c: Likewise.
74361         * math/w_acosh.c: Likewise.
74362         * math/w_acoshf.c: Likewise.
74363         * math/w_acoshl.c: Likewise.
74364         * math/w_asin.c: Likewise.
74365         * math/w_asinf.c: Likewise.
74366         * math/w_asinl.c: Likewise.
74367         * math/w_atan2.c: Likewise.
74368         * math/w_atan2f.c: Likewise.
74369         * math/w_atan2l.c: Likewise.
74370         * math/w_atanh.c: Likewise.
74371         * math/w_atanhf.c: Likewise.
74372         * math/w_atanhl.c: Likewise.
74373         * math/w_exp10.c: Likewise.
74374         * math/w_exp10f.c: Likewise.
74375         * math/w_exp10l.c: Likewise.
74376         * math/w_fmod.c: Likewise.
74377         * math/w_fmodf.c: Likewise.
74378         * math/w_fmodl.c: Likewise.
74379         * math/w_j0.c: Likewise.
74380         * math/w_j0f.c: Likewise.
74381         * math/w_j0l.c: Likewise.
74382         * math/w_j1.c: Likewise.
74383         * math/w_j1f.c: Likewise.
74384         * math/w_j1l.c: Likewise.
74385         * math/w_jn.c: Likewise.
74386         * math/w_jnf.c: Likewise.
74387         * math/w_log.c: Likewise.
74388         * math/w_logf.c: Likewise.
74389         * math/w_logl.c: Likewise.
74390         * math/w_log10.c: Likewise.
74391         * math/w_log10f.c: Likewise.
74392         * math/w_log10l.c: Likewise.
74393         * math/w_log2.c: Likewise.
74394         * math/w_log2f.c: Likewise.
74395         * math/w_log2l.c: Likewise.
74396         * math/w_pow.c: Likewise.
74397         * math/w_powf.c: Likewise.
74398         * math/w_powl.c: Likewise.
74399         * math/w_remainder.c: Likewise.
74400         * math/w_remainderf.c: Likewise.
74401         * math/w_remainderl.c: Likewise.
74402         * math/w_scalb.c: Likewise.
74403         * math/w_scalbf.c: Likewise.
74404         * math/w_scalbl.c: Likewise.
74405         * math/w_sqrt.c: Likewise.
74406         * math/w_sqrtf.c: Likewise.
74407         * math/w_sqrtl.c: Likewise.
74408         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
74409         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
74410         used.
74411         * math/math_private.h: Declare __kernel_standard_f.
74412         * math/w_cosh.c: Remove cruft and optimize a bit.
74413         * math/w_coshf.c: Likewise.
74414         * math/w_coshl.c: Likewise.
74415         * math/w_exp2.c: Likewise.
74416         * math/w_exp2f.c: Likewise.
74417         * math/w_exp2l.c: Likewise.
74418         * math/w_hypot.c: Likewise.
74419         * math/w_hypotf.c: Likewise.
74420         * math/w_hypotl.c: Likewise.
74421         * math/w_lgamma.c: Likewise.
74422         * math/w_lgamma_r.c: Likewise.
74423         * math/w_lgammaf.c: Likewise.
74424         * math/w_lgammaf_r.c: Likewise.
74425         * math/w_lgammal.c: Likewise.
74426         * math/w_lgammal_r.c: Likewise.
74427         * math/w_sinh.c: Likewise.
74428         * math/w_sinhf.c: Likewise.
74429         * math/w_sinhl.c: Likewise.
74430         * math/w_tgamma.c: Likewise.
74431         * math/w_tgammaf.c: Likewise.
74432         * math/w_tgammal.c: Likewise.
74433         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
74434         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74435         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
74436         Minor optimizations.  Pretty printing.  Remove cruft.
74437         * sysdeps/i386/fpu/e_acosf.S: Likewise.
74438         * sysdeps/i386/fpu/e_acosh.S: Likewise.
74439         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
74440         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
74441         * sysdeps/i386/fpu/e_acosl.c: Likewise.
74442         * sysdeps/i386/fpu/e_asin.S: Likewise.
74443         * sysdeps/i386/fpu/e_asinf.S: Likewise.
74444         * sysdeps/i386/fpu/e_atan2.S: Likewise.
74445         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
74446         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
74447         * sysdeps/i386/fpu/e_atanh.S: Likewise.
74448         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
74449         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
74450         * sysdeps/i386/fpu/e_exp10.S: Likewise.
74451         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
74452         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
74453         * sysdeps/i386/fpu/e_exp2.S: Likewise.
74454         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
74455         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
74456         * sysdeps/i386/fpu/e_fmod.S: Likewise.
74457         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
74458         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
74459         * sysdeps/i386/fpu/e_hypot.S: Likewise.
74460         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
74461         * sysdeps/i386/fpu/e_log.S: Likewise.
74462         * sysdeps/i386/fpu/e_log10.S: Likewise.
74463         * sysdeps/i386/fpu/e_log10f.S: Likewise.
74464         * sysdeps/i386/fpu/e_log10l.S: Likewise.
74465         * sysdeps/i386/fpu/e_log2.S: Likewise.
74466         * sysdeps/i386/fpu/e_log2f.S: Likewise.
74467         * sysdeps/i386/fpu/e_log2l.S: Likewise.
74468         * sysdeps/i386/fpu/e_logf.S: Likewise.
74469         * sysdeps/i386/fpu/e_logl.S: Likewise.
74470         * sysdeps/i386/fpu/e_pow.S: Likewise.
74471         * sysdeps/i386/fpu/e_powf.S: Likewise.
74472         * sysdeps/i386/fpu/e_powl.S: Likewise.
74473         * sysdeps/i386/fpu/e_remainder.S: Likewise.
74474         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
74475         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
74476         * sysdeps/i386/fpu/e_scalb.S: Likewise.
74477         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
74478         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
74479         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
74480         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
74481         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
74482         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
74483         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74484         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74485         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
74486         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
74487         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
74488         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
74489         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
74490         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74491         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
74492         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
74493         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
74494         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74495         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
74496         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
74497         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74498         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
74499         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
74500         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74501         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74502         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
74503         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
74504         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
74505         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
74506         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
74507         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
74508         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
74509         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
74510         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
74511         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
74512         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74513         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
74514         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
74515         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
74516         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
74517         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
74518         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
74519         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
74520         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
74521         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
74522         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
74523         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
74524         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
74525         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
74526         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
74527         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
74528         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
74529         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
74530         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
74531         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
74532         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
74533         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
74534         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
74535         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
74536         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
74537         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
74538         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
74539         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
74540         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
74541         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
74542         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
74543         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
74544         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
74545         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
74546         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
74547         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
74548         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
74549         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
74550         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
74551         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
74552         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
74553         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
74554         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
74555         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
74556         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
74557         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74558         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
74559         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
74560         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
74561         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
74562         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74563         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
74564         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
74565         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
74566         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74567         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
74568         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
74569         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
74570         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
74571         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
74572         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
74573         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
74574         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
74575         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
74576         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
74577         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
74578         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
74579         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
74580         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
74581         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
74582         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
74583         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
74584         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
74585         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
74586         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
74587         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
74588         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
74589         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74590         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
74591         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
74592         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
74593         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
74594         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
74595         (__isnanf): Likewise.
74596         (__isinf_ns): Likewise.
74597         (__isinf_nsf): Likewise.
74598         (__finite): Likewise.
74599         (__finitef): Likewise.
74600         (__ieee754_sqrt): Define as macro.
74601         (__ieee754_sqrtf): Define as macro.
74602         (__ieee754_sqrtl): Define as macro.
74603         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
74604         inlined copy.
74605         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
74606         __FINITE_MATH_ONLY__ consistent.
74607         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
74609 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
74611         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
74612         of rawmemchr.
74614         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
74616 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
74618         * po/ja.po: Update from translation team.
74620 2011-10-08  Roland McGrath  <roland@hack.frob.com>
74622         * locale/programs/locarchive.c (prepare_address_space): New function.
74623         (create_archive, enlarge_archive, open_archive): Use it.
74625         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
74626         inside [SHARED], where it is used.
74628         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
74630         * nss/getent.c (netgroup_keys): Remove unused variable.
74631         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
74633 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
74635         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
74636         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
74637         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
74638         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
74639         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
74640         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
74641         * math/Makefile (libm-calls): Add s_isinf_ns.
74642         * math/divtc3.c: Use __isinf_nsl instead of isinf.
74643         * math/multc3.c: Likewise.
74644         * math/s_casin.c: Likewise.
74645         * math/s_casinf.c: Likewise.
74646         * math/s_casinl.c: Likewise.
74647         * math/s_ccos.c: Likewise.
74648         * math/s_ccosf.c: Likewise.
74649         * math/s_ccosl.c: Likewise.
74650         * math/s_ctan.c: Likewise.
74651         * math/s_ctanf.c: Likewise.
74652         * math/s_ctanh.c: Likewise.
74653         * math/s_ctanhf.c: Likewise.
74654         * math/s_ctanhl.c: Likewise.
74655         * math/s_ctanl.c: Likewise.
74656         * math/w_fmod.c: Likewise.
74657         * math/w_fmodf.c: Likewise.
74658         * math/w_fmodl.c: Likewise.
74659         * math/w_remainder.c: Likewise.
74660         * math/w_remainderf.c: Likewise.
74661         * math/w_remainderl.c: Likewise.
74662         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
74663         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
74664         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
74665         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
74666         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
74667         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
74668         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
74669         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
74671         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
74672         of the number.
74673         * stdio-common/printf_fphex.c: Likewise.
74674         * stdio-common/printf_size.c: Likewise.
74676         * math/e_exp10.c: Include math_private.h using <...> not "...".
74677         * math/e_exp10f.c: Likewise.
74678         * math/e_exp10l.c: Likewise.
74679         * math/e_exp2l.c: Likewise.
74680         * math/e_j0l.c: Likewise.
74681         * math/e_j1l.c: Likewise.
74682         * math/e_jnl.c: Likewise.
74683         * math/e_lgammal_r.c: Likewise.
74684         * math/e_rem_pio2l.c: Likewise.
74685         * math/e_scalb.c: Likewise.
74686         * math/e_scalbf.c: Likewise.
74687         * math/e_scalbl.c: Likewise.
74688         * math/k_cosl.c: Likewise.
74689         * math/k_sinl.c: Likewise.
74690         * math/k_tanl.c: Likewise.
74691         * math/s_cacoshf.c: Likewise.
74692         * math/s_catan.c: Likewise.
74693         * math/s_catanf.c: Likewise.
74694         * math/s_catanh.c: Likewise.
74695         * math/s_catanhf.c: Likewise.
74696         * math/s_catanhl.c: Likewise.
74697         * math/s_catanl.c: Likewise.
74698         * math/s_ccosh.c: Likewise.
74699         * math/s_ccoshf.c: Likewise.
74700         * math/s_ccoshl.c: Likewise.
74701         * math/s_cexp.c: Likewise.
74702         * math/s_cexpf.c: Likewise.
74703         * math/s_cexpl.c: Likewise.
74704         * math/s_clog.c: Likewise.
74705         * math/s_clog10.c: Likewise.
74706         * math/s_clog10f.c: Likewise.
74707         * math/s_clog10l.c: Likewise.
74708         * math/s_clogf.c: Likewise.
74709         * math/s_clogl.c: Likewise.
74710         * math/s_csin.c: Likewise.
74711         * math/s_csinf.c: Likewise.
74712         * math/s_csinh.c: Likewise.
74713         * math/s_csinhf.c: Likewise.
74714         * math/s_csinhl.c: Likewise.
74715         * math/s_csinl.c: Likewise.
74716         * math/s_csqrt.c: Likewise.
74717         * math/s_csqrtf.c: Likewise.
74718         * math/s_csqrtl.c: Likewise.
74719         * math/s_ctan.c: Likewise.
74720         * math/s_ctanf.c: Likewise.
74721         * math/s_ctanh.c: Likewise.
74722         * math/s_ctanhf.c: Likewise.
74723         * math/s_ctanhl.c: Likewise.
74724         * math/s_ctanl.c: Likewise.
74725         * math/s_ldexp.c: Likewise.
74726         * math/s_ldexpf.c: Likewise.
74727         * math/s_ldexpl.c: Likewise.
74728         * math/s_significand.c: Likewise.
74729         * math/s_significandf.c: Likewise.
74730         * math/s_significandl.c: Likewise.
74731         * math/w_acos.c: Likewise.
74732         * math/w_acosf.c: Likewise.
74733         * math/w_acosh.c: Likewise.
74734         * math/w_acoshf.c: Likewise.
74735         * math/w_acoshl.c: Likewise.
74736         * math/w_acosl.c: Likewise.
74737         * math/w_asin.c: Likewise.
74738         * math/w_asinf.c: Likewise.
74739         * math/w_asinl.c: Likewise.
74740         * math/w_atan2.c: Likewise.
74741         * math/w_atan2f.c: Likewise.
74742         * math/w_atan2l.c: Likewise.
74743         * math/w_atanh.c: Likewise.
74744         * math/w_atanhf.c: Likewise.
74745         * math/w_atanhl.c: Likewise.
74746         * math/w_cosh.c: Likewise.
74747         * math/w_coshf.c: Likewise.
74748         * math/w_coshl.c: Likewise.
74749         * math/w_dremf.c: Likewise.
74750         * math/w_exp10.c: Likewise.
74751         * math/w_exp10f.c: Likewise.
74752         * math/w_exp10l.c: Likewise.
74753         * math/w_exp2.c: Likewise.
74754         * math/w_exp2f.c: Likewise.
74755         * math/w_fmod.c: Likewise.
74756         * math/w_fmodf.c: Likewise.
74757         * math/w_fmodl.c: Likewise.
74758         * math/w_hypot.c: Likewise.
74759         * math/w_hypotf.c: Likewise.
74760         * math/w_hypotl.c: Likewise.
74761         * math/w_j0.c: Likewise.
74762         * math/w_j0f.c: Likewise.
74763         * math/w_j0l.c: Likewise.
74764         * math/w_j1.c: Likewise.
74765         * math/w_j1f.c: Likewise.
74766         * math/w_j1l.c: Likewise.
74767         * math/w_jn.c: Likewise.
74768         * math/w_jnf.c: Likewise.
74769         * math/w_jnl.c: Likewise.
74770         * math/w_lgamma.c: Likewise.
74771         * math/w_lgamma_r.c: Likewise.
74772         * math/w_lgammaf.c: Likewise.
74773         * math/w_lgammaf_r.c: Likewise.
74774         * math/w_lgammal.c: Likewise.
74775         * math/w_lgammal_r.c: Likewise.
74776         * math/w_log.c: Likewise.
74777         * math/w_log10.c: Likewise.
74778         * math/w_log10f.c: Likewise.
74779         * math/w_log10l.c: Likewise.
74780         * math/w_log2.c: Likewise.
74781         * math/w_log2f.c: Likewise.
74782         * math/w_log2l.c: Likewise.
74783         * math/w_logf.c: Likewise.
74784         * math/w_logl.c: Likewise.
74785         * math/w_pow.c: Likewise.
74786         * math/w_powf.c: Likewise.
74787         * math/w_powl.c: Likewise.
74788         * math/w_remainder.c: Likewise.
74789         * math/w_remainderf.c: Likewise.
74790         * math/w_remainderl.c: Likewise.
74791         * math/w_scalb.c: Likewise.
74792         * math/w_scalbf.c: Likewise.
74793         * math/w_scalbl.c: Likewise.
74794         * math/w_sinh.c: Likewise.
74795         * math/w_sinhf.c: Likewise.
74796         * math/w_sinhl.c: Likewise.
74797         * math/w_sqrt.c: Likewise.
74798         * math/w_sqrtf.c: Likewise.
74799         * math/w_sqrtl.c: Likewise.
74800         * math/w_tgamma.c: Likewise.
74801         * math/w_tgammaf.c: Likewise.
74802         * math/w_tgammal.c: Likewise.
74804         * po/ja.po: Update from translation team.
74806 2011-09-29  Andreas Jaeger  <aj@suse.de>
74808         [BZ #13179]
74809         * sunrpc/netname.c (netname2host): Fix logic.
74811         [BZ #6779]
74812         [BZ #6783]
74813         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
74814         correctly.
74815         * math/w_remainder.c (__remainder): Likewise.
74816         * math/w_remainderf.c (__remainderf): Likewise.
74817         * math/libm-test.inc (remainder_test): Add test cases.
74819 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74821         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
74822         sdiv_qrnnd.
74824 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
74826         * string/test-memcmp.c: Avoid unncessary #defines.
74827         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
74829 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74831         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
74832         Use new sse2 version for core i3 - i7 as it's faster
74833         than sse42 version.
74834         (bit_Prefer_PMINUB_for_stringop): New.
74835         * sysdeps/x86_64/rawmemchr.S: Update.
74836         Replace with faster SSE2 version.
74837         * sysdeps/x86_64/memrchr.S: New file.
74838         * sysdeps/x86_64/memchr.S: Update.
74839         Replace with faster SSE2 version.
74841 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
74843         * elf/dl-load.c (lose): Add cast to avoid warning.
74845 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
74847         * po/ca.po: Update from translation team.
74849         * inet/getnetgrent_r.c: Hook up nscd.
74850         * nscd/Makefile (routines): Add nscd_netgroup.
74851         (nscd-modules): Add netgroupcache.
74852         (CFLAGS-netgroupcache.c): Define.
74853         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
74854         (cache_search): Add const to second parameter.
74855         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
74856         INNETGR.
74857         (dbs): Add netgrdb entry.
74858         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
74859         (verify_persistent_db): Handle netgrdb.
74860         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
74861         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
74862         GETFDNETGR.
74863         (netgroup_response_header): Define.
74864         (innetgroup_response_header): Define.
74865         (datahead): Add netgroup_response_header and innetgroup_response_header
74866         elements.
74867         * nscd/nscd.conf: Add entries for netgroup cache.
74868         * nscd/nscd.h (dbtype): Add netgrdb.
74869         (_PATH_NSCD_NETGROUP_DB): Define.
74870         (netgroup_iov_disabled): Declare.
74871         (xmalloc, xcalloc, xrealloc): Move declarations here.
74872         (cache_search): Adjust prototype.
74873         Add netgroup-related prototypes.
74874         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
74875         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
74876         (__nscd_innetgr): Declare.
74877         * nscd/selinux.c (perms): Use access_vector_t as element type and
74878         add netgroup-related initializers.
74879         * nscd/netgroupcache.c: New file.
74880         * nscd/nscd_netgroup.c: New file.
74881         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
74882         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
74883         For four parameters use innetgr.
74884         * nss/nss_files/files-init.c: Add definition and callback for netgr.
74885         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
74886         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
74887         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
74889         * nscd/connections.c (register_traced_file): Don't register file
74890         for disabled databases.
74892 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
74894         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
74896         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
74897         from tree and freeing node.
74899 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
74901         * nss/nsswitch.c (__nss_database_lookup): Handle
74902         nss_parse_service_list out of memory case.
74904 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
74906         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
74907         out of memory case.
74909 2011-10-04  Andreas Schwab  <schwab@redhat.com>
74911         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
74912         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
74913         pass it down.
74914         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
74915         elf_machine_rela, elf_machine_lazy_rel.
74916         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
74917         (ELF_DYNAMIC_DO_REL): Likewise.
74918         (ELF_DYNAMIC_DO_RELA): Likewise.
74919         (ELF_DYNAMIC_RELOCATE): Likewise.
74920         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
74921         to ELF_DYNAMIC_DO_REL.
74922         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
74923         (dl_main): In trace mode always set __RTLD_NOIFUNC.
74924         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
74925         elf_machine_rela.
74926         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
74927         skip_ifunc, don't call ifunc function if non-zero.
74928         (elf_machine_rela): Likewise.
74929         (elf_machine_lazy_rel): Likewise.
74930         (elf_machine_lazy_rela): Likewise.
74931         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
74932         (elf_machine_lazy_rel): Likewise.
74933         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
74934         Likewise.
74935         (elf_machine_lazy_rel): Likewise.
74936         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74937         Likewise.
74938         (elf_machine_lazy_rel): Likewise.
74939         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
74940         (elf_machine_lazy_rel): Likewise.
74941         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
74942         (elf_machine_lazy_rel): Likewise.
74943         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
74944         (elf_machine_lazy_rel): Likewise.
74945         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
74946         (elf_machine_lazy_rel): Likewise.
74947         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
74948         (elf_machine_lazy_rel): Likewise.
74949         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
74950         (elf_machine_lazy_rel): Likewise.
74952 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
74954         * nss/nss_files/files-init.c (_nss_files_init): Use static
74955         initialization for all the *_traced_file variables.
74957 2011-09-28  Andreas Schwab  <schwab@redhat.com>
74959         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74961 2011-09-27  Roland McGrath  <roland@hack.frob.com>
74963         [BZ #13226]
74964         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
74966 2011-09-27  Andreas Schwab  <schwab@redhat.com>
74968         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
74969         Reread the line before reparsing it.
74971 2011-09-26  Andreas Schwab  <schwab@redhat.com>
74973         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
74975 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
74976             Maxim Kuvyrkov  <maxim@codesourcery.com>
74977             Joseph Myers  <joseph@codesourcery.com>
74979         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
74980         if needed for __stack_chk_guard.
74982 2011-09-19  Roland McGrath  <roland@hack.frob.com>
74984         * sysdeps/posix/spawni.c (script_execute): Always define it.
74985         It will be optimized away if unused.
74986         (maybe_script_execute): New function.
74987         (__spawni): Call it.
74989         * Makerules: Don't include tls.make.
74990         (config-tls): Always set to thread.
74991         * tls.make.c: File removed.
74993 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
74995         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
74996         * config.make.in (CPPFLAGS-config): New substituted variable.
74998 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
75000         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
75002         [BZ #13192]
75003         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
75004         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
75006 2011-09-15  Roland McGrath  <roland@hack.frob.com>
75008         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
75009         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
75010         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
75011         (CALL_FAIL): Likewise.
75012         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
75013         (CALL_FAIL): Macro removed.
75014         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
75016 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
75018         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
75019         for __FINITE_MATH_ONLY__ == 1.
75021 2011-09-15  Andreas Schwab  <schwab@redhat.com>
75023         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
75024         __ieee754_sqrt instead of sqrt.
75025         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
75026         __ieee754_sqrtf instead of sqrtf.
75027         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
75028         __floorf instead of floorf.
75029         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
75030         __floorf, __truncf instead of floorf, truncf.
75032 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
75034         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
75036         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
75037         __extern_always_inline.
75038         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
75039         32-bit.
75041 2011-09-14  Andreas Schwab  <schwab@redhat.com>
75043         * elf/rtld.c (dl_main): Also relocate in dependency order when
75044         doing symbol dependency testing.
75046 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
75048         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75049         Always define `refsym'.
75051 2011-09-13  Andreas Schwab  <schwab@redhat.com>
75053         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
75054         (__FD_ELT): Renamed from __FDELT.
75055         * misc/bits/select2.h (__FD_ELT): Likewise.
75056         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
75057         __FD_MASK instead of __FDELT, __FDMASK.
75058         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75059         Likewise.
75060         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75061         Likewise.
75063         * elf/Makefile (gen-ldd): Fix pattern.
75065         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
75066         (init_tls): Likewise.
75068 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
75070         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
75072 2011-09-12  Andreas Schwab  <schwab@redhat.com>
75074         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
75075         `struct cmsghdr *' instead of `void *'.
75076         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
75077         Likewise.
75079 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
75081         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
75082         if non-absolute.
75083         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
75084         ldd_rewrite_script.
75086 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
75088         * configure.in: Remove --with-tls option.
75089         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
75090         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
75091         out in case it is missing.
75092         * sysdeps/ia64/elf/configure.in: Likewise.
75093         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
75094         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
75095         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
75096         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
75097         * sysdeps/sh/elf/configure.in: Likewise.
75098         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
75099         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
75100         * sysdeps/x86_64/elf/configure.in: Likewise.
75101         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
75102         * sysdeps/mach/hurd/tls.h: Likewise.
75104         [BZ #13067]
75105         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
75107         [BZ #13090]
75108         * configure.in: Fix use of AC_INIT.
75110         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
75112 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
75114         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
75115         __set_errno.
75116         * malloc/hooks.c: Likewise.
75118         [BZ #11929]
75119         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
75120         variables statically.
75121         (narenas): Initialize.
75122         (list_lock): Initialize.
75123         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
75124         initializtion of main_arena and list_lock.  Small cleanups.
75125         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
75126         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
75127         Add initializers to main_arena and mp_.
75128         (malloc_state): Remove pagesize member.  Change all users to use
75129         GLRO(dl_pagesize).
75131         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
75132         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
75133         is always initialized.
75135         * malloc/malloc.c: Removed unused configurations and dead code.
75136         * malloc/arena.c: Likewise.
75137         * malloc/hooks.c: Likewise.
75138         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
75140         * include/tls.h: Removed.  USE___THREAD must always be defined.
75141         * bits/libc-tsd.h: Don't handle !USE___THREAD.
75142         * elf/dl-libc.c: Likewise.
75143         * elf/dl-tsd.c: Likewise.
75144         * include/errno.h: Likewise.
75145         * include/netdb.h: Likewise.
75146         * include/resolv.h: Likewise.
75147         * inet/herrno-loc.c: Likewise.
75148         * inet/herrno.c: Likewise.
75149         * malloc/arena.c: Likewise.
75150         * malloc/hooks.c: Likewise.
75151         * malloc/malloc.c: Likewise.
75152         * resolv/res-state.c: Likewise.
75153         * resolv/res_libc.c: Likewise.
75154         * sysdeps/i386/dl-machine.h: Likewise.
75155         * sysdeps/ia64/dl-machine.h: Likewise.
75156         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
75157         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
75158         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
75159         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
75160         * sysdeps/sh/dl-machine.h: Likewise.
75161         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
75162         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
75163         * sysdeps/unix/i386/sysdep.S: Likewise.
75164         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
75165         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
75166         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
75167         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
75168         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
75169         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
75170         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
75171         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
75172         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75173         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
75174         * sysdeps/unix/x86_64/sysdep.S: Likewise.
75175         * sysdeps/x86_64/dl-machine.h: Likewise.
75176         * tls.make.c: Likewise.
75178         * configure.in: Remove --with-__thread option.  Make tests for
75179         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
75180         tls_model attribute fail if no support is available.  Remove
75181         USE_IN_LIBIO.
75182         * Makeconfig: Adjust for dropped configure option.  All features are
75183         now mandatory.
75184         * Makerules: Likewise.
75185         * Versions.def: Likewise.
75186         * argp/argp-fmtstream.c: Likewise.
75187         * argp/argp-fmtstream.h: Likewise.
75188         * argp/argp-help.c: Likewise.
75189         * assert/assert.c: Likewise.
75190         * config.h.in: Likewise.
75191         * config.make.in: Likewise.
75192         * configure: Likewise.
75193         * configure.in: Likewise.
75194         * csu/Versions: Likewise.
75195         * csu/init.c: Likewise.
75196         * elf/tst-audit2.c: Likewise.
75197         * elf/tst-tls10.c: Likewise.
75198         * elf/tst-tls10.h: Likewise.
75199         * elf/tst-tls11.c: Likewise.
75200         * elf/tst-tls12.c: Likewise.
75201         * elf/tst-tls14.c: Likewise.
75202         * elf/tst-tlsmod11.c: Likewise.
75203         * elf/tst-tlsmod12.c: Likewise.
75204         * elf/tst-tlsmod13.c: Likewise.
75205         * elf/tst-tlsmod13a.c: Likewise.
75206         * elf/tst-tlsmod14a.c: Likewise.
75207         * elf/tst-tlsmod15b.c: Likewise.
75208         * elf/tst-tlsmod16a.c: Likewise.
75209         * elf/tst-tlsmod16b.c: Likewise.
75210         * elf/tst-tlsmod7.c: Likewise.
75211         * elf/tst-tlsmod8.c: Likewise.
75212         * elf/tst-tlsmod9.c: Likewise.
75213         * gmon/gmon.c: Likewise.
75214         * grp/fgetgrent_r.c: Likewise.
75215         * grp/putgrent.c: Likewise.
75216         * hurd/fopenport.c: Likewise.
75217         * include/libc-symbols.h: Likewise.
75218         * include/tls.h: Likewise.
75219         * intl/gettextP.h: Likewise.
75220         * intl/loadinfo.h: Likewise.
75221         * locale/global-locale.c: Likewise.
75222         * locale/localeinfo.h: Likewise.
75223         * mach/devstream.c: Likewise.
75224         * malloc/arena.c: Likewise.
75225         * malloc/set-freeres.c: Likewise.
75226         * misc/err.c: Likewise.
75227         * misc/getttyent.c: Likewise.
75228         * misc/mntent_r.c: Likewise.
75229         * posix/getopt.c: Likewise.
75230         * posix/wordexp.c: Likewise.
75231         * pwd/fgetpwent_r.c: Likewise.
75232         * resolv/Versions: Likewise.
75233         * resolv/res_hconf.c: Likewise.
75234         * shadow/fgetspent_r.c: Likewise.
75235         * shadow/putspent.c: Likewise.
75236         * stdio-common/printf_fphex.c: Likewise.
75237         * stdio-common/tmpfile.c: Likewise.
75238         * stdlib/abort.c: Likewise.
75239         * stdlib/fmtmsg.c: Likewise.
75240         * sunrpc/auth_unix.c: Likewise.
75241         * sunrpc/clnt_perr.c: Likewise.
75242         * sunrpc/clnt_tcp.c: Likewise.
75243         * sunrpc/clnt_udp.c: Likewise.
75244         * sunrpc/clnt_unix.c: Likewise.
75245         * sunrpc/openchild.c: Likewise.
75246         * sunrpc/svc_simple.c: Likewise.
75247         * sunrpc/svc_tcp.c: Likewise.
75248         * sunrpc/svc_udp.c: Likewise.
75249         * sunrpc/svc_unix.c: Likewise.
75250         * sunrpc/xdr.c: Likewise.
75251         * sunrpc/xdr_array.c: Likewise.
75252         * sunrpc/xdr_rec.c: Likewise.
75253         * sunrpc/xdr_ref.c: Likewise.
75254         * sunrpc/xdr_stdio.c: Likewise.
75256 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75258         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75260 2011-07-03  Andreas Jaeger  <aj@suse.de>
75262         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
75263         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
75264         regenerate with gen-libm-tests.pl.
75266 2010-05-12  Petr Baudis  <pasky@suse.cz>
75268         [BZ #11589]
75269         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
75270         around j0() zero points by switching to j1().
75271         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75272         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75273         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75274         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75276 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75278         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
75279         instead of 0.
75280         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
75281         instead of 0.
75282         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75283         Patch in part by Pavel Roskin <proski@gnu.org>.
75285         [BZ #13138]
75286         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
75287         realloc.
75288         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
75289         Free memory block if necessary.
75291         [BZ #12847]
75292         * libio/genops.c (INTDEF): For string streams the _lock pointer can
75293         be NULL.  Don't lock in this case.
75295 2011-09-09  Roland McGrath  <roland@hack.frob.com>
75297         * elf/elf.h (ELFOSABI_GNU): New macro.
75298         (ELFOSABI_LINUX): Define to that.
75300 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
75302         * string/strncat.c (strncat): Undef the symbol in case it has been
75303         defined in bits/string.h.
75305 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75307         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
75309         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
75310         link map.
75312 2011-08-17  Andreas Jaeger  <aj@suse.de>
75314         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
75316 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
75317             Ian Lance Taylor  <iant@google.com>
75319         * math/libm-test.inc (lround_test): New testcase.
75320         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
75322 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
75324         * Makefile: Remove support for automatic cvs check-ins.
75325         * Makerules: Likewise.
75326         * config.make.in: Likewise.
75327         * configure.in: Likewise.
75328         * intl/Makefile: Likewise.
75329         * locale/Makefile: Likewise.
75330         * po/Makefile: Likewise.
75331         * posix/Makefile: Likewise.
75332         * sysdeps/gnu/Makefile: Likewise.
75333         * sysdeps/mach/hurd/Makefile: Likewise.
75334         * sysdeps/sparc/sparc32/Makefile: Likewise.
75336         [BZ #13118]
75337         * posix/Makefile (bug-regex32-ENV): Define.
75338         Patch by John Stanley <jpsinthemix@verizon.net>.
75340         * misc/Makefile (headers): Add bits/select2.h.
75341         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
75342         * misc/bits/select2.h: New file.
75343         * include/bits/select2.h: New file.
75344         * debug/Makefile (routines): Add fdelt_chk.
75345         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
75346         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
75347         FD_ISSET.
75348         * debug/fdelt_chk.c: New file.
75350         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
75351         * wcsmbs/test-wmemcmp.c: Likewise.
75352         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
75353         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
75355 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75357         * string/Makefile (strop-tests): Add memcmp.
75358         * string/test-wmemcmp.c: New file.
75359         * string/test-memcmp.c: Add wmemcmp support.
75361 2011-09-08  Roland McGrath  <roland@hack.frob.com>
75363         [BZ #13153]
75364         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
75365         2011-07-19 change.
75367         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
75368         garbage value in a __mach_port_mod_refs call in the cases of the
75369         task-self and thread-self ports.
75371 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75373         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
75375 2011-09-08  Andreas Schwab  <schwab@redhat.com>
75377         * elf/dl-load.c (lose): Check for non-null L.
75379 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
75381         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
75383         * elf/dl-libc.c (dlerror_run): Pass back error code from
75384         dl_catch_error.
75386         [BZ #13123]
75387         * elf/dl-load.c (lose): Free l_origin if it is valid.
75389         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
75390         names.
75391         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
75392         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
75393         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
75394         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
75395         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
75396         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
75398 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75400         * sysdeps/powerpc/fpu/e_hypot.c: New file.
75401         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
75402         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
75403         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
75404         * sysdeps/powerpc/fpu/k_cosf.c: New file.
75405         * sysdeps/powerpc/fpu/k_sinf.c: New file.
75406         * sysdeps/powerpc/fpu/s_cosf.c: New file.
75407         * sysdeps/powerpc/fpu/s_sinf.c: New file.
75408         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
75409         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
75411 2011-08-15  Alan Modra  <amodra@gmail.com>
75413         [BZ #13092]
75414         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
75415         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
75416         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
75417         ppc_mcount to static-only-routines.
75418         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
75419         __mcount_internal.
75420         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
75421         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
75423 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
75425         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
75426         for finite and infinity parameters.
75428 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
75430         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
75431         and add nop instructions for throughput optimization.
75432         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75434 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
75436         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
75437         aligned copy for power7 with vector-scalar instructions.
75438         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
75440 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
75442         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
75443         AVX check.
75445 2011-09-07  Andreas Schwab  <schwab@redhat.com>
75447         [BZ #13144]
75448         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
75449         last change.
75451 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
75453         * sysdeps/unix/sysv/linux/x86_64/init-first.c
75454         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
75455         syscall wrapper around clock_gettime in __vdso_clock_gettime.
75456         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
75457         clock_gettime.
75459 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
75461         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
75462         Forgot to demangle the pointer.
75464         * sysdeps/i386/sysdep.h: Define atom_text_section.
75465         * sysdeps/x86_64/sysdep.h: Likewise.
75466         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
75467         section with atom_text_section.
75468         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
75469         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
75470         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
75471         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
75472         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
75474         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
75475         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
75476         already be defined.  Change to take two parameters and don't assign
75477         result to variable.  Adjust all users.
75478         Define INTERNAL_GETTIME if not already defined.
75479         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
75480         call.
75481         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
75482         HAVE_CLOCK_GETTIME_VSYSCALL.
75483         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
75485         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
75486         gettimeofday vsyscall, just use time.
75488 2011-09-06  Andreas Schwab  <schwab@redhat.com>
75490         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
75491         <errno.h>.
75493 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
75495         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
75496         syscall on x86-64.
75497         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
75498         syscall.
75499         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
75500         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
75501         syscall if possible.
75503 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75505         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
75506         e_ident.  Don't pass to find_mapsXX.
75507         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
75509 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75511         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75512         strchr-sse2-no-bsf strrchr-sse2-no-bsf
75513         * sysdeps/x86_64/multiarch/strchr.S: Update.
75514         Check bit_slow_BSF bit.
75515         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
75516         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
75517         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
75519 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75521         [BZ #13134]
75522         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
75523         before glibc 2.15.
75524         (tryshell): Define.
75525         (__spawni): Change last parameter to be flag.  Test
75526         SPAWN_XFLAGS_USE_PATH flag to use path or not.
75527         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
75528         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
75529         * posix/spawni.c: Likewise.
75530         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
75531         * posix/spawnp.c: Likewise.  Change normal version to use
75532         SPAWN_XFLAGS_USE_PATH.
75533         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
75534         SPAWN_XFLAGS_TRY_SHELL.
75536         [BZ #13150]
75537         * posix/glob.h: Remove gcc 1.x support.
75539         [BZ #13068]
75540         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
75542 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75544         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75545         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
75546         strrchr-sse2-bsf
75547         * sysdeps/i386/i686/multiarch/strchr.S: New file.
75548         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
75549         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
75550         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
75551         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
75552         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
75554 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75556         * sysdeps/x86_64/wcscmp.S: New file.
75558         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
75559         wcscmp-c wcscmp-sse2
75560         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
75561         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
75562         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
75563         * wcsmbs/wcscmp.c: Allow renaming.
75565 2011-09-05  David S. Miller  <davem@davemloft.net>
75567         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
75568         stack slot, rather than the struct return pointer slot.
75569         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
75570         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
75571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
75572         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
75574 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75576         * po/ja.po: Update from translation team.
75578         [BZ #13144]
75579         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
75580         kernel in 64-bit binaries.
75582 2011-09-01  David S. Miller  <davem@davemloft.net>
75584         * elf/elf.h (HWCAP_SPARC_*): Move to..
75585         * sysdeps/sparc/sysdep.h: this new file and add new values.
75586         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
75587         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
75588         _DL_HWCAP_COUNT to 24.
75589         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
75590         entries.
75591         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
75592         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
75593         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
75594         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
75595         instead of magic constants.
75596         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75598 2011-08-31  David S. Miller  <davem@davemloft.net>
75600         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
75601         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
75602         Reimplement to do errno handling inline.
75603         (SYSCALL_ERROR_HANDLER): New macro.
75604         (__SYSCALL_STRING): Do not do errno handling in asm.
75605         (__CLONE_SYSCALL_STRING): Delete.
75606         (__INTERNAL_SYSCALL_STRING): Delete.
75607         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
75608         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
75609         (PSEUDO): Reimplement to do errno handling inline.
75610         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
75611         (SYSCALL_ERROR_HANDLER): New macro.
75612         (__SYSCALL_STRING): Do not do errno handling in asm.
75613         (__CLONE_SYSCALL_STRING): Delete.
75614         (__INTERNAL_SYSCALL_STRING): Delete.
75615         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
75616         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
75617         i386.
75618         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
75619         (inline_syscall*): Add 'err' argument.
75620         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
75621         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
75622         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
75623         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
75625         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
75626         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
75628 2011-08-30  Andreas Schwab  <schwab@redhat.com>
75630         * elf/rtld.c (dl_main): Relocate objects in dependency order.
75632 2011-08-29  Jiri Olsa <jolsa@redhat.com>
75634         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
75635         directive.
75637 2011-08-24  David S. Miller  <davem@davemloft.net>
75639         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
75641 2011-08-24  Andreas Schwab  <schwab@redhat.com>
75643         * elf/Makefile: Add rules to build and run unload8 test.
75644         * elf/unload8.c: New file.
75645         * elf/unload8mod1.c: New file.
75646         * elf/unload8mod1x.c: New file.
75647         * elf/unload8mod2.c: New file.
75648         * elf/unload8mod3.c: New file.
75650         * elf/dl-close.c (_dl_close_worker): Reset private search list if
75651         it wasn't used.
75653 2011-08-23  David S. Miller  <davem@davemloft.net>
75655         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
75656         subtract stack bias.
75657         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
75658         %sp not %fp in calculations.
75659         (_JMPBUF_UNWINDS_ADJ): Likewise.
75661         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
75662         (aio_suspend): Call it to force an exception region around the
75663         AIO_MISC_WAIT() invocation.
75665 2011-08-23  Andreas Schwab  <schwab@redhat.com>
75667         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
75668         backslash.
75670 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
75672         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
75673         protection macro.
75674         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
75675         and <dl-machine.h>.
75676         (Elf64_FuncDesc): Remove.
75678 2011-08-22  David S. Miller  <davem@davemloft.net>
75680         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
75681         sigaltstack check, add missing cfi directives.
75682         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
75683         missing cfi directives, and sigaltstack handling.
75685 2011-08-16  Andreas Schwab  <schwab@redhat.com>
75687         [BZ #11724]
75688         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
75689         object is seen twice.
75690         * elf/dl-fini.c (_dl_sort_fini): Likewise.
75692         * elf/Makefile (distribute): Add tst-initorder2.c.
75693         (tests): Add tst-initorder2.
75694         (modules-names): Add tst-initorder2a tst-initorder2b
75695         tst-initorder2c tst-initorder2d.  Add rules to build them.
75696         ($(objpfx)tst-initorder2.out): New rule.
75697         * elf/tst-initorder2.c: New file.
75698         * elf/tst-initorder2.exp: New file.
75700 2011-08-22  Andreas Schwab  <schwab@redhat.com>
75702         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
75704         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
75705         dependencies back to end of function.
75707         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
75708         $(elfobjdir)/ld.so.
75710 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
75712         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
75713         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
75714         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
75715         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
75716         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
75717         of __vdso_gettimeofday.
75718         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
75719         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
75720         attribute_hidden.
75721         (_libc_vdso_platform_setup): Remove initialization of
75722         __vdso_gettimeofday and __vdso_time.
75724 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
75726         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
75727         and fgetc_unlocked.
75728         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
75729         getc_unlocked.
75731         * elf/dl-open.c (add_to_global): Report additions to the global scope
75732         for LD_DEBUG=scopes.
75733         (dl_open_worker): Also print scope of newly loaded dependencies.
75734         (_dl_show_scope): Indicate if there is no scope.
75736         [BZ #13114]
75737         * stdio-common/Makefile (tests): Add bug24.
75738         * stdio-common/bug24.c: New file.
75740 2011-08-19  Andreas Jaeger  <aj@suse.de>
75742         [BZ #13114]
75743         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
75744         non-existant file when using close-on-exec mode.
75746 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
75748         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
75749         the very first instruction.
75751         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
75752         the CFI state in the end.
75753         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
75754         inclusion of dl-trampoline.h.
75755         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
75757 2011-08-19  Andreas Schwab  <schwab@redhat.com>
75759         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
75760         expectations for long double.
75762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
75763         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
75765 2011-08-14  David S. Miller  <davem@davemloft.net>
75767         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
75768         artificual limit depends upon the system page size.
75770 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
75772         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
75773         * resolv/Makefile: Define CFLAGS-libresolv.
75775 2011-08-17  Andreas Schwab  <schwab@redhat.com>
75777         * nss/makedb.c (compute_tables): Make variables used in nested
75778         function static.
75780 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
75782         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
75783         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
75784         if buffer was too small.
75786         * elf/pldd.c (main): Attach to all threads in the process.
75787         Rewrite /proc handling to use *at functions.
75789 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
75791         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
75792         specifies first scope to show.
75793         (dl_open_worker): Update callers.  Move printing scope of new
75794         object to before the relocation.
75795         * elf/rtld.c (dl_main): Update _dl_show_scope call.
75796         * sysdeps/generic/ldsodefs.h: Update declaration.
75798         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
75799         string for the scope number.
75801 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
75803         * nscd/servicescache.c (cache_addserv): Make sure written is always
75804         initialized.
75806 2011-08-14  Roland McGrath  <roland@hack.frob.com>
75808         * sysdeps/i386/i486/bits/atomic.h
75809         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
75810         statement expression, so as to suppress "set but not used" warning.
75811         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
75813         * string/strncat.c (STRNCAT): Use prototype definition.
75815         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
75816         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
75817         -Iprograms here.
75818         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
75819         (localedef-modules): Add localedef.
75820         (locale-modules): Add locale.
75822         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
75823         * elf/rtld.c (dl_main): Invert order of assignment in last change,
75824         to avoid a warning.
75826 2011-08-14  David S. Miller  <davem@davemloft.net>
75828         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
75829         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
75831 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
75833         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
75834         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
75835         * elf/rtld.c (dl_main): Set l_name of vDSO.
75836         Call _dl_show_scope when DL_DEBUG_SCOPES.
75837         (process_dl_debug): Recognize scopes flag and also set it for all.
75838         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
75839         Declare _dl_show_scope.
75841         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
75842         (do_dlopen): Pass caller_dlopen to dl_open.
75843         (__libc_dlopen_mode): Initialize caller_dlopen.
75845         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
75846         of libc.  Make tolower call locale-independent.  Optimize a bit by
75847         using isdigit instead of isalnum.
75848         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
75850 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
75852         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
75853         was a dependency or dynamically loaded.
75855 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
75857         * intl/l10nflist.c: Allow architecture-specific pop function.
75858         * sysdeps/x86_64/l10nflist.c: New file.
75860         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
75861         classification.
75863 2011-08-10  Andreas Schwab  <schwab@redhat.com>
75865         * include/dirent.h: Add libc_hidden_proto for scandirat and
75866         scandirat64.  Don't declare __scandirat64.
75867         * dirent/scandirat.c: Add libc_hidden_def.
75868         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
75869         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
75871 2011-08-10  David S. Miller  <davem@davemloft.net>
75873         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
75874         enum.
75875         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
75876         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
75877         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
75879 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
75881         * Versions.def [libc]: Add GLIBC_2.15.
75882         * dirent/Makefile (routines): Add scandirat and scandirat64.
75883         * dirent/Versions [libc]: Export scandirat and scandirat64 for
75884         GLIBC_2.15.
75885         * dirent/dirent.h: Declare scandirat and scandirat64.
75886         * dirent/scandirat.c: New file.
75887         * dirent/scandirat64.c: New file.
75888         * sysdeps/wordsize-64/scandirat.c: New file.
75889         * sysdeps/wordsize-64/scandirat64.c: New file.
75890         * dirent/opendir.c: Define opendirat.
75891         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
75892         using scandirat.
75893         * dirent/scandir64.c: Adjust for scandir.c change.
75894         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
75895         __scandirat64, and __scandir_cancel_handler.
75896         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
75897         additional parameter and use openat instead of open (outside of ld.so).
75898         Add new __opendir as wrapper around __opendirat.
75899         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
75900         here without requiring old scandirat implementation.
75902 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
75904         * dirent/scandir.c (cancel_handler): Renamed to
75905         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
75906         defined.  Adjust users.
75907         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
75908         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
75910 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
75912         * string/test-string.h (IMPL): Use __STRING to expand name and then
75913         stringify it.
75915         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
75916         of cleanups.
75918 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75920         * string/Makefile: Update.
75921         (strop-tests): Append strncat.
75922         * string/test-wcscmp.c: New file.
75923         New comprehensive test for wcscmp.
75924         * string/test-strcmp.c: Update.
75925         (WIDE): New define.
75927 2011-07-22  Andreas Schwab  <schwab@redhat.com>
75929         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
75930         line.
75932 2011-07-26  Andreas Schwab  <schwab@redhat.com>
75934         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
75935         encoding to ACE if AI_IDN.
75937 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
75939         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
75940         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
75942 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75944         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
75945         Fix overflow bug in strncat.
75946         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
75948         * string/test-strncat.c: Update.
75949         Add new tests for checking overflow bugs.
75951 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75953         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75954         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
75955         * sysdeps/i386/i686/multiarch/strcat.S: New file.
75956         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
75957         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
75958         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
75959         * sysdeps/i386/i686/multiarch/strncat.S: New file.
75960         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
75961         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
75963         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
75964         (USE_AS_STRCAT): Define.
75965         Add strcat and strncat support.
75966         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
75968 2011-07-25  Andreas Schwab  <schwab@redhat.com>
75970         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
75971         __n bigger than INT_MAX+1.
75972         (__strncmp_g): Likewise.
75974 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
75976         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
75977         * libio/stido.h: Likewise.
75979         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
75980         (AF_NFC): Define.
75981         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
75982         (AF_NFC): Define.
75984         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
75985         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
75986         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
75987         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
75988         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
75990         [BZ #13021]
75991         * scripts/test-installation.pl: Don't expect libnss_test1 to be
75992         installed.
75994         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
75995         typo.
75996         (_dl_x86_64_save_sse): Likewise.
75998 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
76000         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
76001         OSXSAVE.
76002         (_dl_x86_64_save_sse): Likewise.
76004         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
76006         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
76008 2011-07-21  Andreas Schwab  <schwab@redhat.com>
76010         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
76011         change.
76012         (_dl_x86_64_save_sse): Use correct AVX check.
76014 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76016         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
76017         bug in strncpy/strncat.
76018         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
76020 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
76022         * string/tester.c (test_strcat): Add tests for different alignments
76023         of source and destination.
76024         (test_strncat): Likewise.
76026 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76028         [BZ #12852]
76029         * posix/glob.c (glob): Check passed in values before using them in
76030         expressions to avoid some overflows.
76031         (glob_in_dir): Likewise.
76033         [BZ #13007]
76034         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
76035         check for AVX enablement so that we don't crash with old kernels and
76036         new hardware.
76037         * elf/tst-audit4.c: Add same checks here.
76038         * elf/tst-audit6.c: Likewise.
76040         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
76042 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
76044         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
76046 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76048         * po/cs.po: Update from translation team.
76049         * po/bg.po: Likewise.
76051 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
76053         * misc/sys/cdefs.h: Add support for const attribute.
76054         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
76055         to gnu_dev_{major,minor,makedev} functions.
76057 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
76059         * intl/dcigettext.c (get_output_charset): Add missing bracket.
76061 2011-07-20  Andreas Schwab  <schwab@redhat.com>
76063         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
76064         strlen results.
76066 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76068         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
76069         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
76070         register in order to avoid conflicts with the soft frame pointer
76071         being held in r11 when necessary.
76072         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
76073         (INTERNAL_VSYSCALL_NCS): Likewise.
76075 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
76077         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
76078         * elf/dl-fini.c (_dl_fini): Adjust caller.
76079         * elf/dl-close.c (_dl_close_worker): Likewise.
76080         * sysdeps/generic/ldsodefs.h: Adjust declaration.
76082 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
76084         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
76085         "aux_cache->nlibs < 0".
76087         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
76088         in the reload-count case.
76090 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76092         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76093         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
76094         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
76095         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
76096         * sysdeps/x86_64/multiarch/strcat.S: New file.
76097         * sysdeps/x86_64/multiarch/strncat.S: New file.
76098         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
76099         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
76100         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
76101         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
76102         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
76103         (USE_AS_STRCAT): Define.
76104         Add strcat and strncat support.
76105         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76106         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
76107         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
76108         * string/strncat.c: Update.
76109         (USE_AS_STRNCAT): Define.
76110         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76111         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
76112         and i7.
76113         * sysdeps/x86_64/multiarch/init-arch.h
76114         (bit_Prefer_PMINUB_for_stringop): New.
76115         (index_Prefer_PMINUB_for_stringop): Likewise.
76116         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
76117         bit_Prefer_PMINUB_for_stringop.
76119 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
76121         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
76122         buffer64.
76123         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
76124         of casting of buffer.
76125         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
76126         buffer32 and buffer64.
76127         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
76128         writes instead of casting of buffer.
76129         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
76130         buffer32.
76131         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
76132         casting of buffer.
76134 2011-07-19  Andreas Schwab  <schwab@redhat.com>
76136         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
76138 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
76140         * nscd/nscd.c (termination_handler): Don't do anything for a database
76141         if it has not yet been initialized.
76143 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
76145         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76147 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
76149         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76151 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
76153         * po/nl.po: Update from translation team.
76154         * po/sv.po: Likewise.
76156 2011-07-16  Roland McGrath  <roland@hack.frob.com>
76158         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
76159         now disallowed by GCC.
76161         * configure.in (use-default-link): Default to yes if a test -shared
76162         link meets our qualifications.
76163         * configure: Regenerated.
76165         * config.make.in (output-format): New variable.
76166         * configure.in: Check for ld --print-output-format support.
76167         * configure: Regenerated.
76168         * Makerules ($(common-objpfx)format.lds)
76169         [$(output-format) != unknown]: Just use $(output-format),
76170         instead of the linker-script munging.
76172 2011-07-14  Roland McGrath  <roland@hack.frob.com>
76174         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
76175         of $(common-objpfx)shlib.lds.
76176         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
76178         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
76179         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
76181         * configure.in (-z relro check): Adjust test code to add a large
76182         writable data section after it.
76183         * configure: Regenerated.
76185 2011-07-11  Roland McGrath  <roland@hack.frob.com>
76187         * configure.in (-z relro check): Fix test code to make the variable
76188         truly const.
76189         * configure: Regenerated.
76191 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
76193         * nscd/nscd.h (struct traced_file): Define.
76194         (struct database_dyn): Remove inotify_descr, reset_res, and filename
76195         elements.  Add traced_files.
76196         (inotify_fd): Declare.
76197         (register_traced_file): Declare.
76198         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
76199         (inotify_fd): Export.
76200         (resolv_conf_descr): Remove.
76201         (nscd_init): Move inotify descriptor creation to main.
76202         Don't register files for notification here.
76203         (register_traced_file): New function.
76204         (invalidate_cache): Don't use reset_res to determine whether to call
76205         res_init, go through the list of registered files.
76206         (main_loop_poll): The inotify descriptors are now stored in the
76207         structures for the traced files.
76208         (main_loop_epoll): Likewise.
76209         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
76210         to __nss_disable_nscd.
76211         * nscd/cache.c (prune_cache): There is no single inotify descriptor
76212         for a database anymore.  Check the records for all the registered
76213         files instead.
76214         * nss/Makefile (libnss_files-routines): Add files-init.
76215         (libnss_db-routines): Add db-init.
76216         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
76217         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
76218         * nss/nss_db/db-init.c: New file.
76219         * nss/nss_files/files-init.c: New file.
76220         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
76221         __nss_lookup_function.
76222         (__nss_lookup_function): Call nss_load_library.
76223         (nss_load_all_libraries): New function.
76224         (__nss_disable_nscd): Take parameter with callback function for files
76225         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
76226         used for the cached services.
76227         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
76228         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
76229         options for features to all the files in nscd.
76231         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
76233 2011-07-10  Roland McGrath  <roland@hack.frob.com>
76235         * csu/elf-init.c (__libc_csu_init): Comment typo.
76237 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
76239         * po/pl.po: Update from translation team.
76240         * po/ja.po: Likewise.
76241         * po/ru.po: Likewise.
76242         * po/ko.po: Likewise.
76243         * po/fr.po: Likewise.
76245 2011-07-09  Roland McGrath  <roland@hack.frob.com>
76247         * configure.in (.ctors/.dtors header and trailer check):
76248         Use an empirical test on a built program.
76249         * configure: Regenerated.
76251         * configure.in (-z relro check): Use an empirical test on a built DSO.
76252         Detect, but do not require, on ia64.
76253         * configure: Regenerated.
76255         * configure.in (READELF): Find it with AC_CHECK_TOOL.
76256         Update tests that use readelf to use $READELF instead.
76257         * configure: Regenerated.
76259 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
76261         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
76262         if the result is not used.
76264 2011-07-05  Andreas Jaeger  <aj@suse.de>
76266         [BZ#9696]
76267         * stdlib/tst-strtod.c: Add testcase.
76269 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
76271         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
76272         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
76273         The latter has a higher limit.  Take additional parameter to pass to
76274         the new function.
76275         (__pathconf): Pass file to __statfs_link_max.
76276         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
76277         __statfs_link_max.
76278         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
76279         __statfs_link_max.
76281         [BZ #12868]
76282         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
76283         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76284         Handle Lustre.
76285         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
76286         (__statfs_filesize_max): Likewise.
76287         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
76289 2011-07-05  Andreas Jaeger  <aj@suse.de>
76291         * resolv/res_comp.c (dn_skipname): Remove unused variable.
76293 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
76295         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
76296         `status' variable.
76297         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
76298         Likewise.
76300 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
76302         * Makefile (strop-tests): Add strncat.
76303         * string/test-strncat.c: New file.
76305 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
76307         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
76309 2011-06-21  Andreas Jaeger  <aj@suse.de>
76311         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
76312         Copy rule from iconvdata/Makefile.
76314 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76316         [BZ #12922]
76317         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
76318         but no long options are defined, just return 'W'.
76320 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
76322         [BZ #9696]
76323         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
76325 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76327         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
76328         netgroups to read.
76329         (innetgr): Likewise.
76331 2011-07-05  Roland McGrath  <roland@hack.frob.com>
76333         * config.make.in (install_root): Default to $(DESTDIR).
76335 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
76337         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
76339 2011-07-02  Roland McGrath  <roland@hack.frob.com>
76341         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
76343         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
76344         containing directory rather than embedding absolute directory names.
76346         * scripts/check-local-headers.sh: Rewritten using awk.
76347         Match by word, not by line.  Print error messages for matches.
76348         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
76350         * Makerules [shlib-lds-flags empty]:
76351         ($(common-objpfx)libc_pic.opts): New target.
76352         ($(common-objpfx)libc_pic.os.clean): New target.
76353         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
76355         * config.make.in (OBJCOPY): New variable.
76356         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
76357         * configure: Regenerated.
76359         * config.make.in (use-default-link): New variable.
76360         * configure.in (use_default_link): Grok --with-default-link to set it.
76361         * configure: Regenerated.
76362         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
76363         (shlib-lds, shlib-lds-flags): Define to empty.
76365         * Makerules (shlib-lds): New variable.
76366         (shlib-lds-flags): New variable.
76367         (build-shlib, build-moduile, build-module-asneeded): Use it.
76368         ($(common-objpfx)libc.so): Use $(shlib-lds).
76369         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
76370         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
76372         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
76373         DT_FLAGS/DT_FLAGS_1 with zero flags.
76375         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
76376         linker script munging.
76378 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
76380         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
76381         as 128-bit value.
76382         * crypt/sha512.c (sha512_process_block): Perform total addition using
76383         128-bit if possible.
76384         (__sha512_finish_ctx): Likewise.
76385         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
76386         as 64-bit value.
76387         * crypt/sha256.c (SWAP64): Define.
76388         (sha256_process_block): Perform total addition using 64-bit if
76389         possible.
76390         (__sha256_finish_ctx): Likewise.
76392 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
76394         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
76395         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76396         * nscd/hstcache.c (cache_addhst): Likewise.
76397         * nscd/grpcache.c (cache_addgr): Likewise.
76398         * nscd/aicache.c (addhstaiX): Likewise.
76399         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
76401 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
76403         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
76404         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76405         * nscd/hstcache.c (cache_addhst): Likewise.
76406         * nscd/grpcache.c (cache_addgr): Likewise.
76407         * nscd/aicache.c (addhstaiX): Likewise.
76409 2011-07-01  Andreas Schwab  <schwab@redhat.com>
76411         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
76412         domain only when needed.
76414 2011-06-30  Andreas Schwab  <schwab@redhat.com>
76416         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
76417         is always restored.
76419 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
76421         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
76422         are re-adding the entry.
76423         * nscd/servicescache.c (cache_addserv): Likewise.
76425 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
76427         * sysdeps/generic/dl-irel.h: fix protection against multiple
76428         inclusions.
76429         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
76431 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
76433         [BZ #12935]
76434         * malloc/memusage.sh: Fix quoting in message.
76435         * debug/xtrace.sh: Likewise.
76437         * configure.in: Remove support for --experimental-malloc option, make
76438         it the default.
76439         * config.make.in: Likewise.
76440         * malloc/Makefile: Likewise.
76442 2011-06-27  Andreas Schwab  <schwab@redhat.com>
76444         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
76445         two-byte characters.
76447 2011-06-27  Roland McGrath  <roland@hack.frob.com>
76449         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
76450         AC_CACHE_CHECK invocation.
76451         * configure: Regenerated.
76453         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
76455 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
76457         [BZ #12350]
76458         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
76459         bit from old_res_options.
76461         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
76463         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
76464         value type for setfct.
76466 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
76468         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
76469         __gettimeofday instead of gettimeofday.
76471 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
76473         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
76475 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
76477         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
76479         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
76480         info.
76482 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
76484         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76485         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
76486         strcpy-sse2-unaligned strncpy-sse2-unaligned
76487         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
76488         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
76489         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
76490         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
76491         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
76492         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
76493         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
76494         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
76495         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
76496         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
76497         (STRCPY): Support SSE2 and SSSE3 versions.
76499 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
76501         [BZ #12874]
76502         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
76503         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
76504         kernels which artificially limit size of requests.
76506 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
76508         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76509         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
76510         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
76511         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
76512         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
76513         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
76514         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
76515         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
76516         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
76517         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
76518         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
76519         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
76520         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
76521         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
76522         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
76523         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76524         Enable unaligned load optimization for Intel Core i3, i5 and i7
76525         processors.
76526         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
76527         Define.
76528         (index_Fast_Unaligned_Load): Define.
76529         (HAS_FAST_UNALIGNED_LOAD): Define.
76531 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
76533         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
76535 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
76537         [BZ #12907]
76538         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
76539         until it is clear that the information is realy needed.
76540         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
76542 2011-06-22  Andreas Schwab  <schwab@redhat.com>
76544         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
76546 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
76548         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
76549         /sys/devices/system/cpu/online if it is usable.
76551         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
76552         reading the information from the /proc filesystem to once a second.
76554 2011-06-21  Andreas Jaeger  <aj@suse.de>
76556         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
76557         NULL after inclusion of kernel headers.
76559 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
76561         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
76562         calls to internal_setent.
76564         [BZ #12885]
76565         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
76566         addresses using gethostbyname4_r ignore IPv4 addresses.
76568         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
76569         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
76571         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
76573 2011-06-20  David S. Miller  <davem@davemloft.net>
76575         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
76576         inclusions.
76577         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
76579         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
76580         (elf_irel): Use it.
76581         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
76582         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
76583         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
76584         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
76585         * sysdeps/x86_64/dl-irel.h: Likewise.
76587         * elf/dl-runtime.c: Use elf_ifunc_invoke.
76588         * elf/dl-sym.c: Likewise.
76590 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
76592         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
76593         need to dereference resplen2.
76595 2011-06-14  Andreas Schwab  <schwab@redhat.com>
76597         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
76599 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
76601         * Makeconfig: Define vardbdir and inst_vardbdir.
76602         * nss/Makefile: Add rules to install db-Makefile.
76604         * nss/nss_db/db-XXX.c: Cleanup.
76606         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
76607         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
76608         GLIBC_PRIVATE.
76609         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
76610         * nss/makedb.c: Implement -g option to specify that value strings
76611         are generated and should not be added to table iterated over for
76612         get*ent calls.
76613         * nss/nss_db/db-initgroups.c: New file.
76615         * nss/getent.c: Add support for initgroups lookups through getgrouplist
76616         interface.
76618         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
76619         (internal_getgrouplist): Adjust to name change.
76620         Update use_initgroups_entry if this is not the first call.
76621         * nss/databases.def: Add initgroups entry.
76623         * nss/makedb.c (compute_tables): Check result of multiple hash table
76624         sizes to minimize maximum chain length.
76626 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
76628         * Versions.def: Add entry for libnss_db.
76629         * shlib-versions: Likewise.
76630         * nss/Makefile: Add rules to build libnss_db.
76631         * nss/Versions: Add libnss_db information.  Organize libnss_files
76632         entries better.
76633         * nss/db-Makefile: Add gshadow support.  Change rules for the new
76634         makedb progra.  Some minor improvements to generate smaller files.
76635         * nss/nss_db/nss_db.h: Move NSS database header data structures to
76636         here from...
76637         * nss/makedb.c: ...here.
76638         Improve database format to be smaller and require less memory at
76639         runtime.
76640         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
76641         db anymore.
76642         * nss/nss_db/db-netgrp.c: Likewise.
76643         * nss/nss_db/db-open.c: Likewise.
76644         * nss/nss_files/flies-XXX.x: Adjust comments.
76645         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
76646         * nss/nss_files/files-grp.c: Likewise.
76647         * nss/nss_files/files-hosts.c: Likewise.
76648         * nss/nss_files/files-network.c: Likewise.
76649         * nss/nss_files/files-proto.c: Likewise.
76650         * nss/nss_files/files-pwd.c: Likewise.
76651         * nss/nss_files/files-rpc.c: Likewise.
76652         * nss/nss_files/files-service.c: Likewise.
76653         * nss/nss_files/files-sgrp.c: Likewise.
76654         * nss/nss_files/files-spwd.c: Likewise.
76655         * nss/nss_db/db-alias.c: Removed.
76656         * nss/nss_db/dummy-db.h: Removed.
76658 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
76660         * nss/makedb.c: Rewritten to not use database library.
76661         * nss/Makefile: Update to build new makedb program.
76663 2011-06-14  Andreas Jaeger  <aj@suse.de>
76665         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
76666         memset declaration.
76668 2011-06-10  Andreas Schwab  <schwab@redhat.com>
76670         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
76671         tmpbuf.
76673 2011-06-10  Roland McGrath  <roland@hack.frob.com>
76675         * Makerules (shlib.lds): Fail if the linker script comes out empty.
76676         * elf/Makefile ($(objpfx)ld.so): Likewise.
76678         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
76679         Don't list ld.so twice in dependencies.
76681         * posix/bug-regex31.c: Include <stdlib.h>.
76683         * nscd/hstcache.c (cache_addhst): Remove unused variable.
76685         * nis/nss_compat/compat-spwd.c
76686         (getspent_next_nss_netgr): Remove unused variable.
76687         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
76689         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
76690         nonmembers" output to use the right array.
76692         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
76694         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
76696         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
76697         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
76698         * catgets/gencat.c (read_input_file): Likewise.
76699         * locale/programs/locarchive.c (enlarge_archive): Likewise.
76701         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
76702         variable definition inside #if's controlling its use.
76704         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
76706         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
76708         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
76710         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
76711         unreachable code.
76713         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
76715         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
76716         * configure: Regenerated.
76718         * Makerules: Revert last change.
76719         * elf/Makefile: Likewise.
76721 2011-06-09  Roland McGrath  <roland@hack.frob.com>
76723         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
76724         * elf/Makefile ($(objpfx)librtld.os): Likewise.
76725         (reloc-link): Likewise.
76727 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
76729         * elf/Makefile: Add rules to build pldd.
76730         * elf/pldd.c: New file.
76731         * elf/pldd-xx.c: New file.
76733 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
76735         * version.h: Update for 2.15 development version.
76737 2011-06-07  David S. Miller  <davem@davemloft.net>
76739         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
76740         ifuncs.
76741         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
76742         elf_machine_lazy_rel): Likewise.
76743         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
76744         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
76745         elf_machine_lazy_rel): Likewise.
76746         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
76747         dl_hwcap via passed in argument.
76748         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
76749         Likewise.
76751 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76753         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
76755 2011-06-06  Roland McGrath  <roland@hack.frob.com>
76757         [BZ #12849]
76758         * manual/fdl-1.1.texi: New file, verbatim from:
76759         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
76760         * manual/lgpl-2.1.texi: New file, verbatim from:
76761         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
76762         * manual/Makefile (licenses): New variable, list those new file names.
76763         (texis): Use it.
76764         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
76766         * manual/fdl.texi: File removed.
76767         * manual/lesser.texi: File removed.
76768         * manual/libc.texinfo (Copying, Documentation License):
76769         Use new @include file names, put @appendix directive before @include.
76771 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
76773         [BZ #12841]
76774         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
76775         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
76776         (mq_open): Add __NTH.
76778 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
76780         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76781         Assume Intel Core i3/i5/i7 processor if AVX is available.
76783 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
76785         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
76786         typo.
76788 2011-05-31  Andreas Schwab  <schwab@redhat.com>
76790         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
76791         memory.  Use alloca_account.  Fix memory leak when retrying.
76793 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
76795         * version.h (RELEASE): Bump for 2.14 release.
76796         * include/features.h (__GLIBC_MINOR__): Bump to 14.
76798         * config.make.in (RANLIB): Remove entry.
76800 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
76802         * po/Makefile (po-sed-cmd): Add ksh to extensions.
76803         (libc.pot): Work around missing support for .ksh extension in xgettext.
76805         [BZ #12684]
76806         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
76807         if both request failed.
76808         (send_dg): In case of server errors clear resplen or *resplen2.
76810         [BZ #12454]
76811         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
76812         when there are multiple maps.
76813         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
76814         (_dl_fini): Remove test here.
76816         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
76818 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
76820         [BZ #12350]
76821         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
76822         bit from old_res_options.
76823         (gaih_inet): Likewise.
76825         [BZ #11099]
76826         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
76827         as signed.
76829         * resolv/res_init.c (res_setoptions): Make the code more compact.
76831         [BZ #11558]
76832         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
76833         set RES_USEVC.
76835         [BZ #11634]
76836         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
76838         * malloc/malloc.h: Mark malloc hook variables as deprecated.
76840         [BZ #11781]
76841         * malloc/malloc.h: Declare malloc hook variables as volatile.
76843         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
76844         in last patch.
76846         [BZ #11799]
76847         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
76848         raise in the comment.
76849         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
76850         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
76851         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
76853 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
76855         [BZ #12811]
76856         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
76857         grow the buffers more if it already has to be sufficient.
76858         (build_wcs_upper_buffer): Likewise.
76859         * posix/regexec.c (check_matching): Likewise.
76860         (clean_state_log_if_needed): Likewise.
76861         (extend_buffers): Don't enlarge buffers beyond size of the input
76862         buffer.
76863         Patches mostly by Emil Wojak <emil@wojak.eu>.
76864         * posix/bug-regex32.c: New file.
76865         * posix/Makefile (tests): Add bug-regex32.
76867         * locale/findlocale.c (_nl_find_locale): Return right away if
76868         _nl_explode_name failed.
76869         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
76871         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
76873         * debug/xtrace.sh: Unify messages.
76874         * malloc/memusage.sh: Likewise.
76876         [BZ #12813]
76877         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
76878         time symbol from vDSO.  Substitute with vsyscall if not available.
76879         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
76880         __vdso_time.
76882         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
76883         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
76884         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
76885         Add sendmmsg and internal_sendmmsg.
76886         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
76887         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
76888         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
76890         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
76891         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
76892         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
76894 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
76896         [BZ #12813]
76897         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
76898         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
76899         available.
76900         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
76901         __vdso_getcpu.
76903         [BZ #12814]
76904         * iconvdata/Makefile (tests): Add bug-iconv9.
76905         * iconvdata/bug-iconv9.c: New file.
76907 2011-05-27  Andreas Schwab  <schwab@redhat.com>
76909         [BZ #12814]
76910         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
76912 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
76914         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
76915         (struct user_regs_struct): Change intcs field back to cs.
76917 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
76919         * po/ja.po: Update from translation team.
76921 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
76923         [BZ #12795]
76924         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
76925         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
76927 2011-05-20  Andreas Schwab  <schwab@redhat.com>
76929         * stdlib/longlong.h: Update from GCC.
76931 2011-05-23  Andreas Schwab  <schwab@redhat.com>
76933         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
76934         parameter name.
76935         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
76936         Add parameter name.
76937         (__sysconf): Pass it down.
76939 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
76941         [BZ #12671]
76942         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
76943         some situations.
76944         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
76945         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
76946         add in in __libc_use_alloca calls.  Adjust callers.
76947         (glob): Use malloc in some situations.
76949         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
76950         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
76951         pltexit.
76953 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
76955         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
76956         and CLOCK_BOOTTIME_ALARM.
76958         [BZ #12782]
76959         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
76960         is returned.
76962         * string/_strerror.c (__strerror_r): Print negative errors as signed
76963         numbers.
76965         [BZ #12777]
76966         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
76967         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
76968         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
76970         * configure.in: Fix typo in redirection and correct removal of test
76971         files in two cases.
76973         [BZ #12788]
76974         * locale/setlocale.c (new_composite_name): Fix test to check for
76975         identical name of all categories.
76977         [BZ #12792]
76978         * libio/filedoalloc.c (local_isatty): New function.
76979         (_IO_file_doallocate): Use local_isatty.
76980         * stdio-common/perror.c (perror): In case a new stream is used
76981         forward the stream error.
76982         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
76983         error flag.
76985 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
76987         [BZ #11884]
76988         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
76989         alloca.
76990         * include/alloca.h (extend_alloca_account): Define.
76992         [BZ #11857]
76993         * posix/regex.h: Fix comments with documentation of user-accessible
76994         fields after compilation and describe correct free'ing of pattern
76995         after re_compile_pattern.
76996         Patch by Reuben Thomas <rrt@sc3d.org>.
76998 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
77000         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
77001         and -mno-altivec to prevent the compiler from using Altivec and/or
77002         VSX instructions when the corresponding registers are not available.
77004 2011-05-19  Andreas Schwab  <schwab@redhat.com>
77006         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
77008 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
77010         * libio/freopen.c (freopen): Use __dup2, not dup2.
77011         * libio/freopen64.c (freopen64): Likewise.
77013 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77015         [BZ #12775]
77016         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
77017         * math/Makefile (tests): Add test-powl.
77018         (CFLAGS-test-powl.c): Define.
77019         * math/test-powl.c: New file.
77021 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77023         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
77025 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
77027         [BZ #11837]
77028         * iconvdata/gb18030.c: Update to GB18020-2005.
77030 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
77032         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
77033         RE_SYNTAX_POSIX_AWK): Update to match recent development.
77034         Patch by Aharon Robbins <arnold@skeeve.com>.
77036         [BZ #11892]
77037         * stdlib/putenv.c (putenv): Don't always create copy of the variable
77038         on the stack.
77040         [BZ #11895]
77041         * misc/pselect.c (__pselect): Handle timeout value errors hidden
77042         through underflows.
77044         [BZ #12766]
77045         * misc/error.c (error_at_line): Ensure file_name and old_file_name
77046         point to strings before performing equality test for error_one_per_line
77047         mode.
77049         [BZ #11697]
77050         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
77052         [BZ #11820]
77053         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77054         (struct user_fpregs_struct): Avoid __uint*_t types.
77056         [BZ #6420]
77057         * malloc/mtrace.c (tr_where): Add additional parameter to point to
77058         symbol info.  Use it instead of calling _dl_addr locally.
77059         (lock_and_info): New function.
77060         (tr_freehook): Call lock_and_info and pass symbol info as additional
77061         parameter to tr_where.
77062         (tr_mallochook): Likewise.
77063         (tr_reallochook): Likewise.
77064         (tr_memalignhook): Likewise.
77066         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
77067         used and couldn't be at all thread-safe.
77069 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
77071         * libio/freopen.c (freopen): Don't close old file descriptor
77072         before the new one is opened.  Instead dup the new file descriptor
77073         to the old one after the new stream is created.
77074         * libio/freopen64.c (freopen64): Likewise.
77075         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
77076         * libio/fileops.c (_IO_new_file_close_it): Handle new
77077         _IO_FLAGS2_NOCLOSE flag.
77078         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
77079         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
77080         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
77081         _IO_FLAGS2_NOCLOSE flag.
77082         * include/unistd.h: Add hidden_proto for dup3.
77083         Define __have_dup3.
77084         * io/dup3.c: Define hidden symbol.
77085         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
77087         [BZ #7101]
77088         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
77089         when an incomplete long option is used.
77090         * posix/tst-getopt_long1.c: New file.
77091         * posix/Makefile (tests): Add tst-getopt_long1.
77093         [BZ #10138]
77094         * scripts/config.guess: Update from autoconf-2.68.
77095         * scripts/config.sub: Likewise.
77097         [BZ #10157]
77098         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
77099         tests into ...
77100         (has_cpuclock): ...this.  New function.
77101         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
77102         macro here based on has_cpuclock code.
77104         [BZ #10149]
77105         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77106         First byte (not low byte) is now always NUL.
77107         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
77109         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77110         Use non-cancelable interfaces.
77112         [BZ #9809]
77113         * locale/iso-639.def: Add entry for Sorani.
77115         [BZ #11901]
77116         * include/stdlib.h: Move include protection to the right place.
77117         Define abort_msg_s.  Declare __abort_msg with it.
77118         * stdlib/abort.c (__abort_msg): Adjust type.
77119         * assert/assert.c (__assert_fail_base): New function.  Majority
77120         of code from __assert_fail.  Allocate memory for __abort_msg with
77121         mmap.
77122         (__assert_fail): Now call __assert_fail_base.
77123         * assert/assert-perr.c: Remove bulk of implementation.  Use
77124         __assert_fail_base.
77125         * include/assert.hL Declare __assert_fail_base.
77126         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
77127         mmap.
77128         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
77130 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
77132         [BZ #11952]
77133         [BZ #12453]
77134         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
77135         until all modules are registered in the DTV.
77136         * elf/Makefile: Add rules to build and run tst-tls19.
77137         * elf/tst-tls19.c: New file.
77138         * elf/tst-tls19mod1.c: New file.
77139         * elf/tst-tls19mod2.c: New file.
77140         * elf/tst-tls19mod3.c: New file.
77141         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
77143         [BZ #12083]
77144         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
77145         correctly.
77147         [BZ #12601]
77148         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
77149         two-byte sequence errors.
77150         * iconvdata/Makefile (tests): Add bug-iconv8.
77151         * iconvdata/bug-iconv8.c: New file.
77153         [BZ #12626]
77154         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
77155         buf2 definition.
77157         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
77159         [BZ #12432]
77160         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
77161         (dummy_getcfa): New function.
77162         (init): Get _Unwind_GetCFA address, use dummy if not found.
77163         (backtrace_helper): In recursion check, also check whether CFA changes.
77164         (__backtrace): Completely initialize arg.
77166         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
77167         storing incomplete byte sequence in state object.  Avoid testing for
77168         guaranteed too small input if we know there is enough data available.
77170 2011-05-11  Andreas Schwab  <schwab@redhat.com>
77172         * Makeconfig (+link-pie): Indent.
77173         * Rules (binaries-pie): Define if $(have-fpie) and
77174         $(build-shared).
77175         (binaries-shared): Also filter out $(binaries-pie).
77176         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
77177         * nscd/Makefile (others-pie): Add nscd.
77178         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
77179         ($(objpfx)nscd): Remove command override.
77180         * login/Makefile (others-pie): Add pt_chown.
77181         ($(objpfx)pt_chown): Remove command override.
77182         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
77183         remove command overrides.
77185 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
77187         * libio/tst_putwc.c: Fix error messages.
77189         [BZ #12724]
77190         * libio/fileops.c (_IO_new_file_close_it): Always flush when
77191         currently writing and seek to current position when not.
77192         * libio/Makefile (tests): Add bug-fclose1.
77193         * libio/bug-fclose1.c: New file.
77195 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
77197         [BZ #12511]
77198         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
77199         don't set DF_1_NODELETE here.
77200         (do_lookup_x): When entering new entry test for copy relocation
77201         and if necessary set DF_1_NODELETE flag.
77202         * elf/tst-unique4.cc: New file.
77203         * elf/tst-unique4.h: New file.
77204         * elf/tst-unique4lib.cc: New file.
77205         * elf/Makefile: Add rules to build and run tst-unique4.
77206         Patch by Piotr Bury <pbury@goahead.com>.
77208 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
77210         [BZ #12052]
77211         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
77213         [BZ #12625]
77214         * misc/mntent_r.c (addmntent): Flush the stream after the output
77216         [BZ #12393]
77217         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
77218         (is_trusted_path_normalize): Skip initial colon.  Append slash
77219         to empty buffer.  Duplicate is_trusted_path code but allow
77220         constructed patch to be prefix.
77221         (is_dst): Allow $ORIGIN followed by /.
77222         (_dl_dst_substitute): Correct clearing of check_for_trusted.
77223         Correct testing of result of is_trusted_path_normalize
77224         (decompose_rpath): Fix warning.
77226 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
77228         [BZ #11257]
77229         * grp/initgroups.c (internal_getgrouplist): When we found the service
77230         list through the initgroups entry in nsswitch.conf do not always
77231         continue on a successful lookup.  Don't always use the
77232         __nss_group_database value if it is set.
77233         * nss/nsswitch.conf (initgroups): Change action for successful db
77234         lookup to continue for compatibility.
77236 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
77238         [BZ #11532]
77239         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
77240         and CP774 modules.
77241         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
77242         and CP774 modules.
77243         * iconvdata/tst-tables.sh: Likewise.
77244         * iconvdata/cp770.c: New file.
77245         * iconvdata/cp771.c: New file.
77246         * iconvdata/cp772.c: New file.
77247         * iconvdata/cp773.c: New file.
77248         * iconvdata/cp774.c: New file.
77249         * iconvdata/testdata/CP770: New file.
77250         * iconvdata/testdata/CP770..UTF8: New file.
77251         * iconvdata/testdata/CP771: New file.
77252         * iconvdata/testdata/CP771..UTF8: New file.
77253         * iconvdata/testdata/CP772: New file.
77254         * iconvdata/testdata/CP772..UTF8: New file.
77255         * iconvdata/testdata/CP773: New file.
77256         * iconvdata/testdata/CP773..UTF8: New file.
77257         * iconvdata/testdata/CP774: New file.
77258         * iconvdata/testdata/CP774..UTF8: New file.
77260         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
77261         END CHARMAP line.
77262         * iconvdata/gen-8bit-gap.sh: Likewise.
77263         * iconvdata/gen-8bit.sh: Likewise.
77265         * locale/iso-639.def: Add ary entry.
77267         [BZ #11258]
77268         * locale/C-translit.h.in: Add U20A1 transliteration.
77270         [BZ #12178]
77271         * locale/iso-639.def: Add wae entry.
77272         Patch by Kevin Bortis <bortis@translate-wae.ch>.
77274         [BZ #12545]
77275         * locale/programs/localedef.c (construct_output_path): Use ssize_t
77276         for n.
77278         [BZ #12711]
77279         * locale/C-translit.h.in: Add entry for U20B9.
77280         Patch by pravin.d.s@gmail.com.
77282 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
77284         [BZ #12713]
77285         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
77286         ENAMETOOLONG use generic getcwd.
77287         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
77288         in rtld.  Use *stat64.
77289         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
77290         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
77291         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
77292         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
77293         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
77294         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
77295         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
77296         __fstatat64 macros.
77297         * include/dirent.h: Add libc_hidden_proto for rewinddir.
77298         * dirent/rewinddir.c: Add libc_hidden_def.
77299         * sysdeps/mach/hurd/rewinddir.c: Likewise.
77300         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
77302         * include/dirent.h (__alloc_dir): Add flags parameter.
77303         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
77304         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
77305         __alloc_dir.
77306         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
77307         from fdopendir if O_CLOEXEC is already set.
77309 2011-03-15  Alan Modra  <amodra@gmail.com>
77311         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
77312         l_tls_firstbyte_offset non-zero.  Save padding offset in
77313         l_tls_firstbyte_offset for later use.
77314         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
77315         freeing static tls block.
77317 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
77319         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
77320         where #ifdef was intended.  The intent is to prevent ARG_MAX from
77321         being defined by the kernel headers.
77323 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
77325         [BZ #12734]
77326         * resolv/resolv.h: Define RES_NOTLDQUERY.
77327         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
77328         no-tld-query and set RES_NOTLDQUERY.
77329         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
77330         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
77331         modern BIND to search name as TLD unless forbidden.
77333 2011-05-07  Petr Baudis  <pasky@suse.cz>
77334             Ulrich Drepper  <drepper@gmail.com>
77336         [BZ #12393]
77337         * elf/dl-load.c (fillin_rpath): Move trusted path check...
77338         (is_trusted_path): ...to here.
77339         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
77340         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
77341         using is_trusted_path_normalize() in setuid scripts.
77343 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
77345         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
77346         __BEGIN/__END_DECLS.
77348 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
77350         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
77351         NSS_STATUS_NOTFOUND if no record was found.
77353 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77355         * sunrpc/Makefile (headers): Add rpc/netdb.h.
77356         (headers-not-in-tirpc): Remove rpc/netdb.h
77357         * resolv/netdb.h: Revert last change.
77359 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
77361         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
77362         circular dependency between libgcc.a and libc.a.
77364 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77366         * resolv/netdb.h: Don't include <rpc/netdb.h>.
77367         * nis/Makefile: Don't install rpcsvc/*.
77368         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
77369         instead of <rpc/types.h>.
77370         (MAXHOSTNAMELEN): Define.
77372 2011-05-03  Andreas Schwab  <schwab@redhat.com>
77374         * elf/ldconfig.c (add_dir): Don't crash on empty path.
77376 2011-04-28  Maciej Babinski  <mbabinski@google.com>
77378         [BZ #12714]
77379         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
77380         gethostbyname4_r when IPv6 results are possible.
77382 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
77384         [BZ #12723]
77385         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
77386         _PC_PIPE_BUF handling.
77388 2011-04-30  Bruno Haible  <bruno@clisp.org>
77390         [BZ #12717]
77391         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
77392         * resolv/netdb.h (getnameinfo): Change type of flags parameter
77393         to 'int'.
77394         * inet/getnameinfo.c (getnameinfo): Likewise.
77396 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
77398         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
77399         to groups setting in database lookup.
77400         * nss/nsswitch.conf: Add initgroups entry.
77402 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
77404         [BZ #12685]
77405         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
77406         mode string.
77407         Patch by Eric Blake <eblake@redhat.com>.
77409 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
77411         * sunrpc/Makefile (need-export-routines): Add svc_run.
77412         (routines): Remove svc_run.
77413         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
77414         * sunrpc/clnt_perr.c (clnt_perrno): Export.
77415         * sunrpc/svc_run.c (svc_run): Likewise.
77416         * sunrpc/svc_udp.c (svcudp_create): Likewise.
77418 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
77420         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
77421         problem in reallocation in last patch.
77423 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
77425         * sunrpc/Makefile: Move inclusion of Rules.
77427 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
77429         * nss/nss_files/files-initgroups.c: New file.
77430         * nss/Makefile (libnss_files-routines): Add files-initgroups.
77431         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
77432         _nss_files_initgroups_dyn.
77434 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
77436         * elf/elf.h (R_ARM_IRELATIVE): Define.
77438 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
77440         * po/ru.po: Update from translation team.
77442 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
77444         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
77445         dependencies.
77447 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
77449         [BZ #12653]
77450         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
77451         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
77452         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
77453         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
77454         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
77456 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
77458         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
77459         differing bytes.
77460         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
77461         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
77462         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
77464 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
77466         [BZ #12420]
77467         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
77468         storing it.
77469         * stdlib/bug-getcontext.c: New file.
77470         * stdlib/Makefile: Add rules to build and run bug-getcontext.
77472 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77474         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
77475         instructions into .machine "z9-109".
77476         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
77477         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
77479 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77481         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
77482         between environment variables and auxiliary vector.
77484 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
77486         * Makefile: Add rules to build linkobj/libc.so.
77487         * include/libc-symbols.h: Define libc_hidden_nolink.
77488         * include/rpc/auth.h: Mark functions which are to be hidden.
77489         * include/rpc/auth_des.h: Likewise.
77490         * include/rpc/auth_unix.h: Likewise.
77491         * include/rpc/clnt.h: Likewise.
77492         * include/rpc/des_crypt.h: Likewise.
77493         * include/rpc/key_prot.h: Likewise.
77494         * include/rpc/pmap_clnt.h: Likewise.
77495         * include/rpc/pmap_prot.h: Likewise.
77496         * include/rpc/pmap_rmt.h: Likewise.
77497         * include/rpc/rpc_msg.h: Likewise.
77498         * include/rpc/svc.h: Likewise.
77499         * include/rpc/svc_auth.h: Likewise.
77500         * include/rpc/xdr.h: Likewise.
77501         * nis/Makefile: Link all DSOs against linkobj/libc.so.
77502         * nss/Makefile: Likewise.
77503         * sunrpc/Makefile: Don't install headers.  Build library with normal
77504         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
77505         * sunrpc/auth_des.c: Hide exported symbols by default, export some
77506         for the compat linking library.  Remove use of INTDEF/INTUSE.
77507         * sunrpc/auth_none.c: Likewise.
77508         * sunrpc/auth_unix.c: Likewise.
77509         * sunrpc/authdes_prot.c: Likewise.
77510         * sunrpc/authuxprot.c: Likewise.
77511         * sunrpc/clnt_gen.c: Likewise.
77512         * sunrpc/clnt_perr.c: Likewise.
77513         * sunrpc/clnt_raw.c: Likewise.
77514         * sunrpc/clnt_simp.c: Likewise.
77515         * sunrpc/clnt_tcp.c: Likewise.
77516         * sunrpc/clnt_udp.c: Likewise.
77517         * sunrpc/clnt_unix.c: Likewise.
77518         * sunrpc/des_crypt.c: Likewise.
77519         * sunrpc/des_soft.c: Likewise.
77520         * sunrpc/get_myaddr.c: Likewise.
77521         * sunrpc/key_call.c: Likewise.
77522         * sunrpc/key_prot.c: Likewise.
77523         * sunrpc/netname.c: Likewise.
77524         * sunrpc/pm_getmaps.c: Likewise.
77525         * sunrpc/pm_getport.c: Likewise.
77526         * sunrpc/pmap_clnt.c: Likewise.
77527         * sunrpc/pmap_prot.c: Likewise.
77528         * sunrpc/pmap_prot2.c: Likewise.
77529         * sunrpc/pmap_rmt.c: Likewise.
77530         * sunrpc/publickey.c: Likewise.
77531         * sunrpc/rpc_cmsg.c: Likewise.
77532         * sunrpc/rpc_common.c: Likewise.
77533         * sunrpc/rpc_dtable.c: Likewise.
77534         * sunrpc/rpc_prot.c: Likewise.
77535         * sunrpc/rpc_thread.c: Likewise.
77536         * sunrpc/rtime.c: Likewise.
77537         * sunrpc/svc.c: Likewise.
77538         * sunrpc/svc_auth.c: Likewise.
77539         * sunrpc/svc_authux.c: Likewise.
77540         * sunrpc/svc_raw.c: Likewise.
77541         * sunrpc/svc_run.c: Likewise.
77542         * sunrpc/svc_simple.c: Likewise.
77543         * sunrpc/svc_tcp.c: Likewise.
77544         * sunrpc/svc_udp.c: Likewise.
77545         * sunrpc/svc_unix.c: Likewise.
77546         * sunrpc/svcauth_des.c: Likewise.
77547         * sunrpc/xcrypt.c: Likewise.
77548         * sunrpc/xdr.c: Likewise.
77549         * sunrpc/xdr_array.c: Likewise.
77550         * sunrpc/xdr_float.c: Likewise.
77551         * sunrpc/xdr_intXX_t.c: Likewise.
77552         * sunrpc/xdr_mem.c: Likewise.
77553         * sunrpc/xdr_rec.c: Likewise.
77554         * sunrpc/xdr_ref.c: Likewise.
77555         * sunrpc/xdr_sizeof.c: Likewise.
77556         * sunrpc/xdr_stdio.c: Likewise.
77558 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
77560         [BZ #12650]
77561         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
77562         * sysdeps/ia64/dl-tls.h: Likewise.
77563         * sysdeps/powerpc/dl-tls.h: Likewise.
77564         * sysdeps/s390/dl-tls.h: Likewise.
77565         * sysdeps/sh/dl-tls.h: Likewise.
77566         * sysdeps/sparc/dl-tls.h: Likewise.
77567         * sysdeps/x86_64/dl-tls.h: Likewise.
77568         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
77570 2011-03-14  Andreas Schwab  <schwab@redhat.com>
77572         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
77573         rpath element also skip the following colon.
77574         (expand_dynamic_string_token): Add is_path parameter and pass
77575         down to DL_DST_REQUIRED and _dl_dst_substitute.
77576         (decompose_rpath): Call expand_dynamic_string_token with
77577         non-zero is_path.  Ignore empty rpaths.
77578         (_dl_map_object_from_fd): Call expand_dynamic_string_token
77579         with zero is_path.
77581 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
77583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
77584         Make cancelable.
77586 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
77588         [BZ #12655]
77589         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
77590         Patch by Filipe David Manana <fdmanana@apache.org>.
77592 2011-04-07  Andreas Schwab  <schwab@redhat.com>
77594         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
77595         Maintain aligned stack.
77596         (CHECK_RSP): Remove unused macro.
77598 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
77600         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
77601         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
77603 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
77605         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
77607         * include/features.h: Mention __USE_XOPEN2K8 in comment.
77609 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
77611         [BZ #12518]
77612         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
77613         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
77614         * sysdeps/x86_64/memmove.c: New file.
77615         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
77616         (memcpy): Renamed to ...
77617         (__new_memcpy): This.
77618         (memcpy): Provide GLIBC_2_14 memcpy.
77619         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
77620         (memcpy): Provide GLIBC_2_2_5 memcpy.
77622 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77624         [BZ #12631]
77625         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
77627 2011-03-30  Andreas Schwab  <schwab@redhat.com>
77629         * misc/syncfs.c: New file.
77630         * misc/Makefile (routines): Add syncfs.
77631         * posix/unistd.h: Declare syncfs.
77632         * sysdeps/unix/syscalls.list: Add syncfs.
77634 2011-04-01  Andreas Schwab  <schwab@redhat.com>
77636         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
77637         open_by_handle_at.
77638         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
77639         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77640         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77641         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77642         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77643         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
77644         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77646 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77648         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
77649         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77650         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
77651         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77652         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77653         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77654         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77656         * io/Makefile: Compile fallocate.c, fallocate64.c, and
77657         sync_file_range.c with -fexceptions.
77658         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
77659         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
77660         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
77661         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
77662         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
77663         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
77664         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
77665         sync_file_range as cancellation point
77666         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
77667         now a wrapper around __call_sync_file_range with cancellation handling.
77668         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
77669         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
77670         function name to __call_sync_file_range.
77671         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
77672         Add call_sync_file_range.
77674 2011-04-01  Andreas Schwab  <schwab@redhat.com>
77676         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77677         bits/timex.h.
77679 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77681         * iconv/iconv.h: Fix typo in comment.
77682         * io/fcntl.h: Likewise.
77683         * libio/stdio.h: Likewise.
77684         * posix/spawn.h: Likewise.
77685         * posix/unistd.h: Likewise.
77686         * stdlib/stdlib.h: Likewise.
77687         * time/time.h: Likewise.
77688         * wcsmbs/wchar.h: Likewise.
77690         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
77691         open_by_handle): Add.
77692         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
77693         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
77694         Augment a few comments.
77695         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77696         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77697         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77698         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77699         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77700         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
77701         open_by_handle.
77703         * io/fcntl.h (AT_EMPTY_PATH): Define.
77705 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
77707         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
77708         * sysdeps/unix/sysv/linux/bits/time.h: New file.
77709         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
77710         to...
77711         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
77712         * Versions.def: Add GLIBC_2.14.
77713         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
77714         Export.
77716 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
77718         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
77719         round counter.
77720         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
77722 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77724         [BZ #12597]
77725         * string/test-strncmp.c (do_page_test): New function.
77726         (check2): Likewise.
77727         (test_main): Call check2.
77728         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
77730 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
77732         [BZ #12587]
77733         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
77734         Handle cache information in CPU leaf 4.
77735         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
77737 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
77739         [BZ #12583]
77740         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
77741         character representation.
77742         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
77744 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
77746         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
77747         END(__isnan) to END(__isnanf) to match function entry point/label
77748         EALIGN(__isnanf,...).
77750 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
77752         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
77754 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
77756         [BZ #12510]
77757         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
77758         copy from the symbol referenced in the relocation to initialize the
77759         used variable.
77760         Patch by Piotr Bury <pbury@goahead.com>.
77761         * elf/Makefile: Add rules to build and tst-unique3.
77762         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
77763         * elf/tst-unique3.cc: New file.
77764         * elf/tst-unique3.h: New file.
77765         * elf/tst-unique3lib.cc: New file.
77766         * elf/tst-unique3lib2.cc: New file.
77768         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
77770 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
77772         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
77773         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
77774         to _start.
77776 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
77778         * elf/dl-load.c (_dl_map_object): If we are looking for the first
77779         to-be-loaded object along a path to loader is ld.so.
77781 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
77782             Ulrich Drepper  <drepper@gmail.com>
77784         * sysdeps/x86_64/memset.S: After aligning destination, code
77785         branches to different locations depending on the value of
77786         misalignment, when multiarch is enabled. Fix this.
77788 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
77790         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
77791         Set _x86_64_preferred_memory_instruction for AMD processsors.
77792         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77793         Set bit_Prefer_SSE_for_memop for AMD processors.
77795 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
77797         * libio/fmemopen.c (fmemopen): Optimize a bit.
77799 2011-03-03  Andreas Schwab  <schwab@redhat.com>
77801         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
77803 2011-03-03  Roland McGrath  <roland@redhat.com>
77805         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
77807 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
77809         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
77810         __bzero_ultra1 instead of __memset_ultra1.
77812 2011-02-23  Andreas Schwab  <schwab@redhat.com>
77813             Ulrich Drepper  <drepper@gmail.com>
77815         [BZ #12509]
77816         * include/link.h (struct link_map): Add l_orig_initfini.
77817         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
77818         returning unsuccessfully.
77819         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
77820         close of a file loaded at startup, restore the original l_initfini
77821         list.
77822         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
77823         list, store the pointer.
77824         * elf/Makefile ($(objpfx)noload-mem): New rule.
77825         (noload-ENV): Define.
77826         (tests): Add $(objpfx)noload-mem.
77827         * elf/noload.c: Include <memcheck.h>.
77828         (main): Call mtrace.  Close all opened handles.
77830 2011-02-17  Andreas Schwab  <schwab@redhat.com>
77832         [BZ #12454]
77833         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
77834         dependencies are missing.
77836 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77838         Fix __if_freereq crash: Unlike the generic version which uses free,
77839         Hurd needs munmap.
77840         * sysdeps/mach/hurd/ifreq.h: New file.
77842 2011-01-27  Petr Baudis  <pasky@suse.cz>
77843             Ulrich Drepper  <drepper@gmail.com>
77845         [BZ 12445]#
77846         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
77847         to extend_alloca().
77848         * stdio-common/bug23.c: New file.
77849         * stdio-common/Makefile (tests): Add bug23.
77851 2010-09-28  Andreas Schwab  <schwab@redhat.com>
77852             Ulrich Drepper  <drepper@gmail.com>
77854         [BZ #12489]
77855         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
77856         before performing relro protection.  At old place add assertion
77857         to make sure nothing changed.
77859 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
77860             Glauber de Oliveira Costa  <glommer@gmail.com>
77862         * elf/elf.h: Add new ARM TLS relocs.
77864 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
77866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
77867         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
77868         cast from r3.
77869         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
77870         'tests' variable.
77871         * sysdeps/wordsize-64/tst-writev.c: New file.
77873 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
77875         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
77876         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
77877         insns in _dl_start to prevent a TOC reference before relocs are
77878         resolved.
77880 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
77882         [BZ #12469]
77883         * Makeconfig: Remove RANLIB definition.
77884         * Makerules: Don't use RANLIB.
77885         * aclocal.m4: Remove ranlib test.
77886         * configure.in: No need to check for ranlib.
77887         * elf/rtld-Rules: Don't use RANLIB.
77889 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77891         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
77892         protection macro.
77893         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
77894         inclusion protection macro.
77896         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
77897         SIGRTMIN and SIGRTMAX and print information in that case only when
77898         SIGRTMIN is defined.
77900 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
77902         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
77903         arginfo fn returning -1.
77905         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
77906         and thousands string is zero terminated.
77908 2011-02-03  Andreas Schwab  <schwab@redhat.com>
77910         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
77911         sysdeps/unix/sysv/linux/bits/socket.h.
77913 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77915         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
77916         (__CPU_COUNT): Remove old macros.
77917         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
77918         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
77919         (__CPU_ALLOC, __CPU_FREE): Add macros.
77920         (__sched_cpualloc, __sched_cpufree): Add declarations.
77922 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
77924         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
77925         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
77926         * nscd/aicache.c (addhstaiX): Return timeout of added value.
77927         (readdhstai): Return value of addhstaiX call.
77928         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
77929         (addgrbyX): Return value returned by cache_addgr.
77930         (readdgrbyname): Return value returned by addgrbyX.
77931         (readdgrbygid): Likewise.
77932         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
77933         (addpwbyX): Return value returned by cache_addpw.
77934         (readdpwbyname): Return value returned by addhstbyX.
77935         (readdpwbyuid): Likewise.
77936         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
77937         (addservbyX): Return value returned by cache_addserv.
77938         (readdservbyname): Return value returned by addservbyX:
77939         (readdservbyport): Likewise.
77940         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
77941         (addhstbyX): Return value returned by cache_addhst.
77942         (readdhstbyname): Return value returned by addhstbyX.
77943         (readdhstbyaddr): Likewise.
77944         (readdhstbynamev6): Likewise.
77945         (readdhstbyaddrv6): Likewise.
77946         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
77947         (readdinitgroups): Return value returned by addinitgroupsX.
77948         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
77949         (prune_cache): Keep track of timeout value of re-added entries.
77950         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
77951         * nscd/nscd.h: Adjust prototypes of readd* functions.
77953 2011-02-04  Roland McGrath  <roland@redhat.com>
77955         * nis/nis_server.c (nis_servstate): Use the right name for 0.
77956         (nis_stats): Likewise.
77957         * nis/nis_modify.c (nis_modify): Likewise.
77958         * nis/nis_remove.c (nis_remove): Likewise.
77959         * nis/nis_add.c (nis_add): Likewise.
77961         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
77963         * posix/fnmatch_loop.c: Add some consts.
77965         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
77967 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
77969         [BZ #12460]
77970         * config.make.in (config-cflags-novzeroupper): Define.
77971         * configure.in: Substitute libc_cv_cc_novzeroupper.
77972         * elf/Makefile (AVX-CFLAGS): Define.
77973         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
77974         (CFLAGS-tst-auditmod4a.c): Likewise.
77975         (CFLAGS-tst-auditmod4b.c): Likewise.
77976         (CFLAGS-tst-auditmod6b.c): Likewise.
77977         (CFLAGS-tst-auditmod6c.c): Likewise.
77978         (CFLAGS-tst-auditmod7b.c): Likewise.
77979         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
77981 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
77983         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
77984         function to the callback.
77985         Patch partly by Jiri Olsa <jolsa@redhat.com>.
77987 2011-02-02  Andreas Schwab  <schwab@redhat.com>
77989         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
77990         of errno.
77992 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
77994         [BZ #11724]
77995         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
77996         of constructors.
77997         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
77998         of destructors.
77999         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
78001         [BZ #11724]
78002         * elf/Makefile: Add rules to build and run new test.
78003         * elf/tst-initorder.c: New file.
78004         * elf/tst-initorder.exp: New file.
78005         * elf/tst-initordera1.c: New file.
78006         * elf/tst-initordera2.c: New file.
78007         * elf/tst-initordera3.c: New file.
78008         * elf/tst-initordera4.c: New file.
78009         * elf/tst-initorderb1.c: New file.
78010         * elf/tst-initorderb2.c: New file.
78011         * elf/tst-order-a1.c: New file.
78012         * elf/tst-order-a2.c: New file.
78013         * elf/tst-order-a3.c: New file.
78014         * elf/tst-order-a4.c: New file.
78015         * elf/tst-order-b1.c: New file.
78016         * elf/tst-order-b2.c: New file.
78017         * elf/tst-order-main.c: New file.
78018         New test case by George Gensure <werkt0@gmail.com>.
78020 2010-10-01  Andreas Schwab  <schwab@redhat.com>
78022         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
78023         decoding ACE if AI_CANONIDN.
78025 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
78027         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
78029 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
78031         * version.h (RELEASE): Bump for 2.13 release.
78032         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
78034         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
78036         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
78037         MADV_NOHUGEPAGE.
78038         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
78039         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
78040         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
78041         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
78042         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
78043         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78045         * posix/getconf.c: Update copyright year.
78046         * catgets/gencat.c: Likewise.
78047         * csu/version.c: Likewise.
78048         * debug/catchsegv.sh: Likewise.
78049         * debug/xtrace.sh: Likewise.
78050         * elf/ldconfig.c: Likewise.
78051         * elf/ldd.bash.in: Likewise.
78052         * elf/sprof.c (print_version): Likewise.
78053         * iconv/iconv_prog.c: Likewise.
78054         * iconv/iconvconfig.c: Likewise.
78055         * locale/programs/locale.c: Likewise.
78056         * locale/programs/localedef.c: Likewise.
78057         * malloc/memusage.sh: Likewise.
78058         * malloc/mtrace.pl: Likewise.
78059         * nscd/nscd.c (print_version): Likewise.
78060         * nss/getent.c: Likewise.
78062         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
78063         PF_CAIF, and PF_ALG.
78064         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78066 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
78068         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
78069         (modules-names): Use them.
78070         (ifunc-test-modules, ifunc-pie-tests): Define.
78071         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
78072         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
78073         (test-extras): Likewise.
78074         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
78075         $(compile-command.c).
78076         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
78077         (all-built-dso): Define.
78078         (check-textrel.out, check-execstack.out): Depend on it.
78080         * configure.in: Don't override --enable-multi-arch.
78082 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
78084         [BZ #6812]
78085         * nscd/hstcache.c (tryagain): Define.
78086         (cache_addhst): Return tryagain not notfound for temporary errors.
78087         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
78088         failed.
78090 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
78092         [BZ #10563]
78093         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
78094         to make the syscall.
78095         * sysdeps/unix/sysv/linux/setgroups.c: New file.
78097         [BZ #12378]
78098         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
78099         and fall back to matching as normal character if the string ends before
78100         the matching ']' is found.  This is what POSIX requires.
78101         * posix/testfnm.c: Adjust test result.
78102         * posix/globtest.sh: Adjust test result.  Add new test.
78103         * posix/tst-fnmatch.input: Likewise.
78104         * posix/tst-fnmatch2.c: Add new test.
78106 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
78108         * elf/Makefile (check-execstack): Revert last change.  Depend on
78109         check-execstack.h.
78110         (check-execstack.h): New target.
78111         (generated): Add check-execstack.h.
78112         * elf/check-execstack.c: Include "check-execstack.h".
78113         (main): Revert last change.
78114         (handle_file): Return zero if GNU_STACK is absent and
78115         DEFAULT_STACK_PERMS doesn't include PF_X.
78117 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
78119         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
78120         in child fails because the descriptor is already closed.
78121         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
78122         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
78123         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
78125         [BZ #12397]
78126         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
78127         syscall.
78129         [BZ #10484]
78130         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
78131         temporary buffer used to handle multi lookups locally.
78132         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
78134 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
78136         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
78137         loader is ld.so.
78139 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
78141         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
78142         alignment for SSE2.
78144 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
78146         [BZ #12394]
78147         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
78148         characters.  When rounding increased number of integer digits recompute
78149         number of groups.
78150         * stdio-common/tst-grouping.c: New file.
78151         * stdio-common/Makefile: Add rules to build and run tst-grouping.
78153 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
78155         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
78156         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
78158         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
78159         void.
78160         * bits/select.h: Likewise.
78162 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
78164         * po/ja.po: Update from translation team.
78166 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
78168         [BZ #11155]
78169         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
78170         implementation just like for lxstat, fxstatat, et al.
78172 2010-12-27  Jim Meyering  <meyering@redhat.com>
78174         [BZ #12348]
78175         * posix/regexec.c (build_trtable): Return failure indication upon
78176         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
78178 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
78180         [BZ #12201]
78181         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
78182         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
78183         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
78184         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
78186         [BZ #12207]
78187         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
78189         [BZ #12204]
78190         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
78191         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
78193 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
78195         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
78196         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
78197         script has SORT_BY_INIT_PRIORITY.
78198         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
78199         NO_CTORS_DTORS_SECTIONS is defined.
78200         * elf/soinit.c: Likewise.
78201         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
78202         NO_CTORS_DTORS_SECTIONS is defined.
78203         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
78204         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
78205         * sysdeps/sh/init-first.c: Likewise.
78206         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
78208 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
78210         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
78211         always use the slow path.
78213 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
78215         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
78216         similar rule which adds the sysdep directories to the header search in
78217         order to pick up the correct platform stackinfo.h.
78218         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
78219         perform test if it is, otherwise return successfully without testing.
78220         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
78221         DEFAULT_STACK_PERMS define in stackinfo.h.
78222         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
78223         defined in stackinfo.h.
78224         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
78225         DEFAULT_STACK_PERMS defined in stackinfo.h.
78226         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
78227         * sysdeps/ia64/stackinfo.h: Likewise.
78228         * sysdeps/s390/stackinfo.h: Likewise.
78229         * sysdeps/sh/stackinfo.h: Likewise.
78230         * sysdeps/sparc/stackinfo.h: Likewise.
78231         * sysdeps/x86_64/stackinfo.h: Likewise.
78232         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
78233         PF_X for powerpc64.  Retain PF_X for powerpc32.
78235 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
78237         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
78238         accurately.
78239         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
78240         GETDENTS_64BIT_ALIGNED.
78242 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
78244         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
78246 2010-12-10  Andreas Schwab  <schwab@redhat.com>
78248         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
78249         _GNU_SOURCE.
78251         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
78252         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
78253         Remove __restrict.
78254         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
78255         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
78257 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
78259         [BZ #11655]
78260         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
78261         are initialized.
78263 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
78265         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
78267 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
78269         * po/it.po: Update from translation team.
78271 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
78273         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
78274         unused codes.
78276 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
78278         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
78280 2010-11-24  Andreas Schwab  <schwab@redhat.com>
78282         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
78283         specially.
78284         (gaih_getanswer_slice): Likewise.
78286 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
78288         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
78290 2010-05-31  Petr Baudis  <pasky@suse.cz>
78292         [BZ #11149]
78293         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
78294         silently even in the chroot mode.
78296 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
78298         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
78299         last patch a bit.  Pretty printing
78301 2010-05-31  Petr Baudis <pasky@suse.cz>
78303         [BZ #10085]
78304         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
78305         initialization of skip_initgroups_dyn.
78307 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
78309         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
78310         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78312 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
78314         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
78316 2010-11-11  Andreas Schwab  <schwab@redhat.com>
78318         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
78319         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
78320         (tst-fnmatch-ENV): Set MALLOC_TRACE.
78321         ($(objpfx)tst-fnmatch-mem): New rule.
78322         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
78323         * posix/tst-fnmatch.c (main): Call mtrace.
78325 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
78327         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78328         Support Intel processor model 6 and model 0x2c.
78330 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
78332         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
78333           signed comparison.
78335 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
78337         [BZ #12205]
78338         * string/test-strncasecmp.c (check_result): New function.
78339         (do_one_test): Use it.
78340         (check1): New function.
78341         (test_main): Use it.
78342         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
78343         Support strcasecmp and strncasecmp.
78345 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
78347         [BZ #12194]
78348         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
78349         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78351 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
78353         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
78354         IFUNC support.
78355         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78356         memset-x86-64.
78357         * sysdeps/x86_64/multiarch/bzero.S: New file.
78358         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
78359         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
78360         * sysdeps/x86_64/multiarch/memset.S: New file.
78361         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
78362         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78363         Set bit_Prefer_SSE_for_memop for Intel processors.
78364         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
78365         Define.
78366         (index_Prefer_SSE_for_memop): Define.
78367         (HAS_PREFER_SSE_FOR_MEMOP): Define.
78369 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
78371         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
78372         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
78374 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
78376         [BZ #12191]
78377         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78378         (__x86_64_raw_data_cache_size_half): Likewise.
78379         (__x86_64_raw_shared_cache_size): Likewise.
78380         (__x86_64_raw_shared_cache_size_half): Likewise.
78382         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78383         (__x86_64_raw_data_cache_size_half): Likewise.
78384         (__x86_64_raw_shared_cache_size): Likewise.
78385         (__x86_64_raw_shared_cache_size_half): Likewise.
78386         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
78387         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
78388         and __x86_64_raw_shared_cache_size_half.  Round
78389         __x86_64_data_cache_size_half, __x86_64_data_cache_size
78390         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
78391         to multiple of 256 bytes.
78393 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
78395         [BZ #12167]
78396         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
78397         of inacessible symlinks.  Verify result of symlink before returning it.
78398         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
78399         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
78401 2010-10-28  Erich Ritz  <erichritz@gmail.com>
78403         * math/math.h (isinf): Fix typo in comment.
78405 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
78407         * po/da.po: Update from translation team.
78409 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
78411         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
78412         is added to the list.
78414 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78415             Ulrich Drepper  <drepper@gmail.com>
78417         * elf/dl-object.c (_dl_new_object): Don't append the new object to
78418         the global list here.  Move code to...
78419         (_dl_add_to_namespace_list): ...here.  New function.
78420         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
78421         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
78422         * elf/dl-load.c (lose): Don't remove the element from the list.
78423         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
78424         (_dl_map_object): Likewise.
78426 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
78428         [BZ #12159]
78429         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
78430         into all bytes of SSE register.
78431         Patch by Richard Li <richardpku@gmail.com>.
78433 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
78435         [BZ #12140]
78436         * malloc/malloc.c (_int_free): Fill correct number of bytes when
78437         perturbing.
78439 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
78441         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
78442         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
78443         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
78444         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
78445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
78446         submachine.
78447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
78449 2010-10-22  Andreas Schwab  <schwab@redhat.com>
78451         * include/dlfcn.h (__RTLD_SECURE): Define.
78452         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
78453         mode & __RTLD_SECURE instead.
78454         (open_path): Rename preloaded parameter to secure.
78455         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
78456         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
78457         * elf/dl-deps.c (openaux): Likewise.
78458         * elf/rtld.c (struct map_args): Remove is_preloaded.
78459         (map_doit): Don't use it.
78460         (dl_main): Likewise.
78461         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
78462         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
78464 2010-09-09  Andreas Schwab  <schwab@redhat.com>
78466         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
78467         (sysd-rules-targets): Remove duplicates.
78468         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
78469         rtld-%.$o dependency.
78471 2010-10-18  Andreas Schwab  <schwab@redhat.com>
78473         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
78474         _dl_map_object do it.
78476 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
78478         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
78479         fast fma builtins, define the macros in the C99 standard.
78480         (FP_FAST_FMAF): Likewise.
78481         (FP_FAST_FMAL): Likewise.
78482         * sysdeps/x86_64/bits/mathdef.h: Likewise.
78484         * bits/mathdef.h: Update copyright year.
78485         * sysdeps/powerpc/bits/mathdef.h: Likewise.
78487 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
78489         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
78490         builtins, define the macros in the C99 standard.
78491         (FP_FAST_FMAF): Likewise.
78492         (FP_FAST_FMAL): Likewise.
78493         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
78494         multiply/add.
78495         (FP_FAST_FMAF): Likewise.
78497 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
78499         [BZ #3268]
78500         * math/libm-test.inc (fma_test): Some new testcases.
78501         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
78502         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
78503         y and infinite z.  Do multiplication by C already in long double.
78504         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
78505         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
78506         y and infinite z.  Do bitwise or of inexact bit into u.d.
78507         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
78508         * sysdeps/i386/fpu/s_fmaf.S: Removed.
78509         * sysdeps/i386/fpu/s_fma.S: Removed.
78510         * sysdeps/i386/fpu/s_fmal.S: Removed.
78512 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
78514         [BZ #3268]
78515         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
78516         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
78517         computation is not scheduled after fetestexcept.  Fix value
78518         of minimum denormal long double.
78520 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
78522         [BZ #3268]
78523         * math/libm-test.inc (fma_test): Add some more tests.
78524         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
78525         correctly.
78527 2010-10-15  Andreas Schwab  <schwab@redhat.com>
78529         * scripts/data/localplt-s390-linux-gnu.data: New file.
78530         * scripts/data/localplt-s390x-linux-gnu.data: New file.
78532 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
78534         [BZ #3268]
78535         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
78536         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
78537         instead of dbl-64.
78538         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
78539         inlines.
78540         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
78541         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
78542         if one of x and y is very large and the other is subnormal.
78543         * sysdeps/s390/fpu/s_fmaf.c: New file.
78544         * sysdeps/s390/fpu/s_fma.c: New file.
78545         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
78546         * sysdeps/powerpc/fpu/s_fma.S: New file.
78547         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
78548         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
78549         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
78551 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
78553         [BZ #3268]
78554         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
78555         fma tests.
78556         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
78557         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
78558         * sysdeps/i386/i686/multiarch/s_fma.c: Include
78559         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
78560         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
78561         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
78562         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
78564 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
78566         [BZ #12078]
78567         * posix/regcomp.c (parse_branch): One more memory leak plugged.
78568         * posix/bug-regex31.input: Add test case.
78570 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
78572         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
78573         * posix/bug-regex31.input: New file.
78575         [BZ #12078]
78576         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
78577         (parse_sub_exp): Fix last change, use postorder.
78579         * posix/bug-regex31.c: New file.
78580         * posix/Makefile: Add rules to build and run bug-regex31.
78582         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
78584         [BZ #12078]
78585         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
78587         [BZ #12108]
78588         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
78589         to have entries in sys_siglist.
78591         [BZ #12093]
78592         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
78593         be NULL.
78595 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
78597         [BZ #3268]
78598         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
78599         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
78600         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
78601         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
78602         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
78603         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
78604         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
78605         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
78606         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
78607         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
78608         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
78609         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
78610         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
78611         * math/ftestexcept.c (fetestexcept): Likewise.
78612         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
78613         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
78614         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
78615         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
78616         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
78617         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
78618         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
78620 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
78622         [BZ #12107]
78623         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
78624         newline.
78626 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
78628         * string/bug-strstr1.c: New file.
78629         * string/Makefile: Add rules to build and run bug-strstr1.
78631 2010-10-05  Eric Blake  <eblake@redhat.com>
78633         [BZ #12092]
78634         * string/str-two-way.h (two_way_long_needle): Always clear memory
78635         when skipping input due to the shift table.
78637 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
78639         [BZ #12005]
78640         * malloc/mcheck.c: Handle large requests.
78642         [BZ #12077]
78643         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
78644         for strncmp and strncasecmp.
78645         * string/stratcliff.c: Add tests for strcmp and strncmp.
78646         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
78648 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78650         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
78651         __set_fpscr.
78653 2010-09-30  Andreas Jaeger  <aj@suse.de>
78655         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
78656         (CGROUP_SUPER_MAGIC): Define.
78657         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78658         Handle btrfs and cgroup file systems.
78659         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
78660         Likewise.
78662 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
78664         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
78665         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
78667 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78669         [BZ #12067]
78670         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
78671         trying to locate the ELF header.
78673 2010-09-27  Andreas Schwab  <schwab@redhat.com>
78675         [BZ #11611]
78676         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
78677         Mask out sign-bit copies when constructing f_fsid.
78679 2010-09-24  Petr Baudis <pasky@suse.cz>
78681         * debug/stack_chk_fail_local.c: Add missing licence exception.
78682         * debug/warning-nop.c: Likewise.
78684 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
78686         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
78687         implementing getdents64 using getdents syscall, set d_type if
78688         __ASSUME_GETDENTS32_D_TYPE.
78690 2010-09-16  Andreas Schwab  <schwab@redhat.com>
78692         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
78693         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
78695 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
78697         [BZ #12037]
78698         * posix/unistd.h: Undo change of feature selection for ftruncate from
78699         2010-01-11.
78701 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
78703         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
78704         detection.
78706 2010-09-20  Andreas Schwab  <schwab@redhat.com>
78708         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
78709         fanotify_mark.
78710         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
78712 2010-09-14  Andreas Schwab  <schwab@redhat.com>
78714         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
78715         variables after CHECK_SP call.
78716         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
78718 2010-09-13  Andreas Schwab  <schwab@redhat.com>
78719             Ulrich Drepper  <drepper@redhat.com>
78721         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
78722         re-relocationg ld.so.
78723         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
78724         _dl_init_paths call.
78725         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
78726         here anymore.
78728 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
78730         * resolv/res_init.c (__res_vinit): Count the default server we added.
78732 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
78733             Ulrich Drepper  <drepper@redhat.com>
78735         [BZ #11968]
78736         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
78737         (____longjmp_chk): Use %ebx for saving value across system call.
78738         Add unwind info.
78740 2010-09-06  Andreas Schwab  <schwab@redhat.com>
78742         * manual/Makefile: Don't mix pattern rules with normal rules.
78744 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
78746         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
78747         operation.
78748         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
78749         * libio/iofopncook.c (_IO_cookie_init): Likewise.
78750         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
78751         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
78752         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78753         Likewise.
78755 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
78757         [BZ #11979]
78758         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
78759         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
78761 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
78763         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
78764         * sysdeps/x86_64/addmul_1.S: Likewise.
78765         * sysdeps/x86_64/lshift.S: Likewise.
78766         * sysdeps/x86_64/mul_1.S: Likewise.
78767         * sysdeps/x86_64/rshift.S: Likewise.
78768         * sysdeps/x86_64/sub_n.S: Likewise.
78769         * sysdeps/x86_64/submul_1.S: Likewise.
78771 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78773         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
78774         Define __sched_param instead of SCHED_* and sched_param when
78775         <bits/sched.h> is included with __need_schedparam defined.
78776         * bits/sched.h [__need_schedparam]
78777         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
78778         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
78779         (__defined_schedparam): Define to 1.
78780         (__sched_param): New structure, identical to sched_param.
78781         (__need_schedparam): Undefine.
78783 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
78785         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
78786         (epoll_create1): Declare.
78788         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
78790 2010-08-31  Andreas Schwab  <schwab@redhat.com>
78792         [BZ #7066]
78793         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
78794         shifting retval into place.
78796 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
78798         * nis/rpcsvc/nis.h: Update copyright notice.
78799         * nis/rpcsvc/nis.x: Likewise.
78800         * nis/rpcsvc/nis_callback.h: Likewise.
78801         * nis/rpcsvc/nis_callback.x: Likewise.
78802         * nis/rpcsvc/nis_object.x: Likewise.
78803         * nis/rpcsvc/nis_tags.h: Likewise.
78804         * nis/rpcsvc/yp.h: Likewise.
78805         * nis/rpcsvc/yp.x: Likewise.
78806         * nis/rpcsvc/ypupd.h: Likewise.
78807         * nis/yp_xdr.c: Likewise.
78808         * nis/ypupdate_xdr.c: Likewise.
78810         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
78811         mainly the body of pmap_getport.  Add parameters to specify timeouts.
78812         (pmap_getport): Use __libc_rpc_getport.
78813         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
78814         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
78815         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
78817 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
78819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
78820         fanotify_mark.
78822 2010-08-27  Roland McGrath  <roland@redhat.com>
78824         * sysdeps/i386/i686/multiarch/Makefile
78825         (CFLAGS-varshift.c): New variable.
78827 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
78829         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
78830         * sysdeps/i386/i686/multiarch/varshift.c: New file.
78832         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
78834         * sysdeps/x86_64/strlen.S: Minimal code improvement.
78836 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
78838         * sysdeps/x86_64/strlen.S: Unroll the loop.
78839         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78840         strlen-sse2 strlen-sse2-bsf.
78841         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
78842         __strlen_no_bsf if bit_Slow_BSF is set.
78843         (__strlen_sse42): Removed.
78844         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
78845         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
78847 2010-08-25  Roland McGrath  <roland@redhat.com>
78849         * sysdeps/x86_64/multiarch/varshift.S: File removed.
78850         * sysdeps/x86_64/multiarch/varshift.c: New file.
78851         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
78852         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
78853         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
78854         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
78856 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
78858         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78859         strlen-sse2 strlen-sse2-bsf.
78860         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
78861         __strlen_sse2_bsf if bit_Slow_BSF is unset.
78862         (__strlen_sse2): Removed.
78863         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
78864         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
78865         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
78866         bit_Slow_BSF for Atom.
78867         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
78868         (index_Slow_BSF): Define.
78869         (HAS_SLOW_BSF): Define.
78871 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
78873         [BZ #10851]
78874         * resolv/res_init.c (__res_vinit): When no server address at all
78875         is given default to loopback.
78877 2010-08-24  Roland McGrath  <roland@redhat.com>
78879         * configure.in: Remove config-name.h generation.
78880         * configure: Regenerated.
78881         * config-name.in: File removed.
78882         * scripts/config-uname.sh: New file.
78883         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
78884         ($(objdir)config-name.h): New target.
78886         * sunrpc/rpc_parse.h: Avoid nested comment.
78888 2010-08-24  Richard Henderson  <rth@redhat.com>
78889             Ulrich Drepper  <drepper@redhat.com>
78890             H.J. Lu  <hongjiu.lu@intel.com>
78892         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
78893         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
78894         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
78895         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
78896         _mm_alignr_epi8 with _mm_loadu_si128.
78897         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
78898         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
78899         (__m128i_shift_right): Removed.
78900         * sysdeps/i386/i686/multiarch/varshift.h: New file.
78901         * sysdeps/i386/i686/multiarch/varshift.S: New file.
78902         * sysdeps/x86_64/multiarch/varshift.h: New file.
78903         * sysdeps/x86_64/multiarch/varshift.S: New file.
78905 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
78907         * configure.in: Move assembler checks to before sysdep dir checking.
78909 2010-08-20  Petr Baudis  <pasky@suse.cz>
78911         * LICENSES: Sync the sunrpc license.
78913 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
78915         * sunrpc/auth_des.c: Update copyright notice once again.
78916         * sunrpc/auth_none.c: Likewise.
78917         * sunrpc/auth_unix.c: Likewise.
78918         * sunrpc/authdes_prot.c: Likewise.
78919         * sunrpc/authuxprot.c: Likewise.
78920         * sunrpc/bindrsvprt.c: Likewise.
78921         * sunrpc/clnt_gen.c: Likewise.
78922         * sunrpc/clnt_perr.c: Likewise.
78923         * sunrpc/clnt_raw.c: Likewise.
78924         * sunrpc/clnt_simp.c: Likewise.
78925         * sunrpc/clnt_tcp.c: Likewise.
78926         * sunrpc/clnt_udp.c: Likewise.
78927         * sunrpc/clnt_unix.c: Likewise.
78928         * sunrpc/des_crypt.c: Likewise.
78929         * sunrpc/des_soft.c: Likewise.
78930         * sunrpc/get_myaddr.c: Likewise.
78931         * sunrpc/getrpcport.c: Likewise.
78932         * sunrpc/key_call.c: Likewise.
78933         * sunrpc/key_prot.c: Likewise.
78934         * sunrpc/openchild.c: Likewise.
78935         * sunrpc/pm_getmaps.c: Likewise.
78936         * sunrpc/pm_getport.c: Likewise.
78937         * sunrpc/pmap_clnt.c: Likewise.
78938         * sunrpc/pmap_prot.c: Likewise.
78939         * sunrpc/pmap_prot2.c: Likewise.
78940         * sunrpc/pmap_rmt.c: Likewise.
78941         * sunrpc/rpc/auth.h: Likewise.
78942         * sunrpc/rpc/auth_unix.h: Likewise.
78943         * sunrpc/rpc/clnt.h: Likewise.
78944         * sunrpc/rpc/des_crypt.h: Likewise.
78945         * sunrpc/rpc/key_prot.h: Likewise.
78946         * sunrpc/rpc/netdb.h: Likewise.
78947         * sunrpc/rpc/pmap_clnt.h: Likewise.
78948         * sunrpc/rpc/pmap_prot.h: Likewise.
78949         * sunrpc/rpc/pmap_rmt.h: Likewise.
78950         * sunrpc/rpc/rpc.h: Likewise.
78951         * sunrpc/rpc/rpc_des.h: Likewise.
78952         * sunrpc/rpc/rpc_msg.h: Likewise.
78953         * sunrpc/rpc/svc.h: Likewise.
78954         * sunrpc/rpc/svc_auth.h: Likewise.
78955         * sunrpc/rpc/types.h: Likewise.
78956         * sunrpc/rpc/xdr.h: Likewise.
78957         * sunrpc/rpc_clntout.c: Likewise.
78958         * sunrpc/rpc_cmsg.c: Likewise.
78959         * sunrpc/rpc_common.c: Likewise.
78960         * sunrpc/rpc_cout.c: Likewise.
78961         * sunrpc/rpc_dtable.c: Likewise.
78962         * sunrpc/rpc_hout.c: Likewise.
78963         * sunrpc/rpc_main.c: Likewise.
78964         * sunrpc/rpc_parse.c: Likewise.
78965         * sunrpc/rpc_parse.h: Likewise.
78966         * sunrpc/rpc_prot.c: Likewise.
78967         * sunrpc/rpc_sample.c: Likewise.
78968         * sunrpc/rpc_scan.c: Likewise.
78969         * sunrpc/rpc_scan.h: Likewise.
78970         * sunrpc/rpc_svcout.c: Likewise.
78971         * sunrpc/rpc_tblout.c: Likewise.
78972         * sunrpc/rpc_util.c: Likewise.
78973         * sunrpc/rpc_util.h: Likewise.
78974         * sunrpc/rpcinfo.c: Likewise.
78975         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
78976         * sunrpc/rpcsvc/key_prot.x: Likewise.
78977         * sunrpc/rpcsvc/klm_prot.x: Likewise.
78978         * sunrpc/rpcsvc/mount.x: Likewise.
78979         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
78980         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
78981         * sunrpc/rpcsvc/rex.x: Likewise.
78982         * sunrpc/rpcsvc/rstat.x: Likewise.
78983         * sunrpc/rpcsvc/rusers.x: Likewise.
78984         * sunrpc/rpcsvc/sm_inter.x: Likewise.
78985         * sunrpc/rpcsvc/spray.x: Likewise.
78986         * sunrpc/rpcsvc/yppasswd.x: Likewise.
78987         * sunrpc/rtime.c: Likewise.
78988         * sunrpc/svc.c: Likewise.
78989         * sunrpc/svc_auth.c: Likewise.
78990         * sunrpc/svc_authux.c: Likewise.
78991         * sunrpc/svc_raw.c: Likewise.
78992         * sunrpc/svc_run.c: Likewise.
78993         * sunrpc/svc_simple.c: Likewise.
78994         * sunrpc/svc_tcp.c: Likewise.
78995         * sunrpc/svc_udp.c: Likewise.
78996         * sunrpc/svc_unix.c: Likewise.
78997         * sunrpc/svcauth_des.c: Likewise.
78998         * sunrpc/xcrypt.c: Likewise.
78999         * sunrpc/xdr.c: Likewise.
79000         * sunrpc/xdr_array.c: Likewise.
79001         * sunrpc/xdr_float.c: Likewise.
79002         * sunrpc/xdr_mem.c: Likewise.
79003         * sunrpc/xdr_rec.c: Likewise.
79004         * sunrpc/xdr_ref.c: Likewise.
79005         * sunrpc/xdr_sizeof.c: Likewise.
79006         * sunrpc/xdr_stdio.c: Likewise.
79008         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
79009         handling.
79011 2010-08-19  Andreas Schwab  <schwab@redhat.com>
79013         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
79015 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
79017         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
79018         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
79019         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
79020         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
79021         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
79022         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
79023         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
79024         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
79025         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
79026         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
79027         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
79028         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
79029         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
79030         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
79032 2010-07-26  Anton Blanchard  <anton@samba.org>
79034         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
79035         * malloc/arena.c (heap_trim): Likewise.
79037 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
79039         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
79040         here.  Not...
79041         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
79042         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
79044 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
79046         * sysdeps/i386/elf/Makefile: New file.
79048 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79050         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
79051         from fanotify_init.
79052         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
79053         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79055 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
79057         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
79058         of strncasecmp_l.
79059         * sysdeps/multiarch/strcmp.S: Likewise.
79061 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
79063         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79064         strncase_l-nonascii.
79065         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79066         Add strncase_l-ssse3.
79067         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
79068         * sysdeps/x86_64/strcmp.S: Likewise.
79069         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
79070         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
79071         * sysdeps/x86_64/strncase.S: New file.
79072         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
79073         * sysdeps/x86_64/strncase_l.S: New file.
79074         * string/Makefile (strop-tests): Add strncasecmp.
79075         * string/test-strncasecmp.c: New file.
79077         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
79078         warning.
79080         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
79081         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
79083 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79085         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
79087 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
79089         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
79090         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
79091         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
79093 2010-05-01  Alan Modra  <amodra@gmail.com>
79095         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
79096         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
79097         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
79098         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
79099         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
79100         tidying.  Don't tail-call __sigjmp_save for static lib.
79101         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
79102         save location.
79103         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
79104         (CALL_MCOUNT): Add eh info, and nop after bl.
79105         (TAIL_CALL_SYSCALL_ERROR): New macro.
79106         (PSEUDO_RET): Use it.
79107         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
79108         Correct save location of integer regs and cr.
79109         (_dl_profile_resolve): Correct cr save location.  Delete nops
79110         after bl when SHARED.  Reduce cfi size a little by better
79111         placement of cfi directives.
79112         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
79113         make a stack frame.  Instead use parm save area as a temp.
79114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
79115         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
79116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
79117         Don't make a stack frame for parent, use parm save area.
79118         Increase child stack frame to 112 bytes.  Don't save unused reg,
79119         and adjust reg usage.  Set up cfi on error recovery and
79120         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
79121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
79122         (__makecontext): Add dummy nop after jump to exit.
79123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
79124         Use correct parm save area and cr save, reduce stack frame.
79125         Correct cfi for possible PSEUDO_RET frame setup.
79126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
79127         Branch to local label emitted by PSEUDO_RET rather than
79128         __syscall_error.
79130 2010-08-12  Andreas Schwab  <schwab@redhat.com>
79132         [BZ #11904]
79133         * locale/programs/locale.c (print_assignment): New function.
79134         (show_locale_vars): Use it.
79136 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
79138         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
79139         field.
79140         (struct statfs64): Likewise.
79141         (_STATFS_F_FLAGS): Define.
79142         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
79143         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79144         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
79145         (ST_VALID): Define locally.
79146         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
79147         __statvfs_getflags, use the provided value.
79148         * sysdeps/unix/sysv/linux/kernel-features.h: Define
79149         __ASSUME_STATFS_F_FLAGS.
79151         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
79153         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
79154         Add sys/fanotify.h.
79155         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
79156         fanotify_mask for GLIBC_2.13.
79157         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
79158         fanotify_init and fanotify_mark.
79159         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79160         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
79162         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
79163         Add prlimit.
79164         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
79165         prlimit64 for GLIBC_2.13.
79166         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
79167         prlimit64.
79168         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
79169         syscall.
79170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
79171         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79172         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
79173         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
79174         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
79175         add prlimit alias.
79176         * sysdeps/unix/sysv/linux/prlimit.c: New file.
79178         [BZ #11903]
79179         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
79180         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
79182         * nss/Makefile: Add rules to build and run tst-nss-test1.
79183         * shlib-versions: Add entry for libnss_test1.
79184         * nss/nss_test1.c: New file.
79185         * nss/tst-nss-test1.c: New file.
79187         * nss/nsswitch.c (__nss_database_custom): Define new variable.
79188         (__nss_configure_lookup): Set appropriate entry in
79189         __nss_configure_lookup to true.
79190         * nss/nsswitch.h: Define enum with indeces of databases in
79191         databases and __nss_database_custom arrays.  Declare
79192         __nss_database_custom.
79193         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
79194         to avoid using nscd when custom rules are installed.
79195         * nss/getXXbyYY_r.c: Likewise.
79196         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
79198         * nss/nss_files/files-parse.c: Whitespace fixes.
79200 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
79202         [BZ #11883]
79203         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
79204         * posix/fnmatch_loop.c: Likewise.
79206 2010-07-17  Andi Kleen  <ak@linux.intel.com>
79208         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
79209         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
79210         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
79211         * Versions.def [GLIBC_2.13]: Add.
79213 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
79215         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
79216         Also fail if tpwd after pwuid call is NULL.
79218 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79220         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
79221         when converting to ms.
79223 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79225         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
79226         EOPNOTSUPP errors with ENOTTY.
79227         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
79228         EOPNOTSUPP errors with ENOTTY.
79230 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
79232         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79233         Add strcasecmp_l-ssse3.
79234         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
79235         strcasecmp.
79236         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
79237         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
79238         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
79240 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
79242         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
79244         * string/Makefile (strop-tests): Add strcasecmp.
79245         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79246         strcasecmp_l-nonascii.
79247         (gen-as-const-headers): Add locale-defines.sym.
79248         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
79249         * sysdeps/x86_64/strcasecmp.S: New file.
79250         * sysdeps/x86_64/strcasecmp_l.S: New file.
79251         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
79252         * sysdeps/x86_64/locale-defines.sym: New file.
79253         * string/test-strcasecmp.c: New file.
79255         * string/test-strcasestr.c: Test both ends of the range of characters.
79256         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
79258 2010-07-29  Roland McGrath  <roland@redhat.com>
79260         [BZ #11856]
79261         * manual/locale.texi (Yes-or-No Questions): Fix example code.
79263 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
79265         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
79266         for ld.so.
79268 2010-07-27  Andreas Schwab  <schwab@redhat.com>
79270         * manual/memory.texi (Malloc Tunable Parameters): Document
79271         M_PERTURB.
79273 2010-07-26  Roland McGrath  <roland@redhat.com>
79275         [BZ #11840]
79276         * configure.in (-fgnu89-inline check): Set and substitute
79277         gnu89_inline, not libc_cv_gnu89_inline.
79278         * configure: Regenerated.
79279         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
79281 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
79283         * string/test-strnlen.c: New file.
79284         * string/Makefile (strop-tests): Add strnlen.
79285         * string/tester.c (test_strnlen): Add a few more test cases.
79286         * string/tst-strlen.c: Better error reporting.
79288         * sysdeps/x86_64/strnlen.S: New file.
79290 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
79292         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
79293         lower-latency instructions.
79295 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
79297         * string/test-strcasestr.c: New file.
79298         * string/test-strstr.c: New file.
79299         * string/Makefile (strop-tests): Add strstr and strcasestr.
79300         * string/str-two-way.h: Don't undefine MAX.
79301         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
79303 2010-07-21  Andreas Schwab  <schwab@redhat.com>
79305         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79306         strcasestr-nonascii.
79307         (CFLAGS-strcasestr-nonascii.c): Define.
79308         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
79309         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
79310         Remove unused attribute.
79312 2010-07-20  Roland McGrath  <roland@redhat.com>
79314         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
79315         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
79316         ld.so.cache was broken.  With it, there is no way to disable dsocaps
79317         like LD_HWCAP_MASK can disable hwcaps.
79319 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79321         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
79323 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
79325         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
79326         call in strcasestr.
79327         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
79328         __strcasestr_sse42_nonascii.
79329         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
79330         strcasestr-nonascii.c.
79331         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
79333 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
79335         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
79336         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
79337         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
79338         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
79340 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
79342         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
79343         fcntl.
79345 2010-07-06  Andreas Schwab  <schwab@redhat.com>
79347         [BZ #11577]
79348         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
79349         dl_signal_cerror.
79351 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
79353         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
79354         _PC_PIPE_BUF using F_GETPIPE_SZ.
79356 2010-07-05  Roland McGrath  <roland@redhat.com>
79358         * manual/arith.texi (Rounding Functions): Fix rint description
79359         implicit in round description.
79361 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
79363         * elf/Makefile: Fix linking for a few tests to make recent linker
79364         happy.
79366 2010-06-30  Andreas Schwab  <schwab@redhat.com>
79368         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
79369         $(common-objpfx)libc_nonshared.a.
79371 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
79373         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
79374         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
79375         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79376         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79377         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
79378         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
79379         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79380         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
79382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
79383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
79384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
79386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
79388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
79389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
79390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
79391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
79393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
79395         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
79396         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
79397         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
79398         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
79399         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
79400         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
79401         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
79402         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
79403         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
79404         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
79405         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
79406         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
79407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
79408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
79409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
79410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
79411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
79412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
79413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
79414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
79415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
79416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
79417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
79418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
79419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
79420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
79422 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
79424         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
79425         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
79426         * string/memmove.c (memmove): Renamed to ...
79427         (MEMMOVE): ...this.  Default to memmove.
79428         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
79429         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
79430         (END_CHK): Define.
79431         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79432         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
79433         mempcpy-ssse3-back memmove-ssse3-back.
79434         * sysdeps/x86_64/multiarch/bcopy.S: New file .
79435         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
79436         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
79437         * sysdeps/x86_64/multiarch/memcpy.S: New file.
79438         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
79439         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
79440         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
79441         * sysdeps/x86_64/multiarch/memmove.c: New file.
79442         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
79443         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
79444         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
79445         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
79446         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
79447         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
79448         Define.
79449         (index_Fast_Copy_Backward): Define.
79450         (HAS_ARCH_FEATURE): Define.
79451         (HAS_FAST_REP_STRING): Define.
79452         (HAS_FAST_COPY_BACKWARD): Define.
79454 2010-06-21  Andreas Schwab  <schwab@redhat.com>
79456         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
79457         Restore proper fallback handling.
79459 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
79461         [BZ #11701]
79462         * posix/group_member.c (__group_member): Correct checking loop.
79464         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
79465         OOM in getpwuid_r correctly.  Return error number when the caller
79466         should return, otherwise -1.
79467         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
79468         call returning > 0 value.
79469         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
79471 2010-06-07  Andreas Schwab  <schwab@redhat.com>
79473         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
79474         libc_nonshared.a from targets in modules-names.
79476 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
79478         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
79479         requires it.
79481 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
79483         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
79484         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
79485         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
79486         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
79488 2010-06-02  Andreas Schwab  <schwab@redhat.com>
79490         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
79492 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
79494         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
79495         and F_GETPIPE_SZ.
79496         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
79497         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79498         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79499         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79500         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79501         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79503 2010-06-14  Roland McGrath  <roland@redhat.com>
79505         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
79507 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
79509         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
79510         __REDIRECT followed by __THROW.
79511         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
79512         * posix/getopt.h (getopt): Likewise.
79514 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79516         * hurd/lookup-at.c (__file_name_lookup_at): Accept
79517         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
79518         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
79519         in AT_FLAGS.
79520         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
79521         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
79523 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
79525         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
79527 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
79529         [BZ #11640]
79530         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79531         Properly check family and model.
79533 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
79535         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
79537 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
79539         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
79541 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
79543         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
79544         symbol reference.
79546 2010-05-19  Andreas Schwab  <schwab@redhat.com>
79548         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
79549         symbol reference.
79551 2010-05-21  Andreas Schwab  <schwab@redhat.com>
79553         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
79554         and internal_recvmmsg.
79555         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
79556         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
79557         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
79558         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
79560         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
79561         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
79562         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
79564 2010-05-20  Andreas Schwab  <schwab@redhat.com>
79566         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
79568 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
79570         POWER7 optimizations.
79571         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
79572         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
79574 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
79576         * version.h: Update for 2.13 development version.
79578 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
79580         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
79581         exceptions.  Return 0.
79583 2010-05-07  Roland McGrath  <roland@redhat.com>
79585         * elf/ldconfig.c (main): Add a const.
79587 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
79589         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
79590         (args_options): Add no-idn option.
79591         (ahosts_keys_int): Add idn_flags to ai_flags.
79592         (parse_option): Handle 'i' option to clear idn_flags.
79594         * malloc/malloc.c (_int_free): Possible race in the most recently
79595         added check.  Only act on the data if no current modification
79596         happened.
79598 See ChangeLog.17 for earlier changes.