Add issubnormal.
[glibc.git] / ChangeLog
blob00162c332a840b3b36334844b500b1757c42cd5b
1 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
3         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
4         macro.
5         * math/libm-test.inc (issubnormal_test_data): New array.
6         (issubnormal_test): New function.
7         * manual/arith.texi (Floating Point Classes): Document
8         issubnormal.
9         * manual/libm-err-tab.pl: Update comment on interfaces without
10         ulps tabulated.
12         * sysdeps/generic/stdint.h: Define
13         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14         <bits/libc-header-start.h> instead of including <features.h>.
15         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
16         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
17         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
18         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
19         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
20         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
21         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
22         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
23         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
24         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
25         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
26         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
27         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
28         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
29         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
30         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
31         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
32         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
33         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
34         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
35         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
36         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
37         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
38         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
39         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
40         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
41         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
42         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
43         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
44         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
45         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
46         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
47         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
48         * manual/arith.texi (Integers): Document these macros for types
49         specified by width properties.
50         * manual/lang.texi (Width of Type): Document these macros for
51         other standard typedefs.
52         * stdlib/tst-width-stdint.c: New file.
53         * stdlib/Makefile (tests): Add tst-width-stdint.
55 2016-09-21  Florian Weimer  <fweimer@redhat.com>
57         [BZ #20016]
58         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
59         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
60         Move ...
61         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
62         ... here, as compatibility symbols in a new file.
63         * resolv/Makefile (libresolv-routines): Add compat-hooks.
64         * resolv/res_init.c (__res_vinit): Adjust member names.
65         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
66         * resolv/resolv.h (res_sendhookact, res_send_qhook)
67         (res_send_rhook): Remove.
68         (struct __res_state): Rename qhook, rhook members.
70 2016-09-21  Florian Weimer  <fweimer@redhat.com>
72         malloc: Use __libc_lock wrappers.
73         * malloc/arena.c (list_lock, free_list_lock): Define using
74         __libc_lock_define_initialized.
75         (arena_lock): Adjust formatting.
76         * malloc/malloc.c (struct malloc_state): Define mutex using
77         __libc_lock_define.
78         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
79         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
80         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
81         (mutex_unlock, mutex_trylock): Remove.
82         (__pthread_initialize): Remove unused macro.
83         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
84         (mutex_unlock, mutex_trylock): Remove.
86 2016-09-21  Florian Weimer  <fweimer@redhat.com>
88         [BZ #20592]
89         Remove RR type classification macros.
90         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
91         (ns_t_udp_p, ns_t_xfr_p): Remove.
93 2016-09-21  Florian Weimer  <fweimer@redhat.com>
95         Remove misleading version information.
96         * resolv/arpa/nameser.h (__NAMESER): Remove.
97         * resolv/arpa/nameser_compat.h (__BIND): Remove.
99 2016-09-21  Florian Weimer  <fweimer@redhat.com>
101         Remove the always-defined BIND_4_COMPAT macro.
102         * resolv/arpa/nameser.h: Unconditionally include
103         <arpa/nameser_compat.h>.
104         (BIND_4_COMPAT): Remove.
105         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
107 2016-09-21  Florian Weimer  <fweimer@redhat.com>
109         [BZ #20591]
110         Remove obsolete DNSSEC support.
111         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
112         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
113         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
114         (ns_verify_tcp, ns_verify_tcp_init): Remove.
115         (ns_cert_types): Add comment.
116         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
117         separately.
118         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
119         (dst_s_dns_key_id): Remove.
120         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
121         variables.
123 2016-09-21  Florian Weimer  <fweimer@redhat.com>
125         [BZ #20524]
126         * manual/string.texi (String/Array Comparison): Clarify the
127         strverscmp behavior.
129 2016-09-21  Florian Weimer  <fweimer@redhat.com>
131         * test-skeleton.c (xasprintf): Add function.
132         * io/tst-open-tmpfile.c: New test.
133         * io/Makefile (tests): Add it.
135 2016-09-21  Florian Weimer  <fweimer@redhat.com>
137         Avoid running $(CXX) during build to obtain header file paths.
138         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
139         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
140         * Makerules (cstdlib, cmath): Remove variables.  Use
141         $(c++-cstdlib-header), $(c++-cmath-header) instead.
142         * configure: Regenerate.
144 2016-09-21  Florian Weimer  <fweimer@redhat.com>
146         * Makeconfig (all-object-suffixes): Include .op only if
147         $(build-profile).
149 2016-09-21  Florian Weimer  <fweimer@redhat.com>
151         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
152         conditionals.  Do not define PATH_MAX.
154 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
156         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
157         all signals when executing the clone vfork child.
158         (SIGALL_SET): Remove macro.
160         * nptl/Makefile (tests): Add tst-exec5.
161         * nptl/tst-exec5.c: New file.
162         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
163         asynchronous cancellation.
165 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
167         * hurd/exc2signal.c: #include <hurd/signal.h>
168         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
169         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
170         accordingly.
171         * mach/mach_error.c (mach_error): Fix old-style function definition.
172         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
174 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
176         * math/Makefile (libm-calls): Remove s_nanF.
177         (gen-libm-calls): Add s_nanF.
179         * math/s_nan.c: Refactor into ...
180         * math/s_nan_template.c: New file.
182         * math/s_nanf.c: Removed.
183         * math/s_nanl.c: Removed.
184         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
185         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
187         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
188         (LDOUBLE_nanl_libm_version): New macro.
190         * sysdeps/generic/math-type-macros-double.h:
191         (M_STRTO_NAN): New macro.
192         * sysdeps/generic/math-type-macros-float.h: Likewise.
193         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
195         * sysdeps/generic/math-type-macros.h: Document
196         M_STRTO_NAN.
198 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
200         * math/s_nanf.c: Remove __nanf undef.
201         * math/s_nan.c: Remove __nan undef.
202         * math/s_nanl.c: Remove __nanl undef.
204         * sysdeps/generic/math_private.h (__nan): Remove macro
205         override.
206         (__nanf): Likewise.
207         (__nanl): Likewise.
209 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
211         * math/Makefile (gen-all-calls): New variable.
212         (generated): Replace gen-libm-calls with gen-all-calls.
213         (gen-libm-templates.stmp): Likewise.  Also, ensure
214         the output directory exists or is created and add
215         dependency on the Makefile.
216         (calls): Move s_ldexpF into gen-calls.
217         (gen-calls): New variable.
219         * math/s_ldexpf.c: Removed.
220         * math/s_ldexpl.c: Removed.
221         * math/s_ldexp.c: Refactored into ...
222         * math/s_ldexp_template.c: New file.
224         * sysdeps/generic/math-type-macros-double.h: Remove
225         redundant fall-through definition of declare_mgen_alias.
226         (declare_mgen_alias_2): New macro.
228         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
229         New macro for function aliased to two exported symbols.
231         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
232         new template file.
233         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
235 2016-09-20  Florian Weimer  <fweimer@redhat.com>
237         * Makeconfig (all-object-suffixes): Remove .og.
238         * Makerules (elide-routines.og): Remove.
239         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
240         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
241         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
243 2016-09-20  Florian Weimer  <fweimer@redhat.com>
245         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
246         .os objects.
248 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
250         [BZ #20615]
251         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
252         fpu directory by non-fpu.
253         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
254         on non-fpu directory from a fpu directory.
256 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
258         * include/limits.h: Define
259         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
260         <bits/libc-header-start.h> instead of including <features.h>.
261         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
262         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
263         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
264         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
265         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
266         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
267         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
268         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
269         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
270         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
271         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
272         * manual/lang.texi (Width of Type): Document these macros.
273         * stdlib/tst-width.c: New file.
274         * stdlib/Makefile (tests): Add tst-width.
276 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
278         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
279         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
281 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
283         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
284         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
285         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
287 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
289         [BZ #18243]
290         * rt/Makefile (test): Add tst-shm-cancel.
291         * rt/tst-shm-cancel.c: New file.
292         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
294         [BZ #18243]
295         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
296         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
297         definition.
298         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
299         uncontended case.
300         * nptl/sem_wait.c (__new_sem_wait): Likewise.
301         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
302         (tf): Fix check for uncontended case.
303         (do_test): Likewise.
304         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
305         (tf): Fix check for uncontended case.
306         (do_test): Likewise.
307         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
308         (tf): Fix check for uncontended case.
309         (do_test): Likewise.
310         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
311         (tf): Fix check for uncontended case.
312         (do_test): Likewise.
314         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
315         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
317         [BZ #15765]
318         * nptl/Makefile (tests): Add tst-sem16.
319         * nptl/tst-sem16.c: New file.
320         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
322         * nptl/sem_open.c (sem_open): Init pad value to 0.
323         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
324         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
326 2016-09-15  Florian Weimer  <fweimer@redhat.com>
328         [BZ #20611]
329         * inet/Makefile (routines): Add inet6_scopeid_pton.
330         (tests): Add tst-inet6_scopeid_pton.
331         * inet/inet6_scopeid_pton.c: New file.
332         * inet/net-internal.h: Likewise.
333         * inet/tst-inet6_scopeid_pton.c: New test.
334         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
335         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
336         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
338 2016-09-14  Florian Weimer  <fweimer@redhat.com>
340         Remove support for compiling wrappers with PTW.
341         * sysdeps/nptl/Makeconfig: Drop ptw- support.
342         * nptl/Makefile (pthread-compat-wrappers): Define.
343         (libpthread-routines): Use pthread-compat-wrappers.
344         * sysdeps/unix/sysv/linux/alpha/Makefile
345         (libpthread-routines, libpthread-shared-only-routines): Remove
346         ptw- prefix.
347         * sysdeps/s390/nptl/Makefile
348         (libpthread-routines, libpthread-shared-only-routines): Likewise.
349         * sysdeps/ia64/nptl/Makefile
350         (libpthread-routines, libpthread-shared-only-routines): Likewise.
351         * sysdeps/nacl/Makefile (libpthread-routines): Use
352         pthread-compat-wrappers to filter the routines list instead of the
353         ptw- prefix.
355 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
357         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
358         with L() and remove explicit suffix, convert real literals
359         which can be equivalentally substituted with integers, and
360         transform -L(x) to L(-x).
362         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
363         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
364         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
365         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
366         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
367         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
368         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
369         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
370         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
371         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
372         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
373         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
374         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
375         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
376         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
377         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
378         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
379         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
380         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
381         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
382         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
383         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
384         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
385         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
386         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
387         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
388         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
389         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
390         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
391         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
392         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
393         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
394         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
395         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
396         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
397         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
398         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
399         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
400         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
401         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
402         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
403         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
404         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
405         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
406         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
407         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
408         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
409         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
410         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
411         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
413 2016-09-13  Florian Weimer  <fweimer@redhat.com>
415         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
417 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
419         * malloc/Makefile (tests): Remove individual static test names
420         and just add all of tests-static.
422         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
424 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
426         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
427         file.
429         * sysdeps/sparc/fpu/fegetmode.c: New file.
430         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
432         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
433         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
435         * sysdeps/s390/fpu/fegetmode.c: New file.
436         * sysdeps/s390/fpu/fesetmode.c: Likewise.
438         * sysdeps/powerpc/fpu/fegetmode.c: New file.
439         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
440         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
441         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
442         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
443         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
445         * sysdeps/mips/fpu/fegetmode.c: New file.
446         * sysdeps/mips/fpu/fesetmode.c: Likewise.
448         * sysdeps/m68k/fpu/fegetmode.c: New file.
449         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
451         * sysdeps/ia64/fpu/fegetmode.c: New file.
452         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
454         * sysdeps/hppa/fpu/fegetmode.c: New file.
455         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
457         * sysdeps/arm/fegetmode.c: New file.
458         * sysdeps/arm/fesetmode.c: Likewise.
460         * sysdeps/alpha/fpu/fegetmode.c: New file.
461         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
463         * sysdeps/aarch64/fpu/fegetmode.c: New file.
464         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
466         * math/fegetmode.c: New file.
467         * math/fesetmode.c: Likewise.
468         * sysdeps/i386/fpu/fegetmode.c: Likewise.
469         * sysdeps/i386/fpu/fesetmode.c: Likewise.
470         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
471         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
472         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
473         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
474         declaration.
475         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
476         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
477         typedef.
478         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
479         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
480         (femode_t): New typedef.
481         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
482         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
483         (femode_t): New typedef.
484         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
485         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
486         (femode_t): New typedef.
487         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
488         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
489         (femode_t): New typedef.
490         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
491         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
492         (femode_t): New typedef.
493         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
494         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
495         (femode_t): New typedef.
496         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
497         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
498         (femode_t): New typedef.
499         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
500         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
501         (femode_t): New typedef.
502         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
503         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
504         (femode_t): New typedef.
505         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
506         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
507         (femode_t): New typedef.
508         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
509         declaration.
510         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
511         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
512         (femode_t): New typedef.
513         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
514         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
515         (femode_t): New typedef.
516         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
517         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
518         (femode_t): New typedef.
519         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
520         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
521         (femode_t): New typedef.
522         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
523         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
524         (femode_t): New typedef.
525         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
526         * manual/arith.texi (FE_DFL_MODE): Document macro.
527         (fegetmode): Document function.
528         (fesetmode): Likewise.
529         * math/Versions (fegetmode): New libm symbol at version
530         GLIBC_2.25.
531         (fesetmode): Likewise.
532         * math/Makefile (libm-support): Add fegetmode and fesetmode.
533         (tests): Add test-femode and test-femode-traps.
534         * math/test-femode-traps.c: New file.
535         * math/test-femode.c: Likewise.
536         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
537         alias for __fe_dfl_env.
538         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
539         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
540         (__fe_dfl_mode): Likewise.
541         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
542         version GLIBC_2.25.
543         * sysdeps/nacl/libm.abilist: Update.
544         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
545         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
546         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
547         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
548         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
549         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
550         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
551         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
552         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
553         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
554         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
555         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
557         Likewise.
558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
559         Likewise.
560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
561         Likewise.
562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
563         Likewise.
564         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
565         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
566         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
567         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
568         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
569         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
570         Likewise.
571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
572         Likewise.
573         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
574         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
575         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
577 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
579         [BZ #20495]
580         [BZ #20508]
581         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
582         processors, set Use_dl_runtime_resolve_slow and set
583         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
584         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
585         New.
586         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
587         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
588         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
589         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
590         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
591         if Use_dl_runtime_resolve_opt is set.  Use
592         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
593         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
594         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
595         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
596         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
597         New.
598         (_dl_runtime_resolve_opt): Likewise.
599         (_dl_runtime_profile): Define only if _dl_runtime_profile is
600         defined.
602 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
604         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
605         __libc_memalign with "+ RELA R_390_GLOB_DAT".
607 2016-09-06  Florian Weimer  <fweimer@redhat.com>
609         Convert malloc to __libc_lock.  Automated part, using this Perl
610         s/// command:
611           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
612             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
613         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
614         conversion.
616 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
618         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
619         (linknamespace-symlists-tests): Likewise.
620         (linknamespace-header-tests): Likewise.
622 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
624         [BZ #19810]
625         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
626         * elf/tst-noload.c: New test case.
627         * elf/Makefile (tests): Add tst-noload.
629 2016-09-02  Roland McGrath  <roland@hack.frob.com>
631         * sysdeps/nacl/dup.c: Add libc_hidden_def.
633         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
634         not any more.
636         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
638 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
640         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
641         (do_cos_slow): Likewise.
642         (do_sin): Likewise.
643         (do_sin_slow): Likewise.
644         (slow): Likewise.
645         (slow1): Likewise.
646         (slow2): Likewise.
647         (sloww): Likewise.
648         (sloww1): Likewise.
649         (sloww2): Likewise.
650         (bsloww): Likewise.
651         (bsloww1): Likewise.
652         (bsloww2): Likewise.
653         (cslow2): Likewise.
655         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
657         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
658         arguments.  Consolidate input partitioning from callers here.
659         (do_cos_slow): Likewise.
660         (do_sin): Likewise.
661         (do_sin_slow): Likewise.
662         (do_sincos_1): Remove the no longer necessary input partitioning.
663         (do_sincos_2): Likewise.
664         (__sin): Likewise.
665         (__cos): Likewise.
666         (slow1): Likewise.
667         (slow2): Likewise.
668         (sloww1): Likewise.
669         (sloww2): Likewise.
670         (bsloww1): Likewise.
671         (bsloww2): Likewise.
672         (cslow2): Likewise.
674 2016-09-02  Florian Weimer  <fweimer@redhat.com>
676         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
677         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
678         outside of allocated array.
680 2016-09-02  Florian Weimer  <fweimer@redhat.com>
682         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
683         instead of MB_CUR_MAX to avoid variable-length array.
685 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
687         * math/Makefile (libm-calls): Remove k_rem_pio2F.
688         (type-double-routines): Add k_rem_pio2.
689         (type-float-routines): Add k_rem_pio2f.
691         * sysdeps/generic/math_private.h:
692         (__kernel_rem_pio2l): Removed.
694         * math/k_rem_pio2l.c: Removed.
695         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
696         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
697         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
698         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
700 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
702         * math/Makefile (gen-libm-calls): Add s_fmin
703         (libm-calls): Remove above.
705         * math/s_fmin.c: Refactor into ...
706         * math/s_fmin_template.c: New file.
708         * math/s_fminf.c: Removed.
709         * math/s_fminl.c: Removed.
710         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
711         (LDOUBLE_fmin_libm_version): New macro.
713         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
714         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
716 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
718         * math/Makefile: (gen-libm-calls): Add s_fmax.
719         (libm-calls): Remove above.
721         * math/s_fmax.c: Refactor into ...
722         * math/s_fmax_template.c: New file.
723         * math/s_fmaxf.c: Removed.
724         * math/s_fmaxl.c: Removed.
726         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
727         (LDOUBLE_fmaxl_libm_version): New macro.
729         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
730         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
732         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
733         s_fmin.c to pick the aarch64 version of the file.
734         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
735         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
737 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
739         * math/Makefile: (gen-libm-calls): Add s_nextdown.
740         (libm-calls): Remove above.
742         * math/s_nextdown.c: Refactor into ...
743         * math/s_nextdown_template.c: New file.
744         * math/s_nextdownf.c: Removed.
745         * math/s_nextdownl.c: Removed.
747         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
749 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
751         * math/Makefile (gen-libm-calls): Add s_fdim.
752         (libm-calls): Move to above.
754         * math/s_fdim.c: Renamed and refactored into to ...
755         * math/s_fdim_template.c: New file.
756         * math/s_fdiml.c: Removed.
757         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
758         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
760         * sysdeps/generic/math-type-macros-double.h:
761         (declare_mgen_alias): Don't declare if already declared.
762         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
763         Likewise.
765         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
766         (declare_mgen_alias): Don't declare if already declared.
767         (M_LIBM_NEED_COMPAT): Likewise.
768         (declare_mgen_libm_compat): Likewise.
769         (LDOUBLE_fdiml_libm_version): New macro.
771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
772         Include math/s_fdim.c now that ldbl-opt version is not needed.
773         (declare_mgen_alias): New macro to disable aliasing.
775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
776         (declare_mgen_alias): Likewise.
777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
778         (declare_mgen_alias): Likewise.
779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
780         (declare_mgen_alias): Likewise.
781         (M_LIBM_NEED_COMPAT): Likewise.
783 2016-09-01  Florian Weimer  <fweimer@redhat.com>
785         [BZ #20525]
786         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
787         Include <linux/quota.h>.
788         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
789         and btodb.
790         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
791         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
792         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
793         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
794         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
795         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
796         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
797         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
798         types.
799         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
800         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
802 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
804         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
805         (gammal_positive): Fix spacing.
806         (__ieee754_gammal_r): Likewise.
808 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
810         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
811         (_Float128): Define as long double, always.
812         (L): Apply long double type suffix, always.
814         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
815         _Float128, excepting comments.
817         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
818         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
819         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
820         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
821         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
822         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
823         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
824         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
825         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
826         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
827         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
828         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
829         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
830         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
831         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
832         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
833         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
834         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
835         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
836         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
837         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
838         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
839         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
840         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
841         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
842         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
843         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
844         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
845         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
846         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
847         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
848         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
849         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
850         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
851         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
852         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
853         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
854         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
855         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
856         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
857         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
858         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
859         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
860         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
861         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
862         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
863         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
864         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
865         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
866         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
867         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
868         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
869         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
870         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
871         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
872         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
873         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
874         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
875         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
876         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
877         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
878         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
879         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
880         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
881         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
882         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
883         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
884         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
886         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
887         _Float128, and include math_private.h.
888         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
890         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
891         long double semantics.
892         (_Float128): Likewise.
893         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
894         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
895         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
896         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
898 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
900         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
901         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
902         * sysdeps/s390/configure: Regenerated.
903         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
904         instruction for raising over-/underflow if z196 zarch is supported
905         by default.
906         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
908 2016-08-30  Svante Signell  <svante.signell@gmail.com>
910         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
911         it point to a dumb buffer for RPC to fill it.
913 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
915         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
916         instead of if/else.
917         (do_sin_slow): Likewise.
918         (do_sincos_1): Use fabs instead of if/else.
919         (do_sincos_2): Likewise.
920         (__sin): Likewise.
921         (__cos): Likewise.
922         (slow2): Likewise.
923         (sloww): Likewise.
924         (sloww1): Likewise.  Drop argument M.
925         (sloww2): Use fabs instead of if/else.
926         (bsloww): Likewise.
927         (bsloww1): Likewise.
928         (bsloww2): Likewise.
930         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
931         fall through comment.
932         (do_sincos_1): Likewise.
934         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
935         Consolidate switch cases 0 and 2.
937 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
939         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
940         (libm-calls): Remove the above.
942         * math/s_cexp_template.c: Update using type-generic macros.
943         * math/s_clog10_template.c: Likewise.
944         * math/s_cpow_template.c: Likewise.
945         * math/s_clog_template.c: Likewise.
946         * math/s_cproj_template.c: Likewise.
947         * math/s_csqrt_template.c: Likewise.
949         * math/s_cexp.c: Removed.
950         * math/s_cexpf.c: Removed.
951         * math/s_cexpl.c: Removed.
952         * math/s_clog10.c: Removed.
953         * math/s_clog10f.c: Removed.
954         * math/s_clog10l.c: Removed.
955         * math/s_cpow.c: Removed.
956         * math/s_cpowf.c: Removed.
957         * math/s_cpowl.c: Removed.
958         * math/s_clog.c: Removed.
959         * math/s_clogf.c: Removed.
960         * math/s_clogl.c: Removed.
961         * math/s_cproj.c: Removed.
962         * math/s_cprojf.c: Removed.
963         * math/s_cprojl.c: Removed.
964         * math/s_csqrt.c: Removed.
965         * math/s_csqrtf.c: Removed.
966         * math/s_csqrtl.c: Removed.
968         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
969         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
970         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
971         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
972         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
973         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
975         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
976         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
977         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
978         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
979         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
980         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
981         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
982         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
983         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
984         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
985         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
987         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
988         version.
990         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
991         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
992         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
993         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
995 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
997         * s_cexp_template.c: Copy of s_cexp.c.
998         * s_clog_template.c: Copy of s_clog.c.
999         * s_clog10_template.c: Copy of s_clog10.c.
1000         * s_cpow_template.c: Copy of s_cpow.c.
1001         * s_cproj_template.c: Copy of s_cproj.c.
1002         * s_csqrt_template.c: Copy of s_csqrt.c.
1004 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1006         [BZ #20517]
1007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1008         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
1009         exported.
1011 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
1013         * math/fetestexceptflag.c: New file.
1014         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
1015         Stefan Liebler.
1016         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1017         (fetestexceptflag): New function declaration.
1018         * manual/arith.texi (fetestexceptflag): Document function.
1019         * math/Versions (fetestexceptflag): New libm symbol at version
1020         GLIBC_2.25.
1021         * math/Makefile (libm-support): Add fetestexceptflag.
1022         (tests): Add test-fetestexceptflag.
1023         * math/test-fetestexceptflag.c: New file.
1024         * sysdeps/nacl/libm.abilist: Update.
1025         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1026         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1027         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1028         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1029         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1030         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1031         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1032         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1033         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1034         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1035         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1036         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1038         Likewise.
1039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1040         Likewise.
1041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1042         Likewise.
1043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1044         Likewise.
1045         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1046         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1047         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1048         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1049         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1051         Likewise.
1052         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1053         Likewise.
1054         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1055         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1056         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1058 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1060         [BZ #20432]
1061         Avoid strong references to malloc-internal symbols when linking
1062         statically, to support statically interposed mallocs.
1063         * include/libc-symbols.h (call_function_static_weak): New macro.
1064         * malloc/Makefile (tests): Add tst-interpose-nothread,
1065         tst-interpose-thread, tst-interpose-static-nothread,
1066         tst-interpose-static-thread.
1067         (tests-static): Add tst-interpose-static-nothread,
1068         tst-interpose-static-thread.
1069         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
1070         tst-interpose-aux-thread.o.
1071         (test-extras): Add tst-interpose-aux-nothread,
1072         tst-interpose-aux-thread.
1073         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
1074         tst-interpose-aux-nothread.o.
1075         (tst-interpose-thread, tst-interpose-static-thread): Link with
1076         tst-interpose-aux-thread.o and libthread.
1077         * malloc/tst-interpose-aux-nothread.c: New file.
1078         * malloc/tst-interpose-aux-thread.c: Likewise.
1079         * malloc/tst-interpose-aux.c: Likewise.
1080         * malloc/tst-interpose-aux.h: Likewise.
1081         * malloc/tst-interpose-nothread.c: Likewise.
1082         * malloc/tst-interpose-skeleton.c: Likewise.
1083         * malloc/tst-interpose-static-nothread.c: Likewise.
1084         * malloc/tst-interpose-static-thread.c: Likewise.
1085         * malloc/tst-interpose-thread.c: Likewise.
1086         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
1087         * sysdeps/mach/hurd/fork.c (__fork): Only call
1088         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
1089         __malloc_fork_unlock_child if defined.
1090         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1092 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1094         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
1095         timespec C99 designated initialization.
1097 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1099         [BZ #19946]
1100         Avoid expected SIGALRM signals.
1101         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
1102         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
1103         (xpthread_create, xpthread_detach, xpthread_join)
1104         (delayed_exit_thread, delayed_exit): New functions.
1105         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
1106         (tf): Use xpthread_cond_wait.
1107         (do_test): Likewise.  Replace alarm with delayed_exit.
1108         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1109         (do_test): Call delayed_exit.  Report failure.
1110         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1111         (do_test): Call delayed_exit.
1112         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1113         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
1114         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1115         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
1116         error.
1117         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1118         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
1119         error.
1120         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
1121         (do_test): Call delayed_exit.
1122         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
1123         (do_test): Call delayed_exit.
1124         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
1125         (do_test): Call delayed_exit instead of alarm.  Use
1126         xpthread_mutex_lock.
1127         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
1128         (do_test): Call delayed_exit instead of alarm.  Use
1129         xpthread_mutex_lock.
1130         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
1131         (do_test): Call delayed_exit instead of alarm.
1132         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
1133         (do_test): Call delayed_exit instead of alarm.  Use
1134         xpthread_spin_lock.
1135         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
1136         (do_test): Call delayed_exit instead of alarm.  Use
1137         xpthread_join.
1139 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
1141         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
1142         adjust CFA when allocating register save area on re-aligned
1143         stack.
1145 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1147         * string/tst-cmp.c: New test.
1148         * string/Makefile (tests): Add it.
1150 2016-08-25  Mark Wielaard  <mark@klomp.org>
1152         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
1153         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
1154         (check_tree_recurse): Use newly defined accessors.
1155         (check_tree): Likewise.
1156         (maybe_split_for_insert): Likewise.
1157         (__tfind): Likewise.
1158         (__tdelete): Likewise.
1159         (trecurse): Likewise.
1160         (tdestroy_recurse): Likewise.
1161         (__tsearch): Likewise. And add asserts for malloc alignment.
1162         (__twalk): Cast root to node in case CHECK_TREE is defined.
1164 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1166         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
1168 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1170         * math/Makefile (libm-gen-calls): Add
1171         catan, catanh, ctan, ctanh.
1172         (libm-calls): Remove the above.
1174         * math/s_catan_template.c: Update using type-generic macros.
1175         * math/s_catanh_template.c: Likewise.
1176         * math/s_ctan_template.c: Likewise.
1177         * math/s_ctanh_template.c: Likewise.
1179         * math/s_catanf.c: Removed.
1180         * math/s_catan.c: Removed.
1181         * math/s_catanl.c: Removed.
1182         * math/s_catanhf.c: Removed.
1183         * math/s_catanh.c: Removed.
1184         * math/s_catanhl.c: Removed.
1185         * math/s_ctanf.c: Removed.
1186         * math/s_ctan.c: Removed.
1187         * math/s_ctanl.c: Removed.
1188         * math/s_ctanhf.c: Removed.
1189         * math/s_ctanh.c: Removed.
1190         * math/s_ctanhl.c: Removed.
1192         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
1193         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
1194         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
1195         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
1196         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
1197         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
1199         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
1200         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
1201         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
1202         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
1204 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1206         * s_catan_template.c: Copy of s_catan.c.
1207         * s_catanh_template.c: Copy of s_catanh.c.
1208         * s_ctan_template.c: Copy of s_ctan.c.
1209         * s_ctanh_template.c: Copy of s_ctanh.c.
1211 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1213         * math/Makefile (gen-libm-calls): Move
1214         casin, casinh, csin, csinh here.
1215         (libm-calls): Remove the above.
1217         * math/s_casin_template.c: Update using type-generic macros.
1218         * math/s_casinh_template.c: Likewise.
1219         * math/s_csin_template.c: Likewise.
1220         * math/s_csinh_template.c: Likewise.
1221         * math/k_casinh_template.c: Likewise.
1223         * math/s_casinf.c: Removed.
1224         * math/s_casin.c: Removed.
1225         * math/s_casinl.c: Removed.
1226         * math/s_casinh.c: Removed.
1227         * math/s_casinhf.c: Removed.
1228         * math/s_casinhl.c: Removed.
1229         * math/s_csin.c: Removed.
1230         * math/s_csinf.c: Removed.
1231         * math/s_csinl.c: Removed.
1232         * math/s_csinh.c: Removed.
1233         * math/s_csinhf.c: Removed.
1234         * math/s_csinhl.c: Removed.
1235         * math/k_casinh.c: Removed.
1236         * math/k_casinhf.c: Removed.
1237         * math/k_casinhl.c: Removed.
1239         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
1240         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
1241         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
1242         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
1244         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
1245         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
1246         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
1247         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
1248         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
1249         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
1250         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
1251         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
1253         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
1254         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
1255         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
1256         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
1258         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
1259         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
1260         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
1261         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
1263 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1265         * s_casin_template.c: Copy of s_casin.c.
1266         * s_casinh_template.c: Copy of s_casinh.c.
1267         * s_csin_template.c: Copy of s_csin.c.
1268         * s_csinh_template.c: Copy of s_csinh.c.
1269         * k_casinh_template.c: Copy of k_casinh.c.
1271 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
1273         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
1275 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1277         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
1278         (mul_split) Remove, rename as mul_splitl, remove
1279         redundant float.h include, and include via mul_splitl.h
1281         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1282         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1283         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1284         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
1285         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1287         * math/mul_splitl.h: New file.
1289         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
1290         Move into mul_split.h, and remove redundant float.h include.
1292         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
1293         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
1294         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1295         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
1297         * math/mul_split.h: New file.
1299 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1301         * math/Makefile (libm-gen-calls): Move
1302         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
1303         (libm-calls): Remove above.
1305         * math/s_cacos_template.c: Update using type-generic macros.
1306         * math/s_cacosh_template.c: Likewise.
1307         * math/s_ccos_template.c: Likewise.
1308         * math/s_ccosh_template.c: Likwise.
1310         * math/s_cacosf.c: Removed.
1311         * math/s_cacos.c: Removed.
1312         * math/s_cacosl.c: Removed.
1313         * math/s_cacoshf.c: Removed.
1314         * math/s_cacosh.c: Removed.
1315         * math/s_cacoshl.c: Removed.
1316         * math/s_ccosf.c: Removed.
1317         * math/s_ccos.c: Removed.
1318         * math/s_ccosl.c: Removed.
1319         * math/s_ccoshf.c: Removed.
1320         * math/s_ccosh.c: Removed.
1321         * math/s_ccoshl.c: Removed.
1323         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
1324         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
1325         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
1326         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
1327         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
1328         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
1330         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
1331         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
1332         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
1333         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
1335         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
1336         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
1337         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
1338         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
1340 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1342         * s_cacos_template.c: Copy of s_cacos.c.
1343         * s_cacosh_template.c: Copy of s_cacosh.c.
1344         * s_ccos_template.c: Copy of s_ccos.c.
1345         * s_ccosh_template.c: Copy of s_ccosh.c.
1347 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1349         * stdlib/tst-strtod-round-skeleton.c:
1350         Refactored from tst-strtod-round.c.
1352         (L_): New macro to apply literal modifier.
1353         (FNPFX): New macro to select str or wcs prefix.
1354         (CHAR): New macro to choose wchar_t or char.
1355         (STRM): New macro to choose printf for tested character type.
1357         (STRTO): New macro to choose appropriate string -> real function.
1358         (FNPFXS): Stringitized version of FNPFX.
1359         (STR): Support for above macro.
1360         (STRX): Likewise.
1362         (TEST): Update with above macros.
1363         (test): Likewise.
1364         (GEN_ONE_TEST): Likewise.
1365         (test_in_one_mode): Likewise.
1367         * stdlib/tst-strtod-round.c: New file.
1368         * wcsmbs/tst-wcstod-round.c: New file.
1370         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
1371         (tst-wcstod-round): Add libm depencency for fesetround.
1373 2016-08-19  Zack Weinberg  <zackw@panix.com>
1375         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
1377 2016-08-18  Torvald Riegel  <triegel@redhat.com>
1379         [BZ #20477]
1380         * resolv/res_hconf.c (do_init): Use atomic access.
1381         * resolv/res_hconf.h: Add comments.
1382         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
1383         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
1384         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1386 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
1388         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
1389         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
1390         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1391         Likewise.
1393 2016-08-18  Florian Weimer  <fweimer@redhat.com>
1395         [BZ #16907]
1396         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
1397         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
1398         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
1399         (__attribute__): Remove definition.
1401 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1403         * sysdeps/ieee754/ldbl-128/e_asinl.c:
1404         Remove unused sqrtl declaration.
1406 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1408         * math/Makefile: (gen-libm-templates.stmp): New rule.
1409         (libm-calls): Move carg conj cimag and cabs into ...
1410         (gen-libm-calls): New variable.
1411         (generated): Inform Make objects from gen-libm-calls
1412         may be generated.
1414         * sysdeps/generic/math-type-macros.h: New file.
1415         * sysdeps/generic/math-type-macros-float.h: Likewise.
1416         * sysdeps/generic/math-type-macros-double.h: Likewise.
1417         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1418         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
1419         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
1421         * math/cabs.c: Refactor into
1422         * math/cabs_template.c: new file.
1423         * math/cabsf.c: Removed.
1424         * math/cabsl.c: Removed.
1425         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
1426         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
1428         * math/carg.c: Refactor into
1429         * math/carg_template.c: new file.
1430         * math/cargf.c: Removed.
1431         * math/cargl.c: Removed.
1432         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
1433         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
1435         * math/conj.c: Refactor into
1436         * math/conj_template.c: new file.
1437         * math/conjf.c: Removed.
1438         * math/conjl.c: Removed.
1439         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
1440         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
1442         * math/cimag.c: Refactor into
1443         * math/cimag_template.c: new file.
1444         * math/cimagf.c: Removed.
1445         * math/cimagl.c: Removed.
1446         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1447         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1449         * math/cimag.c: Refactor into
1450         * math/cimag_template.c: new file.
1451         * math/cimagf.c: Removed.
1452         * math/cimagl.c: Removed.
1453         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1454         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1456 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1458         Reduce time to expected nptl/tst-once5 failure.
1459         * nptl/tst-once5.cc (TIMEOUT): Define.
1461 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1463         [BZ #20452]
1464         Avoid additional copies of objects in libc.a in static libraries.
1465         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
1466         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
1467         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
1468         rt-sysdep.
1469         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
1470         Add nptl-sysdep.
1471         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
1472         Add ptw-sysdep.
1473         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
1474         rt-sysdep.
1475         * sysdeps/unix/sysv/linux/alpha/Makefile
1476         (libpthread-shared-only-routines): Add ptw-sysdep,
1477         ptw-sigprocmask, ptw-rt_sigaction.
1478         * sysdeps/unix/sysv/linux/ia64/Makefile
1479         (librt-shared-only-routines): Add rt-sysdep.
1480         * sysdeps/unix/sysv/linux/i386/Makefile
1481         (libpthread-shared-only-routines): Add libc-do-syscall.
1482         * sysdeps/unix/sysv/linux/microblaze/Makefile
1483         (libpthread-shared-only-routines): Add sysdep.
1484         * sysdeps/unix/sysv/linux/powerpc/Makefile
1485         (librt-shared-only-routines): Add rt-sysdep.
1486         (libpthread-shared-only-routines): Add sysdep.
1487         * sysdeps/unix/sysv/linux/s390/Makefile
1488         (librt-shared-only-routines): Add rt-sysdep.
1489         * sysdeps/unix/sysv/linux/sparc/Makefile
1490         (librt-shared-only-routines): Add rt-sysdep.
1491         (libpthread-shared-only-routines): Add sysdep.
1492         * sysdeps/unix/sysv/linux/tile/Makefile
1493         (libpthread-shared-only-routines): Likewise.
1495 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
1497         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
1498         Mask implicit bit out of unpacked value.
1499         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
1500         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
1501         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
1503         * sysdeps/sparc/fpu/fesetexcept.c: New file.
1505         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
1507         * sysdeps/s390/fpu/fesetexcept.c: New file.
1509         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
1510         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
1511         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
1513         * sysdeps/mips/fpu/fesetexcept.c: New file.
1515         * sysdeps/m68k/fpu/fesetexcept.c: New file.
1517         * sysdeps/ia64/fpu/fesetexcept.c: New file.
1519         * sysdeps/hppa/fpu/fesetexcept.c: New file.
1521         * sysdeps/arm/fesetexcept.c: New file.
1523         * sysdeps/alpha/fpu/fesetexcept.c: New file.
1525         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
1527         * math/fesetexcept.c: New file.
1528         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
1529         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
1530         * math/fenv.h: Define
1531         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1532         <bits/libc-header-start.h> instead of including <features.h>.
1533         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
1534         declaration.
1535         * manual/arith.texi (fesetexcept): Document function.
1536         * math/Versions (fesetexcept): New libm symbol at version
1537         GLIBC_2.25.
1538         * math/Makefile (libm-support): Add fesetexcept.
1539         (tests): Add test-fesetexcept and test-fesetexcept-traps.
1540         * math/test-fesetexcept.c: New file.
1541         * math/test-fesetexcept-traps.c: Likewise.
1542         * sysdeps/nacl/libm.abilist: Update.
1543         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1544         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1545         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1546         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1547         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1548         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1549         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1550         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1551         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1552         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1553         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1554         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1556         Likewise.
1557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1558         Likewise.
1559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1560         Likewise.
1561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1562         Likewise.
1563         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1564         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1565         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1566         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1567         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1569         Likewise.
1570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1571         Likewise.
1572         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1573         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1574         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1576 2016-08-16  Florian Weimer  <fweimer@redhat.com>
1578         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
1579         New.
1580         (do_test): Apply default_stack_size_in_mb if not set.
1581         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
1583 2016-08-15  Andreas Schwab  <schwab@suse.de>
1585         [BZ #20435]
1586         CVE-2016-6323
1587         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
1588         as .cantunwind.
1590 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
1592         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
1593         comment from fraiseexcpt.c.
1595         * math/test-fexcept.c (feraiseexcept_exact): New function.
1596         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
1597         (test_except): Likewise.
1599 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
1601         [BZ #20455]
1602         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
1603         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
1604         to be restored.
1606         * math/test-fexcept-traps.c: New file.
1607         * math/test-fexcept.c: Likewise.
1608         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
1609         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
1610         macro.
1611         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
1612         (EXCEPTION_SET_FORCES_TRAP): Likewise.
1614 2016-08-09  Torvald Riegel  <triegel@redhat.com>
1616         * include/atomic.h (atomic_fetch_and_relaxed,
1617         atomic_fetch_and_release, atomic_fetch_or_release,
1618         atomic_fetch_xor_release): New.
1620 2016-08-06  Christian Seiler  <christian@iwakd.de>
1622         [BZ #20444]
1623         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
1624         MACH_PORT_NULL.
1626 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1628         * math/s_fdim.c: Avoid alias renamed.
1629         * math/s_fdimf.c: Likewise.
1630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1631         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1632         Add s_fdimf-vis3, s_fdim-vis3.
1633         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
1634         (CFLAGS-s_fdim-vis3.c): Likewise.
1635         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
1636         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
1638 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1641         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1642         Remove s_fdimf-vis3, s_fdim-vis3.
1643         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
1644         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
1645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
1646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
1647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
1648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
1649         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
1650         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
1651         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
1652         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
1654 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1656         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
1657         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
1658         -Wa,-Av9a -mvis.
1660 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1662         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
1663         LIT() to individual constants in simple expressions
1664         after splitting on spaces.
1665         (_apply_lit): Rename replaced version, and use it to
1666         apply to what appears to be a token.
1668         * math/libm-test.inc: Fix many, many issues with
1669         spacing.
1671 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
1673         * math/math.h: Move comment about <bits/mathdef.h> definitions
1674         above inclusion of <bits/mathdef.h>.  Do not mention
1675         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
1677 2016-08-05  Torvald Riegel  <triegel@redhat.com>
1679         * include/atomic.h (atomic_exchange_relaxed): New.
1681 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
1683         * math/e_scalb.c: Do not include <fenv.h>.
1684         (invalid_fn): Do calculation resulting in NaN instead of raising
1685         FE_INVALID and returning a NaN explicitly.
1686         * math/e_scalbf.c: Do not include <fenv.h>.
1687         (invalid_fn): Do calculation resulting in NaN instead of raising
1688         FE_INVALID and returning a NaN explicitly.
1689         * math/e_scalbl.c: Do not include <fenv.h>.
1690         (invalid_fn): Do calculation resulting in NaN instead of raising
1691         FE_INVALID and returning a NaN explicitly.
1693 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
1695         * po/de.po: Updated from Translation Project.
1696         * po/fi.po: Likewise.
1697         * po/sv.po: Likewise.
1699 2016-08-04  Florian Weimer  <fweimer@redhat.com>
1701         [BZ #20452]
1702         Use sysdep.o from libc.a in static libraries.
1703         * sysdeps/unix/sysv/linux/i386/Makefile
1704         (libpthread-shared-only-routines): Add sysdep.
1705         (librt-shared-only-routines): Likewise.
1707 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1709         * math/tgmath.h (nextdown): Define if
1710         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
1711         (nextup): Likewise.
1713         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
1714         macro.
1715         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
1716         Document.
1717         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
1718         Document macro.
1719         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
1720         (exp10f): Likewise.
1721         (exp10l): Likewise.
1722         * math/bits/mathcalls.h (exp10): Declare if
1723         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
1725         * manual/arith.texi (nextup): Fix typo in last change.
1727 2016-08-03  Zack Weinberg  <zackw@panix.com>
1729         [BZ #19239]
1730         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
1731         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
1732         define major, minor, and makedev to issue deprecation warnings on use.
1733         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
1734         previously-activated deprecation warnings for these macros and prevent
1735         subsequent inclusions of this header from having any effect.
1736         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
1737         including <sys/sysmacros.h>, and undefine it again afterward.
1739 2016-08-03  Zack Weinberg  <zackw@panix.com>
1741         * sysdeps/generic/sys/sysmacros.h: Delete file.
1742         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
1743         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
1744         * bits/sysmacros.h: ... here; this encoding is now the generic
1745         encoding.  Now defines only the following macros:
1746         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
1747         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
1748         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
1750         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
1751         bits/sysmacros.h and the above new macros to generate the
1752         public implementations of major, minor, and makedev.
1753         * misc/tst-makedev.c: New test.
1754         * include/sys/sysmacros.h: New wrapper.
1756         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
1757         (routines): Add makedev.
1758         (tests): Add tst-makedev.
1759         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
1760         gnu_dev_makedev.
1761         * posix/Makefile (headers): Remove sys/sysmacros.h.
1762         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
1764         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
1765         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
1766         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
1767         * sysdeps/unix/sysv/linux/alpha/libc.abilist
1768         * sysdeps/unix/sysv/linux/arm/libc.abilist
1769         * sysdeps/unix/sysv/linux/hppa/libc.abilist
1770         * sysdeps/unix/sysv/linux/i386/libc.abilist
1771         * sysdeps/unix/sysv/linux/ia64/libc.abilist
1772         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1773         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
1774         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
1775         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1776         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1777         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1778         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1779         * sysdeps/unix/sysv/linux/nios2/libc.abilist
1780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1784         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
1785         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
1786         * sysdeps/unix/sysv/linux/sh/libc.abilist
1787         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1788         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1791         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
1792         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
1793         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
1794         Add GLIBC_2.25.
1796         * include/features.h (__glibc_clang_prereq): New macro.
1797         * misc/sys/cdefs.h (__glibc_clang_has_extension)
1798         (__attribute_deprecated_msg__): New macros.
1800 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1802         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
1803         macro.
1804         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
1805         * manual/arith.texi (issignaling): Document as ISO from TS
1806         18661-1:2014.
1807         (nextup): Likewise.
1808         (nextupf): Likewise.
1809         (nextupl): Likewise.
1810         (nextdown): Likewise.
1811         (nextdownf): Likewise.
1812         (nextdownl): Likewise.
1813         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
1814         macro.
1815         * math/math.h: Define
1816         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1817         <bits/libc-header-start.h> instead of including <features.h>.
1818         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
1819         [__USE_GNU].
1820         * math/bits/mathcalls.h (nextdown): Declare if
1821         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
1822         (nextup): Likewise.
1823         (__issignaling): Likewise.
1825 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1827         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
1828         check, and remove __glibc_likely hint
1829         from FP_INFINITE check.
1830         * s_csinhf.c (__csinhf): Likewise.
1832         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
1833         hint from FP_INFINITE check.
1834         * s_csinhl.c (__csinhl): Likewise.
1836 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1838         * math/Makefile (libm-calls): Insert F placeholder into
1839         object names.  Move w_lgamma_compat* routines into
1840         (libm-compat-calls): New variable.
1841         (libm-compat-calls-ldouble-yes): New variable.
1842         (calls): Insert F placeholder.
1843         (generated): Redefine using new type-foreach macro call.
1844         (routines): Likewise.
1846         (types): New variable to hold a list of symbolic names
1847         for each type supported by the target machine.
1848         (libm-routines): Redefine using new types variable.
1849         (type-foreach): macro to replace fooF with the
1850         appropriately suffixed foo for each types.
1852         (type-ldouble-suffix): New variable.
1853         (type-ldouble-routines): Likewise.
1854         (type-ldouble-yes): Likewise.
1855         (type-double-suffix): Likewise.
1856         (type-double-routines): Likewise.
1857         (type-float-suffix): Likewise.
1858         (type-float-routines): Likewise.
1860         (dbl-only-routines): Remove.
1861         (long-c-yes): Likewise.
1862         (long-m-routines): Likewise.
1863         (long-m-support): Likewise.
1864         (long-m-yes): Likewise.
1865         (test-longdouble-yes): Likewise.
1867         (test-float.o): Simplify by increasing the scope of the
1868         recipe which adds libm-test.stmp to the vector types.
1869         (test-ifloat.o): Likewise.
1870         (test-float-finite.o): Likewise.
1871         (test-double.o): Likewise
1872         (test-idouble.o): Likewise.
1873         (test-double-finite.o): Likewise.
1874         (test-ldouble.o): Likewise
1875         (test-ildoubl.o): Likewise.
1876         (test-ldouble-finite.o): Likewise.
1878         (libm-tests): Redefine type tests using foreach and the
1879         list of types in types.
1881         (CPPFLAGS-test-ildoubl.c): Rename to
1882         (CPPFLAGS-test-ildouble.c): New variable
1884         * math/test-ildoubl.c: Rename to
1885         * math/test-ildouble.c: New file.
1887 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1889         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
1890         Use fabsl instead of fabs.
1891         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
1892         Likewise.
1893         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
1894         Add long double suffix to constant to ensure proper
1895         promotion to long double.
1897 2016-08-03  Tom Tromey  <tom@tromey.com>
1899         [BZ #20311]
1900         * nptl_db/Makefile (headers): Add proc_service.h.
1901         * nptl_db/proc_service.h: Add include guard.  Use
1902         __BEGIN/__END_DECLS.
1903         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
1904         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
1905         arguments.
1908 2016-08-03  Florian Weimer  <fweimer@redhat.com>
1910         [BZ #17730]
1911         Avoid using memalign for TCB allocations.
1912         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
1913         (_dl_allocate_tls_storage): Use malloc and manual alignment.
1914         Avoid alignment gap in the TLS_DTV_AT_TP case.
1915         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
1916         determine the pointer to free.
1917         * nptl/tst-tls3-malloc.c: New test.
1918         * nptl/Makefile (tests): Add it.
1919         (tst-tls3-malloc): Link with libdl, libpthread.
1920         (LDFLAGS-tst-tls3-malloc): Set.
1921         (tst-tls3-malloc.out): Depend on DSO used in test.
1923 2016-08-03  Florian Weimer  <fweimer@redhat.com>
1925         [BZ #17730]
1926         Avoid using memalign for TLS allocations.
1927         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
1928         is_static member with to_free member.
1929         (union dtv): Use struct dtv_pointer.
1930         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
1931         dtv_pointer instead of is_static.
1932         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
1933         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
1934         instead of val.
1935         (allocate_dtv_entry): New function.
1936         (allocate_and_init): Return struct dtv_pointer.  Call
1937         allocate_dtv_entry instead of __libc_memalign.
1938         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
1939         instead of val.
1940         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
1941         instead of is_static.  Adjust call to allocate_and_init.
1942         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
1943         struct dtv_pointer instead of val.
1945 2016-08-03  Florian Weimer  <fweimer@redhat.com>
1947         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
1948         (MALLOC_ALIGN_MASK): Move ...
1949         * malloc/malloc-internal.h: ... to here.
1950         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
1952 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1954         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
1955         (UDP_ENCAP_GTP1U): Likewise.
1957         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
1958         (PF_MAX): Update value.
1959         (AF_QIPCRTR): New macro.
1961 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
1963         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
1964         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1965         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1966         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
1967         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1968         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
1969         s_truncf-vis3, s_trunc-vis3.
1970         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
1971         (CFLAGS-s_ceil-vis3.c): Likewise.
1972         (CFLAGS-s_floorf-vis3.c): Likewise.
1973         (CFLAGS-s_floor-vis3.c): Likewise.
1974         (CFLAGS-s_truncf-vis3.c): Likewise.
1975         (CFLAGS-s_trunc-vis3.c): Likewise.
1976         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
1977         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
1978         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
1979         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
1980         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
1981         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
1982         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
1983         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
1984         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
1985         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
1986         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
1987         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
1989 2016-08-02  David S. Miller  <davem@davemloft.net>
1991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
1992         (__nearbyint_vis3): Don't check for sNaN before float register is
1993         loaded with the incoming argument.
1994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
1995         (__nearbyintf_vis3): Likewise.
1996         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
1997         Likewise.
1998         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
1999         Likewise.
2001         * string/test-strncmp.c (do_test_limit): Make sure the test data
2002         stream is aligned as required for the type "CHAR".
2003         (do_test): Likewise.
2005 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2007         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
2008         by beq instructions jumping to the end of the function.
2009         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
2010         clobber list. Use "i" constraint instead of "X".
2011         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
2012         of "X".
2014 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
2016         * bits/libc-header-start.h: New file.
2017         * Makefile (headers): Add bits/libc-header-start.h.
2018         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
2019         (__GLIBC_USE): New macro.
2020         * libio/stdio.h: Define
2021         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2022         <bits/libc-header-start.h> instead of including <features.h>.
2023         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
2024         (open_memstream): Likewise.
2025         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
2026         (__asprintf): Likewise.
2027         (asprintf): Likewise.
2028         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
2029         (getdelim): Likewise.
2030         (getline): Likewise.
2031         * string/string.h: Define
2032         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2033         <bits/libc-header-start.h> instead of including <features.h>.
2034         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
2035         (strndup): Likewise.
2036         * wcsmbs/wchar.h: Define
2037         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2038         <bits/libc-header-start.h> instead of including <features.h>.
2039         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
2040         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
2042 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2044         Support linking against compatibility symbols, for use in tests.
2045         * include/libc-symbols.h (symbol_version_reference): New macro.
2046         (symbol_version): Use it.
2047         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
2048         (compat_symbol): Use compat_symbol_reference.
2049         (compat_symbol_1, compat_symbol_2): Remove.
2050         (compat_symbol_reference, compat_symbol_reference_1)
2051         (compat_symbol_reference_2): New macro.  Use
2052         symbol_version_reference.
2054 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2056         [BZ #19469]
2057         * malloc/Makefile (CPPFLAGS): Compile tests with
2058         -DTEST_NO_MALLOPT.
2059         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
2061 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
2063         [BZ #20033]
2064         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
2065         finite version.
2066         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
2067         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
2068         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
2069         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
2070         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
2071         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
2072         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
2073         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
2074         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
2075         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
2076         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
2077         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
2078         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
2079         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
2080         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
2081         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
2082         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
2083         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
2084         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
2085         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
2086         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
2087         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
2088         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
2089         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
2090         in zero power.
2092 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2094         [BZ #20370]
2095         * malloc/arena.c (get_free_list): Update comment.  Assert that
2096         arenas on the free list have no attached threads.
2097         (remove_from_free_list): New function.
2098         (reused_arena): Call it.
2100 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
2102         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
2103         when it is a NaN.
2104         [_IEEE_FP_INEXACT] Remove.
2105         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
2106         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
2107         when it is a NaN.
2108         [_IEEE_FP_INEXACT] Remove.
2109         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
2110         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
2111         when it is a NaN.
2112         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
2113         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
2114         when its absolute value is greater than 0x1.0p52.
2115         [_IEEE_FP_INEXACT] Remove.
2116         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
2117         when its absolute value is greater than 0x1.0p23.
2118         [_IEEE_FP_INEXACT] Remove.
2120 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
2122         * version.h (RELEASE): Set to "development"
2123         (VERSION): Set to 2.24.90.
2124         * NEWS: Add 2.25 section.
2126         * version.h (RELEASE): Set to "stable"
2127         (VERSION): Set to 2.24.
2128         * include/features.h (__GLIBC_MINOR__): Set to 24.
2130         * NEWS: Add 2.24 fixed bugs.
2131         * po/libc.pot: Regenerate.
2133 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
2135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2136         [$(subdir) = math] (libm-sysdep_routines): Remove.
2137         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2138         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2139         s_truncf-vis3, s_trunc-vis3.
2140         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
2142         file.
2143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
2144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
2145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
2149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
2150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
2152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
2153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
2154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
2155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
2156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
2157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
2158         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2159         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2160         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2161         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
2162         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
2163         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
2164         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
2165         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2166         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2167         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2168         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2169         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2170         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
2171         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2172         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2173         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
2174         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2175         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2176         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
2177         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
2178         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
2179         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
2180         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2181         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2182         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
2183         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
2184         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
2185         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
2187 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
2189         [BZ #20384]
2190         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
2191         test-double-libmvec-sincos-avx-main.o,
2192         test-double-libmvec-sincos-avx2-main.o,
2193         test-double-libmvec-sincos-main.o,
2194         test-float-libmvec-sincosf-avx-main.o,
2195         test-float-libmvec-sincosf-avx2-main.o and
2196         test-float-libmvec-sincosf-main.o.
2197         test-float-libmvec-sincosf-avx512-main.o.
2198         ($(objpfx)test-double-libmvec-sincos): Also link with
2199         $(objpfx)test-double-libmvec-sincos-main.o.
2200         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
2201         $(objpfx)test-double-libmvec-sincos-avx-main.o.
2202         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
2203         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
2204         ($(objpfx)test-float-libmvec-sincosf): Also link with
2205         $(objpfx)test-float-libmvec-sincosf-main.o.
2206         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
2207         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
2208         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
2209         test-double-libmvec-sincos-avx512-main.o and
2210         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
2211         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
2212         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
2213         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
2214         (CFLAGS-test-double-libmvec-sincos.c): Removed.
2215         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
2216         (CFLAGS-test-double-libmvec-sincos-main.c): New.
2217         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
2218         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
2219         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
2220         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
2221         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
2222         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
2223         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
2224         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
2225         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
2226         -DREQUIRE_AVX2.
2227         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
2228         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
2229         -DREQUIRE_AVX512F.
2230         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
2231         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
2232         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
2233         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
2234         file.
2235         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
2236         Likewise.
2237         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
2238         Likewise.
2239         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
2240         Likewise.
2241         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
2242         Likewise.
2243         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
2244         Likewise.
2245         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
2246         Likewise.
2247         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
2248         Likewise.
2250 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
2252         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
2254 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
2256         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
2257         and typo in a comment about AT_HWCAP entry.
2259 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2261         * sysdeps/aarch64/libm-test-ulps: Updated.
2263 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2265         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
2266         of r13 as it is not restored in mvcle case.
2268 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
2270         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
2271         Rename "ret" to "__ret".
2272         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
2273         inline_syscall5, inline_syscall6): Likewise.
2275 2016-07-19   Will Newton  <will.newton@gmail.com>
2277         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
2278         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
2279         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
2280         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
2281         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
2283 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
2285         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
2286         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
2287         -mfpmath=387 with $(rtld-CFLAGS).
2288         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
2289         $(rtld-CFLAGS).
2291 2016-07-18   Ross Burton  <ross.burton@intel.com>
2292              Khem Raj  <raj.khem@gmail.com>
2294         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
2295         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
2296         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
2297         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
2298         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
2299         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
2300         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
2301         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
2302         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
2303         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
2304         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
2305         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
2306         R_METAG_TLS_DTPOFF): New.
2308 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2309             Matt Clay  <mclay@lycos.com>
2311         [BZ #20357]
2312         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
2313         to call __mpsin/__mpcos and to negate values.
2314         * math/auto-libm-test-in: Add test.
2315         * math/auto-libm-test-out: Regenerate.
2317 2016-07-18  Zack Weinberg  <zackw@panix.com>
2319         * grp/Makefile: Don't install the internal header grp-merge.h.
2321 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2323         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2325 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2327         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
2329 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2331         [BZ #15368]
2332         * sysdeps/unix/sysv/linux/nptl-signals.h
2333         (__nptl_clear_internal_signals): New function.
2334         (__libc_signal_block_all): Likewise.
2335         (__libc_signal_block_app): Likewise.
2336         (__libc_signal_restore_set): Likewise.
2337         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
2338         implementation.
2339         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
2340         the cached pid/tid value in pthread structure.
2342 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
2344         [BZ #20347]
2345         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2347 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2349         [BZ #20348]
2350         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
2351         preadv64, pwrite64 and pwritev64.
2353 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2355         [BZ #20350]
2356         * posix/tst-preadwrite.c: Renamed to ...
2357         * posix/tst-preadwrite-common.c: This.
2358         (PREAD): Removed.
2359         (PWRITE): Likewise.
2360         (STRINGIFY): Likewise.
2361         (STRINGIFY2): Likewise.
2362         (do_prepare): Make it static and remove function arguments.
2363         (do_test): Likewise.
2364         (PREPARE): Updated.
2365         (TEST_FUNCTION): New.
2366         (name): Make it static.
2367         (fd): Likewise.
2368         (do_prepare): Use create_temp_file.
2369         (do_test): Renamed to ...
2370         (do_test_with_offset): This.  Make it static and accept offset.
2371         Properly check return value of PWRITE and PREAD.  Return bytes
2372         read.  Don't close fd nor unlink name.
2373         * posix/tst-preadwrite.c: Rewrite.
2374         * posix/tst-preadwrite64.c: Likewise.
2376 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2378         [BZ #20309]
2379         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
2380         -mtls-dialect=gnu2 works.
2381         * configure: Regenerated.
2382         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
2383         (tests): Add tst-gnu2-tls1.
2384         (modules-names): Add tst-gnu2-tls1mod.
2385         ($(objpfx)tst-gnu2-tls1): New.
2386         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
2387         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
2388         * elf/tst-gnu2-tls1.c: New file.
2389         * elf/tst-gnu2-tls1mod.c: Likewise.
2390         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
2391         bytes for push in the PLT entry to align the stack.
2393 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
2395         [BZ #20349]
2396         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
2398 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2400         [BZ #18707]
2401         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
2402         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
2404 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2406         * sysdeps/unix/sysv/linux/sysdep.h
2407         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
2408         guards.
2409         * misc/tst-preadvwritev-common.c: New file.
2410         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
2411         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
2412         a check for files larger than 2GB.
2414         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2415         (__ASSUME_OFF_DIFF_OFF64): Remove define.
2416         * sysdeps/unix/sysv/linux/pread.c
2417         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
2418         __OFF_T_MATCHES_OFF64_T.
2419         * sysdeps/unix/sysv/linux/pread64.c
2420         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
2421         * sysdeps/unix/sysv/linux/preadv.c
2422         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
2423         * sysdeps/unix/sysv/linux/preadv64.c
2424         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
2425         * sysdeps/unix/sysv/linux/pwrite.c
2426         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
2427         * sysdeps/unix/sysv/linux/pwrite64.c
2428         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
2429         * sysdeps/unix/sysv/linux/pwritev.c
2430         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
2431         * sysdeps/unix/sysv/linux/pwritev64.c
2432         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
2434 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
2436         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2437         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
2439 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2441         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
2443 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2445         [BZ #20240]
2446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2447         (CFLAGS-s_modf-ppc32.c): New variable.
2448         (CFLAGS-s_modff-ppc32.c): Likewise.
2449         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2450         (CFLAGS-s_modf-ppc64.c): Likewise.
2451         (CFLAGS-s_modff-ppc64.c): Likewise.
2453 2016-07-07  Andreas Schwab  <schwab@suse.de>
2455         [BZ #20263]
2456         * nptl/tst-robust10.c: New test.
2457         * nptl/Makefile (tests): Add tst-robust10.
2459 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
2461         [BZ #20263]
2462         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
2464 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2466         * sysdeps/s390/linkmap.h (struct link_map_machine):
2467         Remove member gotplt and add member jmprel.
2468         * sysdeps/s390/s390-32/dl-machine.h
2469         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
2470         instead of gotplt with &got[3].
2471         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
2472         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2474 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
2476         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
2478 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2480         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
2481         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
2482         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2483         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
2484         * libio/vtables.c (_IO_vtable_check)
2485         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2486         * libio/libioP.h (IO_set_accept_foreign_vtables)
2487         [!PTR_MANGLE]: Do not call PTR_MANGLE.
2489 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
2491         [BZ #20314]
2492         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
2493         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
2494         $(common-objpfx)cmath.
2495         ($(common-objpfx)cstdlib): New target.
2496         ($(common-objpfx)cmath): Likewise.
2498 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
2500         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
2502 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2504         [BZ #20327]
2505         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
2506         are not part of the string.
2508 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2510         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
2511         * nptl/tst-cancel4-common.h (fifoname): New variable.
2512         (fifofd): Likewise.
2513         (cl_fifo): New function.
2514         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
2515         SIGINT.
2516         (tf_open): Add early cancel test.
2518 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
2520         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
2522 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
2524         * sysdeps/generic/ldsodefs.h
2525         (dl_symbol_visibility_binds_local_p): New inline function.
2526         * elf/dl-addr.c (determine_info): Treat hidden and internal
2527         symbols as local.
2528         * elf/dl-lookup.c (do_lookup_x): Likewise.
2529         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
2531 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
2533         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
2534         invalid exception for a sNaN input.
2535         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2536         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2537         (__nearbyint_vis3): Likewise
2538         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2539         (__nearbyintf_vis3): Likewise
2540         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
2541         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2542         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
2543         Likewise.
2544         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
2545         Likewise.
2547 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
2549         [BZ #20139]
2550         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
2551         (HAVE_AVX512DQ_ASM_SUPPORT): This.
2552         * sysdeps/x86_64/configure.ac: Require assembler from binutils
2553         2.24 or above.
2554         (HAVE_AVX512_ASM_SUPPORT): Removed.
2555         (HAVE_AVX512DQ_ASM_SUPPORT): New.
2556         * sysdeps/x86_64/configure: Regenerated.
2557         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
2558         check unconditional.
2559         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
2560         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2561         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2562         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2563         Likewise.
2564         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2565         Likewise.
2566         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2567         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2568         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2569         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2570         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
2571         Likewise.
2572         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2573         Likewise.
2574         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2575         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2576         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
2577         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
2578         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
2579         Likewise.
2580         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
2581         Likewise.
2582         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
2583         Likewise.
2584         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
2585         Likewise.
2586         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
2587         Likewise.
2588         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
2589         Likewise.
2590         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
2591         Likewise.
2592         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
2593         Likewise.
2594         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
2595         Likewise.
2596         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
2597         Likewise.
2598         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
2599         Likewise.
2601 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
2603         [BZ #20024]
2604         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
2605         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
2606         of this implementation of vector function.
2607         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2608         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2609         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
2610         Likewise.
2611         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2612         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2613         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
2614         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
2615         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
2616         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
2617         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
2618         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
2619         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
2620         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
2621         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
2622         for testing vector sincos with fixed ABI.
2623         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2624         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2625         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2626         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2627         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2628         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2629         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2630         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
2631         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
2632         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
2633         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
2634         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
2635         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
2636         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
2637         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
2638         * sysdeps/x86_64/fpu/Makefile: Added new tests.
2640 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
2642         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
2644 2016-06-30  Anton Blanchard  <anton@samba.org>
2646         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2647         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
2648         s_sinf-ppc64.
2649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
2650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
2651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
2652         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2654 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2657         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2658         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
2659         e_expf-ppc64.
2660         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
2661         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
2662         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
2663         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2665 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
2667         [BZ #20277]
2668         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
2669         when SHARED is defined.
2671 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
2673         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
2674         (index_arch_Prefer_ERMS): Likewise.
2675         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
2676         __memcpy_erms for Prefer_ERMS.
2677         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2678         (__memmove_erms): Enabled for libc.a.
2679         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
2680         __memmove_erms or Prefer_ERMS.
2681         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
2682         __mempcpy_erms for Prefer_ERMS.
2683         * sysdeps/x86_64/multiarch/memset.S (memset): Return
2684         __memset_erms for Prefer_ERMS.
2686 2016-06-30  Andreas Schwab  <schwab@suse.de>
2688         [BZ #20262]
2689         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
2690         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
2691         of memory.
2693 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
2695         [BZ #18645]
2696         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
2697         (test-extras): Add tst-cleanupx4aux.
2698         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
2699         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
2700         tst-cleanupx4aux.o.
2701         * nptl/tst-cleanupx4aux.c: New file.
2703 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
2705         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2707 2016-06-29  Andreas Schwab  <schwab@suse.de>
2709         [BZ #20260]
2710         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
2711         address before the beginning of the string as an integer to avoid
2712         array-bounds warning.
2714 2016-06-28  Richard Henderson  <rth@redhat.com>
2716         * elf/elf.h (EM_BPF): New.
2717         (EM_NUM): Update.
2718         (R_BPF_NONE, R_BPF_MAP_FD): New.
2720         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
2721         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
2722         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
2723         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
2724         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
2725         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
2726         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
2727         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
2728         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
2729         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
2730         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
2731         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
2732         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
2733         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
2734         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
2735         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
2736         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
2737         (EM_NUM): Update.
2739 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
2741         [BZ #18960]
2742         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
2743         Set _nl_current_LC_CATEGORY_used to two instead of one.
2745 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
2747         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
2748         (do_test): ... this.
2749         (TEST_FUNCTION): New macro.
2750          Include test-skeleton.c.
2751         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
2752         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
2754 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
2756         [BZ #15479]
2757         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
2758         floating-point environment rather than just control word.
2759         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2760         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
2761         floating-point environment, with "invalid" exceptions merged in,
2762         rather than just control word.
2763         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
2764         * math/libm-test.inc (trunc_test_data): Do not allow spurious
2765         "inexact" exceptions.
2767         [BZ #15479]
2768         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
2769         floating-point environment rather than just control word.
2770         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2771         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
2772         floating-point environment, with "invalid" exceptions merged in,
2773         rather than just control word.
2774         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
2775         * math/libm-test.inc (floor_test_data): Do not allow spurious
2776         "inexact" exceptions.
2778         [BZ #15479]
2779         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
2780         floating-point environment rather than just control word.
2781         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2782         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
2783         floating-point environment, with "invalid" exceptions merged in,
2784         rather than just control word.
2785         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
2786         * math/libm-test.inc (ceil_test_data): Do not allow spurious
2787         "inexact" exceptions.
2789 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
2791         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
2792         __libc_vfork.
2793         (__vfork) [IS_IN (libc)]: Remove alias.
2794         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
2795         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2796         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2798 2016-06-24  Torvald Riegel  <triegel@redhat.com>
2800         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
2801         of atomic_compare_and_exchange_bool_rel.
2802         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2803         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
2804         catomic_compare_and_exchange_bool_rel): Remove.
2805         * sysdeps/aarch64/atomic-machine.h
2806         (atomic_compare_and_exchange_bool_rel): Likewise.
2807         * sysdeps/alpha/atomic-machine.h
2808         (atomic_compare_and_exchange_bool_rel): Likewise.
2809         * sysdeps/arm/atomic-machine.h
2810         (atomic_compare_and_exchange_bool_rel): Likewise.
2811         * sysdeps/mips/atomic-machine.h
2812         (atomic_compare_and_exchange_bool_rel): Likewise.
2813         * sysdeps/microblaze/atomic-machine.h
2814         ( __arch_compare_and_exchange_bool_8_rel,
2815         __arch_compare_and_exchange_bool_16_rel): Likewise.
2816         * sysdeps/powerpc/atomic-machine.h
2817         ( __arch_compare_and_exchange_bool_8_rel,
2818         __arch_compare_and_exchange_bool_16_rel): Likewise.
2819         * sysdeps/powerpc/powerpc32/atomic-machine.h
2820         ( __arch_compare_and_exchange_bool_32_rel,
2821         __arch_compare_and_exchange_bool_64_rel): Likewise.
2822         * sysdeps/powerpc/powerpc64/atomic-machine.h
2823         ( __arch_compare_and_exchange_bool_32_rel,
2824         __arch_compare_and_exchange_bool_64_rel): Likewise.
2825         * sysdeps/tile/atomic-machine.h
2826         (atomic_compare_and_exchange_bool_rel): Likewise.
2828 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
2830         [BZ #20296]
2831         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
2832         when either argument is a NaN.
2833         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2834         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
2836         * math/libm-test.inc (snan_value_ld): New macro.
2837         (isgreater_test_data): Add sNaN tests.
2838         (isgreaterequal_test_data): Likewise.
2839         (isless_test_data): Likewise.
2840         (islessequal_test_data): Likewise.
2841         (islessgreater_test_data): Likewise.
2842         (isunordered_test_data): Likewise.
2843         (nextafter_test_data): Likewise.
2844         (nexttoward_test_data): Likewise.
2845         (remainder_test_data): Likewise.
2846         (remquo_test_data): Likewise.
2847         (significand_test_data): Likewise.
2848         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
2850 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2852         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
2853         environment macros are defined.
2854         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
2856 2016-06-23  Florian Weimer  <fweimer@redhat.com>
2858         [BZ #20191]
2859         Implement vtable verification in libio.
2860         * Makerules (shlib.lds): Place __libc_IO_vtables section.
2861         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
2862         * debug/vdprintf_chk.c (__vdprintf_chk): Call
2863         _IO_new_file_init_internal instead of _IO_file_init.
2864         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
2865         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
2866         * libio/Makefile (routines): Add vtables.
2867         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
2868         (_IO_init): Remove, not for internal use.
2869         (_IO_init_internal): Declare, internal replacement for _IO_init.
2870         (_IO_file_init): Remove, not for internal use.
2871         (_IO_new_file_init): Remove, not for internal use.
2872         (_IO_new_file_init_internal): Declare, internal replacement for
2873         _IO_new_file_init.
2874         (_IO_old_file_init): Remove, not for internal use.
2875         (_IO_old_file_init_internal): Declare, internal replacement for
2876         _IO_old_file_init.
2877         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
2878         internal use.
2879         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
2880         Declare.
2881         (libio_vtable): New macro.
2882         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
2883         functions.
2884         * libio/fileops.c (_IO_new_file_init_internal): Rename from
2885         _IO_new_file_init.
2886         (_IO_new_file_init): New externally visible wrapper which disables
2887         vtable verification.
2888         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
2889         Define as vtables.
2890         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
2891         (_IO_init): New externally visible wrapper which disables
2892         vtable verification.
2893         * libio/iofdopen.c (_IO_new_fdopen): Call
2894         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
2895         comment.
2896         * libio/iofopen.c (__fopen_internal): Call
2897         _IO_new_file_init_internal instead of _IO_file_init.
2898         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
2899         Define as vtables.
2900         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
2901         _IO_new_file_init_internal instead of _IO_file_init.
2902         * libio/iopopen.c (_IO_new_popen): Likewise.
2903         (_IO_proc_jumps): Define as vtable.
2904         * libio/iovdprintf.c (_IO_vdprintf): Call
2905         _IO_new_file_init_internal instead of _IO_file_init.
2906         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
2907         (__open_memstream): Call _IO_init_internal instead of _IO_init.
2908         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
2909         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
2910         _IO_old_file_init.
2911         (_IO_old_file_init): New externally visible wrapper which disables
2912         vtable verification.
2913         (_IO_old_file_jumps): Define as vtable.
2914         * libio/oldiofdopen.c (_IO_old_fdopen): Call
2915         _IO_old_file_init_internal instead of _IO_old_file_init.
2916         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2917         * libio/oldiopopen.c (_IO_old_popen): Likewise.
2918         (_IO_old_proc_jumps): Define as vtable.
2919         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
2920         Define as vtables.
2921         * libio/vtables.c: New file.
2922         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
2923         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
2924         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
2925         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
2926         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
2927         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
2928         instead of _IO_init.
2930 2016-06-23  Florian Weimer  <fweimer@redhat.com>
2932         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
2934 2016-06-23  Florian Weimer  <fweimer@redhat.com>
2936         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
2937         potentially unused.
2939 2016-06-22  Florian Weimer  <fweimer@redhat.com>
2941         * test-skeleton.c (write_message): New function.
2942         * malloc/tst-mallocfork2.c (write_message): Remove.
2943         * debug/tst-longjmp_chk2.c (write_indented): New function.
2944         (write_message): Remove.
2945         (stackoverflow_handler): Call write_indented.
2947 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
2949         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
2950         "inexact" exceptions after fnstenv.
2951         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2952         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2953         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2955 2015-06-22  Zack Weinberg  <zackw@panix.com>
2957         * sysdeps/generic/bits/hwcap.h: Moved to ...
2958         * bits/hwcap.h: Here.
2960 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
2962         * sysdeps/aarch64/memcpy.S (memcpy):
2963         Further tuning for performance.
2965 2016-06-21  Florian Weimer  <fweimer@redhat.com>
2967         [BZ #20284]
2968         * malloc/arena.c (reused_arena): Do not return NULL if we start
2969         out with a non-corrupted arena.
2971 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2973         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
2974         * misc/tst-preadvwritev.c: New file.
2975         * misc/tst-preadvwritev64.c: Likewise.
2976         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
2977         usage.
2978         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
2979         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
2980         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
2981         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
2983 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
2985         [BZ #19654]
2986         * sysdeps/x86_64/fpu/Makefile: Added new tests.
2987         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
2988         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
2989         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
2990         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
2991         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
2992         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
2993         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
2994         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
2995         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
2996         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
2997         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
2998         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
2999         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
3000         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
3001         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
3002         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
3003         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
3004         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
3005         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
3006         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
3007         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
3008         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
3009         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
3010         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
3011         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
3013 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3015         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
3016         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
3018 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3020         * sysdeps/aarch64/memcpy.S (memcpy):
3021         Rewrite of optimized memcpy and memmove.
3022         * sysdeps/aarch64/memmove.S (memmove): Remove
3023         memmove code (merged into memcpy.S).
3025 2016-06-20  Florian Weimer  <fweimer@redhat.com>
3027         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
3028         * sysdeps/generic/dl-dtv.h: New file.
3029         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3030         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
3031         (dtv_t): Remove.
3032         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3033         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
3034         (dtv_t): Remove.
3035         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3036         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
3037         (dtv_t): Remove.
3038         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3039         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
3040         (dtv_t): Remove.
3041         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3042         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
3043         (dtv_t): Remove.
3044         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3045         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
3046         (dtv_t): Remove.
3047         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3048         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
3049         (dtv_t): Remove.
3050         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
3051         (dtv_t): Remove.
3052         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3053         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
3054         (dtv_t): Remove.
3055         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3056         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
3057         (dtv_t): Remove.
3058         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3059         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
3060         (dtv_t): Remove.
3061         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3062         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
3063         (dtv_t): Remove.
3064         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3065         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
3066         (dtv_t): Remove.
3067         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3068         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
3069         (dtv_t): Remove.
3070         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3071         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
3072         (dtv_t): Remove.
3073         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3074         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
3075         (dtv_t): Remove.
3077 2016-06-20  Florian Weimer  <fweimer@redhat.com>
3079         Revert symbol poisoning of  __malloc_initialize_hook.
3080         * include/stdc-predef.h (__malloc_initialize_hook): Remove
3081         poisoning.
3082         * malloc/Makefile: Remove un-poisoning.
3083         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
3084         instead of old__malloc_initialize_hook.
3085         * malloc/malloc-hooks.h: Likewise.
3086         * malloc/malloc.c: Likewise.
3087         * malloc/mcheck-init.c: Likewise.
3089 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
3091         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
3093 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
3095         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
3096         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
3097         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3098         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3100 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3102         * NEWS: Mention addition of nextup and nextdown.
3103         * manual/arith.texi: Document nextup and nextdown.
3104         * manual/libm-err-tab.pl: Add nextup and nextdown.
3105         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
3106         * math/Versions (libm): Add GLIBC_2.24.
3107         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
3108         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
3109         Add new test.
3110         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
3111         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
3112         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
3113         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
3114         (nextup_test_data): Likewise.
3115         (nextdown_test_data): Likewise.
3116         * math/s_nextdown.c: New file.
3117         * math/s_nextdownf.c: Likewise.
3118         * math/s_nextdownl.c: Likewise.
3119         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
3120         F(nextup): New function.
3121         F(nextdown): Likewise.
3122         * math/tgmath.h: Add nextup and nextdown.
3123         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
3124         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
3125         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
3126         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
3127         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
3128         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
3129         Add nextup and nextdown.
3130         (CFLAGS-nldbl-nextup.c): New variable.
3131         (CFLAGS-nldbl-nextdown.c): Likewise.
3132         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
3133         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
3134         * sysdeps/nacl/libm.abilist: Update.
3135         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3136         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3137         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3138         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3139         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3140         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3141         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3142         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3143         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3144         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3145         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3146         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
3148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3149         Likewise.
3150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
3151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
3152         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3153         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3154         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3155         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3156         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
3158         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
3159         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3160         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3161         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
3162         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3164 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3166         * manual/pattern.texi: Fix typos & grammar errors.
3168 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3170         * manual/search.texi: Fix typos & grammar errors.
3172 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3174         * manual/message.texi: Fix typos & grammar errors.
3176 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
3178         * manual/contrib.texi: Fix spelling typos.
3179         * manual/crypt.texi: Likewise.
3180         * manual/filesys.texi: Likewise.
3181         * manual/locale.texi: Likewise.
3182         * manual/message.texi: Likewise.
3183         * manual/nss.texi: Likewise.
3184         * manual/string.texi: Likewise.
3186 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3188         * manual/locale.texi: Fix typos & grammar errors.
3190 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3192         * manual/charset.texi: Fix typos & grammar errors.
3194 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3196         * manual/string.texi: Fix typos.
3198 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3200         * manual/ctype.texi: Fix typos.
3202 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3204         * manual/memory.texi: Fix various typos & grammar errors.
3206 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
3208         [BZ #20255]
3209         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
3210         * math/libm-test.inc (fdim_test_data): Add another test.
3212         [BZ #6796]
3213         [BZ #20255]
3214         [BZ #20256]
3215         * math/s_fdim.c: Include <math_private.h>.
3216         (__fdim): Use math_narrow_eval on result.
3217         * math/s_fdimf.c: Include <math_private.h>.
3218         (__fdimf): Use math_narrow_eval on result.
3219         * sysdeps/i386/fpu/s_fdim.S: Remove file.
3220         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
3221         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
3222         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
3223         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
3224         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
3225         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
3226         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
3227         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
3228         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
3229         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
3230         * math/libm-test.inc (fdim_test_data): Expect errno setting on
3231         overflow.  Add sNaN tests.
3233         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
3234         fpclassify.
3235         * math/s_fdimf.c (__fdimf): Likewise.
3236         * math/s_fdiml.c (__fdiml): Likewise.
3238 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3240         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3241         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
3242         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3243         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3244         ifunc'ed strcasecmp/strncasecmp.
3245         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
3246         [EALIGN]: Removed.
3247         [END]: Likewise.
3248         [__strcasecmp]: Define instead of the above to control symbol name.
3249         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
3250         for __strcasecmp_power8.
3251         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
3252         for __strncasecmp_power8.
3253         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
3254         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
3255         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
3256         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
3257         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
3258         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
3260 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
3262         [BZ #20252]
3263         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
3264         arguments when second argument is a NaN.
3265         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
3266         qNaN tests.
3268         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
3269         (conj_test_data): Likewise.
3270         (copysign_test_data): Likewise.
3271         (creal_test_data): Likewise.
3272         (fma_test_data): Likewise.
3273         (fmod_test_data): Likewise.
3275         [BZ #20250]
3276         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
3277         itself.
3278         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
3279         zero input to itself.
3280         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
3281         Likewise.
3282         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
3283         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
3284         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3285         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
3286         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
3288 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3290         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
3291         * nptl/tst-cancel4-common.c: New file.
3292         * nptl/tst-cancel4-common.h: Likewise.
3293         * nptl/tst-cancel4.c: Move common definitions to
3294         tst-cancel4-common.{c,h} file.
3295         * nptl/tst-cancel4_1.c: New test.
3296         * nptl/tst-cancel4_2.c: New test.
3298 2016-06-13  Florian Weimer  <fweimer@redhat.com>
3300         [BZ #20248]
3301         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
3302         (write_message): New function.
3303         (stackoverflow_handler): Call it instead of printf, to avoid
3304         excessive stack usage by printf.
3305         (do_test): Restore SIGSEGV, SIGBUS default handlers.
3307 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3309         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
3310         (prio_inherit_missing): Remove define.
3311         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3312         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3313         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
3314         Likewise.
3315         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3316         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3317         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3318         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3319         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3320         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3322 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3324         [BZ #19670]
3325         [BZ #19672]
3327         * io/test-lfs.c (do_prepare): Use xmalloc.
3328         * io/tst-fcntl.c (do_prepare): Likewise.
3329         * libio/tst-fopenloc.c (do_bz17916): Likewise.
3330         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
3331         * login/tst-utmp.c (do_prepare): Likewise.
3332         * posix/tst-exec.c (do_prepare): Likewise.
3333         * posix/tst-pathconf.c (prepare): Likewise.
3334         * posix/tst-spawn.c (do_prepare): Likewise.
3335         * posix/tst-truncate.c (do_prepare): Likewise.
3336         * rt/tst-aio.c (do_prepare): Likewise.
3337         * rt/tst-aio64.c (do_prepare): Likewise.
3339 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3341         [BZ #20237]
3342         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
3343         (get*ent): Set entidx to NULL during initialization.  If entidx is
3344         NULL, start iteration from the beginning.
3346 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3348         * malloc/malloc.c (musable): Return correct size for dumped fake
3349         mmapped chunk.
3351 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3353         [BZ #20222]
3354         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
3355         (_IO_cookie_write): Likewise.
3356         (_IO_cookie_seek): Likewise.
3357         (_IO_cookie_close): Likewise.
3358         (_IO_old_cookie_seek): Likewise.
3359         (set_callbacks): New function.
3360         (_IO_cookie_init): Call set_callbacks to copy callbacks.
3362 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
3364         * locale/programs/localedef.c (oldstyle_tables): Remove.
3365         * locale/programs/localedef.h (oldstyle_tables): Likewise.
3367 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
3369         [BZ #20240]
3370         * math/Makefile (CFLAGS-s_modf.c): New variable.
3371         (CFLAGS-s_modff.c): Likewise.
3372         (CFLAGS-s_modfl.c): Likewise.
3373         * math/libm-test.inc (modf_test_data): Add sNaN tests.
3375 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
3377         [BZ #20215]
3378         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
3379         [!__GNUC_PREREQ (3,2)]: Likewise.
3381 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
3383         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
3384         (msghdr.msg_controllen): Likewise.
3385         (cmsghdr.cmsg_len): Likewise.
3386         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
3387         ptw-oldsendmsg.
3388         (CFLAGS-oldrecvmsg.c): Remove rule.
3389         (CFLAGS-oldsendmsg.c): Likewise.
3390         (CFLAGS-recvmsg.c): Add rule.
3391         (CFLAGS-sendmsg.c): Likewise.
3392         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3393         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
3394         (CFLAGS-recvmsg.c): Remove rule.
3395         (CFLAGS-sendmsg.c): Likewise.
3396         (CFLAGS-oldrecvmsg.c): Likewise.
3397         (CFLAGS-oldsendmsg.c): Likewise.
3398         (CFLAGS-recvmmsg.c): Likewise.
3399         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
3400         to kernel defined interfaces.
3401         (msghdr.msg_controllen): Likewise.
3402         (cmsghdr.cmsg_len): Likewise.
3403         (msghdr.__glibc_reserved1): Remove member.
3404         (msghdr.__glibc_reserved2): Likewise.
3405         (cmsghdr.__glibc_reserved1): Likewise.
3406         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
3407         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
3408         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
3409         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
3410         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
3411         version.
3412         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3413         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
3414         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3415         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
3416         Remove recvmsg and sendmsg.
3417         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
3418         Likewise.
3419         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
3420         Likewise.
3421         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
3422         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
3423         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
3424         Likewise.
3425         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3426         Likewise.
3427         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
3428         [libc] (GLIBC_2.24): Likewise.
3429         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3430         Likewise.
3431         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3432         Likewise.
3433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3434         [libc] (GLIBC_2.24): Likewise.
3435         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3436         Likewise.
3437         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3438         Likewise.
3439         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3440         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3441         Likewise.
3442         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3443         Likewise.
3444         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3445         Likewise.
3446         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
3447         Likewise.
3448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
3449         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
3450         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
3451         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
3452         version for {recv,send,recm,sendm}msg.
3453         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3454         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3455         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3456         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3457         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3458         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3459         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3460         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3461         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3462         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3463         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3464         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3466         Likewise.
3467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3468         Likewise.
3469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3471         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3472         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3473         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3474         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3475         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3476         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3479         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3480         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3481         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3483 2016-06-10  Florian Weimer  <fweimer@redhat.com>
3485         [BZ #19564]
3486         Remove __malloc_initialize_hook from the API.
3487         * malloc/malloc.h (__malloc_initialize_hook): Remove.
3488         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
3489         #pragma GCC poison.
3490         * malloc/malloc-hooks.h: New file.
3491         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
3492         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
3493         (old__malloc_initialize_hook): Rename from
3494         __malloc_initialize_hook to evade poisoning.  Turn into compat
3495         symbol.
3496         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
3497         __malloc_initialize_hook.
3498         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
3499         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
3500         * manual/memory.texi (Hooks for Malloc): Remove
3501         __malloc_initialize_hook.  Adjust hook example.
3503 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
3505         [BZ #20235]
3506         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
3507         itself.
3508         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3509         * math/libm-test.inc (log2_test_data): Add sNaN tests.
3511         [BZ #20234]
3512         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
3513         infinity or NaN input to itself.
3515         [BZ #20233]
3516         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
3517         to itself.
3519         [BZ #20232]
3520         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
3521         itself.
3523 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3525         * sysdeps/x86_64/start.S (_start): Always indirect branch to
3526         __libc_start_main via GOT.
3528 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3530         * sysdeps/x86_64/memcopy.h: New file.
3531         * sysdeps/x86_64/wordcopy.c: Likewise.
3533 2016-06-09  Florian Weimer  <fweimer@redhat.com>
3535         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
3536         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
3537         <cstdlib>.
3538         (optimization_barrier): New.
3539         (do_test): Use it.  Call quick_exit in the global namespace.
3540         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
3541         instead of <cstdlib>, <thread>.
3542         (optimization_barrier): New.
3543         (non_main_thread): Adjust declaration.  Call optimization_barrier.
3544         Call quick_exit in the global namespace.
3545         (do_test): Call optimization_barrier.  Use pthread_create,
3546         pthread_join instead of std::thread.
3548 2016-06-09  Andreas Schwab  <schwab@suse.de>
3550         [BZ #19755]
3551         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
3552         new entries in auto-propagate mode.
3553         * nscd/grpcache.c (cache_addgr): Likewise.
3555 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3557         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
3558         New functions.
3559         (add_temp_file): Use them.
3561 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
3563         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
3565 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
3567         [BZ #20229]
3568         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
3569         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
3570         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
3572         [BZ #20228]
3573         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
3574         itself.
3575         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3576         * math/libm-test.inc (log10_test_data): Add sNaN tests.
3578         [BZ #20227]
3579         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
3580         itself.
3581         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3582         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3583         * math/libm-test.inc (log_test_data): Add sNaN tests.
3585         [BZ #20226]
3586         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
3587         itself.
3588         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
3589         * math/libm-test.inc (exp_test_data): Add sNaN tests.
3590         (exp10_test_data): Likewise.
3591         (expm1_test_data): Likewise.
3593         [BZ #20225]
3594         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
3595         itself.
3596         * math/s_ldexpf.c (__ldexpf): Likewise.
3597         * math/s_ldexpl.c (__ldexpl): Likewise.
3598         * math/w_scalbln.c (__w_scalbln): Likewise.
3599         * math/w_scalblnf.c (__w_scalblnf): Likewise.
3600         * math/w_scalblnl.c (__w_scalblnl): Likewise.
3601         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
3602         (scalbln_test_data): Likewise.
3604         [BZ #20224]
3605         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
3606         argument to itself.
3607         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
3609 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3611         [BZ #19776]
3612         * sysdeps/x86_64/memcpy.S: Make it dummy.
3613         * sysdeps/x86_64/mempcpy.S: Likewise.
3614         * sysdeps/x86_64/memmove.S: New file.
3615         * sysdeps/x86_64/memmove_chk.S: Likewise.
3616         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
3617         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
3618         * sysdeps/x86_64/memmove.c: Removed.
3619         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3620         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3621         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
3622         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
3623         Likewise.
3624         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3625         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3626         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3627         memcpy-sse2-unaligned, memmove-avx-unaligned,
3628         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
3629         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3630         (__libc_ifunc_impl_list): Replace
3631         __memmove_chk_avx512_unaligned_2 with
3632         __memmove_chk_avx512_unaligned.  Remove
3633         __memmove_chk_avx_unaligned_2.  Replace
3634         __memmove_chk_sse2_unaligned_2 with
3635         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
3636         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
3637         with __memmove_avx512_unaligned.  Replace
3638         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
3639         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
3640         with __memcpy_chk_avx512_unaligned.  Remove
3641         __memcpy_chk_avx_unaligned_2.  Replace
3642         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
3643         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
3644         Replace __memcpy_avx512_unaligned_2 with
3645         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
3646         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
3647         with __mempcpy_chk_avx512_unaligned.  Remove
3648         __mempcpy_chk_avx_unaligned_2.  Replace
3649         __mempcpy_chk_sse2_unaligned_2 with
3650         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
3651         Replace __mempcpy_avx512_unaligned_2 with
3652         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
3653         Replace __mempcpy_sse2_unaligned_2 with
3654         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
3655         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
3656         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
3657         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
3658         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
3659         (ENTRY): Removed.
3660         (END): Likewise.
3661         (ENTRY_CHK): Likewise.
3662         (libc_hidden_builtin_def): Likewise.
3663         Don't include ../memcpy.S.
3664         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
3665         __memcpy_chk_avx512_unaligned_erms and
3666         __memcpy_chk_avx512_unaligned.  Use
3667         __memcpy_chk_avx_unaligned_erms and
3668         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
3669         Default to __memcpy_chk_sse2_unaligned.
3670         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3671         Change function suffix from unaligned_2 to unaligned.
3672         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
3673         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
3674         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
3675         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
3676         (ENTRY): Removed.
3677         (END): Likewise.
3678         (ENTRY_CHK): Likewise.
3679         (libc_hidden_builtin_def): Likewise.
3680         Don't include ../mempcpy.S.
3681         (mempcpy): New.  Add a weak alias.
3682         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
3683         __mempcpy_chk_avx512_unaligned_erms and
3684         __mempcpy_chk_avx512_unaligned.  Use
3685         __mempcpy_chk_avx_unaligned_erms and
3686         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
3687         Default to __mempcpy_chk_sse2_unaligned.
3689 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3691         [BZ #19881]
3692         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
3693         into ...
3694         * sysdeps/x86_64/memset.S: This.
3695         (__bzero): Removed.
3696         (__memset_tail): Likewise.
3697         (__memset_chk): Likewise.
3698         (memset): Likewise.
3699         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
3700         defined.
3701         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
3702         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
3703         (__memset_zero_constant_len_parameter): Check SHARED instead of
3704         PIC.
3705         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3706         memset-avx2 and memset-sse2-unaligned-erms.
3707         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3708         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
3709         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
3710         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3711         (__bzero): Enabled.
3712         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
3713         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
3714         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
3715         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
3716         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
3717         (memset): Removed.
3718         (__memset_chk): Likewise.
3719         (MEMSET_SYMBOL): New.
3720         (libc_hidden_builtin_def): Replace __memset_sse2 with
3721         __memset_sse2_unaligned.
3722         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
3723         __memset_chk_sse2 and __memset_chk_avx2 with
3724         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
3725         Use __memset_chk_sse2_unaligned_erms or
3726         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
3727         __memset_chk_avx512_unaligned_erms and
3728         __memset_chk_avx512_unaligned.
3730 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3732         * math/gen-auto-libm-test.c (fp_format_desc): remove
3733         suffix member.
3734         (output_generic_value): Remove usage of suffix member,
3735         and the resulting unuse of the fp_format argument.
3736         (output_for_one_input_case): Remove unused fp_format
3737         parameter.
3739         * math/auto-libm-test-out: Regenerate.
3741         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
3742         usage with TEST_COND_ibm128.
3743         (TEST_COND_flt_32): Remove.
3744         (TEST_COND_dbl_64): Remove.
3745         (TEST_COND_ldbl_96_intel): Remove.
3746         (TEST_COND_ldbl_96_m68k): Remove.
3747         (TEST_COND_ldbl_128): Remove.
3749 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3751         * auto-libm-test-in:
3752         Replace flt-32 usage with binary32.
3753         Replace dbl-64 usage with binary64.
3754         Replace ldbl-intel-96 usage with intel96.
3755         Replace ldbl-m68k-96 usage with m68k96.
3756         Replace ldbl-128ibm usage with ibm128.
3757         Replace ldbl-128 usage with binary128.
3759         * auto-libm-test-out: Regenerate.
3761 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3763         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
3764         (parse_ulps): Dynamically generate type name matching
3765         string from all_floats.
3766         (get_ulps): Generate the ulps as an array instead.
3767         (output_ulps): Dynamically compose the type based
3768         on the number of supported formats, and print
3769         the indices as type specific helper macros.
3771         * math/libm-test.inc: Remove comment about CHOOSE.
3772         (ulp_data): Generate the type in libm-test-ulps.h.
3773         (ULP_IDX): New macro.
3774         (find_ulps): Update usage of max_ulp.
3776         * math/test-double-vlen2.h (CHOOSE): Remove.
3777         * math/test-double-vlen4.h (CHOOSE): Likewise.
3778         * math/test-double-vlen8.h (CHOOSE): Likewise.
3779         * math/test-float.c (CHOOSE): Likewise.
3780         * math/test-float-finite.c (CHOOSE): Likewise.
3781         * math/test-double.c (CHOOSE): Likewise.
3782         * math/test-double-finite.c (CHOOSE): Likewise.
3783         * math/test-idouble.c (CHOOSE): Likewise.
3784         * math/test-ifloat.c (CHOOSE): Likewise.
3785         * math/test-ildoubl.c (CHOOSE): Likewise.
3786         * math/test-ldouble-finite.c (CHOOSE): Likewise.
3787         * math/test-ldouble.c (CHOOSE): Likewise.
3789         * math/test-float.h (TEST_FLOAT): Remove.
3790         * math/test-double.h (TEST_DOUBLE): Likewise.
3791         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
3793 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3795         * math/gen-libm-test.pl: (apply_lit): New subroutine.
3796         (parse_args): Strip C suffix from floating point literals
3797         typed with 'f' and wrap them with LIT().
3799         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
3800         (test_ff_f_data_nexttoward): Rename to
3801         (test_fj_f_data): New struct.
3802         (nexttoward_test_data): Relabel tests as
3803         TEST_fj_f instead of TEST_ff_f.
3805 2016-06-08  Florian Weimer  <fweimer@redhat.com>
3807         Emacs bug 23726.
3808         * malloc/malloc.c (dumped_main_arena_start): Update comment.
3809         (__libc_realloc): Correct size computation for dumped fake mmapped
3810         chunks.
3812 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
3814         [BZ #20219]
3815         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
3816         to itself.
3817         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
3819         [BZ #20218]
3820         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
3821         to itself.
3822         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
3824 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
3826         [BZ #20195]
3827         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
3828         check to ...
3829         (init_cpu_features): Here.
3831 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
3833         [BZ #20214]
3834         * sysdeps/unix/sysv/linux/bits/in.h
3835         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
3836          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
3837         Define to 1.
3838         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
3839          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
3840         Define to 0.
3841         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
3842         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
3844 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
3846         [BZ #20198]
3847         * stdlib/Makefile (tests): Add tst-quick_exit, and
3848         tst-thread-quick_exit.
3849         [ifeq ($(have-cxx-thread_local),yes)]
3850         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
3851         (CFLAGS-tst-thread-quick_exit.o): Likewise.
3852         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
3853         (LDLIBS-tst-thread-quick_exit): Likewise.
3854         [ifneq ($(have-cxx-thread_local),yes)]
3855         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
3856         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
3857         If run_dtors is true call __call_tls_dtors.
3858         (exit): Call __run_exit_handlers with run_dtors set to true.
3859         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
3860         definition.
3861         * stdlib/quick_exit.c (quick_exit): Remove function.
3862         (__new_quick_exit): New function.
3863         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
3864         function.
3865         * stdlib/tst-quick_exit.cc: New file.
3866         * stdlib/tst-thread-quick_exit.cc: New file.
3867         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
3868         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
3869         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
3870         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
3871         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
3872         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
3873         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
3874         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
3875         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
3876         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
3877         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
3878         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
3879         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
3880         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
3881         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
3882         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
3883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
3884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
3885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
3886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
3887         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
3888         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
3889         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
3890         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
3891         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
3892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
3893         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
3894         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
3895         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
3896         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
3898 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
3900         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
3901         a typo in comments.
3903 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
3905         [BZ #20213]
3906         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
3907         argument to itself.
3908         * math/libm-test.inc (asin_test_data): Add sNaN tests.
3910 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3912         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
3913         required flags.
3914         (CFLAGS-pwritev64.c): Likewise.
3915         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
3916         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3917         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
3918         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3919         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
3920         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
3921         syscall from auto-generation.
3922         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
3923         [WORDSIZE == 64] (pwritev64): Remove macro.
3924         [!PWRITEV] (PWRITEV): Likewise.
3925         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
3926         [!PWRITEV] (PWRITE): Likewise.
3927         [!PWRITEV] (OFF_T): Likewise.
3928         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
3929         (LO_HI_LONG): Remove macro.
3930         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
3931         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
3932         (PWRITEV): Remove macro.
3933         (PWRITEV_REPLACEMENTE): Likewise.
3934         (PWRITE): Likewise.
3935         (OFF_T): Likewise.
3936         (pwritev64): New function.
3937         * nptl/tst-cancel4.c (tf_writev): Add test.
3939         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
3940         required flags.
3941         (CFLAGS-preadv64.c): Likewise.
3942         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
3943         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3944         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
3945         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
3946         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
3947         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
3948         syscall from auto-generation.
3949         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
3950         [WORDSIZE == 64] (preadv64): Remove macro.
3951         [!PREADV] (PREADV): Likewise.
3952         [!PREADV] (PREADV_REPLACEMENT): Likewise.
3953         [!PREADV] (PREAD): Likewise.
3954         [!PREADV] (OFF_T): Likewise.
3955         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
3956         (LO_HI_LONG): Remove macro.
3957         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
3958         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
3959         (PREADV): Remove macro.
3960         (PREADV_REPLACEMENTE): Likewise.
3961         (PREAD): Likewise.
3962         (OFF_T): Likewise.
3963         (preadv64): New function.
3964         * nptl/tst-cancel4.c (tf_preadv): Add test.
3966 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
3968         [BZ #20212]
3969         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
3970         argument to itself.
3971         * math/libm-test.inc (acos_test_data): Add sNaN tests.
3973 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3975         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
3976         New symbol defined as libc_hidden_def.
3977         (strcasestr): Became a weak alias to __strcasestr.
3978         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
3979         according to multi-arch support.  Move __stpncpy hidden
3980         definition from here to...
3981         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
3982         symbol stpncpy.
3983         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
3984         libc_hidden_builtin_def.
3985         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
3986         memset symbol to use when multi-arch support is available.
3988 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3990         * dlfcn/tst-rec-dlopen.c: Include string.h.
3992 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
3994         * manual/install.texi: Remove mention of --without-tls
3995         * INSTALL: Regenerate.
3997 2016-06-05  Florian Weimer  <fweimer@redhat.com>
3999         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
4000         Remove.
4001         (call_function, interposed_malloc_called): New variables.
4002         (malloc): New function.
4003         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
4004         and clear call_function as needed.
4006 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
4008         * include/wchar.h (__wmemset): Use __typeof.
4010 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
4012         * include/wchar.h (__wmemset): Declare function without typeof.
4014 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
4016         [BZ #20205]
4017         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
4018         exponent when incrementing negative subnormal with low mantissa
4019         word zero.
4020         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
4021         Add another test.
4023 2016-06-03  Florian Weimer  <fweimer@redhat.com>
4025         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
4026         __wmemset instead of wmemset.
4028 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
4030         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
4031         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
4032         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
4033         __USE_KERNEL_IPV6_DEFS to 0.
4034         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
4035         Update comment.
4037 2016-06-01  Florian Weimer  <fweimer@redhat.com>
4039         [BZ #19861]
4040         Do not use IFUNC resolver with potentially unrelocated symbol.
4041         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
4042         (DEFINE_FORK): Remove macro and inline definition.
4043         (fork_alias): Renamed from fork_ifunc.
4044         (__fork_alias): Renamed from __fork_ifunc.
4046 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
4048         [BZ 19653]
4049         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
4050         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
4052 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4054         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
4055         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
4056         i386-linux-gnu).
4057         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
4058         Set to no.
4059         * sysdeps/mach/hurd/configure: Refresh.
4061 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4063         [BZ #20178]
4064         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
4065         on failure instead of exit.
4067 2016-05-30  Roland McGrath  <roland@hack.frob.com>
4069         [BZ #3629]
4070         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
4071         of POSIX.1-2008.
4073 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4075         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
4076           Use PLT entry for calling _hurd_self_sigstate.
4078 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
4080         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
4081         available logical processors with SMT level type sharing L2
4082         cache for Intel processors.
4084 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4086         [BZ #20160]
4087         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
4088         argument to itself before returning the result.
4089         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4090         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
4091         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
4092         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
4093         Likewise.
4094         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
4095         Likewise.
4096         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
4097         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
4098         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
4099         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
4100         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
4101         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
4103         [BZ #20160]
4104         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
4105         argument to itself before returning the result.
4106         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
4107         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
4108         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
4109         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
4110         Likewise.
4111         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4112         Likewise.
4113         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
4114         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
4115         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
4116         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
4117         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
4118         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
4120 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4122         * libm-test.inc: Replace usage of M_El with
4123         (lit_e): New macro.
4125 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4127         * libm-test.inc: Replace usage of M_PI_4l with
4128         (lit_pi_4_d): New macro.
4130 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4132         * libm-test.inc: Replace usage of M_PIl with
4133         (lit_pi): New macro.
4135 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4137         * libm-test.inc: Replace usage of M_PI2l with
4138         (lit_pi_2_d): New macro.
4140         * math/test-double.h (LITM): New macro.
4141         * math/test-float.h (LITM): Likewise.
4142         * math/test-ldouble.h (LITM): Likewise.
4144 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4146         * libm-test.inc (M_PI_34l): Rename to
4147         (lit_pi_3_m_4_d): New Macro.
4148         (M_PI_34_LOG10El): Rename to
4149         (lit_pi_3_m_4_ln10_m_d): New Macro.
4150         (M_PI2_LOG10El): Rename to
4151         (lit_pi_2_ln10_m_d):  New Macro.
4152         (M_PI4_LOG10El): Rename to
4153         (lit_pi_4_ln10_m_d):  New Macro.
4154         (M_PI_LOG10El): Rename to
4155         (lit_pi_ln10_d):  New Macro.
4157 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4159         [BZ #20157]
4160         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
4161         determine whether to negate low half if [_ARCH_PPCGR], and integer
4162         comparison otherwise.
4163         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
4164         determine whether to negate low half.
4166         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
4167         (NO_TEST_INLINE_DOUBLE): Likewise.
4168         (TEST_COND_x86_64): Likewise.
4169         (TEST_COND_x86): Likewise.
4170         (M_PI_6l): Likewise.
4172 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4174         * math/libm-test.inc:
4175         (TEST_FLOAT): Change usage to TEST_COND_binary32.
4176         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
4177         (TEST_LDOUBLE): Update usage to evaluate as true if
4178         the guarded tests match the property being tested.
4179         (LDBL_MAX_EXP): Change to MAX_EXP.
4180         (LDBL_MIN_EXP): Change to MIN_EXP.
4181         (LDBL_MANT_DIG): Change to MANT_DIG, except for
4182         nexttoward tests.
4184 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4186         * math/libm-test.inc:
4187         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
4188         (TYPE_MIN): Likewise.
4189         (TYPE_TRUE_MIN): Likewise.
4190         (TYPE_MAX): Likewise.
4191         (MIN_EXP): Likewise.
4192         (MAX_EXP): Likewise.
4193         (MANT_DIG): Likewise.
4195         (FSTR_MAX): New macro.
4196         (__CONCATX): Likewise.
4197         (QTYPE_STR): Likewise.
4198         (TEST_COND_binary32): Likewise.
4199         (TEST_COND_binary64): Likewise.
4200         (TEST_COND_binary128): Likewise.
4201         (TEST_COND_ibm128): Likewise.
4202         (TEST_COND_intel96): Likewise.
4203         (TEST_COND_m68k96): Likewise.
4205         (TEST_COND_flt_32): Redefine as equivalent format test macro.
4206         (TEST_COND_dbl_64): Likewise.
4207         (TEST_COND_ldbl_96_intel): Likewise.
4208         (TEST_COND_ldbl_96_m68k): Likewise.
4209         (TEST_COND_ldbl_128): Likewise.
4210         (TEST_COND_ldbl_128ibm): Likewise.
4212         (plus_zero): Redefine using LIT macro.
4213         (minus_zero): Likewise.
4214         (plus_infty): Redefine as (INF).
4215         (minux_infty): Redefine as (-INF).
4216         (max_value): Redefine as TYPE_MAX.
4217         (min_value): Redefine as TYPE_MIN.
4218         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
4220         (print_float): Refactor to use snprintf to convert FLOAT values
4221         to string. This brings it closer to dropin replacement of strtof
4222         for the TS 18661 defined types.
4223         (update_stats): Likewise.
4224         (print_complex_function_ulps): Likewise.
4225         (print_max_error): Likewise.
4226         (print_complex_max_error): Likewise.
4227         (check_float_internal): Likewise.
4229         * math/test-float.h (PREFIX): New macro.
4230         (LIT): Likewise.
4231         (TYPE_STR): Likewise.
4232         (FTOSTR): Likewise.
4234         * math/test-double.h (PREFIX): New macro.
4235         (LIT): Likewise.
4236         (TYPE_STR): Likewise.
4237         (FTOSTR): Likewise.
4239         * math/test-ldouble.h (PREFIX): New macro.
4240         (LIT): Likewise.
4241         (TYPE_STR): Likewise.
4242         (FTOSTR): Likewise.
4244 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4246         [BZ #20156]
4247         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
4248         to itself when zero or not finite.
4249         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
4250         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4251         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
4252         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
4254 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
4256         [BZ #20153]
4257         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
4258         x * x + x for infinities and NaNs.
4260         [BZ #20151]
4261         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
4262         argument to itself before returning result.
4263         (__ieee754_y0l): Likewise.
4264         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4265         (__ieee754_y1l).
4267         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
4268         (atan_test_data): Likewise.
4269         (ceil_test_data): Likewise.
4270         (cos_test_data): Likewise.
4271         (cosh_test_data): Likewise.
4272         (erf_test_data): Likewise.
4273         (exp2_test_data): Likewise.
4274         (fabs_test_data): Likewise.
4275         (floor_test_data): Likewise.
4276         (ilogb_test_data): Likewise.
4277         (j0_test_data): Likewise.
4278         (j1_test_data): Likewise.
4279         (jn_test_data): Likewise.
4280         (lgamma_test_data): Likewise.
4281         (lrint_test_data): Likewise.
4282         (llrint_test_data): Likewise.
4283         (logb_test_data): Likewise.
4284         (lround_test_data): Likewise.
4285         (llround_test_data): Likewise.
4286         (nearbyint_test_data): Likewise.
4287         (rint_test_data): Likewise.
4288         (round_test_data): Likewise.
4289         (sin_test_data): Likewise.
4290         (sincos_test_data): Likewise.
4291         (sinh_test_data): Likewise.
4292         (sqrt_test_data): Likewise.
4293         (tan_test_data): Likewise.
4294         (tanh_test_data): Likewise.
4295         (tgamma_test_data): Likewise.
4296         (trunc_test_data): Likewise.
4297         (y0_test_data): Likewise.
4298         (y1_test_data): Likewise.
4299         (yn_test_data): Likewise.
4301         * math/libm-test.inc: Update comment about NaN testing.
4302         (TEST_SNAN): New macro.
4303         (snan_value): Likewise.
4304         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
4305         (fpclassify_test_data): Add sNaN tests.
4306         (isfinite_test_data): Likewise.
4307         (isinf_test_data): Likewise.
4308         (isnan_test_data): Likewise.
4309         (isnormal_test_data): Likewise.
4310         (issignaling_test_data): Likewise.
4311         (signbit_test_data): Likewise.
4312         * math/gen-libm-test.pl (%beautify): Add snan_value.
4313         (show_exceptions): Add argument $test_snan.
4314         (parse_args): Handle snan_value as non-finite.  Update call to
4315         show_exceptions.
4316         * math/Makefile (libm-test-no-inline-cflags): Add
4317         -fsignaling-nans.
4319 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4321         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
4322         (CFLAGS-oldsendmsg.c): Add rule.
4323         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4324         Correct recvmsg symbol name.
4325         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
4326         Likewise.
4328 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4330         * sysdeps/unix/sysv/linux/Makefile
4331         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
4332         oldsendmmsg.
4333         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
4334         sendmmsg.
4335         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4336         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4337         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4338         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4340         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4341         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4343         Likewise.
4344         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4345         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
4346         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4347         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
4348         iovlen and controllen fields to adjust to POSIX specification.
4349         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4351         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
4352         and change to correct expected type.
4353         (msghdr.msg_controllen): Likewise.
4354         (cmsghdr.cmsg_len): Likewise.
4355         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
4356         expected POSIX assumption about the size.
4357         (msghdr.msg_controllen): Likewise.
4358         (msghdr.__glibc_reserved1): Likewise.
4359         (msghdr.__glibc_reserved2): Likewise.
4360         (cmsghdr.cmsg_len): Likewise.
4361         (cmsghdr.__glibc_reserved1): Likewise.
4362         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
4363         Add ptw-oldrecvmsg and ptw-oldsendmsg.
4364         (CFLAGS-sendmsg.c): Remove rule.
4365         (CFLAGS-recvmsg.c): Likewise.
4366         (CFLAGS-oldsendmsg.c): Add rule.
4367         (CFLAGS-oldrecvmsg.c): Likewise.
4368         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
4369         recvmsg and sendmsg.
4370         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
4371         Likewise.
4372         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
4373         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
4374         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4375         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
4376         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4377         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4378         Likewise.
4379         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4380         Likewise.
4381         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
4382         Likewise.
4383         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
4384         Likewise.
4385         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4386         Likewise.
4387         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4388         Likewise.
4389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
4390         (GLIBC_2.24): Likewise.
4391         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4392         Likewise.
4393         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4394         Likewise.
4395         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4396         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4397         Likewise.
4398         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4399         Likewise.
4400         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4401         Likewise.
4402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
4403         (GLIBC_2.24): Likewise.
4404         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
4405         Likewise.
4406         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
4407         Likewise.
4408         * sysdeps/unix/sysv/linux/Makefile
4409         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
4410         (CFLAGS-sendmsg.c): Add rule.
4411         (CFLAGS-recvmsg.c): Likewise.
4412         (CFLAGS-oldsendmsg.c): Likewise.
4413         (CFLAGS-oldrecvmsg.c): Likewise.
4414         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
4415         initialization.
4416         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
4417         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
4418         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
4419         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4420         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
4421         iovlen and controllen fields to adjust to POSIX specification.
4422         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
4423         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
4424         added recvmsg and sendmsg.
4425         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4426         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4427         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4428         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4429         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4430         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4431         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4432         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4433         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4434         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4435         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4436         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4438         Likewise.
4439         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4441         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4442         Likewise.
4443         Likewise.
4444         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4445         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4446         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4447         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4448         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4449         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4451         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4453         Likewise.
4454         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4455         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4457         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
4458         from auto-generation.
4459         (sendmsg): Likewise.
4460         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
4461         (sendmsg): Likewise.
4462         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
4463         (sendmsg): Likewise.
4464         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
4465         (sendmsg): Likewise.
4466         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
4467         (sendmsg): Likewise.
4468         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
4469         (sendmsg): Likewise.
4470         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
4471         Likewise.
4472         (sendmsg): Likewise.
4473         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
4474         (sendmsg): Likewise.
4475         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4476         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4477         Remove.
4478         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4479         Likewise.
4480         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4481         Undefine.
4482         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4483         Likewise.
4484         * sysdeps/unix/sysv/linux/kernel-features.h
4485         (__ASSUME_SENDMSG_SYSCALL): Define.
4486         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4487         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4488         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4489         Remove.
4490         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4491         Likewise.
4492         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4493         Undefine.
4494         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4495         Likewise.
4496         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4497         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4498         Remove.
4499         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4500         Likewise.
4501         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4502         Undefine.
4503         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4504         Likewise.
4505         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4506         (__ASSUME_SENDMSG_SYSCALL): Undefine.
4507         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4508         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4509         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4510         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4511         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4512         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4513         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4515 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4517         * stdlib/gen-tst-strtod-round.c: Add backslash to
4518         compile command in comment.
4519         (printfp): Remove the literal suffix, and define an infinite
4520         value as INF to avoid expansion clash with INFINITY.
4521         (round_str): Remove the literal suffix.
4522         (round_for_all): Likewise, remove the now duplicate ldbl-64
4523         entry, and remove some magic constants.
4525         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
4526         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
4527         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
4528         (_CONCAT): New macro.
4529         (CONCAT): Likewise.
4530         (CHOOSE_ld): Likewise.
4531         (CHOOSE_f): Likewise.
4532         (CHOOSE_d): Likewise.
4533         (FTYPE_MEMBER): Likewise.
4534         (BOOL_MEMBER): Likewise.
4535         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
4536         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
4537         (_XNTRY): Likewise.
4538         (XNTRY): Likewise.
4539         (_ENTRY): Likewise.
4540         (ENTRY): Likewise.
4541         (test_exactness): Generate members via macro.
4542         (test_results): Likewise.
4543         (test): Update members.
4544         (TEST): Redefine using new macros.
4545         (INF): New macro.
4546         (fetestmodes): New structure.
4547         (do_test): Refactor to be type generic.
4548         (test_in_one_mode): Refactor duplicate code into
4549         (GEN_ONE_TEST): New macro.
4551         * stdlib/tst-strtod-round-data.h: Regenerate.
4553         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
4554         Extend to pass additional arbitrary parameters to
4555         generators.
4557 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
4559         [BZ #15479]
4560         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
4561         floating-point state after first floating-point operation on
4562         input.  Restore full floating-point state instead of just rounding
4563         mode.
4564         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4565         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
4566         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
4567         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
4568         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
4570         [BZ #15479]
4571         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
4572         floating-point state after first floating-point operation on
4573         input.  Restore full floating-point state instead of just rounding
4574         mode.
4575         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
4576         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
4577         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
4578         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
4579         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
4581 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4583         [BZ #19727]
4584         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
4585         valid high surrogate.
4586         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
4587         of an utf16 surrogate.
4588         * iconv/gconv_simple.c (BODY): Likewise.
4589         * iconvdata/bug-iconv12.c: New file.
4590         * iconvdata/Makefile (tests): Add bug-iconv12.
4592 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4594         [BZ #19726]
4595         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
4596         outptrp in case of an illegal input.
4597         * iconv/tst-iconv6.c: New file.
4598         * iconv/Makefile (tests): Add tst-iconv6.
4600 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4602         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
4603         an error in case of a value in range of an utf16 low surrogate.
4605 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4607         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
4608         an error in case of a value in range of an utf16 low surrogate.
4610 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4612         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
4613         Move to ...
4614         * sysdeps/s390/Makefile: ... here.
4615         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
4616         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
4617         (BRANCH_ON_COUNT): New define.
4618         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
4619         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
4620         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
4621         run on s390-32, too.
4622         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
4623         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
4624         run on s390-32, too.
4625         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
4626         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
4627         run on s390-32, too.
4629 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4631         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
4632         etf3eh or new vector loop-variant.
4634 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4636         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
4637         etf3eh or new vector loop-variant.
4639 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4641         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
4642         or new vector loop-variant.
4644 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4646         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
4647         Rename to TR_LOOP and usage of tr instead of troo instruction.
4649 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4651         * sysdeps/s390/multiarch/gconv_simple.c: New File.
4652         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
4654 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4656         * sysdeps/s390/multiarch/8bit-generic.c: New File.
4657         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
4658         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
4659         New override define.
4660         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
4662 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4664         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
4665         * sysdeps/s390/configure.ac: Add test for S390 vector register
4666         support in gcc.
4667         * sysdeps/s390/configure: Regenerated.
4669 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4671         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
4672         Install file from $(objpfx)gconv-modules.
4673         ($(objpfx)gconv-modules): Concatenate architecture specific file
4674         in variable sysdeps-gconv-modules and gconv-modules in src dir.
4675         * sysdeps/s390/gconv-modules: New file.
4676         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
4677         Deleted.
4678         ($(objpfx)gconv-modules-s390): Deleted.
4679         (sysdeps-gconv-modules): New variable.
4681 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
4683         [BZ #15479]
4684         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
4685         of immediate operand to rounding instruction.
4686         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
4687         Likewise.
4688         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
4689         Likewise.
4690         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
4691         Likewise.
4693 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4695         * math/libm-test.inc (MIN_EXP): Directly define as
4696         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
4698 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4700         * math/libm-test.inc (MANT_DIG): Directly define as
4701         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
4703 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4705         * stdlib/gen-tst-strtod-round.c (main):
4706           Change usage to more closely match the generated
4707           output.  Add usage and compilation instructions.
4708           (string_to_fp): Add and use FILE* parameter as
4709           output target.
4710           (print_fp): Likewise.
4711           (round_str): Likewise.
4712           (round_for_all): Likewise.
4713         * stdlib/tst-strtod-round.c (tests): Move into
4714         * stdlib/tst-strtod-round-data.h: New file.
4716 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
4718         [BZ #15479]
4719         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
4720         (__round): Do not force "inexact" exception.
4721         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
4722         variable.
4723         (__round): Do not force "inexact" exception.
4724         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
4725         (__roundf): Do not force "inexact" exception.
4726         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
4727         (__roundl): Do not force "inexact" exception.
4728         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
4729         (__roundl): Do not force "inexact" exception.
4730         * math/libm-test.inc (round_test_data): Do not allow spurious
4731         "inexact" exceptions.
4733         [BZ #15479]
4734         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
4735         exception in comment.
4736         (huge): Remove variable.
4737         (__floor): Do not force "inexact" exception.
4738         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
4739         "inexact" exception in comment.
4740         (huge): Remove variable.
4741         (__floor): Do not force "inexact" exception.
4742         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
4743         exception in comment.
4744         (huge): Remove variable.
4745         (__floorf): Do not force "inexact" exception.
4746         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
4747         exception in comment.
4748         (huge): Remove variable.
4749         (__floorl): Do not force "inexact" exception.
4751         [BZ #15479]
4752         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
4753         exception in comment.
4754         (huge): Remove variable.
4755         (__ceil): Do not force "inexact" exception.
4756         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
4757         "inexact" exception in comment.
4758         (huge): Remove variable.
4759         (__ceil): Do not force "inexact" exception.
4760         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
4761         (__ceilf): Do not force "inexact" exception.
4762         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
4763         exception in comment.
4764         (huge): Remove variable.
4765         (__ceill): Do not force "inexact" exception.
4767 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4769         * config.h.in (BIND_NOW): New.
4770         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
4771         * configure: Regenerated.
4772         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
4773         indirect branch via the GOT slot.
4775 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4777         [BZ #19765]
4778         * sysdeps/s390/mempcpy.S: New File.
4779         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
4780         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
4781         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4782         Add mempcpy variants.
4783         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
4784         (memcpy): Adjust to be usable from mempcpy entry point.
4785         (__memcpy_mvcle): Likewise.
4786         * sysdeps/s390/s390-64/memcpy.S: Likewise.
4787         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
4788         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
4789         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
4790         (__memcpy_z10): Likewise.
4791         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
4793 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4795         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
4796         Remove __GI_ symbol.
4797         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
4798         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
4799         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
4800         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
4801         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
4802         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
4804 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4806         * sysdeps/s390/s390-64/memcpy.S (memcpy):
4807         Use cghi instead of chi to compare 64bit value.
4809 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4811         * sysdeps/s390/s390-32/memcpy.S (memcpy):
4812         Jump to 1MB check before executing mvc-loop.
4814 2016-05-24  Florian Weimer  <fweimer@redhat.com>
4816         [BZ #6527]
4817         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
4818         unconditionally.
4819         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
4821 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4823         * stdlib/tst-strtod6.c (do_test): Use new type generic
4824         invocation of the test function.
4825         (test): Refactor into ...
4826         (TEST_STRTOD): New macro base function.
4828 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4830         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
4831         (TEST_STRTOD): New macro.
4832         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
4834 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4836         * stdlib/tst-strtod6.c (do_test): Use new type generic
4837         invocation of the test function.
4838         (test): Refactor into ...
4839         (TEST_STRTOD): New macro base function.
4841 2016-05-23  Florian Weimer  <fweimer@redhat.com>
4843         CVE-2016-4429
4844         [BZ #20112]
4845         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
4846         payload.
4848 2016-05-23  Florian Weimer  <fweimer@redhat.com>
4850         [BZ #20111]
4851         * bits/sockaddr.h (_SS_SIZE): Define.
4852         * bits/socket.h (_SS_SIZE): Remove.
4853         (_SS_PADSIZE): Adjust to account for all padding.
4854         (struct sockaddr_storage): Update comment.  Avoid implicit
4855         padding.
4856         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
4857         (_SS_PADSIZE): Adjust to account for all padding.
4858         (struct sockaddr_storage): Update comment.  Avoid implicit
4859         padding.
4860         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
4861         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
4862         (_SS_PADSIZE): Adjust to account for all padding.
4863         (struct sockaddr_storage): Update comment.  Avoid implicit
4864         padding.
4865         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
4866         __SS_SIZE is 126 in this version.
4867         * inet/tst-sockaddr.c: New file.
4868         * inet/Makefile (tests): Add tst-sockaddr.c
4869         (tst-sockaddr.c): Compile with non-strict aliasing.
4871 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
4873         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
4874         [XPG3 || XPG4].
4875         (NL_ARGMAX): Also expect for [XPG3].
4876         (NL_LANGMAX): Likewise.
4877         (NL_MSGMAX): Likewise.
4878         (NL_NMAX): Likewise.
4879         (NL_SETMAX): Likewise.
4880         (NL_TEXTMAX): Likewise.
4881         (NZERO): Likewise.
4882         (TMP_MAX): Likewise.
4883         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
4884         variable.
4886         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
4887         (PF_MAX): Update value.
4888         (AF_KCM): New macro.
4889         (SOL_NETBEUI): Likewise.
4890         (SOL_LLC): Likewise.
4891         (SOL_DCCP): Likewise.
4892         (SOL_NETLINK): Likewise.
4893         (SOL_TIPC): Likewise.
4894         (SOL_RXRPC): Likewise.
4895         (SOL_PPPOL2TP): Likewise.
4896         (SOL_BLUETOOTH): Likewise.
4897         (SOL_PNPIPE): Likewise.
4898         (SOL_RDS): Likewise.
4899         (SOL_IUCV): Likewise.
4900         (SOL_CAIF): Likewise.
4901         (SOL_ALG): Likewise.
4902         (SOL_NFC): Likewise.
4903         (SOL_KCM): Likewise.
4904         (MSG_BATCH): New enum value and macro.
4906 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
4908         [BZ #18185]
4909         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
4910         sharing L2 cache to 2 for Knights Landing.
4912 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
4914         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
4915         (FTW_DP): Do not expect for [XPG3 || XPG4].
4916         (FTW_SL): Do not expect for [XPG3].
4917         (FTW_SLN): Likewise.
4918         (FTW_PHYS): Likewise.
4919         (FTW_MOUNT): Likewise.
4920         (FTW_DEPTH): Likewise.
4921         (FTW_CHDIR): Likewise.
4922         (nftw): Likewise.
4923         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
4924         variable.
4926 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
4928         * manual/errno.texi: Fix various typos & grammar errors.
4930 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
4932         * manual/intro.texi: Fix duplicated typo.
4934 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
4936         [BZ #13304]
4937         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
4938         <float.h>, <math_private.h> and <stdlib.h>.
4939         (add_split): New function.
4940         (mul_split): Likewise.
4941         (ext_val): New typedef.
4942         (store_ext_val): New function.
4943         (mul_ext_val): New function.
4944         (compare): New function.
4945         (add_split_ext): New function.
4946         (__fmal): After checking for Inf, NaN and zero, compute result as
4947         an exact sum of scaled double values in round-to-nearest before
4948         adding those up and adjusting for other rounding modes.
4949         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
4950         tests of fma.
4951         * math/auto-libm-test-out: Regenerated.
4953 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4955         [BZ #20119]
4956         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
4957         processor level type mask for CPUID with EAX == 11.
4959 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4961         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
4962         logical threads if the HTT bit is 0.
4963         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
4964         (index_cpu_HTT): Likewise.
4965         (reg_HTT): Likewise.
4967 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4969         [BZ #20115]
4970         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
4971         Remove alignments on jump targets.
4973 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
4975         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
4976         (getpwent): Likewise.
4977         (setpwent): Likewise.
4978         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
4979         variable.
4981         * conform/data/search.h-data (insque): Do not expect for [XPG3].
4982         (remque): Likewise.
4983         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
4984         variable.
4986 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
4988         * math/libm-test.inc: Update comment not to refer to signs of NaNs
4989         not being tested.
4991 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4993         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4994         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
4995         call.
4996         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4997         (__condvar_cleanup1): Likewise.
4999 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5001         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
5002         New
5003         (__pthread_unwind): Renamed to ...
5004         (PTHREAD_UNWIND): This.
5005         (__pthread_enable_asynccancel): Replace
5006         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
5008 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5010         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
5011         (CLONE_NEWCGROUP): New macro.
5013         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
5014         (Q_GETNEXTQUOTA): New macro.
5016 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5018         [BZ #19907]
5019         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
5020         buffer updated by the previous run.
5021         * string/test-memcpy.c (do_one_test): Likewise.
5022         * benchtests/bench-memmove.c (do_one_test): Add a comment.
5023         * string/test-memmove.c (do_one_test): Likewise.
5025 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
5027         [BZ #20094]
5028         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
5029         not [__USE_XOPEN].
5030         (unlockpt): Likewise.
5031         (ptsname): Likewise.
5032         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
5033         variable.
5035         [BZ #20076]
5036         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
5037         instead of [__USE_UNIX98].
5038         (S_ISSOCK): Likewise.
5039         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
5040         variable.
5042         [BZ #20074]
5043         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
5044         [__USE_POSIX].
5045         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
5046         variable.
5048         [BZ #20051]
5049         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
5050         (ttyslot): Do not declare.
5051         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
5052         (ttyslot): New prototype.
5053         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
5054         variable.
5055         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5057 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5059         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
5061 2016-05-13  Florian Weimer  <fweimer@redhat.com>
5063         Fix race condition in tst-mallocfork2, use fewer resources.
5064         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
5065         to current process group.
5066         (signal_sender): Yield in the non-sleeping case.
5068 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
5070         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
5071         (ecvt): Likewise.
5072         (fcvt): Likewise.
5073         (gcvt): Likewise.
5074         (getsubopt): Likewise.
5075         (grantpt): Likewise.
5076         (initstate): Likewise.
5077         (l64a): Likewise.
5078         (mktemp): Likewise.
5079         (mkstemp): Likewise.
5080         (ptsname): Likewise.
5081         (random): Likewise.
5082         (realpath): Likewise.
5083         (setstate): Likewise.
5084         (srandom): Likewise.
5085         (ttyslot): Likewise.
5086         (unlockpt): Likewise.
5087         (valloc): Likewise.
5089         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
5090         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
5091         variable.
5093 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5095         [BZ #20072]
5096         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
5097         init_cpu_features only if SHARED is defined.
5098         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5100 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5102         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
5103         non-inclusive caches on Intel processors.
5105 2016-05-13  Florian Weimer  <fweimer@redhat.com>
5107         * malloc/malloc.c (dumped_main_arena_start)
5108         (dumped_main_arena_end): New variables.
5109         (DUMPED_MAIN_ARENA_CHUNK): New macro.
5110         (do_check_chunk): Skip dumped fake mmapped chunks.
5111         (munmap_chunk): Likewise.
5112         (__libc_free): Do not adjust statistics for fake mmapped chunks.
5113         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
5114         mmapped chunks.
5115         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
5116         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
5117         and dumped_main_arena_end to cover the dumped heap.
5119 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
5121         * conform/data/time.h-data (getdate_err): Do not expect for
5122         [XPG3].
5123         (getdate): Likewise.
5124         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
5125         variable.
5127         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
5128         (F_ULOCK): Likewise.
5129         (F_TEST): Likewise.
5130         (F_TLOCK): Likewise.
5131         (useconds_t): Likewise.
5132         (intptr_t): Do not expect for [XPG3] or [XPG4].
5133         (brk): Do not expect for [XPG3]
5134         (fchown): Likewise.
5135         (fchdir): Likewise.
5136         (ftruncate): Likewise.
5137         (getdtablesize): Likewise.
5138         (gethostid): Likewise.
5139         (getpagesize): Likewise.
5140         (getpgid): Likewise.
5141         (getsid): Likewise.
5142         (getwd): Likewise.
5143         (lchown): Likewise.
5144         (lockf): Likewise.
5145         (readlink): Likewise.
5146         (sbrk): Likewise.
5147         (setpgrp): Likewise.
5148         (setregid): Likewise.
5149         (setreuid): Likewise.
5150         (symlink): Likewise.
5151         (sync): Likewise.
5152         (truncate): Likewise.
5153         (ualarm): Likewise.
5154         (usleep): Likewise.
5155         (vfork): Likewise.
5156         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
5157         variable.
5159         [BZ #20054]
5160         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
5161         not [__USE_UNIX98].
5162         * conform/data/unistd.h-data (gethostname): Do not expect for
5163         [XPG3].
5165         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
5166         [!POSIX] (S_IFBLK): Likewise.
5167         [!POSIX] (S_IFCHR): Likewise.
5168         [!POSIX] (S_IFIFO): Likewise.
5169         [!POSIX] (S_IFREG): Likewise.
5170         [!POSIX] (S_IFDIR): Likewise.
5171         [!POSIX] (S_IFLNK): Likewise.
5172         [!POSIX] (S_IFSOCK): Likewise.
5173         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
5174         variable.
5175         (test-xfail-XPG4/fcntl.h/conform): Likewise.
5177 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
5179         * sysdeps/aarch64/memset.S (__memset):
5180         Rewrite of optimized memset.
5182 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5184         [BZ #19703]
5185         Partially async-signal-safe fork for single-threaded processes.
5186         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
5187         variable.  Do not acquire and reset/release malloc and libio locks
5188         in single-threaded processes.
5189         * malloc/tst-mallocfork2.c: New file.
5190         * malloc/Makefile (tests): Add it.
5192 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5194         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
5195         argument.  Use scratch buffer instead of extend_alloca.
5196         (gethosts): Use scratch buffer instead of extend_alloca.
5197         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
5198         extend_alloca.
5199         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
5201 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
5203         [BZ #20055]
5204         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
5205         instead of [__USE_UNIX98].
5206         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
5207         [__USE_UNIX98].
5208         * conform/data/termios.h-data (tcgetsid): Do not expect for
5209         [XPG3].
5210         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
5211         variable.
5212         (test-xfail-XPG4/termios.h/conform): Likewise.
5214 2016-05-11  Florian Weimer  <fweimer@redhat.com>
5216         Do not use mcheck in localedef.
5217         * locale/programs/localedef.c (turn_on_mcheck)
5218         (__malloc_initialize_hook): Remove.
5220 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5222         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
5223         * sysdeps/s390/s390-64/Makefile: Likewise.
5225 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
5227         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
5228         Remove ifunc-defines.sym.
5229         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
5230         Likewise.
5231         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
5232         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
5233         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
5234         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
5235         rtld-global-offsets.sym.
5236         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
5237         * sysdeps/x86/cpu-features-offsets.sym: This.
5238         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
5239         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
5241 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
5243         [BZ #20073]
5244         * io/sys/stat.h (fchmod): Declare for
5245         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
5246         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
5247         variable.
5249         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
5250         [XPG3] (S_IFSOCK): Likewise.
5251         [XPG3] (S_ISVTX): Likewise.
5252         [XPG3] (S_ISLNK): Likewise.
5253         [XPG3] (S_ISSOCK): Likewise.
5254         [XPG3] (fchmod): Likewise.
5255         [XPG3] (lstat): Likewise.
5256         [XPG3] (mknod): Likewise.
5258         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
5259         [XPG3].  Expect type long and XFAIL for [XPG4].
5260         (st_blocks): Likewise.
5262         [BZ #20044]
5263         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
5264         (pthread_atfork): New prototype.
5265         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
5266         variable.
5268         [BZ #20043]
5269         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
5270         prototype.
5272 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5274         [BZ #20017]
5275         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
5276         gmtime.
5278 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5280         [BZ #19994]
5281         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
5282         flag in _res.options.
5284 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
5286         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
5287         [XPG3 || XPG4].
5288         (blksize_t): Likewise.
5289         (clockid_t): Likewise.
5290         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
5291         variable.
5292         (test-xfail-XPG4/sys/types.h/conform): Likewise.
5294 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5296         * sysdeps/unix/sysv/linux/s390/init-first.c:
5297         Add VDSO_SYMBOL(getcpu).
5298         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
5299         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
5300         Add VDSO_SYMBOL(getcpu).
5301         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
5302         New define HAVE_GETCPU_VSYSCALL.
5303         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5305 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
5307         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
5308         instead of <sysdeps/x86_64/cacheinfo.c>.
5309         * sysdeps/x86_64/cacheinfo.c: Moved to ...
5310         * sysdeps/x86/cacheinfo.c: Here.
5312 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5314         * malloc/malloc-internal.h: Adjust header file guard.
5316 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5318         [BZ #19787]
5319         * inet/getnameinfo.c (check_sprintf_result): New function.
5320         (CHECKED_SNPRINTF): New macro.
5321         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
5322         to the host buffer.
5323         (gni_host_local): Use checked_copy to copy the host name.
5324         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
5325         (gni_serv_local): Use checked_copy to copy the service name.
5326         (getnameinfo): Remove unnecessary truncation of result buffers.
5328 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5330         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
5331         in case of inet_ntop failure.
5333 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5335         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
5336         avoid long lines.
5337         (gni_host_inet_numeric): Likewise.  Reduce scope of local
5338         variables.
5339         (gni_host_inet, gni_host_local): Add comment.
5340         (gni_host): Add comment.  Use temporary to avoid long lines.
5342 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5344         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
5345         registers specifiers where general purpose registers specifiers should
5346         have been used.
5348 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5350         [BZ #19779]
5351         CVE-2016-1234
5352         Avoid copying names of directory entries.
5353         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
5354         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
5355         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
5356         (struct readdir_result): New type.
5357         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
5358         (GL_READDIR): New macros.
5359         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
5360         (convert_dirent, convert_dirent64): New functions.
5361         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
5362         convert_dirent64.  Adjust references to the readdir result.
5363         * sysdeps/unix/sysv/linux/i386/glob64.c:
5364         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
5365         * posix/bug-glob2.c (LONG_NAME): Define.
5366         (filesystem): Add LONG_NAME.
5367         (my_DIR): Increase the size of room_for_dirent.
5369 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
5371         [BZ #20041]
5372         * misc/sys/select.h (__need_timespec): Only define if
5373         [__USE_XOPEN2K].
5374         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
5375         variable.
5376         (test-xfail-XPG4/utmpx.h/conform): Likewise.
5377         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5378         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5380 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5381             Segher Boessenkool  <segher@gcc.gnu.org>
5383         [BZ #20004]
5384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
5385         (__novec_swapcontext): Add missing load.
5387 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
5389         [BZ #20023]
5390         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
5391         <time.h>.
5392         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
5393         variable.
5394         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5396 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
5399         flags CLONE_VM compare.
5401 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5403         [BZ #20031]
5404         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
5405         completely empty.
5407 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5409         [BZ #19573]
5410         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
5411         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
5412         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
5413         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
5414         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
5415         (hesiod_free_list): Mark as hidden.
5416         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
5417         res_set, res_get.
5418         * hesiod/hesiod.c: Remove unnecessary forward declarations.
5419         (init, __hesiod_res_get, __hesiod_res_set): Remove.
5420         (hesiod_init): Remove obsolete res_ninit call.
5421         (hesiod_end): Do not free resolver state.  Do not invoke callback.
5422         (hesiod_bind): Do not call init.
5423         (get_txt_records): Use res_mkquery, res_send instead of
5424         res_nmkquery, res_nsend.
5425         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
5426         instead of _nss_hesiod_init.
5427         (_nss_hesiod_initgroups_dyn): Likewise.
5428         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
5429         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
5430         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
5432 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5434         * hesiod/hesiod_p.h (DEF_RHS): Remove.
5435         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
5437 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5439         * hesiod/hesiod.h: Remove RCS keyword.
5440         * hesiod/hesiod_p.h: Likewise.
5442         * hesiod/hesiod.c: Likewise.
5444 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
5446         [BZ #12450]
5447         * locale/iso-639.def: Add Samogitian/sgs.
5449 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
5451         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
5453         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
5455 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
5456             Carlos O'Donell  <carlos@redhat.com>
5458         [BZ #19072]
5459         * grp/Makefile (headers): Add grp-merge.h
5460         (routines): Add grp-merge.
5461         * grp/getgrgid_r.c: Include grp-merge.h.
5462         (DEEPCOPY_FN): Define.
5463         (MERGE_FN): Define.
5464         * grp/getgrname_r.c: Include grp-merge.h.
5465         (DEEPCOPY_FN): Define.
5466         (MERGE_FN): Define.
5467         * grp/grp-merge.c: New file.
5468         * grp/grp-merge.h: New file.
5469         * include/grp-merge.h: New file.
5470         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
5471         __copy_grp@GLIBC_PRIVATE.
5472         * manual/nss.texi (Actions in the NSS configuration): Describe
5473         return, continue, and merge.
5474         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
5475         (DEEPCOPY_FN): Define.
5476         (MERGE_FN): Define.
5477         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
5478         (DEEPCOPY_FN): Define.
5479         (MERGE_FN): Define.
5480         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
5481         [!MERGE_FN]: Define __merge_einval.
5482         (CHECK_MERGE): Define.
5483         (REENTRANT_NAME): Process merge if do_merge is true.
5484         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
5485         (__nss_getent_r): Likewise.
5486         * nss/nsswitch.c (nss_parse_service_list): Likewise.
5487         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
5489 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5491         [BZ #20012]
5492         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
5493         length to calculate the buffer to read.
5494         (fmemopen_write): Set the buffer position based on bytes written.
5495         (fmemopen_seek): Return EINVAL for invalid whence modes.
5497         [BZ #19957]
5498         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
5499         tst-getpid2.
5500         (test): Add tst-clone2.
5501         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
5502         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
5503         pid/tid fields for CLONE_VM.
5504         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5505         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5506         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5507         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
5508         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5509         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5510         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5511         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5513         Likewise.
5514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5515         Likewise.
5516         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
5517         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
5518         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
5519         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5520         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
5521         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
5522         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
5523         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
5525 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5527         [BZ #19642]
5528         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
5529         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
5530         (gni_serv_local, gni_serv): New functions extracted from
5531         getnameinfo.
5532         (getnameinfo): Call gni_host and gni_serv to perform the
5533         processing.  Always free scratch buffer.
5535 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5537         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
5538         remaining bytes in the dest string, with zeros.
5540 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5542         [BZ #20010]
5543         CVE-2016-3706
5544         * sysdeps/posix/getaddrinfo.c
5545         (convert_hostent_to_gaih_addrtuple): New function.
5546         (gethosts): Call convert_hostent_to_gaih_addrtuple.
5547         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
5548         AF_INET data.
5550 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5552         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
5553         callback function gl_readdir.
5554         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
5555         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
5556         (glob_in_dir): Remove len.  Use strdup instead of malloc and
5557         memcpy to copy the name.
5558         * manual/pattern.texi (Calling Glob): Document requirements for
5559         implementations of the gl_readdir callback function.
5560         * manual/examples/mkdirent.c: New example.
5561         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
5562         per the manual guidance.
5563         * posix/tst-gnuglob.c (my_readdir): Likewise.
5565 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
5567         [BZ #20014]
5568         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
5569         not [__USE_POSIX].
5570         (getchar_unlocked): Likewise.
5571         (putc_unlocked): Likewise.
5572         (putchar_unlocked): Likewise.
5573         (flockfile): Likewise.
5574         (ftrylockfile): Likewise.
5575         (funlockfile): Likewise.
5576         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
5577         variable.
5578         (test-xfail-XPG4/stdio.h/conform): Likewise.
5580         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
5581         Expect constant.
5582         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
5583         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
5584         variable.
5585         (test-xfail-XPG4/langinfo.h/conform): Likewise.
5586         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5588         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
5589         [__USE_LARGEFILE64] (off64_t): Likewise.
5590         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
5591         variable.
5593 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5595         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
5597 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5599         * resolv/inet_addr.c: Reindent preprocessor conditionals.
5600         * resolv/res_init.c: Likewise.
5601         * resolv/res_mkquery.c: Likewise.
5603 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5605         * resolv/res_init.c (isascii): Do not define.  Use definition in
5606         <ctype.h>.
5607         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
5608         (LOG_AUTH): Remove.
5609         (SPRINTF): Remove, adjust caller.
5610         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
5612 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5614         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
5615         SUNSECURITY conditional.
5616         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
5618 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5620         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
5621         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
5622         Remove BSD-related preprocessor conditionals.
5623         * conf/portability.h: Remove.
5625 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5627         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
5628         * resolv/res_data.c: Likewise.
5630 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5632         * resolv/res_comp.c: Remove code conditional on __ultrix__.
5633         * resolv/res_data.c: Remove code conditional on ultrix.
5635 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5637         * resolv/res_init.c (RFC1535): Do not define.  Remove
5638         RFC1535 preprocessor conditionals.
5639         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
5640         because there configuration options which make the resolver
5641         behavior different.
5643 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5645         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
5646         RESOLVSORT preprocessor conditionals.
5647         * resolv/nss_dns/dns-host.c: Likewise.
5648         * resolv/res_init.c: Likewise.
5650 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5652         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
5653         is never defined.
5655 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5657         * inet/inet_lnaof.c: Remove SCSS keyword.
5658         * inet/inet_mkadr.c: Likewise.
5659         * inet/inet_net.c: Likewise.
5660         * inet/inet_netof.c: Likewise.
5661         * inet/rcmd.c: Likewise.
5662         * inet/rexec.c: Likewise.
5663         * inet/ruserpass.c: Likewise.
5665 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5667         * resolv/inet_addr.c: Remove _LIBC conditionals.
5668         * resolv/res_data.c: Likewise.
5669         * resolv/res_init.c: Likewise.
5670         * resolv/res_mkquery.c: Likewise.
5671         * resolv/res_libc.c: Update comment.
5672         * resolv/README: Update.
5674 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5676         * resolv/gethnamaddr.c: Remove SCSS keyword.
5677         * resolv/herror.c: Likewise.
5678         * resolv/inet_addr.c: Likewise.
5679         * resolv/inet_net_ntop.c: Likewise.
5680         * resolv/inet_net_pton.c: Likewise.
5681         * resolv/inet_neta.c: Likewise.
5682         * resolv/inet_ntop.c: Likewise.
5683         * resolv/inet_pton.c: Likewise.
5684         * resolv/ns_date.c: Remove RCS keyword.
5685         * resolv/ns_name.c: Likewise.
5686         * resolv/ns_netint.c: Likewise.
5687         * resolv/ns_parse.c: Likewise.
5688         * resolv/ns_print.c: Likewise.
5689         * resolv/ns_samedomain.c: Likewise.
5690         * resolv/ns_ttl.c: Likewise.
5691         * resolv/nsap_addr.c: Likewise.
5692         * resolv/res_comp.c: Remove SCSS and RCS keyword.
5693         * resolv/res_data.c: Remove RCS keyword.
5694         * resolv/res_debug.c: Remove SCSS and RCS keyword.
5695         * resolv/res_init.c: Likewise.
5696         * resolv/res_mkquery.c: Likewise.
5697         * resolv/res_query.c: Likewise.
5698         * resolv/res_send.c: Likewise.
5700 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
5702         * conform/data/stdio.h-data (fdopen): Expect also for
5703         [XPG3 || XPG4].
5705         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
5706         (fseeko): Likewise.
5707         (ftello): Likewise.
5708         (ftrylockfile): Likewise.
5709         (funlockfile): Likewise.
5710         (getc_unlocked): Likewise.
5711         (getchar_unlocked): Likewise.
5712         (putc_unlocked): Likewise.
5713         (putchar_unlocked): Likewise.
5715 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5717         [BZ #19868]
5718         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
5719         DNS packet syntax checks (which were not needed before).  Skip
5720         over non-PTR records.
5722 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5724         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
5725         definition.  Include <stddef.h> instead.
5727 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5729         [BZ #19831]
5730         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
5731         function.
5732         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
5733         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
5735 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5737         [BZ #19862]
5738         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
5739         (getanswer_r): Do not call syslog.
5740         (gaih_getanswer_slice): Likewise.
5741         * resolv/gethnamaddr.c (AskedForGot): Remove.
5742         (getanswer): Do not call syslog.
5743         (gethostbyaddr): Likewise.
5745 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
5747         * conform/data/signal.h-data (union sigval): Expect also if
5748         [XOPEN2K].
5749         (struct sigevent): Likewise.
5750         (SIGEV_NONE): Likewise.
5751         (SIGEV_SIGNAL): Likewise.
5752         (SIGEV_THREAD): Likewise.
5753         (SIGRTMIN): Likewise.
5754         (SIGRTMAX): Likewise.
5755         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
5756         variable.
5757         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5759 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5761         [BZ #19830]
5762         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
5763         (gaih_getanswer_slice): Likewise.
5764         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
5765         Also check for availability of RR metadata.
5767 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5769         [BZ #19825]
5770         * resolv/res_send.c (send_vc): Remove early *resplen2
5771         initialization.  Set *resplen2 on socket error.  Call
5772         close_and_return_error for other errors.
5774 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
5776         * sysdeps/unix/sysv/linux/netiucv/iucv.h
5777         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
5778         (SCM_IUCV_TRGCLS): New define.
5780 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5782         [BZ #20005]
5783         * libio/fmemopen.c (fmemopen_write): Update internal position after
5784         write.
5785         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
5786         * stdio-common/tst-fmemopen4.c: New file..
5788 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
5790         [BZ #19996]
5791         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
5792         not [__USE_XOPEN2K].
5793         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
5794         variable.
5796         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
5797         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
5798         variable.
5800         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
5801         [__USE_XOPEN2K8].
5802         [__USE_LARGEFILE64] (off64_t): Likewise.
5803         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
5804         variable.
5806 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
5808         [BZ #19989]
5809         * libio/stdio.h (cuserid): Do not declare if
5810         [__USE_XOPEN2K && !__USE_GNU].
5811         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
5812         variable.
5814 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5816         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5817         (sysdep_routines): Add P8 and PPC64 strcspn targets.
5818         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5819         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
5820         ifunc'ed strcspn.
5821         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
5822         [EALIGN]: Removed.
5823         [END]: Likewise
5824         [STRSPN]: Define instead of the above to control symbol name.
5825         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
5826         New file.
5827         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
5828         Likewise.
5829         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
5830         Likewise.
5831         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
5832         Likewise.
5833         * sysdeps/powerpc/powerpc64/power8/strspn.S:
5834         [INITIAL_MASK]: New macro.
5835         [STRCSPN]: Likewise.
5836         [UPDATE_MASK]: Likewise.
5837         [USE_AS_STRCSPN]: Lisewise.
5839 2016-04-25  Florian Weimer  <fweimer@redhat.com>
5841         [BZ #19931]
5842         * stdio-common/tst-vfprintf-width-prec.c: New file.
5843         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
5844         (tests-special): Add tst-vfprintf-width-prec-mem.out.
5845         (generated): Add mtrace-related files.
5846         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
5847         (tst-%-mem.out): New pattern rule, replaces
5848         tst-printf-bz18872-mem.out.
5849         * stdio-common/vfprintf.c (vfprintf): When handling a precision
5850         specifier, deallocate any previously allocated work buffer.
5852 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
5854         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
5855         Add nop before __startcontext, add explaining comments.
5857 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
5859         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
5860         any more. Notably since IPV6_PKTINFO has been reintroduced with a
5861         completely different API.
5863         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
5864         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
5865         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
5866         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
5867         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
5868         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
5869         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
5870         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
5871         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
5872         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
5874 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
5876         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
5878 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
5880         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
5881         when it is the default of 0.
5883 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5885         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
5886         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5887         (sysdep_routines): Add new strcasestr targets.
5888         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5889         (__libc_ifunc_impl_list): Likewise.
5890         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
5891         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
5892         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
5893         * sysdeps/powerpc/powerpc64/power8/Makefile:
5894         New file to add strcasestr-ppc64 to sysdep_routines.
5895         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
5896         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
5898 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
5900         * benchtests/Makefile (wcsmbs-benchset): Include only for
5901         native builds and runs.
5902         (LOCALES): Likewise.
5903         (bench-build): Build timing-type here instead of the bench
5904         target.  Generate locale only for native builds.
5905         * benchtests/README: Add note for cross-building.
5907         * benchtests/Makefile (bench-clean): Clean up extra-objs.
5909         * benchtests/README: Update README to include instructions on
5910         using bench-build.
5912         * Makefile.in (bench-build): New target.
5913         * Rules (PHONY): Add bench-build target.
5914         * benchtests/Makefile (bench): Depend on bench-build.
5915         (bench-build): New target.
5917 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5919         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
5920         profil_reply_port.
5921         (profile_waiter): Do not initialize profil_reply_port.
5922         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
5923         frequency instead of tick length in us.
5925 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
5927         [BZ #18712]
5928         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
5929         (__old_mempcpy_small): Likewise.
5930         (__old_strcpy_small): Likewise.
5931         (__old_stpcpy_small): Likewise.
5932         (__old_strpbrk_c2): Fix compat symbol name.
5933         (__old_strpbrk_c3): Likewise.
5934         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
5935         (__mempcpy_small): Remove.
5936         (__strcpy_small): Remove.
5937         (__stpcpy_small): Remove.
5939 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
5941         [BZ #19400]
5942         * locale/iso-639.def: Add the Talossan/tzl language.
5944 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
5946         [BZ #16983]
5947         * locale/programs/ld-address.c (address_finish): Update postal_fmt
5948         comment.  Add "ln" to strchr check on postal_fmt.
5950 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
5952         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
5953         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
5954         tel_dom_fmt.
5956 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5958         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5959         (sysdep_routines): Added __strlen_power8.
5960         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
5961         __strlen_power8 entry.
5962         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
5963         Implementation for POWER8.
5964         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
5965         for __strlen_power8.
5966         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
5967         Implementation for POWER8.
5969 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
5971         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
5973 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
5975         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
5976         Goldmont and Airmont processors.
5978 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
5980         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
5981         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
5982         (__STRING2_SMALL_GET32): Remove.
5983         (memset): Remove.
5984         (__memset_1): Remove.
5985         (__memset_gc): Remove.
5986         (__mempcpy): Remove.
5987         (mempcpy): Remove.
5988         (__mempcpy_args): Remove.
5989         (strchr): Remove.
5990         (strcpy): Remove.
5991         (strcpy_args): Remove.
5992         (__stpcpy_args): Remove.
5993         (__strcmp_cc): Remove.
5994         (__strcmp_gc): Remove.
5995         (strstr): Remove.
5997 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
5999         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
6000         * nis/nis_call.c (nis_server_cache_add): Likewise.
6002 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6004         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
6006 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6008         * malloc/arena.c (__malloc_fork_lock_parent)
6009         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
6010         internal_function attribute.
6012 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
6014         * stdio-common/printf_fp.c (__printf_fp_l):
6015         Rename ___printf_fp_l to __printf_fp_l and
6016         remove strong alias. Use libc_hidden_def instead
6017         of ldbl_hidden_def macro.
6019 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6021         Remove malloc hooks from fork handler.  They are no longer needed
6022         because malloc runs right before fork, and no malloc calls from
6023         other fork handlers are not possible anymore.
6024         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
6025         declarations.
6026         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
6027         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
6028         (atfork_recursive_cntr): Remove.
6029         (__malloc_fork_lock_parent): Do not override malloc hooks and
6030         thread_arena.
6031         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
6032         thread_arena.
6033         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
6034         thread_arena instead of save_arena.
6036 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6038         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
6039         (thread_atfork, thread_atfork_static): Remove.
6040         * sysdeps/mach/hurd/malloc-machine.h:
6041         (thread_atfork, thread_atfork_static): Remove.
6043 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6045         [BZ #19431]
6046         Run the malloc fork handler as late as possible to avoid deadlocks.
6047         * malloc/malloc-internal.h: New file.
6048         * malloc/malloc.c: Include it.
6049         * malloc/arena.c (ATFORK_MEM): Remove.
6050         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
6051         Update comment.
6052         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
6053         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
6054         Remove outdated comment.
6055         (ptmalloc_init): Do not call thread_atfork.  Remove
6056         thread_atfork_static.
6057         * malloc/tst-malloc-fork-deadlock.c: New file.
6058         * Makefile (tests): Add tst-malloc-fork-deadlock.
6059         (tst-malloc-fork-deadlock): Link against libpthread.
6060         * manual/memory.texi (Aligned Memory Blocks): Update safety
6061         annotation comments.
6062         * sysdeps/nptl/fork.c (__libc_fork): Call
6063         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
6064         __malloc_fork_unlock_child.
6065         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
6067 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6069         [BZ #19613]
6070         Remove union wait.
6071         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
6072         (w_stopsig, w_stopval): Remove.
6073         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
6074         stat_loc argument.
6075         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
6076         (__WAIT_STATUS_DEFN): Remove.
6077         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
6078         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
6079         (wait, wait3, wait4): Use int * for the stat_loc argument.
6080         * posix/wait.c (__wait): Likewise.
6081         * posix/wait3.c (__wait3): Likewise.
6082         * posix/wait4.c (__wait4): Likewise.
6083         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
6084         (__WAIT_STATUS_DEFN): Remove.
6085         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
6086         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
6087         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
6088         argument.
6089         * sysdeps/posix/wait.c (__libc_wait): Likewise.
6090         * sysdeps/posix/wait3.c (__wait3): Likewise.
6091         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
6092         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
6093         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
6094         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
6095         stat_loc argument.
6096         * manual/process.texi (BSD Wait Functions): Remove union wait.
6098 2016-04-13  Andreas Schwab  <schwab@suse.de>
6100         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
6101         (test-extras): Add tst-tlsalign-vars.
6102         * math/Makefile: Wrap long lines.
6103         (libm-vec-test-wrappers): Define.
6104         (test-extras): Add $(libm-vec-test-wrappers).
6105         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
6106         * nss/Makefile (extra-test-objs): Add nss_test1.os.
6107         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
6108         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
6109         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
6110         (extra-test-objs): Add corresponding objects.
6112 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
6114         [BZ #19928]
6115         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
6116         New.
6117         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
6118         times of shared cache size.
6119         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
6120         (VMOVNT): New.
6121         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
6122         (VMOVNT): Likewise.
6123         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
6124         (VMOVNT): Likewise.
6125         (VMOVU): Changed to movups for smaller code sizes.
6126         (VMOVA): Changed to movaps for smaller code sizes.
6127         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
6128         comments.
6129         (PREFETCH): New.
6130         (PREFETCH_SIZE): Likewise.
6131         (PREFETCHED_LOAD_SIZE): Likewise.
6132         (PREFETCH_ONE_SET): Likewise.
6133         Rewrite to use forward and backward loops, which move 4 vector
6134         registers at a time, to support overlapping addresses and use
6135         non temporal store if size is above the threshold and there is
6136         no overlap between destination and source.
6138 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
6140         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
6141         Include dl-vdso.
6142         * sysdeps/unix/sysv/linux/mips/Versions: Add
6143         __vdso_clock_gettime.
6144         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
6145         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
6146         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
6147         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
6148         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
6149         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6150         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6151         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
6152         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
6154 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6156         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
6157         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
6158         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6159         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6160         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6161         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6164         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
6165         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
6166         syscalls generation.
6167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6168         [__NR_pwrite64] (__NR_write): Remove define.
6169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6170         [__NR_pwrite64] (__NR_write): Remove define.
6171         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
6172         Remove define.
6173         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
6174         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
6175         Remove define.
6176         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
6177         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
6178         Linux implementation as base.
6179         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6181         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
6182         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
6183         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6184         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
6186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6187         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
6188         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
6189         syscall generation.
6190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6191         [__NR_pread64] (__NR_pread): Remove define.
6192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6193         [__NR_pread64] (__NR_pread): Likewise.
6194         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
6195         define.
6196         (__libc_pread): Use SYSCALL_LL macro on offset argument.
6197         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
6198         Remove define.
6199         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
6200         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
6201         Linux implementation as base.
6202         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6203         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6204         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6206         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
6207         definition.
6208         (__ALIGNMENT_COUNT): Likewise.
6209         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
6210         (__ALIGNMENT_COUNT): Likewise.
6211         (SYSCALL_LL): New define.
6212         (SYSCALL_LL64): Likewise.
6213         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
6214         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
6215         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
6216         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
6218         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6219         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
6220         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6221         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6222         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6223         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6225 2016-04-11  Florian Weimer  <fweimer@redhat.com>
6227         [BZ #19865]
6228         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
6229         original buffer before retry.
6231 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6233         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
6234         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
6235         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
6236         GLRO(dl_auxv) list.
6237         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
6238         including <ldsodefs.h>.
6239         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
6241 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
6243         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
6244         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
6245         $(CPPFLAGS).
6247 2016-04-09  Khem Raj  <raj.khem@gmail.com>
6249         [BZ #17950]
6250         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
6251         Add -mfpmath=387.
6253 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
6255         * sysdeps/i386/configure.ac: Change == to = when calling test.
6256         * sysdeps/x86_64/configure.ac: Likewise.
6257         * sysdeps/i386/configure: Regenerated.
6258         * sysdeps/x86_64/configure: Likewise.
6260 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
6262         [BZ #16137]
6263         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
6264         * benchtests/bench-strcoll.c (input_files): Likewise.
6265         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6266         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
6267         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
6269 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
6271         [BZ #19929]
6272         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
6273         [__USE_XOPEN2K8 && !__USE_GNU].
6274         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
6275         variable.
6277         [BZ #19925]
6278         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
6279         define if [!__USE_MISC && __USE_XOPEN2K].
6280         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
6281         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
6282         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
6283         Likewise.
6284         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
6285         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
6286         variable.
6287         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6289 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6291         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6292         (sysdep_routines): Add new strspn targets.
6293         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6294         (__libc_ifunc_impl_list): Add strspn.
6295         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6296         New file.
6297         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
6298         Likewise.
6299         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
6300         Likewise.
6301         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6302         Likewise.
6304 2016-04-07  Florian Weimer  <fweimer@redhat.com>
6306         * misc/hsearch_r.c: Include <limits.h>.
6308 2016-04-07  Florian Weimer  <fweimer@redhat.com>
6310         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
6312 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6314         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6315         (MEMCPY_SYMBOL): New.
6316         (MEMPCPY_SYMBOL): Likewise.
6317         (MEMMOVE_CHK_SYMBOL): Likewise.
6318         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
6319         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
6320         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
6321         Provide alias for memcpy in libc.a and ld.so.
6323 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6325         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6326         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
6327         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
6328         Disabled fro now.
6329         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
6330         symbols.  Properly check USE_MULTIARCH on __memset symbols.
6332 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6334         * benchtests/Makefile (string-benchset): Add memcpy-large,
6335         memmove-large and memset-large.
6336         * benchtests/bench-memcpy-large.c: New file.
6337         * benchtests/bench-memmove-large.c: Likewise.
6338         * benchtests/bench-memmove-large.c: Likewise.
6339         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
6341 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6343         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
6344         32-bit displacement to avoid long nop between instructions.
6346 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6348         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
6349         a comment on VMOVU and VMOVA.
6351 2016-04-04  Florian Weimer  <fweimer@redhat.com>
6353         [BZ #19633]
6354         Use specified locale for number formatting in strfmon_l.
6355         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
6356         (__nl_lookup_word): New inline functions.
6357         * include/printf.h (__print_fp_l): Declare.
6358         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
6359         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
6360         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
6361         (___printf_fp): New function.
6362         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
6363         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
6364         * stdlib/tst-strfmon_l.c (do_test): New test.
6365         * stdlib/Makefile (tests): Add kt.
6366         (LOCALES): Build additional locales.
6367         (tst-strfmon_l.out): Require locales.
6369 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6371         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
6372         if not in libc.
6373         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6374         Likewise.
6375         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
6376         Likewise.
6377         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6378         Likewise.
6380 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6382         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6383         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
6384         with unaligned_erms.
6385         (__memmove_erms): Skip if source == destination.
6386         (__memmove_unaligned_erms): Don't check source == destination
6387         first.
6389 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6391         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
6392         bit_arch_Fast_Copy_Backward for Intel Core proessors.
6394 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6396         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
6397         * string/strspn.c (strspn): Likewise.
6399 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6401         * benchtests/bench-memset.c (do_test): Support 64-byte
6402         alignment.
6403         (test_main): Test 64-byte alignment.
6405 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6407         * benchtests/bench-memmove.c (test_main): Test 64-byte
6408         alignment.
6410 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6412         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
6414 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6416         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
6417         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
6418         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
6420         * string/strpbrk.c (strpbrk): Rewrite function.
6421         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
6422         (__strpbrk_c2): Likewise.
6423         (__strpbrk_c3): Likewise.
6424         * string/string-inlines.c
6425         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
6426         Likewise.
6427         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
6428         Likewise.
6430         * string/strspn.c (strcspn): Rewrite function.
6431         * string/bits/string2.h (strspn): Use __builtin_strcspn.
6432         (__strspn_c1): Remove inline function.
6433         (__strspn_c2): Likewise.
6434         (__strspn_c3): Likewise.
6435         * string/string-inlines.c
6436         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
6437         compatibility symbol.
6438         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
6439         Likewise.
6440         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
6441         Likewise.
6442         * string/string-inlines.c: Include generic version.
6444 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
6445             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6447         * string/Version (libc): Add GLIBC_2.24.
6448         * string/strcspn.c (strcspn): Rewrite function.
6449         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
6450         (__strcspn_c1): Remove inline function.
6451         (__strcspn_c2): Likewise.
6452         (__strcspn_c3): Likewise.
6453         * string/string-inline.c
6454         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
6455         compatibility symbol.
6456         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
6457         Likewise.
6458         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
6459         Likewise.
6460         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
6462 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6464         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6465         Use ahi instead of aghi to adjust stack pointer.
6467 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6469         [BZ #19853]
6470         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
6471         TEST to take significant digits as second parameter.
6472         [TEST]: Redefine in terms of TEST_N taking 30
6473         significant digits.
6474         (do_test): Add test case to demonstrate precision
6475         failure in the ldbl-128ibm printf.
6476         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
6477         (__mpn_extract_long_double): Carry 7 extra intermediate
6478         bits of precision to aide computing difference when
6479         signs differ.
6481 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6483         [BZ #19881]
6484         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6485         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
6486         memset-avx512-unaligned-erms.
6487         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6488         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
6489         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
6490         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
6491         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
6492         __memset_sse2_unaligned_erms, __memset_erms,
6493         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
6494         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
6495         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
6496         file.
6497         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6498         Likewise.
6499         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
6500         Likewise.
6501         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
6502         Likewise.
6504 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6506         [BZ #19776]
6507         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6508         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
6509         memmove-avx512-unaligned-erms.
6510         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6511         (__libc_ifunc_impl_list): Test
6512         __memmove_chk_avx512_unaligned_2,
6513         __memmove_chk_avx512_unaligned_erms,
6514         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
6515         __memmove_chk_sse2_unaligned_2,
6516         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
6517         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
6518         __memmove_avx512_unaligned_erms, __memmove_erms,
6519         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
6520         __memcpy_chk_avx512_unaligned_2,
6521         __memcpy_chk_avx512_unaligned_erms,
6522         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
6523         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
6524         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
6525         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
6526         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
6527         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
6528         __mempcpy_chk_avx512_unaligned_erms,
6529         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
6530         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
6531         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
6532         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
6533         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
6534         __mempcpy_erms.
6535         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
6536         file.
6537         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6538         Likwise.
6539         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
6540         Likwise.
6541         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6542         Likwise.
6544 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6546         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
6547         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
6548         (La_s390_64_regs): Likewise.
6549         (La_s390_32_retval): Append vector register lrv_v24.
6550         (La_s390_64_retval): Likeweise.
6551         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
6552         Handle extended structs La_s390_32_regs and La_s390_32_retval.
6553         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
6554         Handle extended structs La_s390_64_regs and La_s390_64_retval.
6556 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6558         [BZ #19916]
6559         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
6560         to create a non-vector/vector version for _dl_runtime_resolve and
6561         _dl_runtime_profile. Move implementation to ...
6562         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
6563         (_dl_runtime_resolve) Save and restore fpr/vrs.
6564         (_dl_runtime_profile) Save and restore vrs and fix some issues
6565         if _dl_call_pltexit is called.
6566         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
6567         Choose the correct resolver function if running on a machine with vx.
6568         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
6569         to create a non-vector/vector version for _dl_runtime_resolve and
6570         _dl_runtime_profile. Move implementation to ...
6571         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
6572         (_dl_runtime_resolve) Save and restore fpr/vrs.
6573         (_dl_runtime_profile) Save and restore vrs and fix some issues
6574         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
6575         Choose the correct resolver function if running on a machine with vx.
6577 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6579         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
6581 2016-03-31  Florian Weimer  <fweimer@redhat.com>
6583         [BZ #19509]
6584         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
6585         skip_map != NULL.
6586         * elf/tst-dlsym-error.c: New file.
6587         * elf/Makefile (tests): Add tst-dlsym-error.
6588         (tst-dlsym-error): Link against libdl.
6590 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
6592         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6593         (__ASSUME_FUTIMESAT): Remove macro.
6594         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
6596 2016-03-29  Florian Weimer  <fweimer@redhat.com>
6598         [BZ #19879]
6599         CVE-2016-3075
6600         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
6601         copy name.
6603 2016-03-29  Florian Weimer  <fweimer@redhat.com>
6605         [BZ #19837]
6606         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
6607         error if parse_line fails.
6609 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6611         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
6612         (index_cpu_ERMS): Likewise.
6613         (reg_ERMS): Likewise.
6615 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
6617         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
6618         PER_LINUX_FDPIC): Add.
6620 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6622         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6623         memcpy-avx512-no-vzeroupper.
6624         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
6625         to ...
6626         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
6627         (MEMCPY): Don't define.
6628         (MEMCPY_CHK): Likewise.
6629         (MEMPCPY): Likewise.
6630         (MEMPCPY_CHK): Likewise.
6631         (MEMPCPY_CHK): Renamed to ...
6632         (__mempcpy_chk_avx512_no_vzeroupper): This.
6633         (MEMPCPY_CHK): Renamed to ...
6634         (__mempcpy_chk_avx512_no_vzeroupper): This.
6635         (MEMCPY_CHK): Renamed to ...
6636         (__memmove_chk_avx512_no_vzeroupper): This.
6637         (MEMCPY): Renamed to ...
6638         (__memmove_avx512_no_vzeroupper): This.
6639         (__memcpy_avx512_no_vzeroupper): New alias.
6640         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
6642 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6644         [BZ #18858]
6645         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6646         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
6647         and mempcpy-avx512-no-vzeroupper.
6648         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
6649         New.
6650         (MEMPCPY): Likewise.
6651         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
6652         (MEMPCPY_CHK): New.
6653         (MEMPCPY): Likewise.
6654         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
6655         (MEMPCPY): Likewise.
6656         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
6657         (MEMPCPY): Likewise.
6658         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
6659         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
6660         Likewise.
6661         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
6662         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
6664 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6665              Amit Pawar  <Amit.Pawar@amd.com>
6667         [BZ #19583]
6668         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6669         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
6670         processors.  Set Fast_Copy_Backward for AMD Excavator
6671         processors.
6672         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
6673         New.
6674         (index_arch_Fast_Unaligned_Copy): Likewise.
6675         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
6676         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
6678 2016-03-25  Florian Weimer  <fweimer@redhat.com>
6680         [BZ #19791]
6681         * resolv/res_send.c (close_and_return_error): New function.
6682         (send_dg): Initialize *resplen2 after reopen failure.  Call
6683         close_and_return_error for error returns.  On error paths without
6684         __res_iclose, initialze *resplen2 explicitly.  Update comment for
6685         successful return.
6687 2016-03-25  Florian Weimer  <fweimer@redhat.com>
6689         [BZ# 19860]
6690         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
6691         zero if the compiler does not provide the AVX512F bit.
6693 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
6695         [BZ #19848]
6696         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
6697         from 8 to 4.
6698         (__ieee754_powl): Compare integer exponent against 4 not 8.
6699         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
6700         from 8 to 4.
6701         (__ieee754_powl): Compare integer exponent against 4 not 8.
6702         * math/auto-libm-test-in: Add more tests of pow.
6703         * math/auto-libm-test-out: Regenerated.
6704         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
6705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6707 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
6709         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
6710         Make code unconditional.
6711         [!__NR_utimensat]: Remove conditional code.
6712         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
6713         Make code unconditional.
6714         [!__NR_utimensat]: Remove conditional code.
6715         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
6716         Make code unconditional.
6717         [!__NR_utimensat]: Remove conditional code.
6719 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
6721         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
6722         Make code unconditional.
6724 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
6726         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
6727         call-clobbered %eax on retry path.
6728         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
6730 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6732         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
6733         Don't set %rcx twice before "rep movsb".
6735 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6737         [BZ #19583]
6738         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
6739         inline.  Check family before setting family, model and
6740         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
6741         bits here.
6742         (init_cpu_features): Replace HAS_CPU_FEATURE and
6743         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
6744         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
6745         for Intel processors with usable AVX2.  Call get_common_indeces
6746         for other processors with family == NULL.
6747         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
6748         (CPU_FEATURES_ARCH_P): Likewise.
6749         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
6750         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
6752 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6754         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
6755         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
6756         $(shared-thread-library) instead of hardcoding the path to libpthread.
6758 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
6760         * sysdeps/unix/sysv/linux/kernel-features.h
6761         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
6762         * sysdeps/unix/sysv/linux/getdents.c
6763         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
6764         [!have_no_getdents64_defined]: Likewise.
6765         (__GETDENTS): Remove __have_no_getdents64 conditional.
6767 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
6769         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
6770         Remove macro.
6771         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
6772         <kernel-features.h>.
6773         (signalfd) [__NR_signalfd4]: Make code unconditional.
6774         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
6776 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6778         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
6779         style.
6781 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
6783         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
6784         (__pthread_enable_asynccancel): Use JUMPTARGET to call
6785         __pthread_unwind.
6786         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6787         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
6788         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6789         (__condvar_cleanup1): Likewise.
6791 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
6793         [BZ #19822]
6794         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
6795         move it to the final $@ location.
6797 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6799         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
6800         access where posix_spawn success and pid argument is null.
6801         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
6802         success case.
6804 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
6806         * sysdeps/mach/hurd/i386/c++-types.data: New file.
6808         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
6810         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
6811         and __fcntl.
6812         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
6813         __fcntl only.
6814         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
6815         adding attribute_hidden to __open and __fcntl.
6817         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
6818         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
6819         depend on libc-modules.h,
6820         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
6822 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
6824         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
6825         Remove macro.
6826         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
6827         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
6828         entry.
6830         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
6831         Remove macro.
6832         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
6833         include <kernel-features.h>.
6834         [!__ASSUME_FALLOCATE]: Remove conditional code.
6835         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
6837 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6839         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
6840         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
6841         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
6842         (_ZGVdN4v_cos_avx2): Likewise.
6843         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
6844         (_ZGVdN4v_cos): Likewise.
6845         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
6846         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
6847         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
6848         (_ZGVdN4v_exp_avx2): Likewise.
6849         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
6850         (_ZGVdN4v_exp): Likewise.
6851         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
6852         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
6853         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
6854         (_ZGVdN4v_log_avx2): Likewise.
6855         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
6856         (_ZGVdN4v_log): Likewise.
6857         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
6858         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
6859         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
6860         (_ZGVdN4vv_pow_avx2): Likewise.
6861         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
6862         (_ZGVdN4vv_pow): Likewise.
6863         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
6864         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
6865         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
6866         (_ZGVdN4v_sin_avx2): Likewise.
6867         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
6868         (_ZGVdN4v_sin): Likewise.
6869         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
6870         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
6871         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
6872         (_ZGVdN4vvv_sincos_avx2): Likewise.
6873         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
6874         (_ZGVdN4vvv_sincos): Likewise.
6875         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
6876         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
6877         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
6878         (_ZGVbN4v_cosf_sse4): Likewise.
6879         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
6880         (_ZGVdN8v_cosf_avx2): Likewise.
6881         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
6882         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
6883         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
6884         (_ZGVbN4v_expf_sse4): Likewise.
6885         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
6886         (_ZGVdN8v_expf_avx2): Likewise.
6887         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
6888         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
6889         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
6890         (_ZGVbN4v_logf_sse4): Likewise.
6891         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
6892         (_ZGVdN8v_logf_avx2): Likewise.
6893         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
6894         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
6895         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
6896         (_ZGVbN4vv_powf_sse4): Likewise.
6897         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
6898         (_ZGVdN8vv_powf_avx2): Likewise.
6899         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
6900         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
6901         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
6902         (_ZGVbN4vvv_sincosf_sse4): Likewise.
6903         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
6904         (_ZGVdN8vvv_sincosf_avx2): Likewise.
6905         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
6906         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
6907         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
6908         (_ZGVbN4v_sinf_sse4): Likewise.
6909         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
6910         (_ZGVdN8v_sinf_avx2): Likewise.
6911         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
6912         Use JUMPTARGET to call callee.
6913         (WRAPPER_IMPL_SSE2_ff): Likewise.
6914         (WRAPPER_IMPL_SSE2_fFF): Likewise.
6915         (WRAPPER_IMPL_AVX): Likewise.
6916         (WRAPPER_IMPL_AVX_ff): Likewise.
6917         (WRAPPER_IMPL_AVX_fFF): Likewise.
6918         (WRAPPER_IMPL_AVX512): Likewise.
6919         (WRAPPER_IMPL_AVX512_ff): Likewise.
6920         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
6921         Likewise.
6922         (WRAPPER_IMPL_SSE2_ff): Likewise.
6923         (WRAPPER_IMPL_SSE2_fFF): Likewise.
6924         (WRAPPER_IMPL_AVX): Likewise.
6925         (WRAPPER_IMPL_AVX_ff): Likewise.
6926         (WRAPPER_IMPL_AVX_fFF): Likewise.
6927         (WRAPPER_IMPL_AVX512): Likewise.
6928         (WRAPPER_IMPL_AVX512_ff): Likewise.
6929         (WRAPPER_IMPL_AVX512_fFF): Likewise.
6931 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6933         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
6934         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
6935         qualifier.
6936         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
6937         internal_function qualifiers.
6939 2016-03-15  Carlos O'Donell <carlos@redhat.com>
6941         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
6942         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
6943         * math/atest-exp.c (exp_mpn): Mark chk unused.
6944         * math/atest-exp2.c (exp_mpn): Likwise.
6945         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
6946         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
6948 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
6950         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
6951         Remove macro.
6952         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
6953         <kernel-features.h>.
6954         [__NR_ppoll]: Make code unconditional.
6955         [!__ASSUME_PPOLL]: Remove conditional code.
6957         * sysdeps/unix/sysv/linux/kernel-features.h
6958         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
6959         (__ASSUME_ACCEPT4): Likewise.
6960         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6961         Define.
6962         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
6963         Likewise.
6964         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6965         Likewise.
6966         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
6967         Likewise.
6968         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
6969         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
6970         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6971         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6972         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6973         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6974         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6975         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6976         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6977         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6978         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6979         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6980         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6981         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6982         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6983         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6984         Likewise.
6985         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6986         Likewise.
6987         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6988         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6989         0x040300].
6990         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6991         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6992         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6993         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6994         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
6995         0x030300].
6996         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
6997         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6998         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6999         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7000         0x040300].
7001         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7002         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7003         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7004         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7005         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7006         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7007         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7008         0x030300].
7009         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7010         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7011         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7012         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7013         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7014         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7015         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7016         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7017         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7018         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7019         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7020         0x040300].
7021         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7022         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7023         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7024         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7025         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7026         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7027         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7028         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7029         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7030         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7031         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7032         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7033         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7034         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7035         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
7036         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7037         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7038         Likewise.
7039         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7040         Likewise.
7042 2016-03-15  Andreas Schwab  <schwab@suse.de>
7044         [BZ #19257]
7045         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
7046         statp->_u._ext.nscount as loop count.
7048 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
7050         * math/test-signgam-finite-c99.c: Also #undef
7051         __LIBC_INTERNAL_MATH_INLINES.
7052         * math/test-signgam-main.c: Likewise.
7054 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
7056         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
7057         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
7058         (MADV_FREE): Likewise.
7059         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
7060         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
7061         EPOLLEXCLUSIVE.
7063 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
7065         * timezone/README: Remove mention of checktab.awk. Mention wiki
7066         SharedSourceFiles.
7068 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
7070         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
7071         WUNTRACED.
7073 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7075         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
7076         order to match the type of p when calling atomic_exchange_acq().
7078 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7080         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
7081         cfi_offset calls.
7082         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
7083         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
7084         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
7085         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
7086         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
7088 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
7090         * timezone/checktab.awk: Removed.
7092 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
7094         * manual/math.texi (Errors in Math Functions): Document relaxed
7095         accuracy goals for IBM long double.
7096         * math/libm-test.inc (test_exceptions): Always allow spurious
7097         "underflow" and "inexact" exceptions for IBM long double.
7099 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
7101         [BZ #19762]
7102         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7103         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
7104         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
7105         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
7106         (bit_arch_*): This for feature array.
7107         (bit_*): Renamed to ...
7108         (bit_cpu_*): This for cpu array.
7109         (index_*): Renamed to ...
7110         (index_arch_*): This for feature array.
7111         (index_*): Renamed to ...
7112         (index_cpu_*): This for cpu array.
7113         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
7114         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
7115         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
7116         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
7117         bit_##name with index_cpu_##name and bit_cpu_##name.
7118         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
7119         bit_##name with index_arch_##name and bit_arch_##name.
7121 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
7123         [BZ #19792]
7124         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
7125         Terminate FDE before return label.
7127 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
7129         [BZ #19790]
7130         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
7131         (rintl): Define as macro.
7132         [USE_AS_NEARBYINTL] (__rintl): Likewise.
7133         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
7134         of fesetround.  Ensure results are evaluated before end of scope.
7135         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
7136         USE_AS_NEARBYINTL and include s_rintl.c.
7137         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
7138         Disable exception traps in new environment.
7139         (libc_feholdsetround_ppc_ctx): Likewise.
7141 2016-03-08  Roland McGrath  <roland@hack.frob.com>
7143         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
7144         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
7145         (tst_audit10_aux) [__AVX512F__]: ... here.
7147 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
7149         * include/sys/auxv.h: New file.
7151 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
7153         [BZ #19759]
7154         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
7156 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7158         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
7159         operand modifier.
7160         (feclearexcept): Likewise.
7162 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7164         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
7165         to reflect the entire 32-bit HWCAP.
7166         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
7167         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
7169 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
7171         [BZ #19783]
7172         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
7173         $(test-via-rtld-prefix).
7174         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
7176 2016-03-08  Florian Weimer  <fweimer@redhat.com>
7178         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
7179         union wait.  Report any non-zero exit status as error.
7181 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7183         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
7184         configured with --enable-hardcoded-path-in-tests.
7186 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
7188         [BZ #19677]
7189         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7190         (__ieee754_remainderl): Put zero low parts in canonical form.
7191         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
7192         file.  Based on
7193         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
7194         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
7195         with wrapper round test-fmodrem-ldbl-128ibm.c.
7196         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
7197         file.
7198         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
7199         Likewise.
7200         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
7201         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
7203 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7205         [BZ #19610]
7206         * elf/ldconfig.c (opt_link): Update comment.
7207         (options): Update help string for option -X.
7208         (search_dir): Unlink stale symbolic link only if updating symbolic
7209         links.
7210         * elf/tst-ldconfig-X.sh: New file.
7211         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
7212         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
7214 2016-03-07  Andreas Schwab  <schwab@suse.de>
7216         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
7217         needed arguments.
7219 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
7221         [BZ #15333]
7222         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
7223         to lstat64.
7225 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7227         * libio/filedoalloc.c (isatty): Remove.
7228         (local_isatty): Add comment.  Call __isatty directly.
7229         (_IO_file_doallocate): Update comment.  Assume _LIBC.
7230         * libio/wfiledoalloc.c (isatty): Remove.
7231         (_IO_wfile_doallocate): Update comment.
7233 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7235         [BZ #19269]
7236         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
7237         tst-audit4-aux.o.
7238         (tst-audit10): Depend on tst-audit10-aux.o.
7239         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
7240         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
7241         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
7242         instead of inline AVX code.
7243         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
7244         instead of inline AVX512 code.
7245         * sysdeps/x86_64/tst-audit4-aux.c: New file
7246         * sysdeps/x86_64/tst-audit10-aux.c: New file
7248         [BZ #19648]
7249         * test-skeleton.c (main): Do not set RLIMIT_DATA.
7251 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7253         [BZ #14750]
7254         [BZ #10354]
7255         [BZ #18433]
7256         * include/sched.h (__clone): Add hidden prototype.
7257         (__clone2): Likewise.
7258         * include/unistd.h (__dup): Likewise.
7259         * posix/Makefile (tests): Add tst-spawn2.
7260         * posix/tst-spawn2.c: New file.
7261         * sysdeps/posix/dup.c (__dup): Add hidden definition.
7262         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
7263         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
7264         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
7265         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
7266         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
7267         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
7268         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
7269         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
7270         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
7271         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
7272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
7273         Likewise.
7274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7275         Likewise.
7276         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
7277         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
7278         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
7279         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7280         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
7281         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
7282         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
7283         * sysdeps/unix/sysv/linux/nptl-signals.h
7284         (____nptl_is_internal_signal): New function.
7285         * sysdeps/unix/sysv/linux/spawni.c: New file.
7287         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
7288         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
7289         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
7290         * posix/tst-execvp2.c (do_test): Likewise.
7291         * posix/tst-execvp3.c (do_test): Likewise.
7292         * posix/tst-execvp4.c (do_test): Likewise.
7293         * posix/tst-execvpe1.c: New file.
7294         * posix/tst-execvpe2.c: Likewise.
7295         * posix/tst-execvpe3.c: Likewise.
7296         * posix/tst-execvpe4.c: Likewise.
7297         * posix/tst-execvpe5.c: Likewise.
7298         * posix/tst-execvpe6.c: Likewise.
7300         [BZ #19534]
7301         * posix/execl.c (execl): Remove dynamic memory allocation.
7302         * posix/execle.c (execle): Likewise.
7303         * posix/execlp.c (execlp): Likewise.
7305 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7307         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
7308         Replace .text with .text.avx512.
7309         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
7310         Likewise.
7312 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
7314         * sysdeps/generic/libnsl.abilist: New file.
7315         * sysdeps/generic/libutil.abilist: New file.
7317 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7319         [BZ #19762]
7320         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
7321         HAS_ARCH_FEATURE with Fast_Rep_String.
7322         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
7323         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
7324         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
7325         Likewise.
7326         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
7327         Likewise.
7328         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
7329         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
7330         Likewise.
7331         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
7332         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
7333         Likewise.
7335 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7337         [BZ #19745]
7338         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
7339         with *%rax in call.
7341 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7343         [BZ #19745]
7344         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
7345         with *__libc_start_main@GOTPCREL(%rip) in call.
7347 2016-03-04  Roland McGrath  <roland@hack.frob.com>
7349         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
7350         inside conditional for nonempty $(CXX).
7352         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
7353         nonempty.
7355         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
7356         to test for empty $(CXX) rather than $(CXX) of "no".
7358 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7360         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
7362 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
7363             H.J. Lu  <hongjiu.lu@intel.com>
7365         [BZ #18880]
7366         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
7367         instead of Slow_BSF, and also check for Fast_Copy_Backward to
7368         enable __memcpy_ssse3_back.
7370 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7372         [BZ #19758]
7373         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7374         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
7376 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
7378         [BZ #19490]
7379         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
7380         (__fentry__): Likewise.
7382 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7384         * gmon/Makefile (noprof): Add $(sysdep_noprof).
7385         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
7387 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7389         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
7390         __mcount_internal directly.
7391         (C_LABEL(__fentry__)): Likewise.
7392         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
7393         directly.
7395 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7397         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7398         (__start_context): Call __setcontext directly.
7400 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
7402         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7403         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7404         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
7405         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7406         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7407         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7408         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
7409         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7410         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7411         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
7412         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7413         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7414         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7415         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7416         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7417         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7418         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
7419         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7420         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7421         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7422         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
7423         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7424         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7425         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7426         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
7427         Remove conditional code.
7428         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7429         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
7430         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7431         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7432         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
7433         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7434         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7435         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7436         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7437         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7438         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7439         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7441 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
7443         * NEWS (2.23): Fix typo in bug 19048 text.
7445 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
7447         [BZ #14259]
7448         * Makeconfig: Rename msgcatdir to localedir.
7449         Rename inst_msgcatdir to inst_localedir.
7450         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
7451         * config.make.in: Add localedir.
7452         * elf/Makefile ($(objpfx)sotruss): Use localedir.
7453         (ldd-rewrite): Likewise.
7454         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
7455         (install-others): Use inst_localedir.
7456         (CPPFLAGS): Use localedir.
7457         * locale/Makefile (locale-CPPFLAGS): Likewise.
7458         * po/Makefile (mo-installed): Use inst_localedir.
7460         [BZ #19575]
7461         * localedata/charmaps/GB18030: Update comments regarding PAU to
7462         non-PUA mappings.
7464 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
7466         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
7467         test for header.
7468         * sysdeps/unix/sysv/linux/configure: Regenerated.
7469         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
7470         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
7471         Remove conditional code.
7472         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
7474         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7475         Define to 3.2.0.
7476         (arch_minimum_kernel): Likewise.
7477         * sysdeps/unix/sysv/linux/configure: Regenerated.
7478         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
7479         Define to 2.6.32.
7480         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
7481         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
7482         (arch_minimum_kernel): Define to 2.6.32.
7483         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
7484         * README: Document Linux 3.2 requirement.
7485         * manual/install.texi (Linux): Document Linux 3.2 headers
7486         requirement.
7487         * INSTALL: Regenerated.
7489 2016-02-24  Andreas Schwab  <schwab@suse.de>
7491         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
7492         if !NO_LONG_DOUBLE.
7494 2016-02-22  Roland McGrath  <roland@hack.frob.com>
7496         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
7497         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
7499 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
7501         [BZ #19512]
7502         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
7504 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
7506         * posix/tst-dir.c: Include libc-internal.h.
7508 2016-02-20  Florian Weimer  <fweimer@redhat.com>
7510         [BZ #19056]
7511         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
7512         * manual/filesys.texi (Reading/Closing Directory): Mention
7513         deprecaion.
7514         * posix/tst-dir.c (main): Disable deprecation warning in test.
7516 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
7518         [BZ #19679]
7519         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
7520         Renamed to ...
7521         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
7522         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7523         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
7524         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7525         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7526         * sysdeps/x86_64/dl-trampoline.h
7527         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7528         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7530 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7532         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
7534 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7536         * elf/elf.h (R_386_GOT32X): New.
7537         (R_386_NUM): Update.
7538         (R_X86_64_GOTPCRELX: New.
7539         (R_X86_64_REX_GOTPCRELX): New.
7540         (R_X86_64_NUM): Update.
7542 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
7544         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
7546 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
7548         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
7549         assign attr->stackaddr to it, and adjust it down when
7550         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
7551         [_STACK_GROWS_UP]: Delete assert.
7552         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
7553         Implement stack grows up logic.
7554         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
7555         stack grows up logic.
7557 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7559         * NEWS: Update with 2.24 template.
7561 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
7563         [BZ #19678]
7564         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7565         Ensure +0.0 is returned when taking the next value below the least
7566         positive value.
7568 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7570         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
7571         available.  Do not define NO_THREADS.
7572         * malloc/malloc.c: Do not check NO_THREADS.
7573         * malloc/arena.c: Likewise.
7575 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7577         * malloc/malloc.c (__libc_mallinfo): Update comment.
7578         (struct malloc_par): Remove max_total_mem member, it was always 0.
7579         (int_mallinfo): Store 0 into usmblks (no functional change).
7580         * malloc/hooks.c (struct malloc_state): Document that
7581         max_total_mem is always 0.
7582         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
7583         always 0.
7584         * manual/memory.texi (Statistics of Malloc): Likewise.
7586 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7588         * malloc/malloc.c (sysmalloc): Do not update arena_max.
7589         * malloc/arena.c (arena_max): Remove.
7590         (heap_trim, _int_new_arena): Do not update arena_max.
7592 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7594         * resolv/res_init.c (res_ninit): Update comment.
7596 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7598         [BZ #19505]
7599         * posix/spawn_int.h: Add headers and include guard.
7600         (__spawn_valid_fd): New function.
7601         * posix/spawn_faction_addopen.c
7602         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
7603         * posix/spawn_faction_addclose.c
7604         (posix_spawn_file_actions_addclose): Likewise.
7605         * posix/spawn_faction_adddup2.c
7606         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
7607         second file descriptor.
7608         * posix/spawn_valid_fd.c: New file.
7609         * posix/tst-posix_spawn-fd.c: New file.
7610         * posix/Makefile (routines): Add spawn_valid_fd.
7611         (tests): Add tst-posix_spawn-fd.
7613 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7615         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
7616         (do_test): Limit the number of arenas, so that we can use fewer
7617         outer threads.  Limit timeout to 3 seconds, in preparation for a
7618         larger TIMEOUT value.
7620 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
7622         [BZ #19674]
7623         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
7624         sign in overflowing and underflowing results when overflow or
7625         underflow is detected early.  Include sign in result before rather
7626         than after scaling.
7628         [BZ #19603]
7629         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7630         (__ieee754_remainderl): Adjust sign of integer version of low part
7631         when taking absolute value of high part.
7632         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7633         * math/libm-test.inc (remainder_test_data): Add another test.
7634         (remquo_test_data): Likewise.
7636 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
7638         [BZ #19602]
7639         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
7640         equal high parts and both low parts zero specially.
7641         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
7642         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
7643         Add test-fmodl-ldbl-128ibm.
7645         [BZ #19595]
7646         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
7647         common logic for all cases of shifting subnormal results.  Do not
7648         insert sign bit in shifted mantissa.  Always pass -1023 as biased
7649         exponent to ldbl_insert_mantissa in subnormal case.
7651         [BZ #19594]
7652         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
7653         on high and low parts then adjust result and use
7654         ldbl_canonicalize_int if needed.
7656         [BZ #19593]
7657         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
7658         on high part and __floor or __ceil on low part then use
7659         ldbl_canonicalize_int if needed.
7661         [BZ #19592]
7662         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
7663         high and low parts then use ldbl_canonicalize_int if needed.
7665         [BZ #17899]
7666         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
7667         New function.
7668         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
7669         on high and low parts then use ldbl_canonicalize_int if needed.
7671 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7673         * configure: Regenerated.
7675         * po/libc.pot: Regenerated.
7677         * po/be.po: Updated translation.
7678         * po/bg.po: Likewise.
7679         * po/ca.po: Likewise.
7680         * po/cs.po: Likewise.
7681         * po/da.po: Likewise.
7682         * po/el.po: Likewise.
7683         * po/eo.po: Likewise.
7684         * po/es.po: Likewise.
7685         * po/fi.po: Likewise.
7686         * po/fr.po: Likewise.
7687         * po/gl.po: Likewise.
7688         * po/hr.po: Likewise.
7689         * po/hu.po: Likewise.
7690         * po/ia.po: Likewise.
7691         * po/id.po: Likewise.
7692         * po/it.po: Likewise.
7693         * po/ja.po: Likewise.
7694         * po/lt.po: Likewise.
7695         * po/nb.po: Likewise.
7696         * po/nl.po: Likewise.
7697         * po/pt_BR.po: Likewise.
7698         * po/rw.po: Likewise.
7699         * po/sk.po: Likewise.
7700         * po/sl.po: Likewise.
7701         * po/sv.po: Likewise.
7702         * po/tr.po: Likewise.
7703         * po/zh_CN.po: Likewise.
7704         * po/zh_TW.po: Likewise.
7706         * version.h (RELEAES): Set to "development".
7707         (VERSION): Set to 2.23.90.
7709         * version.h (RELEASE): Set to "stable".
7710         (VERSION): Set to 2.23.
7711         * include/feature.h (__GLIBC_MINOR__): Set to 23.
7713         * NEWS: Updated fixed bugs.
7715 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
7716             Wilco Dijkstra  <wdijkstr@arm.com>
7718         [BZ #19462]
7719         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
7720         (_STRING_INLINE_unaligned): This.
7721         * include/string.h: Include <string_private.h>.
7722         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
7723         _STRING_INLINE_unaligned.
7724         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
7725         (_STRING_INLINE_unaligned): New.
7726         * sysdeps/aarch64/string_private.h: New file.
7727         * sysdeps/generic/string_private.h: Likewise.
7728         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
7729         * sysdeps/s390/string_private.h: Likewise.
7730         * sysdeps/x86/string_private.h: Likewise.
7731         * sysdeps/m68k/m680x0/m68020/bits/string.h
7732         (_STRING_ARCH_unaligned): Renamed to ...
7733         (_STRING_INLINE_unaligned): This.
7734         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
7735         to ...
7736         (_STRING_INLINE_unaligned): This.
7737         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
7738         to ...
7739         (_STRING_INLINE_unaligned): This.
7740         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
7741         to ...
7742         (_STRING_INLINE_unaligned): This.
7744 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
7745             H.J. Lu  <hongjiu.lu@intel.com>
7747         [BZ #19590]
7748         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
7749         relocation.
7751 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
7753         [BZ #18665]
7754         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
7755         *herrno_p.
7756         (gaih_getanswer): Document functional behviour. Return tryagain
7757         if any result is tryagain.
7758         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
7759         when freed.
7760         * resolv/res_send.c: Add copyright text.
7761         (__libc_res_nsend): Document that MAXPACKET is expected.
7762         (send_vc): Document. Remove buffer reuse.
7763         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
7764         size of the buffer. Add Dprint for truncated UDP buffer.
7766 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
7768         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
7769         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
7770         * INSTALL: Regenerate.
7772 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
7773             Jonathan Wakely  <jwakely@redhat.com>
7774             Carlos O'Donell  <carlos@redhat.com>
7776         [BZ 19439]
7777         * math/Makefile (tests): Add test-math-isinff.
7778         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
7779         * math/bits/mathcalls.h [__USE_MISC]: Use
7780         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
7781         functions not in C++11 and which don't conflict e.g. isinff,
7782         isinfl etc.
7783         * math/test-math-isinff.cc: New file.
7785 2016-02-12  Florian Weimer  <fweimer@redhat.com>
7787         * misc/bug18240.c (do_test): Set RLIMIT_AS.
7789 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7791         [BZ #19529]
7792         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
7794 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7796         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7798 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
7800         [BZ #19550]
7801         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
7802         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
7803         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
7804         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
7805         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
7806         New syscall entry.
7807         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
7808         New syscall entry.
7809         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
7810         syscall entry.
7812 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
7814         [BZ #18240]
7815         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
7816         unsigned int wraparound.
7818 2016-01-27  Florian Weimer  <fweimer@redhat.com>
7820         [BZ #18240]
7821         * misc/bug18240.c: New test.
7822         * misc/Makefile (tests): Add it.
7824 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
7825             Joseph Myers  <joseph@codesourcery.com>
7827         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
7828         load in branch delay slot when less than a word of input left.
7830 2016-01-27  Andreas Schwab  <schwab@suse.de>
7832         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
7833         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
7834         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
7835         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
7837 2016-01-26  David S. Miller  <davem@davemloft.net>
7839         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
7841 2016-01-25  David S. Miller  <davem@davemloft.net>
7843         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
7844         __sqrtl_finite.
7845         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
7846         instead using versioned_symbol.
7847         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
7848         of entries.
7850         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
7851         __sqrtl_finite to GLIBC_2.23
7853 2016-01-25  Ricchard Henderson  <rth@redhat.com>
7855         * sysdeps/alpha/fpu/libm-test-ulps: Update.
7857 2016-01-25  Andreas Schwab  <schwab@suse.de>
7859         [BZ #17514]
7860         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
7861         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
7862         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
7863         * nptl/tst-mutex-errorcheck.c: New file.
7865 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7867         [BZ #18560]
7868         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
7869         (IPCOP_semop): Likewise.
7870         (IPCOP_semget): Likewise.
7871         (IPCOP_semctl): Likewise.
7872         (IPCOP_msgsnd): Likewise.
7873         (IPCOP_msgrcv): Likewise.
7874         (IPCOP_msgget): Likewise.
7875         (IPCOP_msgctl): Likewise.
7876         (IPCOP_shmat): Likewise.
7877         (IPCOP_shmdt): Likewise.
7878         (IPCOP_shmget): Likewise.
7879         (IPCOP_shmctl): Likewise.
7881 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
7883         * string/tst-endian.c: Include <libc-internal.h>.
7884         (do_test): Ignore tautological-compare warnings around
7885         "htobeXX (beXXtoh (i)) != i" and
7886         "htoleXX (leXXtoh (i)) != i" if-statements.
7888 2016-01-24  David S. Miller  <davem@davemloft.net>
7890         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
7891         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
7892         alias.
7893         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
7894         __sqrtl_finite.
7896         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7898 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
7900         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
7901         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
7902         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7904 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7906         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
7907         (thread_func): Use new function to simplify barrier check.
7908         (do_test): Use new function to simplify checking barrier exit
7909         code, and actually join the child thread.
7911 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7913         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
7914         semicolon.
7915         (__libc_tend): Likewise.
7916         (__libc_tabort): Likewise.
7918 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
7920         * sysdeps/nios2/libm-test-ulps: Update.
7921         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
7922         (__gtsf2): Likewise.
7923         (__unorddf2): Likewise.
7924         (__unordsf2): Likewise.
7925         (__ledf2): Likewise.
7927 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
7929         * nis/nis_table.c (__follow_path): Disable diagnostic for
7930         uninitialized variable that is a false positive for gcc 4.7.
7931         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
7933 2016-01-20  Roland McGrath  <roland@hack.frob.com>
7935         * sysdeps/nacl/lowlevellock-futex.h
7936         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
7937         Always evaluate PRIVATE argument.
7939 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
7941         [BZ #19490]
7942         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
7943         (pthread_cond_broadcast): Use ENTRY/END
7944         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
7945         (pthread_cond_signal): Likewise.
7946         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
7947         Likewise.
7948         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
7949         Likewise.
7950         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
7951         Likewise.
7953 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
7955         * sysdeps/ieee754/dbl-64/s_finite.c
7956         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
7957         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
7958         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
7959         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
7960         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
7962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7963         (__gtsf2): Add as optional for libc.so.
7964         (__unordsf2): Likewise.
7965         (__signbit): Remove for libc.so.
7966         (__signbitl): Likewise.
7968 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
7970         * iconvdata/bug-iconv11.c (test_ibm93x):
7971         Use %zu printf format specifier for size_t argument.
7973 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
7975         * math/gen-libm-test.pl (parse_ulps): Do not reduce
7976         already-recorded ulps.
7977         * sysdeps/arm/libm-test-ulps: Regenerated.
7978         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7979         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7980         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7982 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7983             Paul Pluzhnikov  <ppluzhnikov@google.com>
7985         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
7986         assembler not supporting AVX-512.
7988 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
7990         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7992 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
7994         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7995         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7997         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7999         * sysdeps/arm/libm-test-ulps: Regenerated.
8001 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8003         [BZ #19451]
8004         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
8006 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8008         [BZ #19486]
8009         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
8010         * sysdeps/generic/fix-fp-int-convert-overflow.h
8011         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
8012         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
8013         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
8014         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
8015         Likewise.
8016         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
8017         Avoid conversions to long int where inexact exceptions
8018         could be raised.
8019         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
8020         Likewise.
8021         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
8022         Avoid conversions to long long int where inexact exceptions
8023         could be raised.
8024         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
8025         Likewise.
8027 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
8029         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
8030         * configure: Regenerated.
8032 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8034         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
8036 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
8038         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
8039         outside of comment.
8041 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8043         * nptl/tst-barrier1.c: Add description on first line.
8044         * nptl/tst-barrier2.c: Likewise.
8045         * nptl/tst-barrier3.c: Likewise.
8046         * nptl/tst-barrier4.c: Likewise.
8047         * nptl/tst-barrier5.c: Likewise.
8049 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8051         [BZ #18868]
8052         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
8054 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8056         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
8057         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
8058         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
8059         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
8060         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
8061         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
8062         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8063         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8064         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8065         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8066         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8068 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8070         [BZ #13065]
8071         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
8072         new implementation.
8073         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
8074         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
8075         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
8076         (BARRIER_IN_THRESHOLD): New macro.
8077         * nptl/pthread_barrierattr_setpshared.c
8078         (pthread_barrierattr_setpshared): Clean up.
8079         * nptl/tst-barrier4.c: Correct comment.
8080         * nptl/tst-barrier5.c: New file.
8081         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
8082         (gen-as-const-headers): Remove lowlevelbarrier.sym.
8083         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
8084         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
8085         * nptl/lowlevelbarrier.sym: Remove.
8086         * nptl/DESIGN-barrier.txt: Remove.
8087         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
8088         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
8089         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
8090         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
8091         error.
8092         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
8093         implementation.
8095 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8097         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
8098         (do_child): Mask SIGRTMIN while thr is running.
8100 2016-01-15  Martin Sebor  <msebor@redhat.com>
8102         [BZ #19432]
8103         * iconvdata/Makefile: Add bug-iconv11.
8104         * iconvdata/bug-iconv11.c: New test.
8105         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
8106         * iconvdata/ibm933.c: Same.
8107         * iconvdata/ibm935.c: Same.
8108         * iconvdata/ibm937.c: Same.
8109         * iconvdata/ibm939.c: Same.
8111 2016-01-15  Martin Sebor  <msebor@redhat.com>
8113         [BZ #19443]
8114         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
8115         [DEBUG] (_ufc_set_bits): Declare used.
8116         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
8117         [DEBUG] (print_all): Declare used.
8118         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
8119         operands of the ternary ?: expression to target type.
8120         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
8121         calling the undeclared abort.
8122         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
8124 2016-01-15  Martin Sebor  <msebor@redhat.com>
8126         [BZ #18755]
8127         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
8128         warnings.
8129         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
8130         (__gai_create_helper_thread): Same.
8131         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
8132         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
8133         to suppress -Wmaybe-uninitialized warnings.
8135 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
8137         [BZ #19465]
8138         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
8139         inside if.
8140         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8141         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8142         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8144 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
8146         [BZ #19466]
8147         * time/tst-mktime2.c (time_t_max): Removed.
8148         (time_t_min): Likewise.
8149         (TYPE_SIGNED): New.
8150         (TYPE_MINIMUM): Likewise.
8151         (TYPE_MAXIMUM): Likewise.
8152         (TIME_T_MIN): Likewise.
8153         (TIME_T_MAX): Likewise.
8154         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
8155         and TIME_T_MIN.
8156         (do_test): Likewise.
8158 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
8160         [BZ #19467]
8161         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
8162         index_Fast_Unaligned_Load flag for Excavator family CPUs.
8164 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
8166         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
8168 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
8170         * benchtests/Makefile (PYTHON): Define.
8171         (bench-func): Use $(PYTHON) to run python scripts.
8172         ($(objpfx)bench-%.c): Likewise.
8174 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
8176         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
8177         leading slash when `file_name' is "/".
8179 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
8181         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
8182         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
8183         Likewise.
8184         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
8185         Likewise.
8186         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
8187         Likewise.
8188         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
8189         enum constant and macro.
8190         (PTRACE_SETSIGMASK): Likewise.
8191         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8192         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8193         (PTRACE_GETSIGMASK): Likewise.
8194         (PTRACE_SETSIGMASK): Likewise.
8195         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8196         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
8197         Likewise.
8198         (PTRACE_SETSIGMASK): Likewise.
8199         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8200         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8201         (PTRACE_GETSIGMASK): Likewise.
8202         (PTRACE_SETSIGMASK): Likewise.
8203         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8204         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
8205         Likewise.
8206         (PTRACE_SETSIGMASK): Likewise.
8207         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8208         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
8209         Likewise.
8210         (PTRACE_SETSIGMASK): Likewise.
8211         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8212         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
8213         Likewise.
8214         (PTRACE_SETSIGMASK): Likewise.
8215         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8217 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
8218             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8220         [BZ #19439]
8221         * math/bits/mathcalls.h
8222         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
8223         prototype.
8224         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
8226 2016-01-11  Andreas Schwab  <schwab@suse.de>
8228         [BZ #19253]
8229         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
8230         cache when TZDEFRULES was used.
8231         * time/tst-tzname.c: New file.
8232         * time/Makefile (test): Add tst-tzname.
8233         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
8234         * timezone/Makefile (test-zones): Add $(posixrules-file).
8235         ($(testdata)/$(posixrules-file)): New rule.
8237 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
8239         Fix doc quoting problems with Texinfo 5
8240         Without this change, in the info file output, Texinfo 5 quotes code
8241         in text with undirected single quotes 'like this' and generates
8242         code examples that with many PDF readers cannot be cut out of PDFs
8243         and pasted into code.
8244         * manual/libc.texinfo: Configure the libc manual like the GNU
8245         Emacs manual, by using @documentencoding and setting
8246         txicodequoteundirected and txicodequotebacktick.  This way,
8247         Texinfo 5 quotes code in text with directed single quotes ‘like
8248         this’ and produces examples that can be cut out of PDFs.  This
8249         change causes Texinfo 5 to generate info files that contain UTF-8
8250         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
8251         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
8253 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8255         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
8256         __libc_tabort, __libc_tend): New wrappers that enforce compiler
8257         barriers to their respective compiler built-ins.
8258         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
8259         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
8260         * sysdeps/powerpc/sysdep.h: Likewise.
8261         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
8262         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
8263         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
8265 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
8267         * scripts/config.guess: Revert previous shebang change.
8268         * scripts/config.sub: Likewise.
8269         * scripts/mkinstalldirs: Likewise.
8271 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8273         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
8274         PPC_FEATURE2_HAS_IEEE128.
8275         * sysdeps/powerpc/dl-procinfo.c:
8276         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
8278 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
8280         [BZ #19415]
8281         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
8282         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
8283         (_dl_lookup_address): Rewrite using function resolver trampoline.
8284         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
8285         two bits in address.
8287 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
8289         * longlong.h: Change !__SHMEDIA__ to
8290         (!defined (__SHMEDIA__) || !__SHMEDIA__).
8291         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
8293 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
8294             Joseph Myers  <joseph@codesourcery.com>
8295             Mark Shinwell  <shinwell@codesourcery.com>
8296             Andrew Stubbs  <ams@codesourcery.com>
8297             Rich Felker <dalias@libc.org>
8299         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
8301 2016-01-07  Richard Henderson  <rth@redhat.com>
8303         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
8305 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
8307         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
8308         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
8309         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8310         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8311         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
8313 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
8314             Joseph Myers  <joseph@codesourcery.com>
8316         * timezone/private.h: Update from tzcode 2015g.
8317         * timezone/tzfile.h: Likewise.
8318         * timezone/tzselect.ksh: Likewise.
8319         * timezone/zdump.c: Likewise.
8320         * timezone/zic.c: Likewise.
8321         * timezone/ialloc.c: Remove file.
8322         * timezone/scheck.c: Likewise.
8323         * timezone/Makefile (extra-objs): Remove variable.
8324         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
8325         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
8326         -Wno-maybe-uninitialized.
8327         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
8328         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
8329         (CFLAGS-ialloc.c): Remove variable.
8330         (CFLAGS-scheck.c): Likewise.
8331         * timezone/README: Update list of files from tzcode.
8333 2016-01-07  Khem Raj  <raj.khem@gmail.com>
8335         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
8336         instead of __fxprintf when _LIBC is undefined.
8338 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
8340         * catgets/test-gencat.sh: Remove space after shebang.
8341         * conform/GlibcConform.pm: Likewise.
8342         * conform/check-header-lists.sh: Likewise.
8343         * conform/conformtest.pl: Likewise.
8344         * conform/linknamespace.pl: Likewise.
8345         * conform/list-header-symbols.pl: Likewise.
8346         * debug/catchsegv.sh: Likewise.
8347         * elf/genrtldtbl.awk: Likewise.
8348         * elf/tst-pathopt.sh: Likewise.
8349         * elf/tst-rtld-load-self.sh: Likewise.
8350         * grp/tst_fgetgrent.sh: Likewise.
8351         * iconvdata/gen-8bit-gap-1.sh: Likewise.
8352         * iconvdata/gen-8bit-gap.sh: Likewise.
8353         * iconvdata/gen-8bit.sh: Likewise.
8354         * iconvdata/run-iconv-test.sh: Likewise.
8355         * intl/tst-gettext.sh: Likewise.
8356         * intl/tst-gettext2.sh: Likewise.
8357         * intl/tst-gettext4.sh: Likewise.
8358         * intl/tst-gettext6.sh: Likewise.
8359         * intl/tst-translit.sh: Likewise.
8360         * io/ftwtest-sh: Likewise.
8361         * libio/test-freopen.sh: Likewise.
8362         * locale/gen-translit.pl: Likewise.
8363         * malloc/tst-mtrace.sh: Likewise.
8364         * manual/check-safety.sh: Likewise.
8365         * manual/libc-texinfo.sh: Likewise.
8366         * manual/tsort.awk: Likewise.
8367         * manual/xtract-typefun.awk: Likewise.
8368         * nptl/tst-cancel-wrappers.sh: Likewise.
8369         * nptl/tst-tls6.sh: Likewise.
8370         * posix/globtest.sh: Likewise.
8371         * posix/tst-getconf.sh: Likewise.
8372         * posix/wordexp-tst.sh: Likewise.
8373         * scripts/check-c++-types.sh: Likewise.
8374         * scripts/check-local-headers.sh: Likewise.
8375         * scripts/config.guess: Likewise.
8376         * scripts/config.sub: Likewise.
8377         * scripts/cpp: Likewise.
8378         * scripts/cross-test-ssh.sh: Likewise.
8379         * scripts/documented.sh: Likewise.
8380         * scripts/evaluate-test.sh: Likewise.
8381         * scripts/gen-libc-abis: Likewise.
8382         * scripts/gen-sorted.awk: Likewise.
8383         * scripts/list-fixed-bugs.py: Likewise.
8384         * scripts/merge-test-results.sh: Likewise.
8385         * scripts/mkinstalldirs: Likewise.
8386         * scripts/rellns-sh: Likewise.
8387         * scripts/test-installation.pl: Likewise.
8388         * scripts/update-copyrights: Likewise.
8389         * stdio-common/tst-printf.sh: Likewise.
8390         * stdio-common/tst-unbputc.sh: Likewise.
8391         * stdlib/tst-fmtmsg.sh: Likewise.
8392         * stdlib/tst-setcontext3.sh: Likewise.
8393         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
8394         * sysdeps/unix/make-syscalls.sh: Likewise.
8396 2016-01-06  John David Anglin  <dave.anglin@bell.net>
8398         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
8399         asm stw with atomic_exchange_rel.  Add explanatory comment.
8400         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
8401         Likewise.
8403 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8405         [BZ #19122]
8406         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
8407         * sysdeps/generic/dl-unistd.h: New file.
8408         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
8410 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8412          [BZ #19122]
8413          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
8414          * sysdeps/generic/dl-mman.h: New file.
8415          * sysdeps/mach/hurd/dl-mman.h: Likewise.
8417 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
8419         * manual/texinfo.tex: Update to version 2016-01-04.21 with
8420         trailing whitespace removed.
8421         * scripts/config.guess: Update to version 2016-01-01.
8422         * scripts/config.sub: Update to version 2016-01-01.
8423         * scripts/move-if-change: Update from gnulib.
8425 2016-01-04  Anton Blanchard  <anton@samba.org>
8427         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
8428         for array indices.
8429         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
8431 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
8433         * NEWS: Update copyright dates.
8434         * catgets/gencat.c (print_version): Likewise.
8435         * csu/version.c (banner): Likewise.
8436         * debug/catchsegv.sh: Likewise.
8437         * debug/pcprofiledump.c (print_version): Likewise.
8438         * debug/xtrace.sh (do_version): Likewise.
8439         * elf/ldconfig.c (print_version): Likewise.
8440         * elf/ldd.bash.in: Likewise.
8441         * elf/pldd.c (print_version): Likewise.
8442         * elf/sotruss.sh: Likewise.
8443         * elf/sprof.c (print_version): Likewise.
8444         * iconv/iconv_prog.c (print_version): Likewise.
8445         * iconv/iconvconfig.c (print_version): Likewise.
8446         * locale/programs/locale.c (print_version): Likewise.
8447         * locale/programs/localedef.c (print_version): Likewise.
8448         * login/programs/pt_chown.c (print_version): Likewise.
8449         * malloc/memusage.sh (do_version): Likewise.
8450         * malloc/memusagestat.c (print_version): Likewise.
8451         * malloc/mtrace.pl: Likewise.
8452         * manual/libc.texinfo: Likewise.
8453         * nptl/version.c (banner): Likewise.
8454         * nscd/nscd.c (print_version): Likewise.
8455         * nss/getent.c (print_version): Likewise.
8456         * nss/makedb.c (print_version): Likewise.
8457         * posix/getconf.c (main): Likewise.
8458         * scripts/test-installation.pl: Likewise.
8459         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8461         * All files with FSF copyright notices: Update copyright dates
8462         using scripts/update-copyrights.
8463         * intl/plural.c: Regenerated.
8464         * locale/programs/charmap-kw.h: Likewise.
8465         * locale/programs/locfile-kw.h: Likewise.
8467 2016-01-02  Helge Deller  <deller@gmx.de>
8469         [BZ #19285]
8470         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
8471         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
8472         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
8473         (MADV_xxK_PAGES): Remove.
8475 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
8477         [BZ #15421]
8478         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
8479         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
8480         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
8481         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
8483 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
8485         [BZ #19408]
8486         * sysdeps/unix/sysv/linux/personality.c: New file.
8487         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
8488         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
8489         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
8490         (sysdep_routines): Add personality.
8491         (tests): Add tst-personality.
8492         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
8493         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
8494         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
8495         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
8496         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
8497         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
8498         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
8499         Likewise.
8500         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
8501         Likewise.
8502         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
8503         Likewise.
8504         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
8505         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
8506         Likewise.
8508 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
8510         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
8511         (PATH_ARM_SYSTYPE): Remove.
8512         (PATH_CPUINFO): Likewise.
8513         (IO_BASE_FOOTBRIDGE): Likewise.
8514         (IO_SHIFT_FOOTBRIDGE): Likewise.
8515         (struct platform): Likewise.
8516         (init_iosys): Remove compatibility code for 2.4 kernels.
8517         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
8519 2015-12-29  Florian Weimer  <fweimer@redhat.com>
8521         * malloc/tst-malloc-thread-fail.c: New file.
8522         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
8523         (tst-malloc-thread-fail): Link against libpthread.
8525 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
8527         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
8528         (get_parser): New function.
8529         (main): New function.
8531 2015-12-29  Rob Wu  <rob@robwu.nl>
8533         [BZ #19369]
8534         * resolv/res_init.c (__res_vinit): Reset defdname before use.
8536 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
8538         [BZ #19270]
8539         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
8541 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
8543         [BZ #15421]
8544         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
8546 2015-12-23  Torvald Riegel  <triegel@redhat.com>
8548         [BZ #13690]
8549         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
8550         after releasing it.
8551         (__lll_robust_unlock): Likewise.
8552         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8553         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
8554         (lll_robust_unlock): Likewise.
8555         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
8556         Prevent warnings in callers.
8558 2015-12-23  Florian Weimer  <fweimer@redhat.com>
8560         * malloc/arena.c (list_lock): Update comment.
8562 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8564         * sysdeps/powerpc/hwcapinfo.c: Export symbol
8565         __parse_hwcap_and_convert_at_platform to libc.a.
8567 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8569         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
8570         platform and feature support for POWER9.
8571         * sysdeps/powerpc/dl-procinfo.h: Likewise.
8572         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
8573         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
8574         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
8575         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
8576         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
8577         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
8578         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
8580 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8582         Harmonize generic stdio-lock support with nptl
8584         This fixes build when _IO_funlockfile is a macro, fixes build where
8585         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
8586         stack unwind.
8588         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
8589         _IO_release_lock ): Use cleanup attribute on new
8590         _IO_acquire_lock_file variable instead of assuming that
8591         _IO_release_lock will be called.
8592         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
8593         _IO_acquire_lock_needs_exceptions_enabled.
8594         (_IO_acquire_lock_clear_flags2): New macro.
8596 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8598         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8600 2015-12-21  Florian Weimer  <fweimer@redhat.com>
8602         [BZ #19182]
8603         * malloc/arena.c (list_lock): Document lock ordering requirements.
8604         (free_list_lock): New lock.
8605         (ptmalloc_lock_all): Comment on free_list_lock.
8606         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
8607         (detach_arena): Update comment.  free_list_lock is now needed.
8608         (_int_new_arena): Use free_list_lock around detach_arena call.
8609         Acquire arena lock after list_lock.  Add comment, including FIXME
8610         about incorrect synchronization.
8611         (get_free_list): Switch to free_list_lock.
8612         (reused_arena): Acquire free_list_lock around detach_arena call
8613         and attached threads counter update.  Add two FIXMEs about
8614         incorrect synchronization.
8615         (arena_thread_freeres): Switch to free_list_lock.
8616         * malloc/malloc.c (struct malloc_state): Update comments to
8617         mention free_list_lock.
8619 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
8621         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
8622         Remove functions.
8623         (sloww, sloww1): Accept argument to offset quadrant.
8624         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
8625         quadrant.
8626         (__sin, __cos): Consolidate common code into new functions.
8627         (reduce_sincos_1, do_sincos_1): New functions.
8628         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
8630         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
8631         code to new functions.
8632         (reduce_sincos_2, do_sincos_2): New functions.
8633         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
8635         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
8636         common code for sincos.
8637         (__cos) [!IN_SINCOS]: Likewise.
8638         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
8639         New function.
8640         (__sincos): Use it.
8642 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
8644         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
8645         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
8646         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8648 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8650         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
8651         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
8652         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
8653         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
8654         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8655         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
8656         index_Prefer_No_VZEROUPPER): New feature.
8657         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
8658         Prefer_No_VZEROUPPER for Knights Landing.
8660 015-12-18  Torvald Riegel  <triegel@redhat.com>
8662         * math/atest-exp2.c (mp_exp_m1): Remove.
8664 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8666         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
8667         syscalls.
8668         (__SYSCALL0): New macro.
8669         (__SYSCALL1): Likewise.
8670         (__SYSCALL2): Likewise.
8671         (__SYSCALL3): Likewise.
8672         (__SYSCALL4): Likewise.
8673         (__SYSCALL5): Likewise.
8674         (__SYSCALL6): Likewise.
8675         (__SYSCALL_CONCAT_X): Likewise.
8676         (__SYSCALL_CONCAT): Likewise.
8677         (__SYSCALL_DIST): Likewise.
8678         (__SYSCALL_CALL): Likewise.
8680 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
8682         [BZ #19363]
8683         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
8685 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8687         [BZ #19375]
8688         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
8689         negative subnormals.
8691 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
8693         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8694         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
8695         (INTERNAL_SYSCALL_NCS): Use it.
8696         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8698 2015-12-16  Florian Weimer  <fweimer@redhat.com>
8700         [BZ #19243]
8701         * malloc/arena.c (get_free_list): Remove assert and adjust
8702         reference count handling.  Add comment about reused_arena
8703         interaction.
8704         (reused_arena): Add comments abount get_free_list interaction.
8705         * malloc/tst-malloc-thread-exit.c: New file.
8706         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
8707         (tst-malloc-thread-exit): Link against libpthread.
8709 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
8711         [BZ #19367]
8712         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
8713         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
8714         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
8715         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
8716         (index_Prefer_MAP_32BIT_EXEC): Likewise.
8718 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
8720         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
8721         Silvermont optimizations for Knights Landing.
8723 2015-12-15  Andreas Schwab  <schwab@suse.de>
8725         [BZ #17197]
8726         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
8727         immediately after emitting SI.
8728         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
8729         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
8730         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
8731         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
8732         * iconvdata/bug-iconv10.c: New file.
8733         * iconvdata/Makefile (tests): Add bug-iconv10.
8734         ($(objpfx)bug-iconv10.out): New rule.
8736 2015-12-15  Florian Weimer  <fweimer@redhat.com>
8738         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
8739         aliasing violation.
8741 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
8743         [BZ #18472]
8744         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
8745         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
8746         conditionals for them.
8747         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
8748         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
8749         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
8750         sys/kdaemon.h.
8751         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
8752         compat-only syscall, obsoleted in glibc 2.23.
8753         (create_module): Likewise.
8754         (get_kernel_syms): Likewise.
8755         (query_module): Likewise.
8756         (uselib): Likewise.
8757         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
8759 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
8761         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
8762         <linux/version.h>.
8763         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
8764         conditional code.
8765         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
8766         and ioshift_name initialization.
8768 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8770         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
8771         Fix indentation.
8773 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8775         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
8777 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8779         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
8781 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
8782             Jakub Wilk  <jwilk@debian.org>
8784         [BZ #19347]
8785         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
8786         to change the group of the device to the tty group.
8788 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
8790         Split large string section; add truncation advice
8791         * manual/examples/strncat.c: Remove.
8792         This example was misleading, as the code would have undefined
8793         behavior if "hello" was longer than SIZE.  Anyway, the manual
8794         shouldn't encourage strncpy+strncat for this sort of thing.
8795         * manual/string.texi (Copying Strings and Arrays): Split into
8796         three sections Copying Strings and Arrays, Concatenating Strings,
8797         and Truncating Strings, as this section was way too long.  All
8798         cross-referenced changed.  Add advice about string-truncation
8799         functions.  Remove misleading strncat example.
8801 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
8803         * manual/nss.texi (NSS Modules Interface): Document
8804         NSS_STATUS_NOTFOUND and SUCCESS.
8806 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
8808         [BZ 18568]
8809         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8810         201505L, for Unicode 8.
8812 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
8814         * locale/C-translit.h: Regenerate.
8816 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
8818         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
8819         and U+0153.
8821 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
8823         [BZ #19351]
8824         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
8825         expanding log(1+z), compare z rather than its square with epsilon
8826         to determine when to avoid evaluating the expansion.
8828         [BZ #19350]
8829         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
8830         Increase overflow threshold.
8832         [BZ #19349]
8833         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
8834         when small.
8836         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8837         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
8838         New macro.
8839         [__LINUX_KERNEL_VERSION >= 0x040300]
8840         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8841         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
8842         Likewise.
8843         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
8844         Likewise.
8845         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
8846         Likewise.
8847         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
8848         Likewise.
8849         [__LINUX_KERNEL_VERSION >= 0x040300]
8850         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
8851         [__LINUX_KERNEL_VERSION >= 0x040300]
8852         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8853         [__LINUX_KERNEL_VERSION >= 0x040300]
8854         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8855         [__LINUX_KERNEL_VERSION >= 0x040300]
8856         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8857         [__LINUX_KERNEL_VERSION >= 0x040300]
8858         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8859         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
8860         Likewise.
8861         [__LINUX_KERNEL_VERSION >= 0x040300]
8862         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
8863         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8864         Likewise.
8865         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
8866         Likewise.
8867         [__LINUX_KERNEL_VERSION >= 0x040300]
8868         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
8869         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8870         Likewise.
8871         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
8872         Likewise.
8873         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8874         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
8875         Likewise.
8876         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
8877         Likewise.
8878         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
8879         Likewise.
8880         [__LINUX_KERNEL_VERSION >= 0x040300]
8881         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8882         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
8883         Likewise.
8884         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
8885         Likewise.
8886         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
8887         Likewise.
8888         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
8889         Likewise.
8890         [__LINUX_KERNEL_VERSION >= 0x040300]
8891         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
8892         [__LINUX_KERNEL_VERSION >= 0x040300]
8893         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8894         [__LINUX_KERNEL_VERSION >= 0x040300]
8895         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8896         [__LINUX_KERNEL_VERSION >= 0x040300]
8897         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8898         [__LINUX_KERNEL_VERSION >= 0x040300]
8899         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8900         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
8901         Likewise.
8902         [__LINUX_KERNEL_VERSION >= 0x040300]
8903         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
8904         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8905         Likewise.
8906         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
8907         Likewise.
8908         [__LINUX_KERNEL_VERSION >= 0x040300]
8909         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
8910         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8911         Likewise.
8912         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
8913         Likewise.
8914         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8915         (__ASSUME_SOCKET_SYSCALL): Likewise.
8916         (__ASSUME_BIND_SYSCALL): Likewise.
8917         (__ASSUME_CONNECT_SYSCALL): Likewise.
8918         (__ASSUME_LISTEN_SYSCALL): Likewise.
8919         (__ASSUME_ACCEPT_SYSCALL): Likewise.
8920         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8921         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8922         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8923         (__ASSUME_SEND_SYSCALL): Likewise.
8924         (__ASSUME_SENDTO_SYSCALL): Likewise.
8925         (__ASSUME_RECV_SYSCALL): Likewise.
8926         (__ASSUME_RECVFROM_SYSCALL): Likewise.
8927         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
8928         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8929         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8930         (__ASSUME_SENDMSG_SYSCALL): Likewise.
8931         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8932         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8933         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
8934         Likewise.
8935         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
8936         Likewise.
8937         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
8938         Likewise.
8939         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
8940         Likewise.
8941         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
8942         Likewise.
8943         [__LINUX_KERNEL_VERSION >= 0x020625]
8944         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8945         [__LINUX_KERNEL_VERSION >= 0x020625]
8946         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8947         [__LINUX_KERNEL_VERSION >= 0x020625]
8948         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8949         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
8950         Likewise.
8951         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
8952         Likewise.
8953         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
8954         Likewise.
8955         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
8956         Likewise.
8957         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
8958         Likewise.
8959         [__LINUX_KERNEL_VERSION >= 0x020625]
8960         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8961         [__LINUX_KERNEL_VERSION >= 0x020625]
8962         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8963         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
8964         Likewise.
8965         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
8966         Likewise.
8968 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
8970         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
8971         record the current if the current ABI and CPU support the FP64
8972         extension.
8973         (has-modd-spreg): Define to record the current if the current ABI and
8974         CPU support 32-bit floating point values in odd FPU registers.
8975         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8976         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
8977         $(has-modd-spreg) equals yes.
8978         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
8979         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
8980         $(has-modd-spreg) equal yes.
8982 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
8984         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
8985         basename.
8987 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
8989         * benchtests/Makefile (bench-math): Move ffs and ffsll...
8990         (bench-string): ... here.
8991         (bench): Add bench-string.
8992         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
8993         to *-benchset to reflect what they are.
8994         (benchset): Adjust.
8996         * benchtests/sincos-inputs: Add inputs from sin-inputs and
8997         cos-inputs.
8999 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
9001         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
9002         __attribute__ ((__simd__)) for vector math function declarations.
9004 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9006         Fix typo in strncat, wcsncat manual entries
9007         * manual/string.texi (Copying and Concatenation): Fix typos in
9008         sample implementations of strncat and wcsncat, by having them use
9009         the old value of the destination length, not the new one.
9011 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
9013         [BZ #16961]
9014         [BZ #16962]
9015         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
9016         string on the stack for strtod.
9017         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
9018         a string on the stack for strtof.
9019         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
9020         constructing a string on the stack for strtold.
9021         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
9022         __strtold_nan to GLIBC_PRIVATE.
9023         * math/test-nan-overflow.c: New file.
9024         * math/test-nan-payload.c: Likewise.
9025         * math/Makefile (tests): Add test-nan-overflow and
9026         test-nan-payload.
9028 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9030         Consistency about byte vs character in string.texi
9031         * manual/string.texi (String and Array Utilities):
9032         Distinguish more carefully among bytes, multibyte characters,
9033         and wide characters.  Use "byte" when talking about C 'char',
9034         to distinguish it more clearly from multibyte characters.
9035         Say "wide character" or "multibyte character" instead of
9036         "character", when a wide or multibyte character is intended.
9037         Similarly for "multibyte string" versus "string".
9038         Define these terms more carefully.
9040 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
9042         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
9043         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
9044         Likewise.
9045         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9046         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9047         * sysdeps/sh/math_private.h: New file.
9048         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
9049         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
9050         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
9051         long double function name.
9052         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9053         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9054         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9055         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9056         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
9058         Remove __finitel, __isinfl, and __isnanl.
9059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9060         Likewise.
9061         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9063         Remove __finitel.
9064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9065         Likewise.
9066         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9068 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
9070         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
9071         installed libmvec_nonshared.a.
9073 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9075         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
9076         (sysdep_routines): Likewise.
9077         (sysdep-rtld-routines): Likewise.
9078         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
9079         [$(subdir) = nptl](tests-static): test-get_hwcap-static
9080         * sysdeps/powerpc/Versions: Added new
9081         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
9082         * sysdeps/powerpc/hwcapinfo.c: New file.
9083         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
9084         and parse hwcap, hwcap2 and platform number information.
9085         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
9086         to store HWCAP+HWCAP2 and platform number.
9087         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
9088         for HWCAP+HWCAP2 and platform number in the TCB.
9089         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
9090         the HWCAP, HWCAP2 and platform number in the TCB.
9091         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
9092         (TLS_INIT_TP): Included calls to add the hwcap and
9093         at_platform values in the TCB in TP initialization.
9094         (TLS_DEFINE_INIT_TP): Likewise.
9095         (THREAD_GET_HWCAP): New macro.
9096         (THREAD_SET_HWCAP): Likewise.
9097         (THREAD_GET_AT_PLATFORM): Likewise.
9098         (THREAD_SET_AT_PLATFORM): Likewise.
9099         * sysdeps/powerpc/powerpc32/dl-machine.h:
9100         (dl_platform_init): New function that calls
9101         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
9102         powerpc32.
9103         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
9104         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
9105         this functionality, static linking case.
9106         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
9107         linking case.
9108         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
9109         __parse_hwcap_and_convert_at_platform for the static linking case.
9110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
9111         Included the new __parse_hwcap_and_convert_at_platform symbol in the
9112         ABI list for GLIBC 2.23.
9113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
9114         Likewise.
9115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
9116         Likewise.
9118 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
9120         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
9121         * configure: Regenerate.
9122         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
9123         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
9125 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
9127         * iconvdata/ibm930.c: Add comment explaining encoding uses.
9128         * iconvdata/ibm933.c: Likewise.
9129         * iconvdata/ibm935.c: Likewise.
9130         * iconvdata/ibm937.c: Likewise.
9131         * iconvdata/ibm939.c: Likewise.
9133 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9135         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
9136         pthread_join.
9137         * nptl/tst-cancel21.c (tf): Likewise.
9139 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
9141         [BZ #19313]
9142         * bits/typesizes.h (__CPU_MASK_TYPE): New.
9143         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
9144         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
9145         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
9146         Likewise.
9147         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
9148         Likewise.
9149         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
9150         Likewise.
9151         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
9152         Likewise.
9153         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
9154         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
9155         unsigned long int with __CPU_MASK_TYPE.
9157 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9159         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9161 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
9163         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
9164         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
9165         t512.x.
9166         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
9168 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
9170         [BZ #19214]
9171         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
9172         argument to return extended model.  Update family and model
9173         with extended family and model when family == 0x0f.
9174         (init_cpu_features): Updated.
9176 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9178         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
9179         signed off_t, so 32bit bigger than 2GiB values are fine actually.
9181         * sysdeps/mach/hurd/mmap64.c: New file.
9183 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
9185         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
9186         rights for its main user thread in NEWTASK.
9188 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
9190         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
9191         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
9193 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
9195         [BZ #14259]
9196         * Makeconfig: Rename localedir to complocaledir.
9197         Rename inst_localedir to inst_complocaledir.
9198         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
9199         * config.make.in: Use complocaledir and libc_cv_complocaledir.
9200         * configure.ac: Use libc_cv_complocaledir.
9201         * configure: Regenerate.
9202         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
9203         -DCOMPLOCALEDIR.
9204         * locale/findlocale.c: Use COMPLOCALEDIR.
9205         * locale/loadarchive.c: Likewise.
9206         * locale/programs/locale.c: Likewise.
9207         * locale/programs/localedef.c: Likewise.
9208         * locale/programs/locarchive.c: Likewise.
9209         * localedata/Makefile: Use inst_complocaledir.
9210         * sysdeps/gnu/configure: Regenerate.
9211         * sysdeps/hppa/configure: Regenerate.
9212         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
9213         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9215         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
9216         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
9217         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
9218         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
9220 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
9222         [BZ #19058]
9223         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
9224         AS_NEEDED.
9225         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
9226         workaround.
9227         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
9228         libmvec-static-only-routines): Added new file.
9229         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
9231 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9233         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
9234         of interrupted RPC instead of restoring it.
9236         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
9237         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
9238         libc_hidden_def.
9239         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
9240         into initialized data instead of common. Define rtld_hidden_data_def.
9241         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
9242         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
9243         libc_hidden_def.
9244         (if_freenameindex): Add libc_hidden_weak.
9245         (if_nameindex): Add libc_hidden_weak.
9246         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
9247         __open64.
9248         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
9249         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
9250         * sysdeps/mach/nanosleep.c: Include <time.h>
9251         (__nanosleep): Rename to __libc_nanosleep.
9252         (__nanosleep): Add weak_alias.
9253         (nanosleep): Update alias.
9255 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
9257         * stdlib/strtod_nan.c: New file.
9258         * stdlib/strtod_nan_double.h: Likewise.
9259         * stdlib/strtod_nan_float.h: Likewise.
9260         * stdlib/strtod_nan_main.c: Likewise.
9261         * stdlib/strtod_nan_narrow.h: Likewise.
9262         * stdlib/strtod_nan_wide.h: Likewise.
9263         * stdlib/strtof_nan.c: Likewise.
9264         * stdlib/strtold_nan.c: Likewise.
9265         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
9266         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
9267         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
9268         * wcsmbs/wcstod_nan.c: Likewise.
9269         * wcsmbs/wcstof_nan.c: Likewise.
9270         * wcsmbs/wcstold_nan.c: Likewise.
9271         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
9272         strtold_nan.
9273         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
9274         wcstof_nan.
9275         * include/stdlib.h (__strtof_nan): Declare and use
9276         libc_hidden_proto.
9277         (__strtod_nan): Likewise.
9278         (__strtold_nan): Likewise.
9279         (__wcstof_nan): Likewise.
9280         (__wcstod_nan): Likewise.
9281         (__wcstold_nan): Likewise.
9282         * include/wchar.h (____wcstoull_l_internal): Declare.
9283         * stdlib/strtod_l.c: Do not include <ieee754.h>.
9284         (____strtoull_l_internal): Remove declaration.
9285         (STRTOF_NAN): Define macro.
9286         (SET_MANTISSA): Remove macro.
9287         (STRTOULL): Likewise.
9288         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
9289         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
9290         (STRTOF_NAN): Define macro.
9291         (SET_MANTISSA): Remove macro.
9292         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
9293         (SET_MANTISSA): Remove macro.
9294         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
9295         macro.
9296         (SET_MANTISSA): Remove macro.
9297         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
9298         macro.
9299         (SET_MANTISSA): Remove macro.
9300         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
9301         (SET_MANTISSA): Remove macro.
9302         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
9303         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
9304         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
9306         [BZ #19266]
9307         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
9308         upper case and lower case letters inside NAN(), not using TOLOWER.
9309         * stdlib/tst-strtod-nan-locale-main.c: New file.
9310         * stdlib/tst-strtod-nan-locale.c: Likewise.
9311         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
9312         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
9313         Depend on $(gen-locales).
9314         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
9315         * wcsmbs/tst-wcstod-nan-locale.c: New file.
9316         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
9317         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
9318         Depend on $(gen-locales).
9319         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
9321 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
9323         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
9325         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
9327         __finitel, __isinfl, and __isnanl.
9328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9329         Likewise.
9330         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
9332         __finitel.
9333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9334         Likewise.
9335         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9337 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
9339         * malloc/memusage.c (me): Remove redundant getenv call.
9341 2015-10-24  Florian Weimer  <fweimer@redhat.com>
9343         [BZ #19143]
9344         [BZ #19164]
9345         * nptl/check-cpuset.h: Remove.
9346         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
9347         Remove CPU set size check.
9348         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
9349         Likewise.
9350         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
9351         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
9352         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
9353         (__pthread_setaffinity_new): Remove CPU set size check.
9354         * sysdeps/unix/sysv/linux/sched_setaffinity.c
9355         (__kernel_cpumask_size): Remove.
9356         (__sched_setaffinity_new): Remove CPU set size check.
9357         * manual/threads.texi (Default Thread Attributes): Remove stale
9358         reference to check_cpuset_attr, determine_cpumask_size in comment.
9359         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
9360         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
9361         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
9362         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
9363         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
9364         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
9365         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
9366         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
9367         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
9368         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
9369         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
9370         skeleton test file.
9371         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
9372         tst-affinity-pid.
9374 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9376         * scripts/update-abilist.sh: New file.
9377         * Makefile (+subdir_targets): Add subdir_update-all-abi.
9378         * Makerules (update-all-abi-%, update-all-abi)
9379         (subdir_update-all-abi): New targets.
9380         * elf/Makefile (update-all-abi): New target.
9382 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9384         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
9385         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
9386         (__libc_lock_define_initialized): Use it.
9387         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
9388         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
9389         * malloc/malloc.c (main_arena): Likewise.
9390         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9391         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9393 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
9395         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9396         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
9397         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9398         (PTRACE_O_MASK): Update value.
9399         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
9400         New value in enum __ptrace_setoptions.
9401         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9402         (PTRACE_O_MASK): Update value.
9403         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9404         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9405         (PTRACE_O_MASK): Update value.
9406         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
9407         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9408         (PTRACE_O_MASK): Update value.
9409         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
9410         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9411         (PTRACE_O_MASK): Update value.
9412         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
9413         New value in enum __ptrace_setoptions.
9414         (PTRACE_O_MASK): Update value.
9415         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
9416         New value in enum __ptrace_setoptions.
9417         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9418         (PTRACE_O_MASK): Update value.
9420         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
9421         New macro.
9422         (PACKET_AUXDATA): Likewise.
9423         (PACKET_ORIGDEV): Likewise.
9424         (PACKET_VERSION): Likewise.
9425         (PACKET_HDRLEN): Likewise.
9426         (PACKET_RESERVE): Likewise.
9427         (PACKET_TX_RING): Likewise.
9428         (PACKET_LOSS): Likewise.
9429         (PACKET_VNET_HDR): Likewise.
9430         (PACKET_TX_TIMESTAMP): Likewise.
9431         (PACKET_TIMESTAMP): Likewise.
9432         (PACKET_FANOUT): Likewise.
9433         (PACKET_TX_HAS_OFF): Likewise.
9434         (PACKET_QDISC_BYPASS): Likewise.
9435         (PACKET_ROLLOVER_STATS): Likewise.
9436         (PACKET_FANOUT_DATA): Likewise.
9437         (PACKET_MR_UNICAST): Likewise.
9439         [BZ #19242]
9440         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
9441         (TOUPPER): Likewise.
9442         * stdlib/tst-strtol-locale-main.c: New file.
9443         * stdlib/tst-strtol-locale.c: Likewise.
9444         * stdlib/Makefile (tests): Add tst-strtol-locale.
9445         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
9446         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
9447         Depend on $(gen-locales).
9448         * wcsmbs/tst-wcstol-locale.c: New file.
9449         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
9450         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
9451         tr_TR.ISO-8859-9.
9452         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
9453         Depend on $(gen-locales).
9455 2015-11-20  Roland McGrath  <roland@hack.frob.com>
9457         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
9458         __glibc_likely instead of __builtin_expect.  After falling back to
9459         dyncode_create in a non-ET_DYN case, use the allocate_code_data
9460         system interface to register the code pages as occupied.
9462 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
9464         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9465         [!ARM_MATH_PRIVATE_H].
9466         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
9467         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9468         [!HPPA_MATH_PRIVATE_H].
9469         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
9470         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
9471         to [!I386_MATH_PRIVATE_H].
9472         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
9473         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
9474         Change guard to [!M68K_MATH_PRIVATE_H].
9475         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
9476         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
9477         guard to [!MICROBLAZE_MATH_PRIVATE_H].
9478         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
9479         macro.
9480         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9481         [!MIPS_MATH_PRIVATE_H].
9482         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
9483         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9484         [!NIO2_MATH_PRIVATE_H].
9485         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
9486         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9487         [!TILE_MATH_PRIVATE_H].
9488         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
9490         [BZ #15421]
9491         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
9492         initialize with 0 and define as weak alias of __signgam.
9493         * include/math.h [!_ISOMAC] (__signgam): Declare.
9494         * math/Makefile (libm-calls): Add w_lgamma_compat.
9495         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
9496         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
9497         test-signgam-ullong-init.
9498         (tests-static): Add test-signgam-uchar-static,
9499         test-signgam-uchar-init-static, test-signgam-uint-static,
9500         test-signgam-uint-init-static, test-signgam-ullong-static and
9501         test-signgam-ullong-init-static.
9502         (CFLAGS-test-signgam-uchar.c): New variable.
9503         (CFLAGS-test-signgam-uchar-init.c): Likewise.
9504         (CFLAGS-test-signgam-uchar-static.c): Likewise.
9505         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
9506         (CFLAGS-test-signgam-uint.c): Likewise.
9507         (CFLAGS-test-signgam-uint-init.c): Likewise.
9508         (CFLAGS-test-signgam-uint-static.c): Likewise.
9509         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
9510         (CFLAGS-test-signgam-ullong.c): Likewise.
9511         (CFLAGS-test-signgam-ullong-init.c): Likewise.
9512         (CFLAGS-test-signgam-ullong-static.c): Likewise.
9513         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
9514         * math/Versions (libm): Add GLIBC_2.23.
9515         * math/lgamma-compat.h: New file.
9516         * math/test-signgam-main.c: Likewise.
9517         * math/test-signgam-uchar-init-static.c: Likewise.
9518         * math/test-signgam-uchar-init.c: Likewise.
9519         * math/test-signgam-uchar-static.c: Likewise.
9520         * math/test-signgam-uchar.c: Likewise.
9521         * math/test-signgam-uint-init-static.c: Likewise.
9522         * math/test-signgam-uint-init.c: Likewise.
9523         * math/test-signgam-uint-static.c: Likewise.
9524         * math/test-signgam-uint.c: Likewise.
9525         * math/test-signgam-ullong-init-static.c: Likewise.
9526         * math/test-signgam-ullong-init.c: Likewise.
9527         * math/test-signgam-ullong-static.c: Likewise.
9528         * math/test-signgam-ullong.c: Likewise.
9529         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
9530         wrapper of w_lgamma_main.c.
9531         * math/w_lgamma_compat.c: New file.
9532         * math/w_lgamma_compatf.c: Likewise.
9533         * math/w_lgamma_compatl.c: Likewise.
9534         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
9535         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9536         defining compatibility symbols.
9537         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
9538         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
9539         wrapper of w_lgammaf_main.c.
9540         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
9541         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9542         defining compatibility symbols.
9543         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
9544         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
9545         wrapper of w_lgammal_main.c.
9546         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
9547         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9548         defining compatibility symbols.
9549         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
9550         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
9551         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
9552         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
9553         <lgamma-compat.h>.
9554         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
9555         (__ieee754_gamma): Define as alias.
9556         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
9557         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
9558         <lgamma-compat.h>.
9559         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
9560         (__ieee754_gammaf): Define as alias.
9561         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
9562         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
9563         <lgamma-compat.h>.
9564         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
9565         (__ieee754_gammal): Define as alias.
9566         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
9567         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
9568         <math/w_lgamma_compat.c>.
9569         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
9570         Define as alias of __lgamma_compat and use in defining lgammal.
9571         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
9572         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
9573         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
9574         (USE_AS_COMPAT): New macro.
9575         (LGAMMA_OLD_VER): Undefine and redefine.
9576         (lgammal): Do not define here.
9577         (gammal): Only define here if [GAMMA_ALIAS].
9578         * conform/linknamespace.pl (@whitelist): Remove signgam.
9579         * sysdeps/nacl/libm.abilist: Update.
9580         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9581         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9582         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9583         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9584         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9585         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9586         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9587         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9588         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9589         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9590         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9591         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9593         Likewise.
9594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9595         Likewise.
9596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9597         Likewise.
9598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9599         Likewise.
9600         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9601         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9602         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9603         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9604         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9606         Likewise.
9607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9608         Likewise.
9609         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9610         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9611         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9613 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9615         [BZ #16364]
9616         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
9617         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
9619 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9621         * sysdeps/s390/fpu/bits/mathinline.h:
9622         Use __asm__ [__volatile__] instead of asm [volatile].
9623         * sysdeps/s390/abort-instr.h: Likewise.
9624         * sysdeps/s390/atomic-machine.h: Likewise.
9625         * sysdeps/s390/bits/string.h: Likewise.
9626         * sysdeps/s390/dl-tls.h: Likewise.
9627         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9628         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9629         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9630         * sysdeps/s390/fpu/fesetround.c: Likewise.
9631         * sysdeps/s390/fpu/fpu_control.h: Likewise.
9632         * sysdeps/s390/fpu/s_fma.c: Likewise.
9633         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
9634         * sysdeps/s390/memusage.h: Likewise.
9635         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
9636         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
9637         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
9638         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
9639         * sysdeps/s390/nptl/tls.h: Likewise.
9640         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
9641         * sysdeps/s390/s390-32/backtrace.c: Likewise.
9642         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9643         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
9644         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9645         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9646         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
9647         * sysdeps/s390/s390-64/backtrace.c: Likewise.
9648         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9649         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
9650         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
9651         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9652         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9653         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
9654         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9655         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9656         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
9657         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9658         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
9659         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9660         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
9661         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9662         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
9664 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9665             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9667         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
9668         Add lwarx hint, and use macro for acquire instruction.
9669         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9670         Likewise.
9671         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
9672         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
9673         update to use new atomic macros.
9675 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9677         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9678         (__lll_trylock_elision): Fix setting of adapt_count.
9679         * sysdeps/unix/sysv/linux/powerpc/htm.h
9680         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
9681         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
9682         (_ABORT_SYSCALL): Renumber, and clarify definition.
9683         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
9685 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9687         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
9688         after system headers to prevent MIN/MAX redefinition.  Define
9689         HAVE_ALLOCA to preserve builtin alloca usage.
9691 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
9693         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
9694         static and don't set or restore rounding.
9695         (__cos)[IN_SINCOS]: Likewise.
9696         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
9697         (__sincos): Set and restore rounding mode.  Remove check for infinite
9698         or NaN input.
9700         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
9702         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
9703         as used.
9705 2015-11-16  Florian Weimer  <fweimer@redhat.com>
9707         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
9709 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
9711         * config.make.in (have-glob-dat-reloc): New.
9712         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
9713         target supports GLOB_DAT relocaton. AC_SUBST.
9714         * configure: Regenerated.
9715         * elf/Makefile (tests): Add tst-prelink.
9716         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
9717         (tst-prelink-ENV): New.
9718         ($(objpfx)tst-prelink-conflict.out): Likewise.
9719         ($(objpfx)tst-prelink-cmp.out): Likewise.
9720         * sysdeps/x86/tst-prelink.c: Moved to ...
9721         * elf/tst-prelink.c: Here.
9722         * sysdeps/x86/tst-prelink.exp: Moved to ...
9723         * elf/tst-prelink.exp: Here.
9724         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
9725         (tst-prelink-ENV): Removed.
9726         ($(objpfx)tst-prelink-conflict.out): Likewise.
9727         ($(objpfx)tst-prelink-cmp.out): Likewise.
9728         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
9730 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
9732         [BZ #14551]
9733         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
9734         (__mpn_construct_long_double): If high part overflows to infinity,
9735         set errno and recompute overflowed result of the correct sign.
9736         * sysdeps/ieee754/ldbl-128ibm/Makefile
9737         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
9738         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
9739         $(libm).
9740         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
9742 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
9744         [BZ #15479]
9745         [BZ #19238]
9746         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
9747         floating-point state after first operation on input.  Restore full
9748         state rather than just rounding mode.
9749         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
9750         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
9751         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
9753         [BZ #19235]
9754         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
9755         add 0.5 to integer arguments.
9756         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
9757         Likewise.
9758         (.LC2): New object.
9760 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
9762         * scripts/pylintrc (reports): Set to no.
9764 2015-11-10  Roland McGrath  <roland@hack.frob.com>
9766         * elf/dl-load.c (open_verify): Take new argument FD.
9767         Skip __open call if passed FD is not -1.
9768         (_dl_map_object, open_path): Update callers.
9769         * elf/dl-sysdep-open.h: New file.
9770         * elf/dl-load.c: Include it.
9771         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
9772         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
9773         * sysdeps/nacl/dl-sysdep-open.h: New file.
9774         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
9775         from libc to rtld.
9777 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
9779         [BZ #19228]
9780         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
9781         and restore full floating-point state.
9782         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9783         Likewise.
9784         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
9785         Likewise.
9786         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
9787         Likewise.
9788         * math/test-nearbyint-except-2.c: New file.
9789         * math/Makefile (tests): Add test-nearbyint-except-2.
9791 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
9793         [BZ #19178]
9794         * sysdeps/x86/Makefile (tests): Add tst-prelink.
9795         (tst-prelink-ENV): New.
9796         ($(objpfx)tst-prelink-conflict.out): Likewise.
9797         ($(objpfx)tst-prelink-cmp.out): Likewise.
9798         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
9799         * sysdeps/x86/tst-prelink.c: New file.
9800         * sysdeps/x86/tst-prelink.exp: Likewise.
9802 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
9804         * math/auto-libm-test-in: Add another test of pow.
9805         * math/auto-libm-test-out: Regenerated.
9806         * math/libm-test.inc (pow_test_data): Add another test.
9808 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9810         [BZ #19219]
9811         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
9812         weak_alias to nearbyintl.
9814 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
9816         * sysdeps/aarch64/bits/string.h: New file.
9817         (_STRING_ARCH_unaligned): Define.
9819 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
9821         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
9822         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9823         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9824         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
9825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
9827 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
9829         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
9830         for original name of the DSO.  Add it to the name list of the DSO
9831         if it is actually given.
9832         (_dl_map_object): Keep track of whether an audit module rewrote
9833         the file name.  If yes, pass the original name to
9834         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
9835         debugging is enabled, log the change of the file name.
9836         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
9837         _dl_map_object_from_fd.
9838         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
9839         * elf/tst-audit11.c: New file
9840         * elf/tst-auditmod11.c: New file.
9841         * elf/tst-audit11mod1.c: New file.
9842         * elf/tst-audit11mod2.c: New file.
9843         * elf/tst-audit11mod2.map: New file.
9844         * elf/tst-audit12.c: New file
9845         * elf/tst-auditmod12.c: New file.
9846         * elf/tst-audit12mod1.c: New file.
9847         * elf/tst-audit12mod2.c: New file.
9848         * elf/tst-audit12mod2.map: New file.
9849         * elf/tst-audit12mod3.c: New file.
9851 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
9853         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
9854         Don't create weak aliases,
9855         because versioned symbols are created later.
9856         * sysdeps/s390/s390-32/setjmp.S
9857         (setjmp, _setjmp): Remove weak and rename to an unique name
9858         in SHARED case due to existing versioned symbols.
9859         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9860         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
9861         (getcontext): Create weak alias only in non SHARED case.
9862         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9864 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
9866         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
9867         (__ASSUME_*_SYSCALL) Define new macros.
9868         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
9869         Remove socketcall syscalls.
9870         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
9871         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
9872         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
9873         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
9874         * sysdeps/unix/sysv/linux/send.c (__libc_send):
9875         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
9877 2015-11-09  Florian Weimer  <fweimer@redhat.com>
9879         [BZ #12926]
9880         Terminate process on invalid netlink response.
9881         * sysdeps/unix/sysv/linux/netlinkaccess.h
9882         (__netlink_assert_response): Declare.
9883         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
9884         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
9885         (sysdep_routines): Add netlink_assert_response.
9886         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
9887         __netlink_assert_response.
9888         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
9889         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
9890         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
9891         __netlink_assert_response.
9893 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
9895         [BZ #19178]
9896         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
9897         (RTYPE_CLASS_PLT): Likewise.
9898         (RTYPE_CLASS_COPY): Likewise.
9899         (RTYPE_CLASS_TLS): Likewise.
9900         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
9901         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
9902         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
9903         DL_DEBUG_PRELINK.
9905 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
9907         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
9908         calls with argument -0.5.
9909         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
9911         * configure.ac (libc_cv_z_nodelete): Remove configure test.
9912         (libc_cv_z_nodlopen): Likewise.
9913         (libc_cv_z_initfirst): Likewise.
9914         * configure: Regenerated.
9916 2015-11-06  Florian Weimer  <fweimer@redhat.com>
9918         Simplify abilist format to be line-based.
9919         * scripts/abilist.awk: Collect descriptors in the descs variable.
9920         (emit): Write descs variable and sort it
9921         externally, with sort.
9922         * sysdeps/**/*.abilist: Convert to new format.
9924 2015-11-06  Mark Wielaard  <mjw@redhat.com>
9926         [BZ #11460]
9927         * io/Makefile (routines): Add fts64.
9928         (tests): Add tst-fts and tst-fts-lfs.
9929         (CFLAGS-fts64.c): New.
9930         * io/Versions (GLIBC_2.23): New.
9931         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
9932         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
9933         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
9934         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
9935         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
9936         (FTSENT64): Likewise.
9937         (fts64_children): Likewise.
9938         (fts64_close): Likewise.
9939         (fts64_open): Likewise.
9940         (fts64_read): Likewise.
9941         (fts64_set): Likewise.
9942         * io/fts64.c: New file.
9943         * io/tst-fts.c: New test.
9944         * io/tst-fts-lfs.c: Likewise.
9945         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
9946         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
9947         fts64_set.
9948         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9949         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9950         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9951         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9952         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9953         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9954         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9955         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9956         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9957         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9958         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9959         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9960         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9962         Likewise.
9963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9964         Likewise.
9965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9967         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9968         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9969         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9970         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9971         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9972         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9973         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9974         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9975         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9976         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9977         * sysdeps/wordsize-64/fts.c: New file.
9978         * sysdeps/wordsize-64/fts64.c: Likewise.
9979         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
9980         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
9981         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
9982         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
9984 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
9986         * math/libm-test.inc (NON_FINITE): New macro.
9987         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
9988         * math/gen-libm-test.pl (show_exceptions): Add argument
9989         $non_finite.
9990         (parse_args): Update call to show_exceptions.
9991         * math/test-math-finite.h: New file.
9992         * math/test-math-no-finite.h: Likewise.
9993         * math/test-double-finite.c: Likewise.
9994         * math/test-float-finite.c: Likewise.
9995         * math/test-ldouble-finite.c: Likewise.
9996         * math/test-double.c: Include "test-math-no-finite.h".
9997         * math/test-float.c: Include "test-math-no-finite.h".
9998         * math/test-ldouble.c: Include "test-math-no-finite.h".
9999         * math/test-math-inline.h (TEST_FINITE): New macro.
10000         * math/test-math-vector.h (TEST_FINITE): Likewise.
10001         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
10002         (libm-tests): Add test-float-finite and test-double-finite.
10003         ($(objpfx)test-float-finite.o): New dependency on
10004         $(objpfx)libm-test.stmp.
10005         ($(objpfx)test-double-finite.o): Likewise.
10006         ($(objpfx)test-ldouble-finite.o): Likewise.
10007         (libm-test-no-inline-cflags): New variable.
10008         (libm-test-finite-cflags): Likewise.
10009         (CFLAGS-test-float-finite.c): Likewise.
10010         (CFLAGS-test-double-finite.c): Likewise.
10011         (CFLAGS-test-ldouble-finite.c): Likewise.
10012         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
10013         (CFLAGS-test-double.c): Likewise.
10014         (CFLAGS-test-ldouble.c): Likewise.
10016 2015-11-05  Roland McGrath  <roland@hack.frob.com>
10018         * io/fcntl.c (__fcntl): Add ... to prototype.
10019         * misc/ioctl.c (__ioctl): Likewise.
10020         * misc/syscall.c (syscall): Likewise.
10022 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10024         * scripts/list-fixed-bugs.py: New file.
10026         [BZ #19213]
10027         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
10028         returned for argument 1.
10029         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
10030         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
10031         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
10032         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
10033         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
10034         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
10036         [BZ #19211]
10037         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
10038         __USE_XOPEN], not if [!__USE_ISOC99].
10039         (lgammaf): Likewise.
10040         (lgammal): Likewise.
10041         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
10042         (gammaf): Likewise.
10043         (gammal): Likewise.
10044         * math/test-signgam-finite-c11.c: New file.
10045         * math/test-signgam-finite-c99.c: Likewise.
10046         * math/test-signgam-finite.c: Likewise.
10047         * math/Makefile (tests): Add test-signgam-finite,
10048         test-signgam-finite-c99 and test-signgam-finite-c11.
10049         (CFLAGS-test-signgam-finite.c): New variable.
10050         (CFLAGS-test-signgam-finite-c99.c): Likewise.
10051         (CFLAGS-test-signgam-finite-c11.c): Likewise.
10053         [BZ #19212]
10054         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
10055         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
10056         500].
10057         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
10058         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
10059         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
10060         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
10061         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
10062         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
10063         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
10064         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
10065         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
10066         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
10068         [BZ #19209]
10069         * math/bits/math-finite.h (ldexp): Remove declaration.
10070         (ldexpf): Likewise.
10071         (ldexpl): Likewise.
10073         [BZ #19205]
10074         * math/bits/math-finite.h (acosf): Condition declaration on
10075         [__USE_ISOC99].
10076         (acosl): Likewise.
10077         (acoshf): Likewise.
10078         (acoshl): Likewise.
10079         (asinf): Likewise.
10080         (asinl): Likewise.
10081         (atan2f): Likewise.
10082         (atan2l): Likewise.
10083         (atanhf): Likewise.
10084         (atanhl): Likewise.
10085         (coshf): Likewise.
10086         (coshl): Likewise.
10087         (expf): Likewise.
10088         (expl): Likewise.
10089         (fmodf): Likewise.
10090         (fmodl): Likewise.
10091         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
10092         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
10093         (j0l): Likewise.
10094         (y0f): Likewise.
10095         (y0l): Likewise.
10096         (j1f): Likewise.
10097         (j1l): Likewise.
10098         (y1f): Likewise.
10099         (y1l): Likewise.
10100         (jnf): Likewise.
10101         (jnl): Likewise.
10102         (ynf): Likewise.
10103         (ynl): Likewise.
10104         (lgammaf_r): Condition declaration on [__USE_ISOC99].
10105         (lgammal_r): Likewise.
10106         (__lgamma_r_finite): New declaration.
10107         (__lgammaf_r_finite): Likewise.
10108         (__lgammal_r_finite): Likewise.
10109         (lgamma): Use __lgamma_r_finite.
10110         (lgammaf): Condition definition on [__USE_ISOC99].  Use
10111         __lgammaf_r_finite.
10112         (lgammal): Condition definition on [__USE_ISOC99].  Use
10113         __lgammal_r_finite.
10114         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
10115         __lgamma_r_finite.
10116         (gammaf): Condition definition on [__USE_ISOC99].  Use
10117         __lgammaf_r_finite.
10118         (gammal): Condition definition on [__USE_ISOC99].  Use
10119         __lgammal_r_finite.
10120         (logf): Condition declaration on [__USE_ISOC99].
10121         (logl): Likewise.
10122         (log10f): Likewise.
10123         (log10l): Likewise.
10124         (ldexpf): Likewise.
10125         (ldexpl): Likewise.
10126         (powf): Likewise.
10127         (powl): Likewise.
10128         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
10129         __USE_ISOC99].
10130         (remainderf): Condition declaration on [__USE_ISOC99].
10131         (remainderl): Likewise.
10132         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
10133         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
10134         (scalbl): Likewise.
10135         (sinhf): Condition declaration on [__USE_ISOC99].
10136         (sinhl): Likewise.
10137         (sqrtf): Likewise.
10138         (sqrtl): Likewise.
10140 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
10142         * sysdeps/arm/atomic-machine.h
10143         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
10144         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
10145         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
10146         Remove conditional code.
10147         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
10148         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
10149         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
10150         Change conditional to [__ASSEMBLER__].
10151         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10152         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
10153         [!__ASSEMBLER__].
10154         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
10155         code.
10156         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
10157         conditional macro definitions.
10158         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
10159         (__arch_compare_and_exchange_val_16_acq): Likewise.
10160         (__arch_compare_and_exchange_val_32_acq): Likewise.
10161         (atomic_exchange_and_add): Likewise.
10162         (atomic_add): Likewise.
10163         (atomic_add_negative): Likewise.
10164         (atomic_add_zero): Likewise.
10165         (atomic_bit_set): Likewise.
10166         (atomic_bit_test_set): Likewise.
10167         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
10168         code unconditional.
10169         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10171         * math/test-math-errno.h: New file.
10172         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
10173         empty.
10174         (TEST_ERRNO): New macro.
10175         (TEST_EXCEPTIONS): Likewise.
10176         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
10177         (TEST_EXCEPTIONS): Likewise.
10178         * math/test-math-vector.h (TEST_ERRNO): Likewise.
10179         * math/test-double.c: Include "test-math-errno.h".
10180         * math/test-float.c: Likewise.
10181         * math/test-ldouble.c: Likewise.
10182         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
10183         code unconditional.
10184         (test_exceptions): Only run code if TEST_EXCEPTIONS.
10185         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
10186         unconditional.
10187         (test_errno): Only run code if TEST_ERRNO.
10188         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
10190 2015-11-04  Florian Weimer  <fweimer@redhat.com>
10192         * nptl/tst-once5.cc: Remove attribution.
10194 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
10196         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
10197         sqrt, tan, tanh, y0, y1 and yn.
10198         * math/auto-libm-test-out: Regenerated.
10199         * math/libm-test.inc (scalb_test_data): Add more tests.
10200         (scalbn_test_data): Likewise.
10201         (scalbln_test_data): Likewise.
10202         (signbit_test_data): Likewise.
10203         (sin_test_data): Likewise.
10204         (sincos_test_data): Likewise.
10205         (sinh_test_data): Likewise.
10206         (sqrt_test_data): Likewise.
10207         (tan_test_data): Likewise.
10208         (tanh_test_data): Likewise.
10209         (tgamma_test_data): Likewise.
10210         (y0_test_data): Likewise.
10211         (y1_test_data): Likewise.
10212         (yn_test_data): Likewise.
10213         (significand_test_data): Likewise.
10214         * sysdeps/i386/fpu/libm-test-ulps: Update.
10216 2015-11-03  David Kastrup  <dak@gnu.org>
10218         [BZ #18604]
10219         * assert/assert.h (assert): Don't macro-expand failed assertion
10220         expression in error message.
10221         * malloc/malloc.c (assert): Likewise.
10223 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
10225         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
10226         test.
10227         * configure: Regenerated.
10229 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
10231         * math/libm-test.inc (modf_test_data): Add more tests.
10232         (nearbyint_test_data): Likewise.
10233         (nextafter_test_data): Likewise.
10234         (nexttoward_test_data): Likewise.
10235         (pow_test_data): Likewise.
10236         (remainder_test_data): Likewise.
10237         (remquo_test_data): Likewise.
10238         (rint_test_data): Likewise.
10240         [BZ #19201]
10241         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10242         Check for zero remainder in case of large exponents and ensure
10243         correct sign of result in that case.
10244         * math/libm-test.inc (remainder_test_data): Add more tests.
10246         [BZ #6799]
10247         * math/s_nextafter.c: Include <errno.h>.
10248         (__nextafter): Set errno on overflow and underflow.
10249         * math/s_nexttowardf.c: Include <errno.h>.
10250         (__nexttowardf): Set errno on overflow and underflow.
10251         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
10252         (__nextafterl): Set errno on overflow and underflow.
10253         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
10254         (__nexttoward): Set errno on overflow and underflow.
10255         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
10256         (__nexttowardf): Set errno on overflow and underflow.
10257         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
10258         (__nextafterf): Set errno on overflow and underflow.
10259         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
10260         (__nextafterl): Set errno on overflow and underflow.
10261         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
10262         (__nexttoward): Set errno on overflow and underflow.
10263         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
10264         (__nexttowardf): Set errno on overflow and underflow.
10265         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
10266         (__nextafterl): Set errno on overflow and underflow.
10267         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
10268         (__nexttoward): Set errno on overflow and underflow.
10269         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
10270         (__nexttowardf): Set errno on overflow and underflow.
10271         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
10272         (__nexttoward): Set errno on overflow and underflow.
10273         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
10274         (__nexttowardf): Set errno on overflow and underflow.
10275         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
10276         (__nldbl_nexttowardf): Set errno on overflow and underflow.
10277         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
10278         (__nextafterl): Set errno on overflow and underflow.
10279         * math/libm-test.inc (nextafter_test_data): Do not allow errno
10280         setting to be missing on overflow.  Add more tests.
10281         (nexttoward_test_data): Likewise.
10283         * configure.ac (libc_cv_initfini_array): Remove configure test.
10284         * configure: Regenerated.
10286 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
10288         [BZ #19189]
10289         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
10290         non-finite argument handle arguments with negative sign.
10292         * math/libm-test.inc (j0_test_data): Do not test sign of zero
10293         result from infinite argument.
10294         (j1_test_data): Likewise.
10295         (jn_test_data): Likewise.
10296         (y0_test_data): Likewise.
10297         (y1_test_data): Likewise.
10298         (yn_test_data): Likewise.
10300         [BZ #16171]
10301         * math/w_remainder.c (drem): Define as weak alias of __remainder.
10302         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
10303         * math/w_remainderf.c (dremf): Define as weak alias of
10304         __remainderf.
10305         * math/w_remainderl.c (dreml): Define as weak alias of
10306         __remainderl.
10307         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
10308         __remainder.
10309         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
10310         __remainderf.
10311         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
10312         __remainderl.
10313         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
10314         weak alias of remainderl.
10315         * sysdeps/ieee754/ldbl-opt/w_remainder.c
10316         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
10317         alias of __remainder.
10318         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
10319         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
10320         strong alias of __remainderl.
10321         (dreml): Use long_double_symbol.
10322         * math/Makefile (libm-calls): Remove w_drem.
10323         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
10324         (CFLAGS-nldbl-drem.c): Remove variable.
10325         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
10326         * math/w_drem.c: Remove file.
10327         * math/w_dremf.c: Likewise.
10328         * math/w_dreml.c: Likewise.
10329         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
10330         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
10331         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
10333         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
10334         * sysdeps/i386/configure: Regenerated.
10335         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
10336         * sysdeps/x86_64/configure: Regenerated.
10338         * configure.ac (libc_cv_asm_protected_directive): Remove configure
10339         test.
10340         (libc_cv_visibility_attribute): Likewise.
10341         (libc_cv_protected_data): Test unconditionally.
10342         (libc_cv_broken_visibility_attribute): Remove configure test.
10343         (libc_cv_have_sdata_section): Test unconditionally.
10344         * configure: Regenerated.
10346         * include/libc-internal.h (libc_max_align_t): Remove typedef.
10347         * include/scratch_buffer.h: Include <stddef.h> instead of
10348         <libc-internal.h>.
10349         (struct scratch_buffer): Use max_align_t instead of
10350         libc_max_align_t.
10352 2015-10-29  Florian Weimer  <fweimer@redhat.com>
10354         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
10355         instead of extend_alloca.  Change control flow to avoid a goto.
10356         Remove assert which is trivially always true.
10358 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10360         [BZ #16068]
10361         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
10362         (FE_ALL_EXCEPT_X86): New macro.
10363         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10364         FE_ALL_EXCEPT.  Ensure precision control is included in
10365         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10366         handle "denormal operand exception" and clear FZ and DAZ bits.
10367         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
10368         (FE_ALL_EXCEPT_X86): New macro.
10369         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10370         FE_ALL_EXCEPT.  Ensure precision control is included in
10371         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10372         handle "denormal operand exception" and clear FZ and DAZ bits.
10373         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
10374         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
10375         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10376         test-fenv-x87 and test-fenv-sse-2.
10377         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
10379         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
10380         * math/test-double.h (BUILD_COMPLEX): New macro.
10381         * math/test-float.h (BUILD_COMPLEX): Likewise.
10382         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
10384         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
10385         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
10386         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
10387         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
10388         instead of DBL_DENORM_MIN in comment.
10389         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
10390         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10391         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
10392         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
10393         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
10394         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10396 2015-10-28  Florian Weimer  <fweimer@redhat.com>
10398         [BZ# 19048]
10399         * malloc/malloc.c (struct malloc_state): Update comment.  Add
10400         attached_threads member.
10401         (main_arena): Initialize attached_threads.
10402         * malloc/arena.c (list_lock): Update comment.
10403         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
10404         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
10405         (deattach_arena): New function.
10406         (_int_new_arena): Initialize arena reference count and deattach
10407         replaced arena.
10408         (get_free_list, reused_arena): Update reference count and deattach
10409         replaced arena.
10410         (arena_thread_freeres): Update arena reference count and only put
10411         unreferenced arenas on the free list.
10413 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10415         [BZ #19181]
10416         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
10417         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
10418         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
10419         * math/test-fenv-clear-main.c: New file.
10420         * math/test-fenv-clear.c: Likewise.
10421         * math/Makefile (tests): Add test-fenv-clear.
10422         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
10423         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10424         test-fenv-clear-sse.
10425         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
10427         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
10428         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
10429         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
10431 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10433         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
10434         static libc.
10436 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10438         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
10439         test.
10440         * sysdeps/i386/configure: Regenerated.
10441         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
10442         test.
10443         * sysdeps/x86_64/configure: Regenerated.
10444         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
10445         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10446         memset-avx2 unconditionally instead of conditionally on
10447         [$(config-cflags-avx2) = yes].
10448         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10449         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
10450         unconditional.
10451         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
10452         * sysdeps/x86_64/multiarch/memset_chk.S
10453         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
10454         to [IS_IN (libc) && SHARED].
10456 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10458         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
10459         configure test.
10460         * sysdeps/arm/configure: Regenerated.
10461         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
10462         Define variable if not already defined.
10464         [BZ #17404]
10465         * sysdeps/mips/atomic-machine.h
10466         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
10467         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
10468         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10470         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
10471         unconditional.
10472         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
10473         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10474         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
10475         unconditional.
10476         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10477         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
10478         unconditional.
10479         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10480         * stdlib/setenv.c
10481         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
10482         code unconditional.
10483         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
10484         Remove conditional code.
10485         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
10486         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
10487         unconditional.
10488         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10489         code.
10490         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
10491         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
10492         unconditional.
10493         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10494         code.
10495         * sysdeps/ieee754/ldbl-128/k_tanl.c
10496         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10497         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10498         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
10499         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10500         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10501         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
10502         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
10503         unconditional.
10504         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10505         code.
10506         * sysdeps/ieee754/ldbl-96/k_tanl.c
10507         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10508         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10510         * nptl/tst-initializers1-c11.c: New file.
10511         * nptl/tst-initializers1-gnu11.c: Likewise.
10512         * nptl/Makefile (tests): Add these new tests.
10513         (CFLAGS-tst-initializers1-c11.c): New variable.
10514         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
10516         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
10517         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
10518         instead of -std=gnu99.
10519         * configure.ac (systemtap): Test with -std=gnu11 instead of
10520         -std=gnu99.
10521         * configure: Regenerated.
10522         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
10523         in compilation command in comment.
10525         * sysdeps/nptl/configure.ac: Remove file.
10526         * sysdeps/nptl/configure: Remove generated file.
10527         * configure.ac (libc_cv_forced_unwind): Do not substitute.
10528         * configure: Regenerated.
10529         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
10530         * config.make.in (have-forced-unwind): Remove variable.
10531         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10532         unconditional.
10533         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
10534         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
10535         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
10536         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
10537         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10538         unconditional.
10540 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10542         [BZ #19174]
10543         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
10544         .skip_lock_out_of_tbegin_retries.
10545         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10546         (__lll_lock_elision): Likewise, and respect a value of
10547         try_tbegin <= 0.
10549 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10551         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
10552         statement.
10554 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10556         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
10557         variable.
10558         (test-xfail-ISO11/stdalign.h/conform): Likewise.
10559         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10561         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
10562         of -std=c1x -D_ISOC11_SOURCE.
10564         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
10565         * configure: Regenerated.
10566         * manual/install.texi (Tools for Compilation): Document
10567         requirement for GCC 4.7 or later.
10568         * INSTALL: Regenerated.
10570 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
10572         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
10573         on CNT to a conditional jump to 'puntdata'.
10575 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10577         * configure.ac (libc_cv_gcc___thread): Remove configure test.
10578         (libc_cv_gcc_tls_model_attr): Likewise.
10579         * configure: Regenerated.
10581         * configure.ac (libc_cv_need_minus_P): Remove configure test.
10582         * configure: Regenerated.
10583         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
10585 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
10587         * configure.ac (old_glibc_headers): Remove configure test.
10588         * configure: Regenerated.
10589         * config.make.in (old-glibc-headers): Remove variable.
10590         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
10591         (install): Remove dependency on remove-old-headers.
10592         (headers2_0): Remove variable.
10593         (remove-old-headers): Remove rule.
10595         * configure.ac (libc_cv_dot_text): Remove configure test.
10596         (libc_cv_asm_set_directive): Use .text instead of
10597         ${libc_cv_dot_text} in configure test.
10598         * configure: Regenerated.
10600 2015-10-26  Florian Weimer  <fweimer@redhat.com>
10602         [BZ #19168]
10603         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10605 2015-10-26  Florian Weimer  <fweimer@redhat.com>
10607         * configure.ac (CXX): Clear the variable if the C++ toolchain does
10608         not support static linking.
10609         * configure: Regenerate.
10611 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
10613         * math/libm-test.inc (check_float_internal): Do not special-case
10614         errors up to 0.5 ulp.
10616         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10617         log2.
10618         * math/auto-libm-test-out: Regenerated.
10619         * math/libm-test.inc (MAX_EXP): New macro.
10620         (ilogb_test_data): Add more tests.
10621         (isfinite_test_data): Likewise.
10622         (isgreater_test_data): Likewise.
10623         (isgreaterequal_test_data): Likewise.
10624         (isinf_test_data): Likewise.
10625         (isless_test_data): Likewise.
10626         (islessequal_test_data): Likewise.
10627         (islessgreater_test_data): Likewise.
10628         (isnan_test_data): Likewise.
10629         (isnormal_test_data): Likewise.
10630         (issignaling_test_data): Likewise.
10631         (isunordered_test_data): Likewise.
10632         (j0_test_data): Likewise.
10633         (j1_test_data): Likewise.
10634         (jn_test_data): Likewise.
10635         (lgamma_test_data): Likewise.
10636         (log_test_data): Likewise.
10637         (log10_test_data): Likewise.
10638         (log1p_test_data): Likewise.
10639         (log2_test_data): Likewise.
10640         (logb_test_data): Likewise.
10641         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10643         [BZ #18611]
10644         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
10645         avoid excess range and precision on underflow.
10646         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10647         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
10648         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10649         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
10650         underflow.
10651         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10652         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10653         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10654         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10655         * math/auto-libm-test-in: Do not allow missing errno setting for
10656         tests of j1 and jn.
10657         * math/auto-libm-test-out: Regenerated.
10659 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
10661         [BZ #15491]
10662         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
10663         floating-point environment instead of clearing all exceptions.
10664         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10665         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
10666         merging in "invalid" exceptions from frndint.
10667         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
10668         * math/test-nearbyint-except.c: New file.
10669         * math/Makefile (tests): Add test-nearbyint-except.
10671 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
10673         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
10675         * sysdeps/tile/libm-test-ulps: Regenerated.
10677 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
10680         (__NR_sync_file_range2): Assume it is always defined.
10681         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
10682         (__NR_sync_file_range): Assume it is always defined.
10684 2015-10-22  Andreas Schwab  <schwab@suse.de>
10686         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
10687         INTERNAL_SYSCALL_ERRNO.
10688         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10689         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
10690         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10691         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
10692         Likewise.
10693         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10695 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10697         * io/tst-fcntl.c (fd): New static variable.
10698         (do_prepare): Open temporary file here....
10699         (do_test): ...not here.
10701         * io/ftwtest-sh: Also trap on exit to remove temporary files.
10703 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
10705         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
10706         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
10707         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
10708         Moved before "#ifdef __ASSEMBLER__".
10710 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10712         [BZ #19156]
10713         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
10714         arguments very close to 0.
10716 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
10718         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
10719         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
10721 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
10723         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
10724         New.  Defined for GCC 5 and above when not compiling for
10725         profiling.
10726         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
10728         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
10729         Renamed to ...
10730         (CFLAGS-epoll_pwait.o): This.
10731         (CFLAGS-mmap.c): Renamed to ...
10732         (CFLAGS-mmap.o): This.
10733         (CFLAGS-mmap64.c): Renamed to ...
10734         (CFLAGS-mmap64.o): This.
10735         (CFLAGS-epoll_pwait.os): New.
10736         (CFLAGS-mmap.os): Likewise.
10737         (CFLAGS-mmap64.os): Likewise.
10738         (CFLAGS-semtimedop.os): Likewise.
10739         (CFLAGS-semtimedop.c): Renamed to ...
10740         (CFLAGS-semtimedop.o): This.
10742 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10744         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
10745         warning message.
10747 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10749         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
10750         * Makefile ($(objpfx)c++-types-check.out): Filter out
10751         $(+gccwarn-c) instead of -Wstrict-prototypes.
10753         * io/fts.c (fts_open): Convert to prototype-style function
10754         definition.
10755         * malloc/mcheck.c (mcheck): Likewise.
10756         (mcheck_pedantic): Likewise.
10757         * posix/regexec.c (re_search_2_stub): Likewise.  Use
10758         internal_function.
10759         (re_search_internal): Likewise.
10760         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
10761         prototype-style function definition.
10762         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10763         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
10764         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
10765         (xdr_utmpptr): Likewise.
10766         (xdr_utmparr): Likewise.
10767         (xdr_utmpidle): Likewise.
10768         (xdr_utmpidleptr): Likewise.
10769         (xdr_utmpidlearr): Likewise.
10771         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
10772         log, log10 and log2.
10773         * math/auto-libm-test-out: Regenerated.
10774         * math/libm-test.inc (fmod_test_data): Add more tests.
10775         (fpclassify_test_data): Likewise.
10776         (frexp_test_data): Likewise.
10777         (hypot_test_data): Likewise.
10778         (ilogb_test_data): Likewise.
10780 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
10782         * debug/fortify_fail.c (__fortify_fail): Convert to
10783         prototype-style function definition.  Use internal_function.
10784         * libio/genops.c (save_for_backup): Convert to prototype-style
10785         function definition.
10786         * libio/wgenops.c (save_for_wbackup): Likewise.
10787         * login/grantpt.c (grantpt): Likewise.
10788         * login/ptsname.c (ptsname): Likewise.
10789         (__ptsname_r): Likewise.
10790         * login/unlockpt.c (unlockpt): Likewise.
10791         * mach/msgserver.c (__mach_msg_server): Likewise.
10792         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
10793         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
10794         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
10795         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
10796         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
10797         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
10798         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
10799         Likewise.
10800         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
10801         internal_function.
10802         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
10803         prototype-style function definition.
10804         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
10805         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
10806         (__pthread_create_2_0): Likewise.
10807         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
10808         * nptl/register-atfork.c (__register_atfork): Likewise.
10809         * posix/glob.c (glob): Likewise.
10810         * posix/regcomp.c (re_comp): Likewise.
10811         * posix/regexec.c (re_exec): Likewise.
10812         * stdlib/add_n.c [__STDC__]: Make code unconditional.
10813         [!__STDC__]: Remove conditional code.
10814         * stdlib/cmp.c [__STDC__]: Make code unconditional.
10815         [!__STDC__]: Remove conditional code.
10816         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
10817         [!__STDC__]: Remove conditional code.
10818         * stdlib/divrem.c [__STDC__]: Make code unconditional.
10819         [!__STDC__]: Remove conditional code.
10820         * stdlib/lshift.c [__STDC__]: Make code unconditional.
10821         [!__STDC__]: Remove conditional code.
10822         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
10823         [!__STDC__]: Remove conditional code.
10824         * stdlib/mul.c [__STDC__]: Make code unconditional.
10825         [!__STDC__]: Remove conditional code.
10826         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
10827         [!__STDC__]: Remove conditional code.
10828         * stdlib/rshift.c [__STDC__]: Make code unconditional.
10829         [!__STDC__]: Remove conditional code.
10830         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
10831         function definition.
10832         (STRTOF): Likewise.
10833         * stdlib/strtod_l.c (__STRTOF): Likewise.
10834         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
10835         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
10836         (__strtol_l): Likewise.
10837         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
10838         [!__STDC__]: Remove conditional code.
10839         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
10840         definition.
10841         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
10842         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10843         type.
10844         (__strcasecmp): Convert to prototype-style function definition.
10845         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
10846         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10847         type.
10848         (__strncasecmp): Convert to prototype-style function definition.
10849         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
10850         * sunrpc/xdr.c (xdr_union): Likewise.
10851         * sunrpc/xdr_array.c (xdr_array): Likewise.
10852         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
10853         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
10854         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
10855         Likewise.
10856         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
10857         Likewise.
10858         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
10859         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10860         Likewise.
10861         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
10862         (LOCALE_PARAM_PROTO): Likewise.
10863         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
10864         argument type.
10865         (ut_argument_spec): Remove macro.
10866         (ut_argument_spec_iso): Rename to ut_argument_spec.
10867         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
10868         prototype-style function definition.
10869         (memcpy_uppcase): Likewise.
10870         (__strftime_internal): Likewise.
10871         (my_strftime): Likewise.
10872         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
10873         (LOCALE_PARAM_DECL): Likewise.
10874         [_LIBC] (LOCALE_PARAM): Include argument type.
10875         (__strptime_internal): Convert to prototype-style function
10876         definition.
10877         (strptime): Likewise.
10878         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
10879         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10880         type.
10881         (__wcscasecmp): Convert to prototype-style function definition.
10882         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
10883         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10884         type.
10885         (__wcsncasecmp): Convert to prototype-style function definition.
10887         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
10888         function definition.
10889         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
10890         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10891         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
10892         * elf/dl-minimal.c (_itoa): Likewise.
10893         * hurd/hurdmalloc.c (malloc): Likewise.
10894         (free): Likewise.
10895         (realloc): Likewise.
10896         * inet/inet6_option.c (inet6_option_space): Likewise.
10897         (inet6_option_init): Likewise.
10898         (inet6_option_append): Likewise.
10899         (inet6_option_alloc): Likewise.
10900         (inet6_option_next): Likewise.
10901         (inet6_option_find): Likewise.
10902         * io/ftw.c (FTW_NAME): Likewise.
10903         (NFTW_NAME): Likewise.
10904         (NFTW_NEW_NAME): Likewise.
10905         (NFTW_OLD_NAME): Likewise.
10906         * libio/iofwide.c (_IO_fwide): Likewise.
10907         * libio/strops.c (_IO_str_init_static_internal): Likewise.
10908         (_IO_str_init_static): Likewise.
10909         (_IO_str_init_readonly): Likewise.
10910         (_IO_str_overflow): Likewise.
10911         (_IO_str_underflow): Likewise.
10912         (_IO_str_count): Likewise.
10913         (_IO_str_seekoff): Likewise.
10914         (_IO_str_pbackfail): Likewise.
10915         (_IO_str_finish): Likewise.
10916         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
10917         (_IO_wstr_overflow): Likewise.
10918         (_IO_wstr_underflow): Likewise.
10919         (_IO_wstr_count): Likewise.
10920         (_IO_wstr_seekoff): Likewise.
10921         (_IO_wstr_pbackfail): Likewise.
10922         (_IO_wstr_finish): Likewise.
10923         * locale/programs/localedef.c (normalize_codeset): Likewise.
10924         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10925         (add_locales_to_archive): Likewise.
10926         (delete_locales_from_archive): Likewise.
10927         * malloc/malloc.c (__libc_mallinfo): Likewise.
10928         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
10929         * misc/tsearch.c (__tfind): Likewise.
10930         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
10931         * nptl/pthread_attr_getdetachstate.c
10932         (__pthread_attr_getdetachstate): Likewise.
10933         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
10934         Likewise.
10935         * nptl/pthread_attr_getinheritsched.c
10936         (__pthread_attr_getinheritsched): Likewise.
10937         * nptl/pthread_attr_getschedparam.c
10938         (__pthread_attr_getschedparam): Likewise.
10939         * nptl/pthread_attr_getschedpolicy.c
10940         (__pthread_attr_getschedpolicy): Likewise.
10941         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
10942         Likewise.
10943         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
10944         Likewise.
10945         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
10946         Likewise.
10947         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
10948         Likewise.
10949         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
10950         (__pthread_attr_init_2_0): Likewise.
10951         * nptl/pthread_attr_setdetachstate.c
10952         (__pthread_attr_setdetachstate): Likewise.
10953         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
10954         Likewise.
10955         * nptl/pthread_attr_setinheritsched.c
10956         (__pthread_attr_setinheritsched): Likewise.
10957         * nptl/pthread_attr_setschedparam.c
10958         (__pthread_attr_setschedparam): Likewise.
10959         * nptl/pthread_attr_setschedpolicy.c
10960         (__pthread_attr_setschedpolicy): Likewise.
10961         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
10962         Likewise.
10963         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
10964         Likewise.
10965         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
10966         Likewise.
10967         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
10968         Likewise.
10969         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
10970         Likewise.
10971         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
10972         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
10973         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
10974         use internal_function.
10975         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
10976         prototype-style function definition.
10977         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
10978         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
10979         internal_function.
10980         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
10981         Convert to prototype-style function definition.
10982         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
10983         Likewise.
10984         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
10985         Likewise.
10986         (__pthread_mutex_unlock): Likewise.
10987         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
10988         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
10989         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
10990         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
10991         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
10992         * nss/makedb.c (process_input): Likewise.
10993         * posix/fnmatch.c (__strchrnul): Likewise.
10994         (__wcschrnul): Likewise.
10995         (fnmatch): Likewise.
10996         * posix/fnmatch_loop.c (FCT): Likewise.
10997         * posix/glob.c (globfree): Likewise.
10998         (__glob_pattern_type): Likewise.
10999         (__glob_pattern_p): Likewise.
11000         * posix/regcomp.c (re_compile_pattern): Likewise.
11001         (re_set_syntax): Likewise.
11002         (re_compile_fastmap): Likewise.
11003         (regcomp): Likewise.
11004         (regerror): Likewise.
11005         (regfree): Likewise.
11006         * posix/regexec.c (regexec): Likewise.
11007         (re_match): Likewise.
11008         (re_search): Likewise.
11009         (re_match_2): Likewise.
11010         (re_search_2): Likewise.
11011         (re_search_stub): Likewise.  Use internal_function
11012         (re_copy_regs): Likewise.
11013         (re_set_registers): Convert to prototype-style function
11014         definition.
11015         (prune_impossible_nodes): Likewise.  Use internal_function.
11016         * resolv/inet_net_pton.c (inet_net_pton): Convert to
11017         prototype-style function definition.
11018         (inet_net_pton_ipv4): Likewise.
11019         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11020         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
11021         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
11022         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
11023         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11024         Make variadic.
11025         * time/strptime_l.c (localtime_r): Convert to prototype-style
11026         function definition.
11027         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11028         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11029         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11030         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11032         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
11033         definition.
11034         (_ufc_doit_r): Likewise.
11035         * crypt/crypt_util.c (_ufc_copymem): Likewise.
11036         (_ufc_output_conversion_r): Likewise.
11037         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
11038         * inet/rcmd.c (rcmd_af): Likewise.
11039         (rcmd): Likewise.
11040         (ruserok_af): Likewise.
11041         (ruserok): Likewise.
11042         (ruserok2_sa): Likewise.
11043         (ruserok_sa): Likewise.
11044         (iruserok_af): Likewise.
11045         (iruserok): Likewise.
11046         (__ivaliduser): Likewise.
11047         (__validuser2_sa): Likewise.
11048         * inet/rexec.c (rexec_af): Likewise.
11049         (rexec): Likewise.
11050         * inet/ruserpass.c (ruserpass): Likewise.
11051         * locale/programs/xmalloc.c (xcalloc): Likewise.
11052         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
11053         * math/w_drem.c (__drem): Likewise.
11054         * math/w_dremf.c (__dremf): Likewise.
11055         * math/w_dreml.c (__dreml): Likewise.
11056         * misc/daemon.c (daemon): Likewise.
11057         * resolv/res_debug.c (p_fqnname): Likewise.
11058         * stdlib/div.c (div): Likewise.
11059         * string/memcmp.c (memcmp_bytes): Likewise.
11060         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
11061         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
11063         * crypt/cert.c (main): Convert to prototype-style function
11064         definition.
11065         * io/pipe.c (__pipe): Likewise.
11066         * io/pipe2.c (__pipe2): Likewise.
11067         * misc/futimesat.c (futimesat): Likewise.
11068         * misc/utimes.c (__utimes): Likewise.
11069         * posix/execve.c (__execve): Likewise.
11070         * posix/execvp.c (execvp): Likewise.
11071         * posix/execvpe.c (__execvpe): Likewise.
11072         * posix/fexecve.c (fexecve): Likewise.
11073         * socket/socketpair.c (socketpair): Likewise.
11074         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11075         * stdlib/erand48.c (erand48): Likewise.
11076         * stdlib/erand48_r.c (__erand48_r): Likewise.
11077         * stdlib/jrand48.c (jrand48): Likewise.
11078         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
11079         * stdlib/lcong48.c (lcong48): Likewise.
11080         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
11081         * stdlib/nrand48.c (nrand48): Likewise.
11082         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
11083         * stdlib/seed48.c (seed48): Likewise.
11084         * stdlib/seed48_r.c (__seed48_r): Likewise.
11085         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
11086         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
11087         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
11089 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
11091         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
11092         * configure: Regenerated.
11093         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
11094         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
11095         unconditional.
11096         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11097         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11098         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11099         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
11100         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
11101         unconditional.
11102         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11104         * posix/Makefile (CFLAGS-regex.c): Remove variable.
11105         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
11107         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
11108         function definition.
11109         * crypt/crypt_util.c (__encrypt_r): Likewise.
11110         * libio/genops.c (_IO_no_init): Likewise.
11111         * libio/iofopncook.c (_IO_fopencookie): Likewise.
11112         (_IO_old_fopencookie): Likewise.
11113         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11114         * libio/iogetline.c (_IO_getline): Likewise.
11115         (_IO_getline_info): Likewise.
11116         * libio/iogetwline.c (_IO_getwline): Likewise.
11117         (_IO_getwline_info): Likewise.
11118         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
11119         * libio/vswprintf.c (_IO_vswprintf): Likewise.
11120         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
11121         (find_entry): Likewise.
11122         (iterate_table): Likewise.
11123         (lookup): Likewise.
11124         * login/forkpty.c (forkpty): Likewise.
11125         * misc/hsearch_r.c (__hsearch_r): Likewise.
11126         * misc/select.c (__select): Likewise.
11127         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
11128         Likewise.
11129         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
11130         Likewise.
11131         * nptl/old_pthread_cond_timedwait.c
11132         (__pthread_cond_timedwait_2_0): Likewise.
11133         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
11134         * nptl/pthread_barrierattr_getpshared.c
11135         (pthread_barrierattr_getpshared): Likewise.
11136         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
11137         Likewise.
11138         * nptl/pthread_mutex_setprioceiling.c
11139         (pthread_mutex_setprioceiling): Likewise.
11140         * nptl/pthread_mutexattr_getprioceiling.c
11141         (pthread_mutexattr_getprioceiling): Likewise.
11142         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
11143         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11144         Likewise.
11145         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11146         Likewise.
11147         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
11148         Likewise.
11149         * socket/recvfrom.c (__recvfrom): Likewise.
11150         * socket/sendto.c (__sendto): Likewise.
11151         * socket/setsockopt.c (__setsockopt): Likewise.
11152         * stdio-common/_itoa.c (_itoa): Likewise.
11153         * stdio-common/_itowa.c (_itowa): Likewise.
11154         * stdio-common/reg-printf.c (__register_printf_specifier):
11155         Likewise.
11156         (__register_printf_function): Likewise.
11157         * stdio-common/tempname.c (__path_search): Likewise.
11158         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
11159         * stdlib/mul_1.c (mpn_mul_1): Likewise.
11160         * stdlib/random_r.c (__initstate_r): Likewise.
11161         * stdlib/setenv.c (__add_to_environ): Likewise.
11162         * stdlib/submul_1.c (mpn_submul_1): Likewise.
11163         * streams/getpmsg.c (getpmsg): Likewise.
11164         * streams/putmsg.c (putmsg): Likewise.
11165         * streams/putpmsg.c (putpmsg): Likewise.
11166         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
11167         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
11168         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
11169         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
11170         * sunrpc/pm_getport.c (pmap_getport): Likewise.
11171         * sunrpc/svc_udp.c (cache_get): Likewise.
11172         * sunrpc/xdr_array.c (xdr_vector): Likewise.
11173         * sysdeps/mach/hurd/getcwd.c
11174         (__canonicalize_directory_name_internal): Likewise.
11175         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
11176         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
11177         * sysdeps/mach/hurd/select.c (__select): Likewise.
11178         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
11179         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
11180         * sysdeps/sparc/nptl/pthread_barrier_init.c
11181         (__pthread_barrier_init): Likewise.
11182         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
11183         (__pthread_cond_timedwait): Likewise.
11184         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
11185         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
11186         Likewise.
11187         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
11188         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
11189         Likewise.
11190         * sysvipc/semtimedop.c (semtimedop): Likewise.
11191         * time/setitimer.c (__setitimer): Likewise.
11192         * time/strftime_l.c (emacs_strftime): Likewise.
11194 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11196         * config.make.in (have-ssp): Delete.
11197         (stack-protector): New variable.
11198         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
11199         cache test for -fstack-protector-strong.  Export stack_protector to
11200         the best ssp flag.
11201         * configure: Regenerated.
11202         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
11203         * nscd/Makefile (CFLAGS-nscd): Likewise.
11204         * resolv/Makefile (CFLAGS-libresolv): Likewise.
11206 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
11208         [BZ #19122]
11209         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
11210         attribute_hidden.
11212 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11214         [BZ #18743]
11215         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
11216         code to...
11217         (ELIDE_LOCK): ...here.
11218         (__get_new_count): New function with part of the code from
11219         __elide_lock that updates the value of adapt_count after a
11220         transaction abort.
11221         (__elided_trylock): Moved this code to...
11222         (ELIDE_TRYLOCK): ...here.
11224 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11226         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
11227         * configure: Regenerate.
11228         * INSTALL: Regenerate.
11229         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
11230         and tweak grammar.
11232 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
11234         * login/programs/pt_chown.c: Include signal.h
11235         (main): Clear any signal mask from the parent process.
11237 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
11239         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
11240         * configure: Regenerated.
11241         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
11242         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
11243         $(gnu89-inline-CFLAGS).
11245         * configure.ac (libc_cv_asm_weak_directive): Remove configure
11246         test.
11247         (libc_cv_asm_weakext_directive): Likewise.
11248         * configure: Regenerated.
11249         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
11250         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
11251         * include/libc-symbols.h
11252         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
11253         #error.
11254         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
11255         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
11257         * sysdeps/arm/backtrace.c (__backtrace): Convert to
11258         prototype-style function definition.
11259         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
11260         * sysdeps/i386/ffs.c (__ffs): Likewise.
11261         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11262         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
11263         Likewise.
11264         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11265         Likewise.
11266         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
11267         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11268         Likewise.
11269         * sysdeps/m68k/ffs.c (__ffs): Likewise.
11270         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
11271         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
11272         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
11273         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
11274         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
11275         * sysdeps/mach/hurd/access.c (__access): Likewise.
11276         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
11277         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
11278         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
11279         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
11280         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
11281         (cthread_getspecific): Likewise.
11282         (cthread_setspecific): Likewise.
11283         (__libc_getspecific): Likewise.
11284         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
11285         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
11286         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
11287         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
11288         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
11289         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
11290         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
11291         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
11292         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
11293         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
11294         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
11295         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
11296         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
11297         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
11298         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
11299         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
11300         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
11301         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
11302         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
11303         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
11304         * sysdeps/mach/hurd/link.c (__link): Likewise.
11305         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
11306         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
11307         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
11308         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
11309         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
11310         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
11311         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
11312         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
11313         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
11314         * sysdeps/mach/hurd/rename.c (rename): Likewise.
11315         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
11316         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
11317         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
11318         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
11319         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
11320         * sysdeps/mach/hurd/send.c (__send): Likewise.
11321         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
11322         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
11323         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
11324         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
11325         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
11326         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
11327         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
11328         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
11329         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
11330         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
11331         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
11332         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
11333         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
11334         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
11335         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
11336         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
11337         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
11338         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
11339         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
11340         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
11341         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
11342         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
11343         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
11344         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
11345         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
11346         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
11347         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
11348         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
11349         * sysdeps/posix/alarm.c (alarm): Likewise.
11350         * sysdeps/posix/cuserid.c (cuserid): Likewise.
11351         * sysdeps/posix/dirfd.c (dirfd): Likewise.
11352         * sysdeps/posix/dup.c (__dup): Likewise.
11353         * sysdeps/posix/dup2.c (__dup2): Likewise.
11354         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
11355         (main): Likewise.
11356         * sysdeps/posix/flock.c (__flock): Likewise.
11357         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
11358         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
11359         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
11360         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
11361         * sysdeps/posix/isatty.c (__isatty): Likewise.
11362         * sysdeps/posix/killpg.c (killpg): Likewise.
11363         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11364         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
11365         * sysdeps/posix/raise.c (raise): Likewise.
11366         * sysdeps/posix/remove.c (remove): Likewise.
11367         * sysdeps/posix/rename.c (rename): Likewise.
11368         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
11369         * sysdeps/posix/seekdir.c (seekdir): Likewise.
11370         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
11371         * sysdeps/posix/sigignore.c (sigignore): Likewise.
11372         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
11373         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
11374         * sysdeps/posix/sigset.c (sigset): Likewise.
11375         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
11376         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
11377         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
11378         * sysdeps/posix/time.c (time): Likewise.
11379         * sysdeps/posix/ttyname.c (getttyname): Likewise.
11380         (ttyname): Likewise.
11381         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
11382         * sysdeps/posix/utime.c (utime): Likewise.
11383         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
11384         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
11385         Likewise.
11386         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
11387         (pthread_spin_trylock): Likewise.
11388         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
11389         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
11390         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
11391         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
11392         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
11393         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
11394         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
11395         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
11396         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
11397         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
11398         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
11399         * sysdeps/s390/ffs.c (__ffs): Likewise.
11400         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
11401         Likewise.
11402         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11403         Likewise.
11404         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
11405         Likewise.
11406         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
11407         (pthread_barrier_destroy): Likewise.
11408         * sysdeps/sparc/nptl/pthread_barrier_wait.c
11409         (__pthread_barrier_wait): Likewise.
11410         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
11411         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
11412         (__pthread_barrier_wait): Likewise.
11413         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
11414         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
11415         (memcmp_not_common_alignment): Likewise.
11416         (MEMCMP): Likewise.
11417         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
11418         (_wordcopy_fwd_dest_aligned): Likewise.
11419         (_wordcopy_bwd_aligned): Likewise.
11420         (_wordcopy_bwd_dest_aligned): Likewise.
11421         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
11422         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
11423         * sysdeps/unix/bsd/stty.c (stty): Likewise.
11424         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
11425         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
11426         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
11427         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
11428         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
11429         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
11430         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
11431         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
11432         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
11433         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
11434         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
11435         * sysdeps/unix/stime.c (stime): Likewise.
11436         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
11437         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
11438         Likewise.  Use internal_function.
11439         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
11440         Convert to prototype-style function definition.
11441         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11442         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11443         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
11444         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11445         Likewise.  Use internal_function.
11446         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
11447         prototype-style function definition
11448         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11449         Likewise.
11450         (__getlogin_r): Likewise.
11451         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
11452         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
11453         (__pthread_cond_broadcast): Likewise.
11454         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
11455         (__pthread_cond_destroy): Likewise.
11456         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
11457         (__pthread_cond_init): Likewise.
11458         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
11459         (__pthread_cond_signal): Likewise.
11460         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11461         (__pthread_cond_wait): Likewise.
11462         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
11463         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11464         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
11465         Likewise.
11466         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
11467         Likewise.
11468         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
11469         Likewise.
11470         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
11471         Likewise.
11472         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
11473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
11474         (__ftruncate64): Likewise.
11475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
11476         (truncate64): Likewise.
11477         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
11478         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
11479         (pthread_getcpuclockid): Likewise.
11480         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
11481         Likewise.
11482         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
11483         Likewise.
11484         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
11485         Likewise.
11486         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
11487         Likewise.
11488         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
11489         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
11490         (__libc_sigaction): Likewise.
11491         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
11492         Likewise.
11493         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
11494         (__sigprocmask): Likewise.
11495         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
11496         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
11497         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
11498         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
11499         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11500         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
11501         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11502         Likewise.
11503         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
11504         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
11505         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11506         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
11507         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
11508         Likewise.
11509         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
11510         (__sigprocmask): Likewise.
11511         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
11512         (cfgetispeed): Likewise.
11513         (cfsetospeed): Likewise.
11514         (cfsetispeed): Likewise.
11515         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
11516         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
11517         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11518         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
11519         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
11520         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
11521         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
11522         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
11523         Likewise.
11524         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
11525         Likewise.
11526         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
11527         Likewise.
11528         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
11529         Likewise.
11530         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
11532 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11534         sunrpc: Rewrite with explicit TLS access using __thread.
11535         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
11536         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
11537         directly.
11538         (__rpc_thread_variables): Access thread_rpc_vars directly.
11539         Eliminate redundant assignment of the tvp variable.
11541 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11543         malloc: Rewrite with explicit TLS access using __thread.
11544         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
11545         (tsd_setspecific, tsd_getspecific): Remove.
11546         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
11547         (tsd_setspecific, tsd_getspecific): Likewise.
11548         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
11549         (tsd_setspecific, tsd_getspecific): Likewise.
11550         * malloc/arena.c (thread_arena): New TLS variable.
11551         (arena_key): Remove variable.
11552         (arena_get): Use thread_arena.
11553         (arena_lookup): Remove macro.
11554         (malloc_atfork, free_atfork, ptmalloc_lock_all)
11555         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
11556         (_int_new_arena, get_free_list, reused_arena)
11557         (arena_thread_freeres): Use thread_arena.
11558         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
11559         tsd_getspecific, tsd_setspecific from safety annotations.
11560         (Allocating Cleared Space): Remove arena_lookup from safety
11561         annotations.
11563 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11565         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
11566         struct scratch_buffer instead of extend_alloca.
11568 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11570         * sysdeps/unix/sysv/linux/kernel-features.h
11571         (__ASSUME_SOCK_CLOEXEC): Remove.
11572         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
11573         (__have_paccept): Remove unused macro.
11574         * include/unistd.h (__have_sock_cloexec): Remove declaration.
11575         * misc/syslog.c (openlog_internal): Remove fallback code for
11576         !__ASSUME_SOCK_CLOEXEC.
11577         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
11578         missing SOCK_CLOEXEC.
11579         * nscd/connections.c (have_sock_cloexec): Remove definition.
11580         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
11581         * nscd/nscd_helper.c (open_socket): Remove fallback code for
11582         !__ASSUME_SOCK_CLOEXEC.
11583         * resolv/res_send.c (__have_o_nonblock): Remove definition.
11584         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
11585         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
11586         definition.
11587         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
11588         code for !__ASSUME_SOCK_CLOEXEC.
11590 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11592         [BZ #18982]
11593         * manual/stdio.texi (Variable Arguments Output): Add portability
11594         note, explaining that vfprintf clobbers the va_list pointer.
11596 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
11598         * math/libm-test.inc (fabs_test_data): Add more tests.
11599         (fdim_test_data): Likewise.
11600         (fma_test_data): Likewise.
11601         (fmax_test_data): Likewise.
11602         (fmin_test_data): Likewise.
11603         (fmod_test_data): Likewise.
11605 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
11607         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
11608         data.
11610 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
11612         * math/libm-test.inc (ceil_test_data): Add more tests and more
11613         expectations for "inexact".
11614         (floor_test_data): Add more tests.
11615         (round_test_data): Likewise.
11616         (trunc_test_data): Likewise.
11618         * crypt/cert.c (good_bye): Convert to prototype-style function
11619         definition.
11620         (get8): Likewise.
11621         (put8): Likewise.
11622         * crypt/crypt-entry.c (crypt): Likewise.
11623         (__fcrypt): Likewise.
11624         * crypt/crypt_util.c (_ufc_prbits): Likewise.
11625         (_ufc_set_bits): Likewise.
11626         (_ufc_clearmem): Likewise.
11627         (__init_des_r): Likewise.
11628         (shuffle_sb): Likewise.
11629         (shuffle_sb): Likewise.
11630         (_ufc_setup_salt_r): Likewise.
11631         (_ufc_mk_keytab_r): Likewise.
11632         (_ufc_dofinalperm_r): Likewise.
11633         (encrypt): Likewise.
11634         (__setkey_r): Likewise.
11635         (setkey): Likewise.
11636         * crypt/md5.c (md5_init_ctx): Likewise.
11637         (md5_read_ctx): Likewise.
11638         (md5_finish_ctx): Likewise.
11639         (md5_stream): Likewise.
11640         (md5_buffer): Likewise.
11641         (md5_process_bytes): Likewise.
11642         * crypt/sha256.c (__sha256_init_ctx): Likewise.
11643         (__sha256_finish_ctx): Likewise.
11644         (__sha256_process_bytes): Likewise.
11645         * crypt/sha512.c (__sha512_init_ctx): Likewise.
11646         (__sha512_finish_ctx): Likewise.
11647         (__sha512_process_bytes): Likewise.
11648         * ctype/isctype.c (__isctype): Likewise.
11649         * debug/backtrace.c (__backtrace): Likewise.
11650         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
11651         * debug/fgets_chk.c (__fgets_chk): Likewise.
11652         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
11653         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
11654         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11655         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11656         * debug/memset_chk.c (__memset_chk): Likewise.
11657         * debug/strcat_chk.c (__strcat_chk): Likewise.
11658         * debug/strncat_chk.c (__strncat_chk): Likewise.
11659         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
11660         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
11661         * dirent/dirfd.c (dirfd): Likewise.
11662         * dirent/getdents.c (__getdirentries): Likewise.
11663         * dirent/getdents64.c (getdirentries64): Likewise.
11664         * dirent/rewinddir.c (__rewinddir): Likewise.
11665         * dirent/seekdir.c (seekdir): Likewise.
11666         * dirent/telldir.c (telldir): Likewise.
11667         * elf/sln.c (makesymlinks): Likewise.
11668         (makesymlink): Likewise.
11669         * gmon/gmon.c (__moncontrol): Likewise.
11670         (__monstartup): Likewise.
11671         (write_hist): Likewise.
11672         (write_call_graph): Likewise.
11673         (write_bb_counts): Likewise.
11674         * grp/setgroups.c (setgroups): Likewise.
11675         * inet/inet_lnaof.c (inet_lnaof): Likewise.
11676         * inet/inet_net.c (inet_network): Likewise.
11677         * inet/inet_netof.c (inet_netof): Likewise.
11678         * inet/rcmd.c (rresvport_af): Likewise.
11679         (rresvport): Likewise.
11680         * io/access.c (__access): Likewise.
11681         * io/chdir.c (__chdir): Likewise.
11682         * io/chmod.c (__chmod): Likewise.
11683         * io/chown.c (__chown): Likewise.
11684         * io/close.c (__close): Likewise.
11685         * io/creat.c (creat): Likewise.
11686         * io/creat64.c (creat64): Likewise.
11687         * io/dup.c (__dup): Likewise.
11688         * io/dup2.c (__dup2): Likewise.
11689         * io/dup3.c (__dup3): Likewise.
11690         * io/euidaccess.c (__euidaccess): Likewise.
11691         * io/faccessat.c (faccessat): Likewise.
11692         * io/fchmod.c (__fchmod): Likewise.
11693         * io/fchmodat.c (fchmodat): Likewise.
11694         * io/fchown.c (__fchown): Likewise.
11695         * io/fchownat.c (fchownat): Likewise.
11696         * io/fcntl.c (__fcntl): Likewise.
11697         * io/flock.c (__flock): Likewise.
11698         * io/fts.c (fts_load): Likewise.
11699         (fts_close): Likewise.
11700         (fts_read): Likewise.
11701         (fts_set): Likewise.
11702         (fts_children): Likewise.
11703         (fts_build): Likewise.
11704         (fts_stat): Likewise.
11705         (fts_sort): Likewise.
11706         (fts_alloc): Likewise.
11707         (fts_lfree): Likewise.
11708         (fts_palloc): Likewise.
11709         (fts_padjust): Likewise.
11710         (fts_maxarglen): Likewise.
11711         (fts_safe_changedir): Likewise.
11712         * io/getwd.c (getwd): Likewise.
11713         * io/isatty.c (__isatty): Likewise.
11714         * io/lchown.c (__lchown): Likewise.
11715         * io/link.c (__link): Likewise.
11716         * io/linkat.c (linkat): Likewise.
11717         * io/lseek.c (__libc_lseek): Likewise.
11718         * io/mkdir.c (__mkdir): Likewise.
11719         * io/mkdirat.c (mkdirat): Likewise.
11720         * io/mkfifo.c (mkfifo): Likewise.
11721         * io/mkfifoat.c (mkfifoat): Likewise.
11722         * io/open.c (__libc_open): Likewise.
11723         * io/open64.c (__libc_open64): Likewise.
11724         * io/readlink.c (__readlink): Likewise.
11725         * io/readlinkat.c (readlinkat): Likewise.
11726         * io/rmdir.c (__rmdir): Likewise.
11727         * io/symlink.c (__symlink): Likewise.
11728         * io/symlinkat.c (symlinkat): Likewise.
11729         * io/ttyname.c (ttyname): Likewise.
11730         * io/ttyname_r.c (__ttyname_r): Likewise.
11731         * io/umask.c (__umask): Likewise.
11732         * io/unlink.c (__unlink): Likewise.
11733         * io/unlinkat.c (unlinkat): Likewise.
11734         * io/utime.c (utime): Likewise.
11735         * libio/clearerr.c (clearerr): Likewise.
11736         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
11737         * libio/feof.c (_IO_feof): Likewise.
11738         * libio/feof_u.c (feof_unlocked): Likewise.
11739         * libio/ferror.c (_IO_ferror): Likewise.
11740         * libio/ferror_u.c (ferror_unlocked): Likewise.
11741         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11742         * libio/fileno.c (__fileno): Likewise.
11743         * libio/fputc.c (fputc): Likewise.
11744         * libio/fputc_u.c (fputc_unlocked): Likewise.
11745         * libio/fputwc.c (fputwc): Likewise.
11746         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
11747         * libio/freopen.c (freopen): Likewise.
11748         * libio/freopen64.c (freopen64): Likewise.
11749         * libio/fseek.c (fseek): Likewise.
11750         * libio/fseeko.c (fseeko): Likewise.
11751         * libio/fseeko64.c (fseeko64): Likewise.
11752         * libio/ftello.c (__ftello): Likewise.
11753         * libio/ftello64.c (ftello64): Likewise.
11754         * libio/fwide.c (fwide): Likewise.
11755         * libio/genops.c (_IO_un_link): Likewise.
11756         (_IO_link_in): Likewise.
11757         (_IO_least_marker): Likewise.
11758         (_IO_switch_to_main_get_area): Likewise.
11759         (_IO_switch_to_backup_area): Likewise.
11760         (_IO_switch_to_get_mode): Likewise.
11761         (_IO_free_backup_area): Likewise.
11762         (_IO_switch_to_put_mode): Likewise.
11763         (__overflow): Likewise.
11764         (__underflow): Likewise.
11765         (__uflow): Likewise.
11766         (_IO_setb): Likewise.
11767         (_IO_doallocbuf): Likewise.
11768         (_IO_default_underflow): Likewise.
11769         (_IO_default_uflow): Likewise.
11770         (_IO_default_xsputn): Likewise.
11771         (_IO_sgetn): Likewise.
11772         (_IO_default_xsgetn): Likewise.
11773         (_IO_sync): Likewise.
11774         (_IO_default_setbuf): Likewise.
11775         (_IO_default_seekpos): Likewise.
11776         (_IO_default_doallocate): Likewise.
11777         (_IO_init): Likewise.
11778         (_IO_old_init): Likewise.
11779         (_IO_default_sync): Likewise.
11780         (_IO_default_finish): Likewise.
11781         (_IO_default_seekoff): Likewise.
11782         (_IO_sputbackc): Likewise.
11783         (_IO_sungetc): Likewise.
11784         (_IO_set_column): Likewise.
11785         (_IO_set_column): Likewise.
11786         (_IO_adjust_column): Likewise.
11787         (_IO_get_column): Likewise.
11788         (_IO_init_marker): Likewise.
11789         (_IO_remove_marker): Likewise.
11790         (_IO_marker_difference): Likewise.
11791         (_IO_marker_delta): Likewise.
11792         (_IO_seekmark): Likewise.
11793         (_IO_unsave_markers): Likewise.
11794         (_IO_nobackup_pbackfail): Likewise.
11795         (_IO_default_pbackfail): Likewise.
11796         (_IO_default_seek): Likewise.
11797         (_IO_default_stat): Likewise.
11798         (_IO_default_read): Likewise.
11799         (_IO_default_write): Likewise.
11800         (_IO_default_showmanyc): Likewise.
11801         (_IO_default_imbue): Likewise.
11802         (_IO_iter_next): Likewise.
11803         (_IO_iter_file): Likewise.
11804         * libio/getc.c (_IO_getc): Likewise.
11805         * libio/getwc.c (_IO_getwc): Likewise.
11806         * libio/iofclose.c (_IO_new_fclose): Likewise.
11807         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11808         * libio/iofflush.c (_IO_fflush): Likewise.
11809         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
11810         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
11811         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
11812         * libio/iofgets.c (_IO_fgets): Likewise.
11813         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
11814         * libio/iofgetws.c (fgetws): Likewise.
11815         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11816         * libio/iofopen64.c (_IO_fopen64): Likewise.
11817         * libio/iofopncook.c (_IO_cookie_read): Likewise.
11818         (_IO_cookie_write): Likewise.
11819         (_IO_cookie_seek): Likewise.
11820         (_IO_cookie_close): Likewise.
11821         (_IO_cookie_seekoff): Likewise.
11822         (_IO_old_cookie_seek): Likewise.
11823         * libio/iofputs.c (_IO_fputs): Likewise.
11824         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
11825         * libio/iofputws.c (fputws): Likewise.
11826         * libio/iofputws_u.c (fputws_unlocked): Likewise.
11827         * libio/iofread.c (_IO_fread): Likewise.
11828         * libio/iofread_u.c (__fread_unlocked): Likewise.
11829         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
11830         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
11831         * libio/ioftell.c (_IO_ftell): Likewise.
11832         * libio/iofwrite.c (_IO_fwrite): Likewise.
11833         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11834         * libio/iogets.c (_IO_gets): Likewise.
11835         * libio/iopadn.c (_IO_padn): Likewise.
11836         * libio/iopopen.c (_IO_new_proc_open): Likewise.
11837         (_IO_new_popen): Likewise.
11838         (_IO_new_proc_close): Likewise.
11839         * libio/ioputs.c (_IO_puts): Likewise.
11840         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
11841         (_IO_seekoff): Likewise.
11842         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
11843         (_IO_seekpos): Likewise.
11844         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
11845         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
11846         * libio/ioungetc.c (_IO_ungetc): Likewise.
11847         * libio/ioungetwc.c (ungetwc): Likewise.
11848         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11849         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
11850         * libio/iowpadn.c (_IO_wpadn): Likewise.
11851         * libio/libc_fatal.c (__libc_fatal): Likewise.
11852         * libio/memstream.c (__open_memstream): Likewise.
11853         (_IO_mem_sync): Likewise.
11854         (_IO_mem_finish): Likewise.
11855         * libio/oldfileops.c (_IO_old_file_init): Likewise.
11856         (_IO_old_file_close_it): Likewise.
11857         (_IO_old_file_finish): Likewise.
11858         (_IO_old_file_fopen): Likewise.
11859         (_IO_old_file_attach): Likewise.
11860         (_IO_old_file_setbuf): Likewise.
11861         (_IO_old_do_write): Likewise.
11862         (old_do_write): Likewise.
11863         (_IO_old_file_underflow): Likewise.
11864         (_IO_old_file_overflow): Likewise.
11865         (_IO_old_file_sync): Likewise.
11866         (_IO_old_file_seekoff): Likewise.
11867         (_IO_old_file_write): Likewise.
11868         (_IO_old_file_xsputn): Likewise.
11869         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
11870         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11871         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
11872         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
11873         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
11874         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
11875         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
11876         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
11877         (_IO_old_popen): Likewise.
11878         (_IO_old_proc_close): Likewise.
11879         * libio/oldpclose.c (__old_pclose): Likewise.
11880         * libio/pclose.c (__new_pclose): Likewise.
11881         * libio/peekc.c (_IO_peekc_locked): Likewise.
11882         * libio/putc.c (_IO_putc): Likewise.
11883         * libio/putc_u.c (putc_unlocked): Likewise.
11884         * libio/putchar.c (putchar): Likewise.
11885         * libio/putchar_u.c (putchar_unlocked): Likewise.
11886         * libio/putwc.c (putwc): Likewise.
11887         * libio/putwc_u.c (putwc_unlocked): Likewise.
11888         * libio/putwchar.c (putwchar): Likewise.
11889         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
11890         * libio/rewind.c (rewind): Likewise.
11891         * libio/setbuf.c (setbuf): Likewise.
11892         * libio/setlinebuf.c (setlinebuf): Likewise.
11893         * libio/vasprintf.c (_IO_vasprintf): Likewise.
11894         * libio/vscanf.c (_IO_vscanf): Likewise.
11895         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
11896         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
11897         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
11898         * libio/wgenops.c (_IO_least_wmarker): Likewise.
11899         (_IO_switch_to_main_wget_area): Likewise.
11900         (_IO_switch_to_wbackup_area): Likewise.
11901         (_IO_wsetb): Likewise.
11902         (_IO_wdefault_pbackfail): Likewise.
11903         (_IO_wdefault_finish): Likewise.
11904         (_IO_wdefault_uflow): Likewise.
11905         (__woverflow): Likewise.
11906         (__wuflow): Likewise.
11907         (__wunderflow): Likewise.
11908         (_IO_wdefault_xsputn): Likewise.
11909         (_IO_wdefault_xsgetn): Likewise.
11910         (_IO_wdoallocbuf): Likewise.
11911         (_IO_wdefault_doallocate): Likewise.
11912         (_IO_switch_to_wget_mode): Likewise.
11913         (_IO_free_wbackup_area): Likewise.
11914         (_IO_switch_to_wput_mode): Likewise.
11915         (_IO_sputbackwc): Likewise.
11916         (_IO_sungetwc): Likewise.
11917         (_IO_adjust_wcolumn): Likewise.
11918         (_IO_init_wmarker): Likewise.
11919         (_IO_wmarker_delta): Likewise.
11920         (_IO_seekwmark): Likewise.
11921         (_IO_unsave_wmarkers): Likewise.
11922         * libio/wmemstream.c (open_wmemstream): Likewise.
11923         (_IO_wmem_sync): Likewise.
11924         (_IO_wmem_finish): Likewise.
11925         * locale/nl_langinfo.c (nl_langinfo): Likewise.
11926         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
11927         * locale/programs/simple-hash.c (init_hash): Likewise.
11928         (delete_hash): Likewise.
11929         (insert_entry): Likewise.
11930         (set_entry): Likewise.
11931         (next_prime): Likewise.
11932         (is_prime): Likewise.
11933         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
11934         (xmalloc): Likewise.
11935         (xrealloc): Likewise.
11936         * locale/programs/xstrdup.c (xstrdup): Likewise.
11937         * localedata/collate-test.c (xstrcoll): Likewise.
11938         * localedata/xfrm-test.c (xstrcmp): Likewise.
11939         * login/getlogin_r.c (__getlogin_r): Likewise.
11940         * login/getpt.c (__posix_openpt): Likewise.
11941         * login/login_tty.c (login_tty): Likewise.
11942         * login/setlogin.c (setlogin): Likewise.
11943         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
11944         (mach_msg_destroy_port): Likewise.
11945         (mach_msg_destroy_memory): Likewise.
11946         * malloc/mcheck.c (flood): Likewise.
11947         * misc/acct.c (acct): Likewise.
11948         * misc/brk.c (__brk): Likewise.
11949         * misc/chflags.c (chflags): Likewise.
11950         * misc/chroot.c (chroot): Likewise.
11951         * misc/fchflags.c (fchflags): Likewise.
11952         * misc/fstab.c (getfsspec): Likewise.
11953         (getfsfile): Likewise.
11954         * misc/fsync.c (fsync): Likewise.
11955         * misc/ftruncate.c (__ftruncate): Likewise.
11956         * misc/ftruncate64.c (__ftruncate64): Likewise.
11957         * misc/getdomain.c (getdomainname): Likewise.
11958         (getdomainname): Likewise.
11959         * misc/gethostname.c (__gethostname): Likewise.
11960         * misc/getpass.c (getpass): Likewise.
11961         * misc/getttyent.c (skip): Likewise.
11962         (value): Likewise.
11963         * misc/gtty.c (gtty): Likewise.
11964         * misc/hsearch.c (hsearch): Likewise.
11965         (hcreate): Likewise.
11966         * misc/hsearch_r.c (__hcreate_r): Likewise.
11967         (__hdestroy_r): Likewise.
11968         * misc/ioctl.c (__ioctl): Likewise.
11969         * misc/mkdtemp.c (mkdtemp): Likewise.
11970         * misc/mkostemp.c (mkostemp): Likewise.
11971         * misc/mkostemp64.c (mkostemp64): Likewise.
11972         * misc/mkostemps.c (mkostemps): Likewise.
11973         * misc/mkostemps64.c (mkostemps64): Likewise.
11974         * misc/mkstemp.c (mkstemp): Likewise.
11975         * misc/mkstemp64.c (mkstemp64): Likewise.
11976         * misc/mkstemps.c (mkstemps): Likewise.
11977         * misc/mkstemps64.c (mkstemps64): Likewise.
11978         * misc/mktemp.c (__mktemp): Likewise.
11979         * misc/preadv.c (preadv): Likewise.
11980         * misc/preadv64.c (preadv64): Likewise.
11981         * misc/pwritev.c (pwritev): Likewise.
11982         * misc/pwritev64.c (pwritev64): Likewise.
11983         * misc/readv.c (__readv): Likewise.
11984         * misc/revoke.c (revoke): Likewise.
11985         * misc/setdomain.c (setdomainname): Likewise.
11986         * misc/setegid.c (setegid): Likewise.
11987         * misc/seteuid.c (seteuid): Likewise.
11988         * misc/sethostid.c (sethostid): Likewise.
11989         * misc/sethostname.c (sethostname): Likewise.
11990         * misc/setregid.c (__setregid): Likewise.
11991         * misc/setreuid.c (__setreuid): Likewise.
11992         * misc/sstk.c (sstk): Likewise.
11993         * misc/stty.c (stty): Likewise.
11994         * misc/syscall.c (syscall): Likewise.
11995         * misc/syslog.c (setlogmask): Likewise.
11996         * misc/truncate.c (__truncate): Likewise.
11997         * misc/truncate64.c (truncate64): Likewise.
11998         * misc/ualarm.c (ualarm): Likewise.
11999         * misc/usleep.c (usleep): Likewise.
12000         * misc/ustat.c (ustat): Likewise.
12001         * misc/writev.c (__writev): Likewise.
12002         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
12003         * nptl/old_pthread_cond_broadcast.c
12004         (__pthread_cond_broadcast_2_0): Likewise.
12005         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
12006         Likewise.
12007         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
12008         Likewise.
12009         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
12010         Likewise.
12011         * nptl/pt-raise.c (raise): Likewise.
12012         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
12013         Likewise.
12014         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
12015         * nptl/pthread_barrierattr_destroy.c
12016         (pthread_barrierattr_destroy): Likewise.
12017         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
12018         Likewise.
12019         * nptl/pthread_barrierattr_setpshared.c
12020         (pthread_barrierattr_setpshared): Likewise.
12021         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12022         Likewise.
12023         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
12024         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
12025         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
12026         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
12027         Likewise.
12028         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
12029         Likewise.
12030         * nptl/pthread_condattr_getpshared.c
12031         (pthread_condattr_getpshared): Likewise.
12032         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
12033         Likewise.
12034         * nptl/pthread_condattr_setpshared.c
12035         (pthread_condattr_setpshared): Likewise.
12036         * nptl/pthread_detach.c (pthread_detach): Likewise.
12037         * nptl/pthread_equal.c (__pthread_equal): Likewise.
12038         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
12039         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
12040         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
12041         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
12042         Likewise.
12043         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
12044         Likewise.
12045         * nptl/pthread_mutex_getprioceiling.c
12046         (pthread_mutex_getprioceiling): Likewise.
12047         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
12048         Likewise.
12049         * nptl/pthread_mutexattr_getprotocol.c
12050         (pthread_mutexattr_getprotocol): Likewise.
12051         * nptl/pthread_mutexattr_getpshared.c
12052         (pthread_mutexattr_getpshared): Likewise.
12053         * nptl/pthread_mutexattr_getrobust.c
12054         (pthread_mutexattr_getrobust): Likewise.
12055         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
12056         Likewise.
12057         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
12058         Likewise.
12059         * nptl/pthread_mutexattr_setprioceiling.c
12060         (pthread_mutexattr_setprioceiling): Likewise.
12061         * nptl/pthread_mutexattr_setprotocol.c
12062         (pthread_mutexattr_setprotocol): Likewise.
12063         * nptl/pthread_mutexattr_setpshared.c
12064         (pthread_mutexattr_setpshared): Likewise.
12065         * nptl/pthread_mutexattr_setrobust.c
12066         (pthread_mutexattr_setrobust): Likewise.
12067         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
12068         Likewise.
12069         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
12070         Likewise.
12071         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
12072         Likewise.
12073         * nptl/pthread_rwlockattr_getkind_np.c
12074         (pthread_rwlockattr_getkind_np): Likewise.
12075         * nptl/pthread_rwlockattr_getpshared.c
12076         (pthread_rwlockattr_getpshared): Likewise.
12077         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
12078         Likewise.
12079         * nptl/pthread_rwlockattr_setkind_np.c
12080         (pthread_rwlockattr_setkind_np): Likewise.
12081         * nptl/pthread_rwlockattr_setpshared.c
12082         (pthread_rwlockattr_setpshared): Likewise.
12083         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
12084         Likewise.
12085         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
12086         Likewise.
12087         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
12088         Likewise.
12089         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
12090         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
12091         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
12092         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
12093         * nptl/sem_close.c (sem_close): Likewise.
12094         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
12095         * nptl/sem_init.c (__old_sem_init): Likewise.
12096         * nptl/sigaction.c (__sigaction): Likewise.
12097         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
12098         * posix/_exit.c (_exit): Likewise.
12099         * posix/alarm.c (alarm): Likewise.
12100         * posix/confstr.c (confstr): Likewise.
12101         * posix/fpathconf.c (__fpathconf): Likewise.
12102         * posix/getgroups.c (__getgroups): Likewise.
12103         * posix/getpgid.c (__getpgid): Likewise.
12104         * posix/group_member.c (__group_member): Likewise.
12105         * posix/pathconf.c (__pathconf): Likewise.
12106         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
12107         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
12108         * posix/setgid.c (__setgid): Likewise.
12109         * posix/setpgid.c (__setpgid): Likewise.
12110         * posix/setuid.c (__setuid): Likewise.
12111         * posix/sleep.c (__sleep): Likewise.
12112         * posix/sysconf.c (__sysconf): Likewise.
12113         * posix/times.c (__times): Likewise.
12114         * posix/uname.c (__uname): Likewise.
12115         * posix/waitid.c (__waitid): Likewise.
12116         * pwd/getpw.c (__getpw): Likewise.
12117         * resolv/base64.c (b64_pton): Likewise.
12118         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
12119         * resolv/gethnamaddr.c (Dprintf): Likewise.
12120         (gethostbyname): Likewise.
12121         (gethostbyname2): Likewise.
12122         (gethostbyaddr): Likewise.
12123         (_sethtent): Likewise.
12124         (_gethtbyname): Likewise.
12125         (_gethtbyname2): Likewise.
12126         (_gethtbyaddr): Likewise.
12127         (map_v4v6_address): Likewise.
12128         (map_v4v6_hostent): Likewise.
12129         (addrsort): Likewise.
12130         (ht_sethostent): Likewise.
12131         (ht_gethostbyname): Likewise.
12132         (ht_gethostbyaddr): Likewise.
12133         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
12134         (inet_net_ntop_ipv4): Likewise.
12135         * resolv/inet_neta.c (inet_neta): Likewise.
12136         * resolv/inet_ntop.c (inet_ntop): Likewise.
12137         (inet_ntop4): Likewise.
12138         (inet_ntop6): Likewise.
12139         * resolv/inet_pton.c (__inet_pton): Likewise.
12140         (inet_pton4): Likewise.
12141         (inet_pton6): Likewise.
12142         * resolv/res_debug.c (loc_aton): Likewise.
12143         (loc_ntoa): Likewise.
12144         * resource/getpriority.c (__getpriority): Likewise.
12145         * resource/getrusage.c (__getrusage): Likewise.
12146         * resource/nice.c (nice): Likewise.
12147         * resource/setpriority.c (__setpriority): Likewise.
12148         * resource/setrlimit64.c (setrlimit64): Likewise.
12149         * resource/vlimit.c (vlimit): Likewise.
12150         * resource/vtimes.c (vtimes): Likewise.
12151         * rt/aio_error.c (aio_error): Likewise.
12152         * rt/aio_return.c (aio_return): Likewise.
12153         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
12154         * signal/kill.c (__kill): Likewise.
12155         * signal/killpg.c (killpg): Likewise.
12156         * signal/raise.c (raise): Likewise.
12157         * signal/sigaction.c (__sigaction): Likewise.
12158         * signal/sigaddset.c (sigaddset): Likewise.
12159         * signal/sigaltstack.c (sigaltstack): Likewise.
12160         * signal/sigandset.c (sigandset): Likewise.
12161         * signal/sigblock.c (__sigblock): Likewise.
12162         * signal/sigdelset.c (sigdelset): Likewise.
12163         * signal/sigempty.c (sigemptyset): Likewise.
12164         * signal/sigfillset.c (sigfillset): Likewise.
12165         * signal/sighold.c (sighold): Likewise.
12166         * signal/sigignore.c (sigignore): Likewise.
12167         * signal/sigintr.c (siginterrupt): Likewise.
12168         * signal/sigisempty.c (sigisemptyset): Likewise.
12169         * signal/sigismem.c (sigismember): Likewise.
12170         * signal/signal.c (signal): Likewise.
12171         * signal/sigorset.c (sigorset): Likewise.
12172         * signal/sigpause.c (__sigpause): Likewise.
12173         * signal/sigpending.c (sigpending): Likewise.
12174         * signal/sigprocmask.c (__sigprocmask): Likewise.
12175         * signal/sigrelse.c (sigrelse): Likewise.
12176         * signal/sigreturn.c (__sigreturn): Likewise.
12177         * signal/sigset.c (sigset): Likewise.
12178         * signal/sigsetmask.c (__sigsetmask): Likewise.
12179         * signal/sigstack.c (sigstack): Likewise.
12180         * signal/sigsuspend.c (__sigsuspend): Likewise.
12181         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
12182         * signal/sysv_signal.c (__sysv_signal): Likewise.
12183         * socket/accept.c (accept): Likewise.
12184         * socket/accept4.c (__libc_accept4): Likewise.
12185         * socket/bind.c (__bind): Likewise.
12186         * socket/connect.c (__connect): Likewise.
12187         * socket/getpeername.c (getpeername): Likewise.
12188         * socket/getsockname.c (__getsockname): Likewise.
12189         * socket/getsockopt.c (getsockopt): Likewise.
12190         * socket/listen.c (__listen): Likewise.
12191         * socket/recv.c (__recv): Likewise.
12192         * socket/recvmsg.c (__recvmsg): Likewise.
12193         * socket/send.c (__send): Likewise.
12194         * socket/sendmsg.c (__sendmsg): Likewise.
12195         * socket/shutdown.c (shutdown): Likewise.
12196         * socket/sockatmark.c (sockatmark): Likewise.
12197         * socket/socket.c (__socket): Likewise.
12198         * stdio-common/ctermid.c (ctermid): Likewise.
12199         * stdio-common/cuserid.c (cuserid): Likewise.
12200         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
12201         * stdio-common/remove.c (remove): Likewise.
12202         * stdio-common/rename.c (rename): Likewise.
12203         * stdio-common/renameat.c (renameat): Likewise.
12204         * stdio-common/tempname.c (__gen_tempname): Likewise.
12205         * stdio-common/xbug.c (InitBuffer): Likewise.
12206         (AppendToBuffer): Likewise.
12207         (ReadFile): Likewise.
12208         * stdlib/a64l.c (a64l): Likewise.
12209         * stdlib/drand48_r.c (drand48_r): Likewise.
12210         * stdlib/getcontext.c (getcontext): Likewise.
12211         * stdlib/getenv.c (getenv): Likewise.
12212         * stdlib/l64a.c (l64a): Likewise.
12213         * stdlib/llabs.c (llabs): Likewise.
12214         * stdlib/lldiv.c (lldiv): Likewise.
12215         * stdlib/lrand48_r.c (lrand48_r): Likewise.
12216         * stdlib/mrand48_r.c (mrand48_r): Likewise.
12217         * stdlib/putenv.c (putenv): Likewise.
12218         * stdlib/random.c (__srandom): Likewise.
12219         (__initstate): Likewise.
12220         (__setstate): Likewise.
12221         * stdlib/random_r.c (__srandom_r): Likewise.
12222         (__setstate_r): Likewise.
12223         (__random_r): Likewise.
12224         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
12225         * stdlib/setcontext.c (setcontext): Likewise.
12226         * stdlib/setenv.c (setenv): Likewise.
12227         (unsetenv): Likewise.
12228         * stdlib/srand48.c (srand48): Likewise.
12229         * stdlib/srand48_r.c (__srand48_r): Likewise.
12230         * stdlib/swapcontext.c (swapcontext): Likewise.
12231         * stdlib/system.c (__libc_system): Likewise.
12232         * stdlib/tst-strtod.c (expand): Likewise.
12233         * stdlib/tst-strtol.c (expand): Likewise.
12234         * stdlib/tst-strtoll.c (expand): Likewise.
12235         * streams/fattach.c (fattach): Likewise.
12236         * streams/fdetach.c (fdetach): Likewise.
12237         * streams/getmsg.c (getmsg): Likewise.
12238         * streams/isastream.c (isastream): Likewise.
12239         * string/ffs.c (__ffs): Likewise.
12240         * string/ffsll.c (ffsll): Likewise.
12241         * string/memcmp.c (memcmp_common_alignment): Likewise.
12242         (memcmp_not_common_alignment): Likewise.
12243         (MEMCMP): Likewise.
12244         * string/memcpy.c (memcpy): Likewise.
12245         * string/memmove.c (MEMMOVE): Likewise.
12246         * string/memset.c (memset): Likewise.
12247         * string/rawmemchr.c (RAWMEMCHR): Likewise.
12248         * string/strchrnul.c (STRCHRNUL): Likewise.
12249         * string/strerror.c (strerror): Likewise.
12250         * string/strndup.c (__strndup): Likewise.
12251         * string/strverscmp.c (__strverscmp): Likewise.
12252         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
12253         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
12254         (clnttcp_freeres): Likewise.
12255         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
12256         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
12257         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
12258         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
12259         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
12260         (xdr_callhdr): Likewise.
12261         * sunrpc/rpcinfo.c (udpping): Likewise.
12262         (tcpping): Likewise.
12263         (pstatus): Likewise.
12264         (pmapdump): Likewise.
12265         (brdcst): Likewise.
12266         (deletereg): Likewise.
12267         (getprognum): Likewise.
12268         (getvers): Likewise.
12269         (get_inet_address): Likewise.
12270         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
12271         * sunrpc/svc_udp.c (svcudp_create): Likewise.
12272         (svcudp_stat): Likewise.
12273         (svcudp_recv): Likewise.
12274         (svcudp_reply): Likewise.
12275         (svcudp_getargs): Likewise.
12276         (svcudp_freeargs): Likewise.
12277         (svcudp_destroy): Likewise.
12278         * sunrpc/xdr.c (xdr_bytes): Likewise.
12279         (xdr_netobj): Likewise.
12280         (xdr_string): Likewise.
12281         (xdr_wrapstring): Likewise.
12282         * sunrpc/xdr_float.c (xdr_float): Likewise.
12283         (xdr_double): Likewise.
12284         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
12285         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
12286         * sysvipc/ftok.c (ftok): Likewise.
12287         * sysvipc/msgctl.c (msgctl): Likewise.
12288         * sysvipc/msgget.c (msgget): Likewise.
12289         * sysvipc/msgrcv.c (msgrcv): Likewise.
12290         * sysvipc/msgsnd.c (msgsnd): Likewise.
12291         * sysvipc/semget.c (semget): Likewise.
12292         * sysvipc/semop.c (semop): Likewise.
12293         * sysvipc/shmat.c (shmat): Likewise.
12294         * sysvipc/shmctl.c (shmctl): Likewise.
12295         * sysvipc/shmdt.c (shmdt): Likewise.
12296         * sysvipc/shmget.c (shmget): Likewise.
12297         * termios/cfmakeraw.c (cfmakeraw): Likewise.
12298         * termios/speed.c (cfgetospeed): Likewise.
12299         (cfgetispeed): Likewise.
12300         (cfsetospeed): Likewise.
12301         (cfsetispeed): Likewise.
12302         * termios/tcflow.c (tcflow): Likewise.
12303         * termios/tcflush.c (tcflush): Likewise.
12304         * termios/tcgetattr.c (__tcgetattr): Likewise.
12305         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
12306         * termios/tcgetsid.c (tcgetsid): Likewise.
12307         * termios/tcsendbrk.c (tcsendbreak): Likewise.
12308         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
12309         * time/adjtime.c (__adjtime): Likewise.
12310         * time/dysize.c (dysize): Likewise.
12311         * time/ftime.c (ftime): Likewise.
12312         * time/getitimer.c (__getitimer): Likewise.
12313         * time/gettimeofday.c (__gettimeofday): Likewise.
12314         * time/gmtime.c (__gmtime_r): Likewise.
12315         (gmtime): Likewise.
12316         * time/localtime.c (__localtime_r): Likewise.
12317         (localtime): Likewise.
12318         * time/offtime.c (__offtime): Likewise.
12319         * time/settimeofday.c (__settimeofday): Likewise.
12320         * time/stime.c (stime): Likewise.
12321         * time/strftime_l.c (tm_diff): Likewise.
12322         (iso_week_days): Likewise.
12323         * time/strptime.c (strptime): Likewise.
12324         * time/time.c (time): Likewise.
12325         * time/timespec_get.c (timespec_get): Likewise.
12326         * time/tzset.c (tzset_internal): Likewise.
12327         (compute_change): Likewise.
12328         (__tz_compute): Likewise.
12329         * wcsmbs/btowc.c (__btowc): Likewise.
12330         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
12331         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
12332         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
12333         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
12334         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
12335         * wcsmbs/wcscat.c (__wcscat): Likewise.
12336         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12337         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
12338         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
12339         * wcsmbs/wcscspn.c (wcscspn): Likewise.
12340         * wcsmbs/wcsdup.c (wcsdup): Likewise.
12341         * wcsmbs/wcslen.c (__wcslen): Likewise.
12342         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
12343         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
12344         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
12345         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
12346         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12347         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
12348         * wcsmbs/wcsspn.c (wcsspn): Likewise.
12349         * wcsmbs/wcsstr.c (wcsstr): Likewise.
12350         * wcsmbs/wcstok.c (wcstok): Likewise.
12351         * wcsmbs/wctob.c (wctob): Likewise.
12352         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
12353         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12354         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
12355         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
12356         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
12357         * wcsmbs/wmemset.c (__wmemset): Likewise.
12358         * wctype/wcfuncs.c (__towlower): Likewise.
12359         (__towupper): Likewise.
12361         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
12362         (lll_unlock_elision): Add adapt_count parameter.
12364 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
12366         * sysdeps/nptl/configure.ac: Do not give errors based on the
12367         results of top-level configure tests.
12368         * sysdeps/nptl/configure: Regenerated.
12370         * configure.ac (libc_cv_Bgroup): Remove configure test.
12371         * configure: Regenerated.
12372         * config.make.in (have-Bgroup): Remove variable.
12374         * configure.ac (sizeof_long_double): Remove configure test.
12375         * configure: Regenerated.
12376         * config.make.in (sizeof-long-double): Remove variable.
12378         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
12379         * configure: Regenerated.
12380         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
12381         variable.
12382         (exceptions): Likewise.
12383         * sysdeps/arm/configure: Regenerated.
12384         * config.make.in (exceptions): Remove variable.
12385         * Makeconfig (uses-callbacks): Use -fexceptions instead of
12386         $(exceptions).
12387         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
12388         (CFLAGS-vdprintf_chk.c): Likewise.
12389         (CFLAGS-printf_chk.c): Likewise.
12390         (CFLAGS-fprintf_chk.c): Likewise.
12391         (CFLAGS-vprintf_chk.c): Likewise.
12392         (CFLAGS-vfprintf_chk.c): Likewise.
12393         (CFLAGS-gets_chk.c): Likewise.
12394         (CFLAGS-fgets_chk.c): Likewise.
12395         (CFLAGS-fgets_u_chk.c): Likewise.
12396         (CFLAGS-fread_chk.c): Likewise.
12397         (CFLAGS-fread_u_chk.c): Likewise.
12398         (CFLAGS-wprintf_chk.c): Likewise.
12399         (CFLAGS-fwprintf_chk.c): Likewise.
12400         (CFLAGS-vwprintf_chk.c): Likewise.
12401         (CFLAGS-vfwprintf_chk.c): Likewise.
12402         (CFLAGS-fgetws_chk.c): Likewise.
12403         (CFLAGS-fgetws_u_chk.c): Likewise.
12404         * libio/Makefile (CFLAGS-fileops.c): Likewise.
12405         (CFLAGS-fputc.c): Likewise.
12406         (CFLAGS-fputwc.c): Likewise.
12407         (CFLAGS-freopen64.c): Likewise.
12408         (CFLAGS-freopen.c): Likewise.
12409         (CFLAGS-fseek.c): Likewise.
12410         (CFLAGS-fseeko64.c): Likewise.
12411         (CFLAGS-fseeko.c): Likewise.
12412         (CFLAGS-ftello64.c): Likewise.
12413         (CFLAGS-ftello.c): Likewise.
12414         (CFLAGS-fwide.c): Likewise.
12415         (CFLAGS-genops.c): Likewise.
12416         (CFLAGS-getc.c): Likewise.
12417         (CFLAGS-getchar.c): Likewise.
12418         (CFLAGS-getwc.c): Likewise.
12419         (CFLAGS-getwchar.c): Likewise.
12420         (CFLAGS-iofclose.c): Likewise.
12421         (CFLAGS-iofflush.c): Likewise.
12422         (CFLAGS-iofgetpos64.c): Likewise.
12423         (CFLAGS-iofgetpos.c): Likewise.
12424         (CFLAGS-iofgets.c): Likewise.
12425         (CFLAGS-iofgetws.c): Likewise.
12426         (CFLAGS-iofputs.c): Likewise.
12427         (CFLAGS-iofputws.c): Likewise.
12428         (CFLAGS-iofread.c): Likewise.
12429         (CFLAGS-iofsetpos64.c): Likewise.
12430         (CFLAGS-iofsetpos.c): Likewise.
12431         (CFLAGS-ioftell.c): Likewise.
12432         (CFLAGS-iofwrite.c): Likewise.
12433         (CFLAGS-iogetdelim.c): Likewise.
12434         (CFLAGS-iogetline.c): Likewise.
12435         (CFLAGS-iogets.c): Likewise.
12436         (CFLAGS-iogetwline.c): Likewise.
12437         (CFLAGS-ioputs.c): Likewise.
12438         (CFLAGS-ioseekoff.c): Likewise.
12439         (CFLAGS-ioseekpos.c): Likewise.
12440         (CFLAGS-iosetbuffer.c): Likewise.
12441         (CFLAGS-iosetvbuf.c): Likewise.
12442         (CFLAGS-ioungetc.c): Likewise.
12443         (CFLAGS-ioungetwc.c): Likewise.
12444         (CFLAGS-oldfileops.c): Likewise.
12445         (CFLAGS-oldiofclose.c): Likewise.
12446         (CFLAGS-oldiofgetpos64.c): Likewise.
12447         (CFLAGS-oldiofgetpos.c): Likewise.
12448         (CFLAGS-oldiofsetpos64.c): Likewise.
12449         (CFLAGS-oldiofsetpos.c): Likewise.
12450         (CFLAGS-peekc.c): Likewise.
12451         (CFLAGS-putc.c): Likewise.
12452         (CFLAGS-putchar.c): Likewise.
12453         (CFLAGS-putwc.c): Likewise.
12454         (CFLAGS-putwchar.c): Likewise.
12455         (CFLAGS-rewind.c): Likewise.
12456         (CFLAGS-wfileops.c): Likewise.
12457         (CFLAGS-wgenops.c): Likewise.
12458         (CFLAGS-oldiofopen.c): Likewise.
12459         (CFLAGS-iofopen.c): Likewise.
12460         (CFLAGS-iofopen64.c): Likewise.
12461         (CFLAGS-oldtmpfile.c): Likewise.
12462         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
12463         (CFLAGS-fprintf.c): Likewise.
12464         (CFLAGS-printf.c): Likewise.
12465         (CFLAGS-vfwprintf.c): Likewise.
12466         (CFLAGS-vfscanf.c): Likewise.
12467         (CFLAGS-vfwscanf.c): Likewise.
12468         (CFLAGS-fscanf.c): Likewise.
12469         (CFLAGS-scanf.c): Likewise.
12470         (CFLAGS-isoc99_vfscanf.c): Likewise.
12471         (CFLAGS-isoc99_vscanf.c): Likewise.
12472         (CFLAGS-isoc99_fscanf.c): Likewise.
12473         (CFLAGS-isoc99_scanf.c): Likewise.
12474         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
12475         (CFLAGS-isoc99_fwscanf.c): Likewise.
12476         (CFLAGS-isoc99_vwscanf.c): Likewise.
12477         (CFLAGS-isoc99_vfwscanf.c): Likewise.
12479         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
12480         after mkstemp64.
12481         * login/tst-utmp.c (do_prepare): Likewise.
12482         * rt/tst-aio.c (do_prepare): Likewise.
12483         * rt/tst-aio64.c (do_prepare): Likewise.
12485 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12487         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12488         (__lll_lock_elision): Remove adapt_count decrement...
12489         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
12490         (__lll_trylock_elision): Likewise.
12491         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
12492         (__lll_unlock_elision): ... to here. And utilize
12493         new adapt_count parameter.
12494         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12495         (__lll_unlock_elision): Update to include adapt_count
12496         parameter.
12497         (lll_unlock_elision): Pass pointer to adapt_count
12498         variable.
12500 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12502         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
12503         Add elision adapt_count parameter to list of arguments.
12504         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12505         (lll_unlock_elision): Update with new parameter list
12506         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12507         (lll_unlock_elision): Likewise.
12508         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
12509         (lll_unlock_elision): Likewise.
12511 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12513         [BZ #19122]
12514         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
12515         attribute_hidden.
12517         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
12518         attribute_hidden.
12519         [IS_IN (rtld)] (__strdup): Likewise.
12520         [IS_IN (rtld)] (__strerror_r): Likewise.
12521         [IS_IN (rtld)] (__strsep_g): Likewise.
12522         [IS_IN (rtld)] (memchr): Likewise.
12523         [IS_IN (rtld)] (memcmp): Likewise.
12524         [IS_IN (rtld)] (memcpy): Likewise.
12525         [IS_IN (rtld)] (memmove): Likewise.
12526         [IS_IN (rtld)] (memset): Likewise.
12527         [IS_IN (rtld)] (rawmemchr): Likewise.
12528         [IS_IN (rtld)] (stpcpy): Likewise.
12529         [IS_IN (rtld)] (strchr): Likewise.
12530         [IS_IN (rtld)] (strcmp): Likewise.
12531         [IS_IN (rtld)] (strlen): Likewise.
12532         [IS_IN (rtld)] (strnlen): Likewise.
12533         [IS_IN (rtld)] (strsep): Likewise.
12535         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
12536         attribute_hidden.
12537         [IS_IN (rtld)] (__strtoul_internal): Likewise.
12539         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
12540         attribute_hidden.
12541         [IS_IN (rtld)] (__libc_sigaction): Likewise.
12543         * include/setjmp.h (__longjmp): Add attribute_hidden.
12544         [IS_IN (rtld)] (__sigsetjmp): Likewise.
12546         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
12547         Add attribute_hidden.
12549         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
12550         [IS_IN (rtld)] (__open): Likewise.
12551         [IS_IN (rtld)] (__fcntl): Likewise.
12553         * include/dirent.h (__opendirat): Add attribute_hidden.
12554         (__getdents): Likewise.
12555         (__getdents64): Likewise.
12556         (__alloc_dir): Likewise.
12557         [IS_IN (rtld)] (__closedir): Likewise.
12558         [IS_IN (rtld)] (__fdopendir): Likewise.
12559         [IS_IN (rtld)] (__readdir): Likewise.
12560         [IS_IN (rtld)] (__readdir64): Likewise.
12561         [IS_IN (rtld)] (__rewinddir): Likewise.
12563         * include/dlfcn.h (_dl_catch_error): Moved to ...
12564         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
12565         attribute_hidden.
12567         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
12568         (_itoa_word): Likewise.
12570         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
12571         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
12572         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
12573         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
12574         (_dl_higher_prime_number): Likewise.
12575         (_dl_debug_printf_c): Likewise.
12576         (_dl_signal_cerror): Likewise.
12577         (_dl_receive_error): Likewise.
12578         (_dl_reloc_bad_type): Likewise.
12579         (_dl_resolve_conflicts): Likewise.
12580         (_dl_check_all_versions): Likewise.
12581         (_dl_check_map_versions): Likewise.
12582         (_dl_sort_fini): Likewise.
12583         (_dl_debug_initialize): Likewise.
12584         (_dl_init_paths): Likewise.
12585         (_dl_show_auxv): Likewise.
12586         (_dl_next_ld_env_entry): Likewise.
12587         (_dl_important_hwcaps): Likewise.
12588         (_dl_load_cache_lookup): Likewise.
12589         (_dl_update_slotinfo): Likewise.
12590         (_dl_show_scope): Likewise.
12592         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
12593         attribute_hidden.
12594         (_wordcopy_fwd_dest_aligned): Likewise.
12595         (_wordcopy_bwd_aligned): Likewise.
12596         (_wordcopy_bwd_dest_aligned): Likewise.
12598         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
12599         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
12600         Likewise.
12601         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
12602         Likewise.
12603         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
12605 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12607         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
12608         GCC 5 requirement.
12610 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
12612         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
12613         test.
12614         * sysdeps/i386/configure: Regenerated.
12615         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
12616         code unconditional.
12618         * configure.ac (libc_cv_asm_previous_directive): Remove configure
12619         test.
12620         (libc_cv_asm_popsection_directive): Likewise.
12621         * configure: Regenerated.
12622         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
12623         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
12624         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
12625         (__make_section_unallocated): Make definition unconditional.
12626         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
12627         Remove conditional definition.
12628         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
12629         (__make_section_unallocated): Likewise.
12631         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
12632         * configure: Regenerated.
12633         * config.make.in (static-libgcc): Remove variable.
12634         * Makerules (build-shlib-helper): Use -static-libgcc instead of
12635         $(static-libgcc).
12636         (build-module-helper): Likewise.
12638         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
12639         * configure: Regenerated.
12641 2015-10-15  Florian Weimer  <fweimer@redhat.com>
12643         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
12644         (struct char_buffer): New type.
12645         (char_buffer_start, char_buffer_size, char_buffer_error)
12646         (char_buffer_rewind, char_buffer_add): New functions.
12647         (ADDW): Remove macro, replaced by the char_buffer_add function.
12648         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
12649         of extend_alloca.  Make control flow more explicit.
12651 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12653         [BZ #19137]
12654         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
12655         Add -fomit-frame-pointer.
12656         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
12658 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12660         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
12661         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
12662         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
12663         only if !__GNUC_PREREQ (5,0).
12664         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
12665         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
12666         (INTERNAL_SYSCALL_NCS): Likewise.
12667         (LOADREGS_0): New macro for GCC 5.
12668         (ASMARGS_0): Likewise.
12669         (LOADREGS_1): Likewise.
12670         (ASMARGS_1): Likewise.
12671         (LOADREGS_2): Likewise.
12672         (ASMARGS_2): Likewise.
12673         (LOADREGS_3): Likewise.
12674         (ASMARGS_3): Likewise.
12675         (LOADREGS_4): Likewise.
12676         (ASMARGS_4): Likewise.
12677         (LOADREGS_5): Likewise.
12678         (ASMARGS_5): Likewise.
12679         (LOADREGS_6): Likewise.
12680         (ASMARGS_6): Likewise.
12682 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12684         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
12685         -fomit-frame-pointer.
12686         (CFLAGS-mmap64.c): Likewise.
12687         (CFLAGS-semtimedop.c): Likewise.
12688         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
12689         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
12690         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12691         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
12693 2015-10-15  Florian Weimer  <fweimer@redhat.com>
12695         [BZ #18928]
12696         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
12697         _dl_pointer_guard member.
12698         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
12699         initializer.
12700         (security_init): Always set up pointer guard.
12701         (process_envvars): Do not process LD_POINTER_GUARD.
12703 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
12705         [BZ #19134]
12706         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
12707         (.LC2): Likewise.
12708         (.LC3): Likewise.
12709         (__lround): Do not add 0.5 to integer or out-of-range arguments.
12711 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12713         [BZ #19129]
12714         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
12715         r0 and r1.
12717 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
12719         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
12721 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
12723         * include/stap-probe.h: Fix macro definition formatting.
12725 2015-10-14  Florian Weimer  <fweimer@redhat.com>
12727         [BZ #19074]
12728         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
12729         load and store num_ifs.
12731 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12733         [BZ #18822]
12734         * sysdeps/unix/sysv/linux/sched_getaffinity.c
12735         (__sched_getaffinity_new): Add libc_hidden_proto and
12736         libc_hidden_def.
12738 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12740         [BZ #19007]
12741         * scripts/localplt.awk: Also allow GOT references.
12742         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
12743         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
12744         with "+ REL R_386_GLOB_DAT".
12745         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
12746         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
12748 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12750         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
12751         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12752         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
12753         Likewise.
12754         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
12755         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
12756         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
12757         INTERNAL_SYSCALLINTERNAL_SYSCALL and
12758         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12759         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
12760         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12761         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
12762         Likewise.
12763         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12765 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
12767         [BZ #19125]
12768         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
12769         <math_private.h> and <stdint.h>.
12770         (__llround): Avoid conversions to and from long long int, and
12771         subtractions, where those might raise spurious exceptions.
12772         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
12773         <math_private.h> and <stdint.h>.
12774         (__llroundf): Avoid conversions to and from long long int, and
12775         subtractions, where those might raise spurious exceptions.
12777 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12779         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
12780         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12781         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12782         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
12783         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12784         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12785         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
12786         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
12787         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
12788         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12789         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12790         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12791         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
12792         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12793         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12794         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
12795         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
12796         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
12797         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
12798         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
12799         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
12800         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
12801         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
12802         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
12803         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
12804         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
12805         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
12806         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
12807         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12808         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
12809         (__xstat64_conv): Likewise.
12810         (__xstat32_conv): Likewise.
12812 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12814         * sysdeps/unix/sysv/linux/sysdep.h: New file.
12815         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
12816         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
12817         <sysdeps/unix/sysv/linux/sysdep.h>.
12818         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
12819         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
12820         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
12821         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12822         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
12823         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
12824         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
12825         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
12826         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
12827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12829         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12830         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12831         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12832         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
12833         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12834         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
12835         (sysdep-dl-routines): Add sysdep.
12836         [$(subdir) == nptl] (libpthread-routines): Likewise.
12837         [$(subdir) == rt] (librt-routines): Likewise.
12838         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
12839         PIC when branching to SYSCALL_ERROR_LABEL.
12840         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
12841         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
12842         <sysdeps/unix/sysv/linux/sysdep.h>.
12843         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
12844         (SYSCALL_ERROR_ERRNO): Removed.
12845         (SYSCALL_ERROR_HANDLER): Changed to empty.
12846         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
12847         (__syscall_error): New prototype.
12848         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
12849         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
12851 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12853         [BZ #19124]
12854         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
12855         (_dl_runtime_resolve_avx512): Make it a hidden alias of
12856         _dl_runtime_resolve_avx.
12857         (_dl_runtime_profile_avx512): Make it a hidden alias of
12858         _dl_runtime_profile_avx.
12860 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
12862         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
12863         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
12864         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
12865         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
12867         [BZ #16422]
12868         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
12869         New configure test.
12870         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
12871         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
12872         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
12873         <math_private.h> and <stdint.h>.
12874         (__llrint): Avoid conversions to long long int where those might
12875         raise spurious exceptions.
12876         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
12877         <math_private.h> and <stdint.h>.
12878         (__llrintf): Avoid conversions to long long int where those might
12879         raise spurious exceptions.
12881 2015-10-12  Andreas Schwab  <schwab@suse.de>
12883         [BZ #18969]
12884         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
12885         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
12886         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
12887         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
12888         $(gen-locales).
12889         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
12890         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
12891         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
12892         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
12893         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
12894         $(gen-locales).
12895         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
12896         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
12897         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
12898         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
12899         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
12900         ($(objpfx)tst-ftell-active-handler.out)
12901         ($(objpfx)tst-ftell-append.out)
12902         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
12903         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
12904         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
12905         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
12906         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
12907         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
12908         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
12909         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
12910         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
12911         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
12912         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
12913         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
12914         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
12915         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
12916         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
12917         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
12918         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
12919         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
12920         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
12921         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
12922         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
12923         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
12924         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
12925         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
12926         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
12927         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
12928         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
12929         $(gen-locales).
12930         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
12931         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
12932         $(gen-locales).
12933         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
12934         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
12935         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
12936         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
12937         $(gen-locales).
12938         * libio/tst_wprintf2.c (main): Use explicit locale.
12939         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
12941 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12943         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
12944         __msg_sig_post.
12945         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
12947 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
12949         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12950         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12952         * sysdeps/arm/libm-test-ulps: Regenerated.
12954         [BZ #15470]
12955         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
12957         [BZ #16399]
12958         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
12959         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
12960         and <fix-fp-int-convert-overflow.h>.
12961         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
12962         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12963         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
12964         and <fix-fp-int-convert-overflow.h>.
12965         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
12966         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12967         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
12968         <fix-fp-int-convert-overflow.h>.
12969         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
12970         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12971         * sysdeps/ieee754/dbl-64/s_lround.c: Include
12972         <fix-fp-int-convert-overflow.h>.
12973         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
12974         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12975         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
12976         and <fix-fp-int-convert-overflow.h>.
12977         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
12978         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12979         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
12980         <limits.h> and <fix-fp-int-convert-overflow.h>.
12981         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
12982         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12983         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
12984         and <fix-fp-int-convert-overflow.h>.
12985         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
12986         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12987         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
12988         and <fix-fp-int-convert-overflow.h>.
12989         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
12990         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12991         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
12993 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
12995         [BZ #18589]
12996         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
12997         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
12998         $(gen-locales).
13000 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13001             Phil Blundell <pb@pbcl.net>
13003         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
13004         * nptl/tst-cancel26.c: New file.
13005         * nptl/tst-cancel27.c: Likewise.
13007 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
13009         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
13010         __ILP32__ isn't defined.
13011         (lrint): Likewise.
13012         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
13013         (lrintf): Likewise.
13014         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
13015         (lrintl): Likewise.
13016         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
13017         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
13018         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
13020 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13022         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13023         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13025         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
13026         file.
13027         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
13028         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
13030 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13032         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
13033         configure test.
13034         * sysdeps/i386/configure: Regenerated.
13035         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
13036         configure test.
13037         * sysdeps/x86_64/configure: Regenerated.
13038         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
13039         Make code unconditional.
13041         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
13042         test.
13043         * sysdeps/i386/configure: Regenerated.
13044         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
13045         test.
13046         * sysdeps/x86_64/configure: Regenerated.
13047         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
13048         Make code unconditional.
13049         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
13050         Likewise.
13051         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
13052         Likewise.
13053         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13054         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
13055         code unconditional.
13056         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13057         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
13058         code unconditional.
13059         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13060         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
13061         code unconditional.
13062         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
13063         code unconditional.
13064         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13065         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
13066         code unconditional.
13067         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13068         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
13069         code unconditional.
13070         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13071         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
13072         code unconditional.
13073         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13074         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
13075         code unconditional.
13076         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13077         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
13079         [BZ #19095]
13080         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
13081         mantissa to long int before shifting left.
13083 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
13085         [BZ #19094]
13086         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
13087         <limits.h>.
13088         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13089         when result overflows but exception would not result from cast.
13090         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
13091         <limits.h>.
13092         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13093         when result overflows but exception would not result from cast.
13094         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
13095         <limits.h>.
13096         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13097         when result overflows but exception would not result from cast.
13098         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
13099         <limits.h>.
13100         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13101         when result overflows but exception would not result from cast.
13102         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
13103         <limits.h>.
13104         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13105         when result overflows but exception would not result from cast.
13106         * math/libm-test.inc (lrint_test_data): Add more tests.
13107         (llrint_test_data): Likewise.
13109 2015-10-08  Roland McGrath  <roland@hack.frob.com>
13111         [BZ #18872]
13112         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
13113         Move out from under [$(run-built-tests) = yes] conditional.
13114         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
13115         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
13117 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
13119         [BZ #18589]
13120         * string/Makefile (tests): Add bug-strcoll2.
13121         (LOCALES): Add cs_CZ.UTF-8.
13122         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
13124         [BZ #18589]
13125         * string/bug-strcoll2.c: New file.
13126         * locale/categories.def: Revert commit
13127         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
13128         * locale/langinfo.h: Likewise.
13129         * locale/localeinfo.h: Likewise.
13130         * locale/C-collate.c: Likewise.
13131         * locale/programs/ld-collate.c (collate_output): Likewise.
13132         * string/strcoll_l.c (STRDIFF): Likewise.
13133         (STRCOLL): Likewise.
13134         * wcsmbs/wcscoll_l.c: Likewise.
13136 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
13138         * math/libm-test.inc (lround_test_data): Do not expect the absence
13139         of "inexact" for some tests with non-integer arguments.
13140         (llround_test_data): Likewise.
13142         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
13143         test.
13144         (libc_cv_cc_sse2avx): Likewise.
13145         * sysdeps/i386/configure: Regenerated.
13146         * sysdeps/i386/i686/multiarch/Makefile
13147         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
13148         [$(subdir) = math].
13149         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
13150         code unconditional.
13151         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13152         Likewise.
13153         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
13154         Likewise.
13155         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13156         Likewise.
13157         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
13158         test.
13159         (libc_cv_cc_sse2avx): Likewise.
13160         * sysdeps/x86_64/configure: Regenerated.
13161         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
13162         unconditional.
13163         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
13164         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
13165         unconditional.
13166         (_dl_runtime_profile)
13167         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
13168         conditional code.
13169         * sysdeps/x86_64/fpu/multiarch/Makefile
13170         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
13171         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
13172         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13173         * sysdeps/x86_64/fpu/multiarch/e_exp.c
13174         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13175         * sysdeps/x86_64/fpu/multiarch/e_log.c
13176         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13177         * sysdeps/x86_64/fpu/multiarch/s_atan.c
13178         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13179         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13180         Likewise.
13181         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13182         Likewise.
13183         * sysdeps/x86_64/fpu/multiarch/s_sin.c
13184         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13185         * sysdeps/x86_64/fpu/multiarch/s_tan.c
13186         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13187         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
13188         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
13189         (HAVE_SSE2AVX_SUPPORT): Likewise.
13191 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
13193         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
13194         instead of #pragma optimize.
13196 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13198         [BZ #17195]
13199         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
13200         as is similarly done in systrim and _int_free already.
13202 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13204         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
13206 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13208         [BZ #19088]
13209         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
13210         <limits.h>.
13211         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13212         overflows but exception would not result from cast.
13213         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
13214         and <limits.h>.
13215         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13216         overflows but exception would not result from cast.
13217         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
13218         <limits.h>.
13219         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13220         overflows but exception would not result from cast.
13221         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
13222         <limits.h>.
13223         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13224         overflows but exception would not result from cast.
13225         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
13226         <limits.h>.
13227         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13228         overflows but exception would not result from cast.
13229         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
13230         <limits.h>.
13231         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13232         overflows but exception would not result from cast.
13233         * math/libm-test.inc (lround_test_data): Add more tests.
13234         (llround_test_data): Likewise.
13236 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
13238         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
13239         (CFLAGS-ialloc.c): Ditto.
13240         (CFLAGS-scheck.c): Ditto.
13242 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13244         [BZ #19086]
13245         * manual/filesys.texi (Storage Allocation): Fix argument order for
13246         posix_fallocate64.
13248 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13250         [BZ #19085]
13251         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
13252         exponent below 48 inside case for non-overflowing exponent.
13253         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
13255 2015-10-07  Florian Weimer  <fweimer@redhat.com>
13257         * iconvdata/cp737.h (from_idx): Add const.
13258         * iconvdata/cp775.h (from_idx): Likewise.
13260 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13262         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
13263         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
13264         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
13266         [BZ #19079]
13267         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
13268         file, conditioned on [!_LP64].
13269         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
13270         [!_LP64] (__lround): Do not define as function or alias.
13271         [!_LP64] (lround): Likewise.
13272         [!_LP64] (__lroundl): Likewise.
13273         [!_LP64] (lroundl): Likewise.
13274         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
13275         macro.
13276         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
13277         Likewise.
13279 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13281         * math/libm-test.inc (lrint_test_data): Add more tests.
13282         (llrint_test_data): Likewise.
13283         (lround_test_data): Likewise.
13284         (llround_test_data): Likewise.
13286         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
13287         (llrint_test_data): Add tests used for lrint.
13289         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
13290         test.
13291         * sysdeps/i386/configure: Regenerated.
13292         * sysdeps/i386/i686/multiarch/Makefile
13293         [$(config-cflags-sse4) = yes]: Make code unconditional.
13294         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13295         Likewise.
13296         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
13297         Likewise.
13298         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
13299         test.
13300         * sysdeps/x86_64/configure: Regenerated.
13301         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
13302         Make code unconditional.
13303         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13304         Likewise.
13305         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
13306         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
13308         * scripts/rpm2dynsym.sh: Remove file.
13310 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13312         * configure.ac (libc_cv_cxx_thread_local): Define.
13313         * configure: Regenerate.
13314         * config.make.in (have-cxx-thread_local): Define.
13315         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
13316         (LDLIBS-tst-thread_local1): Define.
13317         (tests): Add tst-thread_local1.
13318         [have-cxx-thread_local != yes] (tests-unsupported): Add
13319         tst-thread_local1.
13320         * nptl/tst-thread_local1.cc: New file.
13322 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13324         [BZ #19078]
13325         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
13326         (u_thres): Likewise.
13327         (__expl): Determine whether to call __kernel_standard_l based on
13328         value of result, not argument.
13330         * math/libm-test.inc (scalb_test_data): Add more expectations for
13331         the "inexact" exception.
13333         [BZ #19077]
13334         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
13335         0.0L for argument 1.0L.
13337         [BZ #19076]
13338         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
13339         constant 0.0L when computing infinite result.
13341 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13343         [BZ #10432]
13344         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
13345         malloc_usable_size.
13347 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13349         [BZ #19018]
13350         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13351         Mangle function pointer before storing it.
13352         (__call_tls_dtors): Demangle function pointer before calling it.
13354 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13356         [BZ #19012]
13357         * iconv/gconv_db.c (gen_steps): Check for additional errors.
13358         Clean up on failure.
13360 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
13362         [BZ #19071]
13363         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
13364         long int variable to store possibly incremented high part of
13365         mantissa.
13366         * math/libm-test.inc (lround_test_data): Add tests used for
13367         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
13368         for tests requiring 64-bit long.  Do not condition tests on
13369         [TEST_FLOAT] unnecessarily.
13370         (llround_test_data): Add tests used for lround.  Add another
13371         expectation for the "inexact" exception.  Do not condition tests
13372         on [TEST_FLOAT] unnecessarily.
13374         [BZ #887]
13375         [BZ #19049]
13376         [BZ #19050]
13377         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
13378         * sysdeps/ieee754/dbl-64/e_log10.c: Include
13379         <fix-int-fp-convert-zero.h>.
13380         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13381         * sysdeps/ieee754/dbl-64/e_log2.c: Include
13382         <fix-int-fp-convert-zero.h>.
13383         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13384         * sysdeps/ieee754/dbl-64/s_erf.c: Include
13385         <fix-int-fp-convert-zero.h>.
13386         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13387         * sysdeps/ieee754/dbl-64/s_logb.c: Include
13388         <fix-int-fp-convert-zero.h>.
13389         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13390         * sysdeps/ieee754/flt-32/e_log10f.c: Include
13391         <fix-int-fp-convert-zero.h>.
13392         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13393         * sysdeps/ieee754/flt-32/e_log2f.c: Include
13394         <fix-int-fp-convert-zero.h>.
13395         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13396         * sysdeps/ieee754/flt-32/s_erff.c: Include
13397         <fix-int-fp-convert-zero.h>.
13398         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13399         * sysdeps/ieee754/flt-32/s_logbf.c: Include
13400         <fix-int-fp-convert-zero.h>.
13401         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13402         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
13403         <fix-int-fp-convert-zero.h>.
13404         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13405         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
13406         <fix-int-fp-convert-zero.h>.
13407         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13408         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
13409         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
13410         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
13411         file.
13412         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
13414 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
13416         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13418 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
13420         [BZ #19059]
13421         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
13422         overflowing computation.
13423         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13424         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13425         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13426         Likewise.
13427         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13428         Likewise.
13429         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13430         Likewise.
13431         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13432         Likewise.
13433         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13434         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13435         Likewise.
13436         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13437         Likewise.
13438         * math/libm-test.inc (nexttoward_test_data): Add more tests.
13440         * nss/rewrite_field.c (__nss_rewrite_field): Use
13441         internal_function.
13442         * nss/valid_field.c (__nss_valid_field): Likewise.
13443         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
13445 2015-10-02  Florian Weimer  <fweimer@redhat.com>
13447         [BZ #18724]
13448         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
13449         (__nss_invalid_field_characters, __nss_valid_field)
13450         (__nss_valid_list_field, __nss_rewrite_field): Declare.
13451         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
13452         tst-field.c: New file.
13453         * nss/Makefile (routines): Add valid_field, rewrite_field.
13454         (tests-static): Define unconditionally.
13455         (tests): Include tests-static.
13456         [build-static-nss] (tests-static): Use append.
13457         [build-static-nss] (tests): Remove modification.
13458         * nss/getent.c (print_group): Call putgrent.  Report error.
13459         (print_gshadow): Call putsgent.  Report error.
13460         (print_passwd): Call putpwent.  Report error.
13461         (print_shadow): Call putspent.  Report error.
13462         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
13463         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
13464         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
13465         name, password, directory, shell fields for valid syntax.  Rewrite
13466         GECOS field to match syntax.
13467         * pwd/Makefile (tests): Add tst-putpwent.
13468         * pwd/tst-putpwent.c: New file.
13469         * grp/putgrent.c (putgrent): Convert to ISO function definition.
13470         Check grName, grpasswd, gr_mem fields for valid syntax.
13471         Change loop variable i to size_t.
13472         * grp/Makefile (tests): Add tst-putgrent.
13473         * grp/tst-putgrent.c: New file.
13474         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
13475         valid syntax.
13476         * shadow/Makefile (tests): Add tst-putspent.
13477         * shadow/tst-putspent.c: New file.
13478         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
13479         sg_mem fields for valid syntax.
13480         * gshadow/Makefile (tests): Add tst-putsgent.
13481         * gshadow/tst-putsgent.c: New file.
13483 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13485         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
13486         assembly instructions.
13488 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13490         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
13491         prefix from operands.
13493 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
13495         [BZ #16347]
13496         [BZ #19046]
13497         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
13498         <libc-internal.h>.
13499         (MAXLGM): Do not use diagnostic control macros.
13500         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
13501         threshold for ldbl-128ibm.
13502         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
13503         instead of multiplying by log then subtracting.
13504         * math/auto-libm-test-in: Add more tests of lgamma.
13505         * math/auto-libm-test-out: Regenerated.
13507         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
13508         (TYPE_HEX_DIG): Likewise.
13509         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
13510         precisions when printing floating-point numbers.
13511         (check_float_internal): Likewise.
13513 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
13515         [BZ #16620]
13516         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
13517         of log (10) rounded downward to 48 bits.
13518         (log10_low): Use corresponding low part of log (10).
13520         [BZ #19032]
13521         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
13522         compute result as (x - x) / (x - x) not as 0 / 0.
13523         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13524         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
13526         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13527         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
13528         and expm1.
13529         * math/auto-libm-test-out: Regenerated.
13530         * math/libm-test.inc (acos_test_data): Add more tests.
13531         (asin_test_data): Likewise.
13532         (asinh_test_data): Likewise.
13533         (atan_test_data): Likewise.
13534         (atanh_test_data): Likewise.
13535         (atan2_test_data): Likewise.
13536         (cbrt_test_data): Likewise.
13537         (ceil_test_data): Likewise.
13538         (copysign_test_data): Likewise.
13539         (cos_test_data): Likewise.
13540         (cosh_test_data): Likewise.
13541         (erf_test_data): Likewise.
13542         (erfc_test_data): Likewise.
13543         (exp_test_data): Likewise.
13544         (exp10_test_data): Likewise.
13545         (exp2_test_data): Likewise.
13546         (expm1_test_data): Likewise.
13547         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13549 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
13551         [BZ #19006]
13552         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
13553         to ...
13554         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
13555         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
13556         to ...
13557         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
13558         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
13559         to ...
13560         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
13561         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
13562         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
13563         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
13564         to ...
13565         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
13566         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13567         Moved to ...
13568         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
13569         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13570         Moved to ...
13571         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
13572         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
13573         to ...
13574         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
13575         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13576         Moved to ...
13577         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
13578         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
13579         to ...
13580         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
13581         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
13582         Removed.
13583         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
13584         Likewise.
13585         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
13586         Likewise.
13587         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
13588         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
13589         Likewise.
13590         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13591         Likewise.
13592         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13593         Likewise.
13594         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13595         Likewise.
13596         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13597         Likewise.
13598         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
13599         Likewise.
13600         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
13601         Likewise.
13602         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
13603         Likewise.
13604         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
13605         Likewise.
13606         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
13607         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
13608         Likewise.
13609         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13610         Likewise.
13611         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13612         Likewise.
13613         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13614         Likewise.
13615         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
13616         Likewise.
13617         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13618         Replace ../i486/pthread_cond_timedwait.S with
13619         ../pthread_cond_timedwait.S.
13621 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
13623         * math/libm-test.inc (acos_test_data): Refine expectations for
13624         errno and "inexact" exceptions.
13625         (acosh_test_data): Likewise.
13626         (asin_test_data): Likewise.
13627         (asinh_test_data): Likewise.
13628         (atan_test_data): Likewise.
13629         (atanh_test_data): Likewise.
13630         (atan2_test_data): Likewise.
13631         (cbrt_test_data): Likewise.
13632         (ceil_test_data): Likewise.
13633         (copysign_test_data): Likewise.
13634         (cosh_test_data): Likewise.
13635         (erf_test_data): Likewise.
13636         (erfc_test_data): Likewise.
13637         (exp_test_data): Likewise.
13638         (exp10_test_data): Likewise.
13639         (exp2_test_data): Likewise.
13640         (expm1_test_data): Likewise.
13641         (fabs_test_data): Likewise.
13642         (floor_test_data): Likewise.
13643         (fma_test_data): Likewise.
13644         (fmax_test_data): Likewise.
13645         (fmin_test_data): Likewise.
13646         (fmod_test_data): Likewise.
13647         (fpclassify_test_data): Likewise.
13648         (frexp_test_data): Likewise.
13649         (hypot_test_data): Likewise.
13650         (ilogb_test_data): Likewise.
13651         (isgreater_test_data): Likewise.
13652         (isgreaterequal_test_data): Likewise.
13653         (isinf_test_data): Likewise.
13654         (isless_test_data): Likewise.
13655         (islessequal_test_data): Likewise.
13656         (islessgreater_test_data): Likewise.
13657         (isnan_test_data): Likewise.
13658         (isnormal_test_data): Likewise.
13659         (issignaling_test_data): Likewise.
13660         (isunordered_test_data): Likewise.
13661         (j0_test_data): Likewise.
13662         (j1_test_data): Likewise.
13663         (jn_test_data): Likewise.
13664         (lgamma_test_data): Likewise.
13665         (lrint_test_data): Likewise.
13666         (llrint_test_data): Likewise.
13667         (log_test_data): Likewise.
13668         (log10_test_data): Likewise.
13669         (log1p_test_data): Likewise.
13670         (log2_test_data): Likewise.
13671         (logb_test_data): Likewise.
13672         (lround_test_data): Likewise.
13673         (llround_test_data): Likewise.
13674         (modf_test_data): Likewise.
13675         (nearbyint_test_data): Likewise.
13676         (nextafter_test_data): Likewise.
13677         (nexttoward_test_data): Likewise.
13678         (pow_test_data): Likewise.
13679         (remainder_test_data): Likewise.
13680         (remquo_test_data): Likewise.
13681         (rint_test_data): Likewise.
13682         (round_test_data): Likewise.
13683         (signbit_test_data): Likewise.
13684         (sinh_test_data): Likewise.
13685         (sqrt_test_data): Likewise.
13686         (tanh_test_data): Likewise.
13687         (tgamma_test_data): Likewise.
13688         (trunc_test_data): Likewise.
13689         (y0_test_data): Likewise.
13690         (y1_test_data): Likewise.
13691         (yn_test_data): Likewise.
13692         (significand_test_data): Likewise.
13694 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
13696         * manual/filesys.texi (Storage Allocation): Document that
13697         posix_fallocate emulation fails when fd is open with O_WRONLY.
13699 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
13701         [BZ #19016]
13702         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
13703         allow more cases with X^2 + Y^2 >= 0.5.
13704         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
13705         normal element in sum instead of special-casing based on values of
13706         arguments.
13707         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
13708         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
13709         -1 as normal element in sum instead of special-casing based on
13710         values of arguments.
13711         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
13712         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
13713         (__x2y2m1): Update comment.
13714         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
13715         as normal element in sum instead of special-casing based on values
13716         of arguments.
13717         * math/s_clog.c (__clog): Handle more cases using log1p without
13718         hypot.
13719         * math/s_clog10.c (__clog10): Likewise.
13720         * math/s_clog10f.c (__clog10f): Likewise.
13721         * math/s_clog10l.c (__clog10l): Likewise.
13722         * math/s_clogf.c (__clogf): Likewise.
13723         * math/s_clogl.c (__clogl): Likewise.
13724         * math/auto-libm-test-in: Add more tests of clog and clog10.
13725         * math/auto-libm-test-out: Regenerated.
13726         * sysdeps/i386/fpu/libm-test-ulps: Update.
13727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13729 2015-09-28  Martin Sebor  <msebor@redhat.com>
13731         [BZ #18969]
13732         * string/Makefile (LOCALES): Define.
13733         (gen-locales.mk): Include.
13734         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
13735         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
13736         * string/tst-strxfrm2.c (do_test): Print the name of the locale
13737         on setlocale failure.
13739 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
13741         [BZ #18985]
13742         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
13743         (__strftime_internal): Likewise.
13744         * time/tst-strftime.c (do_bz18985): New test.
13745         (do_test): Call it.
13747 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
13749         [BZ #18956]
13750         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
13751         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
13752         extracting high part.
13753         * math/auto-libm-test-in: Add another test of pow.
13754         * math/auto-libm-test-out: Regenerated.
13755         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13757 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
13759         [BZ #18825]
13760         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
13761         New macro.
13762         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
13763         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13764         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
13765         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
13766         DBL_NARROW_EVAL, reloading the PIC register as needed.
13767         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
13768         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
13769         FLT_NARROW_EVAL.  Use separate return path for case when first
13770         argument is NaN.
13771         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
13772         DEFINE_LDBL_MIN.
13773         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
13774         PIC register.
13775         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
13776         math_check_force_underflow_nonneg.
13777         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
13778         underflow for subnormal result.
13779         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13780         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
13781         math_check_force_underflow_nonneg.
13782         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
13783         math_check_force_underflow.
13784         * sysdeps/x86_64/fpu/x86_64-math-asm.h
13785         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
13786         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
13787         DEFINE_LDBL_MIN.
13788         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
13789         * math/auto-libm-test-in: Add more tests of pow.
13790         * math/auto-libm-test-out: Regenerated.
13792 2015-09-25  Florian Weimer  <fweimer@redhat.com>
13794         * nss/bug17079.c (init_test_items): Add diagnostic for
13795         inconsistent entries.
13796         (test_buffer_size): Skip inconsistent entries.
13798 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
13800         [BZ #13304]
13801         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
13802         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
13803         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
13805         [BZ #13304]
13806         * sysdeps/microblaze/s_fma.c: New file.
13807         * sysdeps/microblaze/s_fmaf.c: Likewise.
13808         * sysdeps/microblaze/sfp-machine.h: Likewise.
13810 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
13812         [BZ #17250]
13813         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
13814         member.
13816 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
13818         [BZ #18803]
13819         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
13820         (MO): New macro.
13821         (__ieee754_hypot) [PIC]: Load PIC register.
13822         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
13823         DBL_NARROW_EVAL.
13824         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
13825         math_check_force_underflow_nonneg in case where result might be
13826         tiny.
13827         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13828         Likewise.
13829         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13830         Likewise.
13831         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13832         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
13833         * math/auto-libm-test-in: Add more tests of hypot.
13834         * math/auto-libm-test-out: Regenerated.
13836 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
13838         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
13840 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
13842         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
13843         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
13844         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
13845         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
13846         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
13847         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
13848         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
13850         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
13851         LOAD_PIC_REG.
13853         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
13854         (FLT_CHECK_FORCE_UFLOW): Likewise.
13855         (DBL_CHECK_FORCE_UFLOW): Likewise.
13856         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
13857         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
13858         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
13859         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13860         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13861         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13862         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13863         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13864         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
13865         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13866         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
13867         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
13868         (flt_min): Replace with use of DEFINE_FLT_MIN.
13869         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
13870         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
13871         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13872         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
13873         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
13874         (flt_min): Replace with use of DEFINE_FLT_MIN.
13875         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
13876         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
13877         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13878         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
13879         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
13880         (flt_min): Replace with use of DEFINE_FLT_MIN.
13881         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
13882         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
13883         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
13884         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
13885         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
13886         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
13887         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
13888         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
13889         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13890         (__atan): Use DBL_CHECK_FORCE_UFLOW.
13891         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
13892         (flt_min): Replace with use of DEFINE_FLT_MIN.
13893         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
13894         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
13895         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13896         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
13897         main computation.
13898         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
13899         (flt_min): Replace with use of DEFINE_FLT_MIN.
13900         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
13901         main computation.
13902         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
13903         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13904         (MO): New macro.
13905         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
13906         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
13907         (flt_min): Replace with use of DEFINE_FLT_MIN.
13908         (MO): New macro.
13909         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
13910         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
13911         (__log1pl): Use MO.
13913         [BZ #19003]
13914         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
13915         $(config-cflags-nofma).
13917 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13919         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13921 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
13923         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
13924         (TWO127): Likewise.
13926         * sysdeps/generic/math_private.h (fabs_tg): New macro.
13927         (min_of_type): Likewise.
13928         (math_check_force_underflow): Likewise.
13929         (math_check_force_underflow_nonneg): Likewise.
13930         (math_check_force_underflow_complex): Likewise.
13931         * math/e_exp2l.c (__ieee754_exp2l): Use
13932         math_check_force_underflow_nonneg.
13933         * math/k_casinh.c (__kernel_casinh): Likewise.
13934         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13935         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13936         * math/s_catan.c (__catan): Use
13937         math_check_force_underflow_complex.
13938         * math/s_catanf.c (__catanf): Likewise.
13939         * math/s_catanh.c (__catanh): Likewise.
13940         * math/s_catanhf.c (__catanhf): Likewise.
13941         * math/s_catanhl.c (__catanhl): Likewise.
13942         * math/s_catanl.c (__catanl): Likewise.
13943         * math/s_ccosh.c (__ccosh): Likewise.
13944         * math/s_ccoshf.c (__ccoshf): Likewise.
13945         * math/s_ccoshl.c (__ccoshl): Likewise.
13946         * math/s_cexp.c (__cexp): Likewise.
13947         * math/s_cexpf.c (__cexpf): Likewise.
13948         * math/s_cexpl.c (__cexpl): Likewise.
13949         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
13950         * math/s_clog10.c (__clog10): Likewise.
13951         * math/s_clog10f.c (__clog10f): Likewise.
13952         * math/s_clog10l.c (__clog10l): Likewise.
13953         * math/s_clogf.c (__clogf): Likewise.
13954         * math/s_clogl.c (__clogl): Likewise.
13955         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
13956         * math/s_csinf.c (__csinf): Likewise.
13957         * math/s_csinh.c (__csinh): Likewise.
13958         * math/s_csinhf.c (__csinhf): Likewise.
13959         * math/s_csinhl.c (__csinhl): Likewise.
13960         * math/s_csinl.c (__csinl): Likewise.
13961         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
13962         * math/s_csqrtf.c (__csqrtf): Likewise.
13963         * math/s_csqrtl.c (__csqrtl): Likewise.
13964         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
13965         * math/s_ctanf.c (__ctanf): Likewise.
13966         * math/s_ctanh.c (__ctanh): Likewise.
13967         * math/s_ctanhf.c (__ctanhf): Likewise.
13968         * math/s_ctanhl.c (__ctanhl): Likewise.
13969         * math/s_ctanl.c (__ctanl): Likewise.
13970         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
13971         instead of volatile.
13972         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
13973         math_check_force_underflow.
13974         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13975         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
13976         volatile when forcing underflow.
13977         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13978         math_check_force_underflow_nonneg.
13979         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
13980         Likewise.
13981         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
13982         math_check_force_underflow.
13983         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13984         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13985         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13986         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
13987         math_check_force_underflow_nonneg.
13988         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
13989         math_check_force_underflow.
13990         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
13991         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
13992         instead of volatile.
13993         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
13994         math_check_force_underflow.
13995         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
13996         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13997         math_check_force_underflow_nonneg.
13998         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
13999         math_check_force_underflow.
14000         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14001         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14002         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
14003         math_check_force_underflow_nonneg.
14004         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14005         Likewise.
14006         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
14007         math_check_force_underflow.
14008         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14009         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14010         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
14011         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
14012         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14013         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
14014         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
14015         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
14016         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14017         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
14018         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14019         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
14020         Likewise.
14021         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
14022         math_check_force_underflow_nonneg.
14023         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14024         Likewise.
14025         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
14026         math_check_force_underflow.
14027         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14028         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
14029         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14030         Likewise.
14031         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
14032         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
14033         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
14034         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
14035         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
14036         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
14037         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
14038         instead of volatile.
14039         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
14040         math_check_force_underflow.
14041         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
14042         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
14043         math_check_force_underflow.
14044         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
14045         Likewise.
14046         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14047         Use math_check_force_underflow_nonneg.
14048         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
14049         math_check_force_underflow.
14050         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
14051         Likewise.
14052         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14053         Likewise.
14054         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14055         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14056         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14057         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14058         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
14059         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14060         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14061         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
14062         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
14063         math_check_force_underflow_nonneg.
14064         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
14065         math_check_force_underflow.
14066         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14067         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
14068         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
14069         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
14070         math_check_force_underflow_nonneg.
14071         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
14072         math_check_force_underflow.
14073         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
14074         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
14075         instead of volatile.
14076         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
14077         math_check_force_underflow.
14079         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
14080         * stdlib/strtod_l.c: Include <math_private.h>.
14081         (overflow_value): Use math_narrow_eval.
14082         (underflow_value): Likewise.
14083         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14084         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14085         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14086         (__ieee754_gamma_r): Likewise.
14087         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
14088         Likewise.
14089         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
14090         Likewise.
14091         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
14092         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
14093         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
14094         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
14095         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14096         (__ieee754_gammaf_r): Likewise.
14097         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14098         Likewise.
14099         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
14100         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
14101         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
14102         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
14103         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
14104         volatile.
14105         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
14106         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
14107         math_narrow_eval.
14108         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
14109         Likewise.
14110         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14111         Likewise.
14112         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
14113         Likewise.
14114         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
14115         volatile.
14116         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
14117         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
14118         math_narrow_eval.
14119         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14120         Likewise.
14121         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14122         Likewise.
14124 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
14126         * nptl/Versions: Remove ignored symbols.
14128 2015-09-22  Florian Weimer  <fweimer@redhat.com>
14130         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
14131         * nss/Makefile (tests): Update.
14133 2015-09-22  Florian Weimer  <fweimer@redhat.com>
14135         * nss/bug18287.c: New file.
14136         * nss/Makefile (tests): Add bug18287.
14138 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14140         * mach/Versions (__mach_host_self_): Add symbol.
14142 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14144         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
14145         vm_page_size.
14147 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14149         Really fix sysdeps/i386/fpu/s_scalbn.S build
14151         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
14152         (libc: GLIBC_2_22): Remove unused version set.
14154 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
14156         * config.make.in (enable-timezone-tools): New variable.
14157         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
14158         (enable_timezone_tools): Export to generated files.
14159         * configure: Regenerate.
14160         * INSTALL: Regenerate.
14161         * manual/install.texi (--disable-timezone-tools): Document new flag.
14162         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
14163         ifeq ($(enable-timezone-tools),yes) check.
14165 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14167         * timezone/Makefile: Revert previous change.
14169         [BZ #18980]
14170         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
14171         (DEFINE_DBL_MIN): Likewise.
14172         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14173         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14174         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14175         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14176         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
14177         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14178         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14179         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
14180         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
14181         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14182         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14183         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
14184         (flt_min): Replace with use of DEFINE_FLT_MIN.
14185         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14186         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
14187         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14188         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14189         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
14190         (flt_min): Replace with use of DEFINE_FLT_MIN.
14191         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14192         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
14193         (flt_min): Replace with use of DEFINE_FLT_MIN.
14194         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14195         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
14196         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
14197         (__ieee754_hypot): Use DBL_NARROW_EVAL.
14198         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
14199         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
14200         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
14201         (__ieee754_pow): Use DBL_NARROW_EVAL.
14202         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
14203         (__ieee754_powf): Use FLT_NARROW_EVAL.
14204         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
14205         (__ieee754_expf_sse2): Convert double-precision result to single
14206         precision.
14207         * sysdeps/i386/fpu/libm-test-ulps: Update.
14209 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14211         * timezone/Makefile: Ignore unused variable errors due to private.h
14212         (time_t_min) and (time_t_max).
14213         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
14214         Likewise.
14216 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14218         [BZ #18981]
14219         * sysdeps/i386/fpu/i386-math-asm.h: New file.
14220         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
14221         (__ieee754_scalb): Use DBL_NARROW_EVAL.
14222         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
14223         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
14224         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
14225         (__scalbn): Use DBL_NARROW_EVAL.
14226         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
14227         (__scalbnf): Use FLT_NARROW_EVAL.
14229 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14231         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
14232         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
14233         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
14234         * stdio-common/printf_fp.c (___printf_fp):
14235         Use signbit to get the sign. Use isinf macro to allow inlining.
14236         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
14237         * stdio-common/printf_size.c (__printf_size): Likewise.
14239 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
14241         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
14243 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14245         [BZ #18980]
14246         * sysdeps/generic/math_private.h: Include <float.h>.
14247         (math_narrow_eval): New macro.
14248         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14249         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
14250         math_narrow_eval on overflowing return value.
14251         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
14252         Likewise.
14253         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14254         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
14255         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
14256         Likewise.
14257         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14259 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14261         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
14262         * math/Makefile: Remove isinf_ns.c.
14263         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
14264         * math/multc3.c (__multc3): Likewise.
14265         * math/s_casin.c (__casin): Likewise.
14266         * math/s_casinf.c (__casinf): Likewise.
14267         * math/s_casinl.c (__casinl): Likewise.
14268         * math/s_cproj.c (__cproj): Likewise.
14269         * math/s_cprojf.c (__cprojf): Likewise.
14270         * math/s_cprojl.c (__cprofl): Likewise.
14271         * math/s_ctan.c (__ctan): Likewise.
14272         * math/s_ctanf.c (__ctanf): Likewise.
14273         * math/s_ctanh.c (__ctanh): Likewise.
14274         * math/s_ctanhf.c (__ctanhf): Likewise.
14275         * math/s_ctanhl.c (__ctanhl): Likewise.
14276         * math/s_ctanl.c (__ctanl): Likewise.
14277         * math/w_fmod.c (__fmod): Likewise.
14278         * math/w_fmodf.c (__fmodf): Likewise.
14279         * math/w_fmodl.c (_fmodl): Likewise.
14280         * math/w_remainder.c (__remainder): Likewise.
14281         * math/w_remainderf.c (__remainderf): Likewise.
14282         * math/w_remainderl.c (__remainderl): Likewise.
14283         * math/w_scalb.c (__scalb): Likewise.
14284         * math/w_scalbf.c (__scalbf): Likewise.
14285         * math/w_scalbl.c (__scalbl): Likewise.
14286         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
14287         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
14288         with isinf.
14289         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
14290         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
14291         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
14292         __isinf_nsf with isinf.
14293         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
14294         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
14295         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
14296         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
14297         with isinf.
14298         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
14299         __isinf_nsl with isinf.
14300         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
14301         with isinf.
14302         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
14303         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
14304         __isinf_nsl with isinf.
14305         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
14306         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
14307         with isinf.
14309 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14311         * resolv/base64.c (rcsid): Remove unused static.
14312         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
14313         static.  (tqpi1): Likewise.
14314         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
14315         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
14316         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
14317         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
14318         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
14319         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
14320         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
14321         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
14322         Likewise.
14324 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
14326         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
14327         <nptl/pthreadP.h>.
14328         (_longjmp_unwind): Use __libc_ptf_call.
14329         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
14331 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
14333         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
14334         * sysdeps/arm/__longjmp.S: Likewise.
14336 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14338         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
14339         Use __builtin_signbit.
14340         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
14341         Use __builtin_signbitf.
14342         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
14343         Use __builtin_signbitl.
14344         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14345         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
14347 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14349         [BZ #15367]
14350         [BZ #17441]
14352         * math/Makefile: Build test-snan.c with -fsignaling-nans.
14353         * math/math.h (fpclassify): Use __builtin_fpclassify when
14354         available.  (signbit): Use __builtin_signbit(f/l).
14355         (isfinite): Use__builtin_isfinite.  (isnormal): Use
14356         __builtin_isnormal.  (isnan): Use __builtin_isnan.
14357         (isinf): Use __builtin_isinf_sign.
14359 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14361         * benchtests/Makefile: Add bench-math-inlines, link with libm.
14362         * benchtests/bench-math-inlines.c: New benchmark.
14363         * benchtests/bench-util.h: New file.
14364         * benchtests/bench-util.c: New file.
14365         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
14367 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
14369         * elf/tst-dlmopen1.c: Define TEST_SO.
14370         (do_test): Use TEST_SO.
14372         * elf/dl-load.c: Include libc-internal.h.
14373         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
14375 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14377         [BZ #17887]
14378         * time/strptime_l.c (__strptime_internal): Make %z accept
14379         [+-]HH:MM time zones.
14381 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14383         [BZ #17886]
14384         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
14385         valid time zone.
14387 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
14389         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
14390         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
14391         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14392         (__ASSUME_FDATASYNC): Delete.
14394 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14396         * conform/linknamespace.pl: Require weak undefined symbols to be
14397         in the standard namespace.
14398         (%strong_syms): Rename to %seen_syms.
14399         (%strong_seen): Rename to %seen_where.
14401 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
14403         [BZ #18970]
14404         * misc/error.c (error): Replace pthread_setcancelstate with
14405         __pthread_setcancelstate.
14406         (error_at_line): Likewise.
14407         * posix/wordexp.c (parse_comm): Likewise.
14408         * stdlib/fmtmsg.c (fmtmsg): Likewise.
14409         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
14410         (__pthread_setcancelstate): This.
14411         (pthread_setcancelstate): Add an alias.
14412         * nptl/nptl-init.c (pthread_functions): Replace
14413         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
14414         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
14415         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
14416         hidden_proto.
14417         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
14418         it with hidden_def.
14419         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
14420         (pthread_setcancelstate): Renamed to ...
14421         (__pthread_setcancelstate): This.
14422         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
14423         __libc_ptf_call with __pthread_setcancelstate.
14425 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14426             Andreas Schwab  <schwab@suse.de>
14428         [BZ #17118]
14429         * math/s_ctan.c (__ctan): Determine sign of zero real part of
14430         result when imaginary part of argument is infinite using sine and
14431         cosine.
14432         * math/s_ctanf.c (__ctanf): Likewise.
14433         * math/s_ctanl.c (__ctanl): Likewise.
14434         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
14435         of result when real part of argument is infinite using sine and
14436         cosine.
14437         * math/s_ctanhf.c (__ctanhf): Likewise.
14438         * math/s_ctanhl.c (__ctanhl): Likewise.
14439         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
14440         (ctanh_test_data): Add more tests of ctanh.
14442 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14444         [BZ #15384]
14445         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
14446         bit-mask as in subtraction.
14447         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
14448         Likewise.
14449         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
14450         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
14451         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
14453         [BZ #18951]
14454         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
14455         underflow exception for small results.
14456         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14457         Likewise.
14458         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14459         Likewise.
14460         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14461         Likewise.
14462         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14463         Likewise.
14464         * math/auto-libm-test-in: Add more tests of tgamma.
14465         * math/auto-libm-test-out: Regenerated.
14467 2015-09-17  Andreas Schwab  <schwab@suse.de>
14469         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
14471 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14473         [BZ #18977]
14474         * math/bits/mathcalls.h
14475         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
14476         not declare.
14477         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
14478         Likewise.
14479         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
14480         Likewise.
14481         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
14482         Likewise.
14483         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
14484         Likewise.
14485         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
14486         Likewise.
14487         * conform/data/math.h-data
14488         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
14489         function.
14490         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
14491         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
14492         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
14493         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
14494         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
14495         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
14496         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
14497         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
14498         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
14499         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
14500         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
14502         [BZ #6803]
14503         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
14504         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
14505         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
14506         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
14507         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
14508         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
14509         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
14510         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
14511         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14512         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
14513         Likewise.
14514         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14515         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
14516         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
14517         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
14518         long_double_symbol calls.
14519         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
14520         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
14521         strong alias of __ldexpl.
14522         (scalbnl): Define using long_double_symbol.
14523         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
14524         Remove alias.
14525         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
14526         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
14527         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
14528         (scalbln_test_data): Add more errno expectations.
14530 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
14532         Cache the host port like we cache the task port.  This way we do not
14533         need to call the kernel just to get the port.  Furthermore, we no
14534         longer increase the reference count on every invocation of
14535         `mach_host_self'.
14537         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
14538         Protect declarations against the macro expansion.
14539         * mach/mach_init.c (__mach_host_self_): New variable.
14540         (mach_init): Initialize `__mach_host_self_'.
14541         * mach/mach_init.h (__mach_host_self_): New declaration.
14542         (__mach_host_self, mach_host_self): New macros.
14543         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
14544         Release reference.
14546 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14548         [BZ #4404]
14549         * po/de.po: Update from Translation Project.
14551         [BZ #16415]
14552         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
14553         (__expm1l): Remove code to handle positive infinity and overflow.
14554         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
14555         variable.
14556         (__expm1l): Remove code to handle positive infinity and overflow.
14558 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
14559             Paul Pluzhnikov  <ppluzhnikov@google.com>
14561         [BZ #18872]
14562         * stdio-common/Makefile (tst-printf-bz18872): New test.
14563         (tst-printf-bz18872-mem.out): Likewise.
14564         * stdio-common/tst-printf-bz18872.sh: Generate new test.
14565         * stdio-common/vfprintf.c: Fix memory leaks.
14567 2015-09-16  Andreas Schwab  <schwab@suse.de>
14569         [BZ #17244]
14570         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
14571         Remove extra va_start/va_end calls.
14573         [BZ #17243]
14574         * posix/execl.c (execl): Add missing va_end.
14575         * posix/execle.c (execle): Likewise.
14576         * posix/execlp.c (execlp): Likewise.
14578 2015-09-15  Roland McGrath  <roland@hack.frob.com>
14580         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
14581         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
14583 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
14585         [BZ #18967]
14586         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
14587         undefine around includes of <bits/mathcalls.h>.
14588         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
14589         not declare function.
14590         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
14591         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
14592         (scalb): Likewise.
14593         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
14594         not define macro.
14595         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
14596         variable.
14597         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14598         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14599         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14601         [BZ #18857]
14602         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
14603         return non-finite argument without doing ordered comparisons on
14604         it.
14606         [BZ #16296]
14607         * math/fenv.h (fegetround): Use __attribute_pure__.
14608         * include/fenv.h (__fegetround): Likewise.
14610         [BZ #18595]
14611         * math/s_ctan.c (__ctan): Force underflow exception for results
14612         whose real or imaginary part has small absolute value.
14613         * math/s_ctanf.c (__ctanf): Likewise.
14614         * math/s_ctanh.c (__ctanh): Likewise.
14615         * math/s_ctanhf.c (__ctanhf): Likewise.
14616         * math/s_ctanhl.c (__ctanhl): Likewise.
14617         * math/s_ctanl.c (__ctanl): Likewise.
14618         * math/auto-libm-test-in: Do not allow missing underflow for ctan
14619         and ctanh.  Add more tests of ctan and ctanh.
14621         [BZ #15918]
14622         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
14623         handling of cases where one argument is an infinity.
14625         [BZ #18875]
14626         [BZ #18966]
14627         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
14628         (MO): New macro.
14629         (__ieee754_exp10): For small results, force underflow exception
14630         and remove excess range and precision from return value.
14631         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
14632         (MO): New macro.
14633         (__ieee754_exp10f): For small results, force underflow exception
14634         and remove excess range and precision from return value.
14635         * math/auto-libm-test-in: Add more tests of exp10.
14636         * math/auto-libm-test-out: Regenerated.
14638 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
14640         [BZ #18875]
14641         [BZ #18961]
14642         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
14643         (MO): New macro.
14644         (__ieee754_exp): For small results, force underflow exception and
14645         remove excess range and precision from return value.
14646         (__exp_finite): Likewise.
14647         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
14648         (MO): New macro.
14649         (__ieee754_expf): For small results, force underflow exception and
14650         remove excess range and precision from return value.
14651         (__expf_finite): Likewise.
14652         * math/auto-libm-test-in: Add more tests of exp.
14653         * math/auto-libm-test-out: Regenerated.
14655         [BZ #16521]
14656         [BZ #18875]
14657         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
14658         small results.
14659         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
14660         (MO): New macro.
14661         (__ieee754_exp2): For small results, force underflow exception and
14662         remove excess range and precision from return value.
14663         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
14664         (MO): New macro.
14665         (__ieee754_exp2f): For small results, force underflow exception
14666         and remove excess range and precision from return value.
14667         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
14668         (MO): New macro.
14669         (__ieee754_exp2l): Force underflow exception for small results.
14670         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14671         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14672         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
14673         (MO): New macro.
14674         (__ieee754_exp2l): Force underflow exception for small results.
14675         * math/auto-libm-test-in: Add more tests or exp2.
14676         * math/auto-libm-test-out: Regenerated.
14678 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
14680         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
14682         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
14683         /dev/null.
14685 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14687         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14688         io fs process)): Drop spurious backslash.
14690 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
14692         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
14693         Use sysinfo system call instead of parsing /proc/meminfo.
14694         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
14695         Likewise.
14697 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
14699         [BZ #16985]
14700         * programs/localedef.c (main): Display argv[remaining] when
14701         output_path is NULL.
14703 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
14705         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14706         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
14707         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
14708         tanh.
14709         * math/auto-libm-test-out: Regenerated.
14710         * sysdeps/i386/fpu/libm-test-ulps: Update.
14711         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14712         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14715 2015-09-11  Roland McGrath  <roland@hack.frob.com>
14717         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
14718         Use 'override' keyword to freeze the value here, preventing
14719         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
14721 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
14723         [BZ #14912]
14724         * sysdeps/aarch64/bits/atomic.h: Move to ...
14725         * sysdeps/aarch64/atomic-machine.h: ...here.
14726         (_AARCH64_BITS_ATOMIC_H): Rename macro to
14727         _AARCH64_ATOMIC_MACHINE_H.
14728         * sysdeps/alpha/bits/atomic.h: Move to ...
14729         * sysdeps/alpha/atomic-machine.h: ...here.
14730         * sysdeps/arm/bits/atomic.h: Move to ...
14731         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
14732         * bits/atomic.h: Move to ...
14733         * sysdeps/generic/atomic-machine.h: ...here.
14734         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14735         * sysdeps/i386/bits/atomic.h: Move to ...
14736         * sysdeps/i386/atomic-machine.h: ...here.
14737         * sysdeps/ia64/bits/atomic.h: Move to ...
14738         * sysdeps/ia64/atomic-machine.h: ...here.
14739         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
14740         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
14741         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14742         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
14743         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
14744         * sysdeps/microblaze/bits/atomic.h: Move to ...
14745         * sysdeps/microblaze/atomic-machine.h: ...here.
14746         * sysdeps/mips/bits/atomic.h: Move to ...
14747         * sysdeps/mips/atomic-machine.h: ...here.
14748         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
14749         * sysdeps/powerpc/bits/atomic.h: Move to ...
14750         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
14751         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
14752         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
14753         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
14754         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
14755         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
14756         <atomic-machine.h> instead of <bits/atomic.h>.
14757         * sysdeps/s390/bits/atomic.h: Move to ...
14758         * sysdeps/s390/atomic-machine.h: ...here.
14759         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
14760         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
14761         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14762         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
14763         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
14764         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
14765         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
14766         * sysdeps/tile/bits/atomic.h: Move to ...
14767         * sysdeps/tile/atomic-machine.h: ...here.
14768         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
14769         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
14770         <sysdeps/tile/atomic-machine.h> instead of
14771         <sysdeps/tile/bits/atomic.h>.
14772         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14773         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
14774         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
14775         <sysdeps/tile/atomic-machine.h> instead of
14776         <sysdeps/tile/bits/atomic.h>.
14777         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14778         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
14779         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
14780         <sysdeps/arm/atomic-machine.h> instead of
14781         <sysdeps/arm/bits/atomic.h>.
14782         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
14783         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
14784         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14785         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
14786         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
14787         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14788         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
14789         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
14790         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
14791         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
14792         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
14793         * sysdeps/x86_64/bits/atomic.h: Move to ...
14794         * sysdeps/x86_64/atomic-machine.h: ...here.
14795         * include/atomic.h: Include <atomic-machine.h> instead of
14796         <bits/atomic.h>.
14798         * sysdeps/mips/mips32/libm-test-ulps: Update.
14799         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14801         [BZ #18952]
14802         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
14803         not convert non-integer negative arguments to int to determine the
14804         value of signgam.
14805         * math/auto-libm-test-in: Add more tests of lgamma.
14806         * math/auto-libm-test-out: Regenerated.
14808         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
14809         cosh, csqrt, erfc, expm1 and lgamma.
14810         * math/auto-libm-test-out: Regenerated.
14811         * sysdeps/i386/fpu/libm-test-ulps: Update.
14812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14814 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
14816         [BZ #2542]
14817         [BZ #2543]
14818         [BZ #2558]
14819         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
14820         __lgamma_neg for arguments from -28.0 to -2.0.
14821         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
14822         __lgamma_negf for arguments from -15.0 to -2.0.
14823         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14824         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
14825         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
14826         Call __lgamma_negl for arguments from -33.0 to -2.0.
14827         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
14828         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
14829         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14830         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
14831         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
14832         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
14833         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
14834         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
14835         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
14836         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
14837         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
14838         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
14839         (__lgamma_neg): Likewise.
14840         (__lgamma_negl): Likewise.
14841         (__lgamma_product): Likewise.
14842         (__lgamma_productl): Likewise.
14843         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
14844         * math/auto-libm-test-in: Add more tests of lgamma.
14845         * math/auto-libm-test-out: Regenerated.
14846         * sysdeps/i386/fpu/libm-test-ulps: Update.
14847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14849 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
14851         [BZ #18675]
14852         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
14854 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
14856         [BZ #14912]
14857         * bits/libc-lock.h: Move to ...
14858         * sysdeps/generic/libc-lock.h: ...here.
14859         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14860         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
14861         * sysdeps/mach/hurd/libc-lock.h: ...here.
14862         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14863         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
14864         * sysdeps/mach/bits/libc-lock.h: Move to ...
14865         * sysdeps/mach/libc-lock.h: ...here.
14866         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14867         * sysdeps/nptl/bits/libc-lock.h: Move to ...
14868         * sysdeps/nptl/libc-lock.h: ...here.
14869         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14870         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
14871         * sysdeps/nptl/libc-lockP.h: ...here.
14872         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
14873         * crypt/crypt_util.c: Include <libc-lock.h> instead of
14874         <bits/libc-lock.h>.
14875         * dirent/scandir-tail.c: Likewise.
14876         * dlfcn/dlerror.c: Likewise.
14877         * elf/dl-close.c: Likewise.
14878         * elf/dl-iteratephdr.c: Likewise.
14879         * elf/dl-lookup.c: Likewise.
14880         * elf/dl-open.c: Likewise.
14881         * elf/dl-support.c: Likewise.
14882         * elf/dl-writev.h: Likewise.
14883         * elf/rtld.c: Likewise.
14884         * grp/fgetgrent.c: Likewise.
14885         * gshadow/fgetsgent.c: Likewise.
14886         * gshadow/sgetsgent.c: Likewise.
14887         * iconv/gconv_conf.c: Likewise.
14888         * iconv/gconv_db.c: Likewise.
14889         * iconv/gconv_dl.c: Likewise.
14890         * iconv/gconv_int.h: Likewise.
14891         * iconv/gconv_trans.c: Likewise.
14892         * include/link.h: Likewise.
14893         * inet/getnameinfo.c: Likewise.
14894         * inet/getnetgrent.c: Likewise.
14895         * inet/getnetgrent_r.c: Likewise.
14896         * intl/bindtextdom.c: Likewise.
14897         * intl/dcigettext.c: Likewise.
14898         * intl/finddomain.c: Likewise.
14899         * intl/gettextP.h: Likewise.
14900         * intl/loadmsgcat.c: Likewise.
14901         * intl/localealias.c: Likewise.
14902         * intl/textdomain.c: Likewise.
14903         * libidn/idn-stub.c: Likewise.
14904         * libio/libioP.h: Likewise.
14905         * locale/duplocale.c: Likewise.
14906         * locale/freelocale.c: Likewise.
14907         * locale/newlocale.c: Likewise.
14908         * locale/setlocale.c: Likewise.
14909         * login/getutent_r.c: Likewise.
14910         * login/getutid_r.c: Likewise.
14911         * login/getutline_r.c: Likewise.
14912         * login/utmp-private.h: Likewise.
14913         * login/utmpname.c: Likewise.
14914         * malloc/mtrace.c: Likewise.
14915         * misc/efgcvt.c: Likewise.
14916         * misc/error.c: Likewise.
14917         * misc/fstab.c: Likewise.
14918         * misc/getpass.c: Likewise.
14919         * misc/mntent.c: Likewise.
14920         * misc/syslog.c: Likewise.
14921         * nis/nis_call.c: Likewise.
14922         * nis/nis_callback.c: Likewise.
14923         * nis/nss-default.c: Likewise.
14924         * nis/nss_compat/compat-grp.c: Likewise.
14925         * nis/nss_compat/compat-initgroups.c: Likewise.
14926         * nis/nss_compat/compat-pwd.c: Likewise.
14927         * nis/nss_compat/compat-spwd.c: Likewise.
14928         * nis/nss_nis/nis-alias.c: Likewise.
14929         * nis/nss_nis/nis-ethers.c: Likewise.
14930         * nis/nss_nis/nis-grp.c: Likewise.
14931         * nis/nss_nis/nis-hosts.c: Likewise.
14932         * nis/nss_nis/nis-network.c: Likewise.
14933         * nis/nss_nis/nis-proto.c: Likewise.
14934         * nis/nss_nis/nis-pwd.c: Likewise.
14935         * nis/nss_nis/nis-rpc.c: Likewise.
14936         * nis/nss_nis/nis-service.c: Likewise.
14937         * nis/nss_nis/nis-spwd.c: Likewise.
14938         * nis/nss_nisplus/nisplus-alias.c: Likewise.
14939         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
14940         * nis/nss_nisplus/nisplus-grp.c: Likewise.
14941         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
14942         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
14943         * nis/nss_nisplus/nisplus-network.c: Likewise.
14944         * nis/nss_nisplus/nisplus-proto.c: Likewise.
14945         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
14946         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
14947         * nis/nss_nisplus/nisplus-service.c: Likewise.
14948         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
14949         * nis/ypclnt.c: Likewise.
14950         * nptl/libc_pthread_init.c: Likewise.
14951         * nss/getXXbyYY.c: Likewise.
14952         * nss/getXXent.c: Likewise.
14953         * nss/getXXent_r.c: Likewise.
14954         * nss/nss_db/db-XXX.c: Likewise.
14955         * nss/nss_db/db-netgrp.c: Likewise.
14956         * nss/nss_db/nss_db.h: Likewise.
14957         * nss/nss_files/files-XXX.c: Likewise.
14958         * nss/nss_files/files-alias.c: Likewise.
14959         * nss/nsswitch.c: Likewise.
14960         * posix/regex_internal.h: Likewise.
14961         * posix/wordexp.c: Likewise.
14962         * pwd/fgetpwent.c: Likewise.
14963         * resolv/res_hconf.c: Likewise.
14964         * resolv/res_libc.c: Likewise.
14965         * shadow/fgetspent.c: Likewise.
14966         * shadow/lckpwdf.c: Likewise.
14967         * shadow/sgetspent.c: Likewise.
14968         * socket/opensock.c: Likewise.
14969         * stdio-common/reg-modifier.c: Likewise.
14970         * stdio-common/reg-printf.c: Likewise.
14971         * stdio-common/reg-type.c: Likewise.
14972         * stdio-common/vfprintf.c: Likewise.
14973         * stdio-common/vfscanf.c: Likewise.
14974         * stdlib/abort.c: Likewise.
14975         * stdlib/cxa_atexit.c: Likewise.
14976         * stdlib/fmtmsg.c: Likewise.
14977         * stdlib/random.c: Likewise.
14978         * stdlib/setenv.c: Likewise.
14979         * string/strsignal.c: Likewise.
14980         * sunrpc/auth_none.c: Likewise.
14981         * sunrpc/bindrsvprt.c: Likewise.
14982         * sunrpc/create_xid.c: Likewise.
14983         * sunrpc/key_call.c: Likewise.
14984         * sunrpc/rpc_thread.c: Likewise.
14985         * sysdeps/arm/backtrace.c: Likewise.
14986         * sysdeps/generic/ldsodefs.h: Likewise.
14987         * sysdeps/generic/stdio-lock.h: Likewise.
14988         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
14989         * sysdeps/i386/backtrace.c: Likewise.
14990         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
14991         * sysdeps/m68k/backtrace.c: Likewise.
14992         * sysdeps/mach/hurd/cthreads.c: Likewise.
14993         * sysdeps/mach/hurd/dirstream.h: Likewise.
14994         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
14995         * sysdeps/nptl/malloc-machine.h: Likewise.
14996         * sysdeps/nptl/stdio-lock.h: Likewise.
14997         * sysdeps/posix/dirstream.h: Likewise.
14998         * sysdeps/posix/getaddrinfo.c: Likewise.
14999         * sysdeps/posix/system.c: Likewise.
15000         * sysdeps/pthread/aio_suspend.c: Likewise.
15001         * sysdeps/s390/s390-32/backtrace.c: Likewise.
15002         * sysdeps/s390/s390-64/backtrace.c: Likewise.
15003         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15004         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15005         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
15006         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
15007         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
15008         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
15009         * sysdeps/unix/sysv/linux/system.c: Likewise.
15010         * sysdeps/x86_64/backtrace.c: Likewise.
15011         * time/alt_digit.c: Likewise.
15012         * time/era.c: Likewise.
15013         * time/tzset.c: Likewise.
15014         * wcsmbs/wcsmbsload.c: Likewise.
15015         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
15016         instead of <bits/libc-lock.h> in comment.
15018 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
15020         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
15021         Only use .set mips2 if the current ISA is below mips2.
15022         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
15023         Likewise.
15024         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
15025         mips32r2 if the current ISA is below mips32r2.
15026         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
15027         (TLS_IE): Updated to use the TLD_RDHWR macro.
15028         (TLS_LE): Likewise.
15029         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
15030         __ASSEMBLER__ condition.
15032 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15034         Fix parallel build of before-compile targets.
15036         * sysdeps/mach/Makefile ($(patsubst
15037         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
15038         mach-before-compile target.
15039         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15040         io fs process)): Move rule to dedicated hurd-before-compile target.
15042 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15044         Fix rules generating headers in hurd/ and mach/ when initial make call
15045         has subdir= explicitly set.
15047         * sysdeps/mach/Makefile ($(patsubst
15048         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
15049         calling $(MAKE).
15050         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15051         io fs process)): Force subdir to hurd when calling $(MAKE).
15052         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
15053         subdir to mach when calling $(MAKE).
15055 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
15057         Check sysheaders when looking for Mach and Hurd headers
15059         * sysdeps/mach/configure.ac: Add sysheaders check.
15060         * sysdeps/mach/configure: Regenerate.
15061         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
15062         * sysdeps/mach/hurd/configure: Regenerate.
15064 2015-09-04  Roland McGrath  <roland@hack.frob.com>
15066         [BZ #18921]
15067         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
15068         Fix inverted sense of test of 'o_directory_works' value.
15069         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
15070         Bernhard Voelker <mail@bernhard-voelker.de>.
15072 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
15074         [BZ #14912]
15075         * bits/linkmap.h: Move to ...
15076         * sysdeps/generic/linkmap.h: ...here.
15077         * sysdeps/aarch64/bits/linkmap.h: Move to ...
15078         * sysdeps/aarch64/linkmap.h: ...here.
15079         * sysdeps/arm/bits/linkmap.h: Move to ...
15080         * sysdeps/arm/linkmap.h: ...here.
15081         * sysdeps/hppa/bits/linkmap.h: Move to ...
15082         * sysdeps/hppa/linkmap.h: ...here.
15083         * sysdeps/ia64/bits/linkmap.h: Move to ...
15084         * sysdeps/ia64/linkmap.h: ...here.
15085         * sysdeps/mips/bits/linkmap.h: Move to ...
15086         * sysdeps/mips/linkmap.h: ...here.
15087         * sysdeps/s390/bits/linkmap.h: Move to ...
15088         * sysdeps/s390/linkmap.h: ...here.
15089         * sysdeps/sh/bits/linkmap.h: Move to ...
15090         * sysdeps/sh/linkmap.h: ...here.
15091         * sysdeps/x86/bits/linkmap.h: Move to ...
15092         * sysdeps/x86/linkmap.h: ...here.
15093         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
15095 2015-09-04  Andreas Schwab  <schwab@suse.de>
15097         [BZ #18635]
15098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
15099         (__makecontext): Terminate FDE before return label.
15100         (__novec_makecontext): Likewise.
15102 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15104         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
15105         first member of struct sv in syscall macro.
15107 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
15109         [BZ #14912]
15110         * bits/stdio-lock.h: Move to ...
15111         * sysdeps/generic/stdio-lock.h: ...here.
15112         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
15113         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
15114         * sysdeps/nptl/stdio-lock.h: ...here.
15115         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
15116         * include/libio.h: Include <stdio-lock.h> instead of
15117         <bits/stdio-lock.h>.
15118         * sysdeps/nptl/fork.c: Likewise.
15119         * sysdeps/pthread/flockfile.c: Likewise.
15120         * sysdeps/pthread/ftrylockfile.c: Likewise.
15121         * sysdeps/pthread/funlockfile.c: Likewise.
15123         [BZ #14912]
15124         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
15125         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
15126         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
15127         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
15128         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
15129         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
15130         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
15132 2015-09-03  Roland McGrath  <roland@hack.frob.com>
15134         * elf/Makefile (test-xfail-tst-protected1a): New variable.
15135         (test-xfail-tst-protected1b): New variable.
15137 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
15139         [BZ #14912]
15140         * bits/libc-tsd.h: Move to ...
15141         * sysdeps/generic/libc-tsd.h: ...here.
15142         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
15143         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
15144         * sysdeps/mach/hurd/libc-tsd.h: ...here.
15145         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
15146         * include/ctype.h: Include <libc-tsd.h> instead of
15147         <bits/libc-tsd.h>.
15148         * include/rpc/rpc.h: Likewise.
15149         * locale/localeinfo.h: Likewise.
15150         * sunrpc/rpc_thread.c: Likewise.
15151         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15152         * sysdeps/nptl/malloc-machine.h: Likewise.
15154         * Makefile (headers): Remove bits/libc-lock.h.
15155         * libio/Makefile (headers): Remove bits/stdio-lock.h.
15157         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
15158         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
15159         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
15160         <bits/stdio-lock.h>.
15161         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
15162         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
15164 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15166         [BZ #18757]
15167         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
15168         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
15169         BZ #18757.
15171 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15173         * malloc/mtrace.pl: Filter out NULL entries.
15175 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
15177         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
15178         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
15179         macro.
15181         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
15182         (TCP_CC_INFO): Likewise.
15183         (TCP_SAVE_SYN): Likewise.
15184         (TCP_SAVED_SYN): Likewise.
15186 2015-08-31  Brett Neumeier <brett@neumeier.us>
15188         [BZ #18870]
15189         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
15191 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
15193         [BZ #18873]
15194         Fix broken overflow check in posix_fallocate
15195         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
15196         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
15197         Fix parenthesization typo.
15199 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
15201         [BZ #18887]
15202         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
15203         tst-mntent-blank-passno.
15204         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
15205         * misc/tst-mntent-blank-corrupt.c: New test.
15206         * misc/tst-mntent-blank-passno.c: New test ripped from ...
15207         * misc/tst-mntent.c (do_test): ... here.
15209 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
15211         [BZ #4404]
15212         * po/de.po: Fix SIGALRM typo.
15214 2015-08-28  James Perkins  <james@loowit.net>
15216         * time/tst-strptime2.c (tests): Replace short list of test
15217         strings for strptime %z specifier with code which exhaustively
15218         tests every combination of sign and 0 to 5 digits. Tests for
15219         rejection of invalid strings.
15221 2015-08-28  James Perkins  <james@loowit.net>
15223         [BZ #16141]
15224         * time/strptime_l.c (__strptime_internal): Fix %z minutes
15225         calculation, removing incorrect decimal time rounding, so that
15226         all minute values result in a valid seconds value.
15227         * time/strptime_l.c (__strptime_internal): Extend %z time zone
15228         offset range limits to UTC-99:59 through UTC+99:59 to parse
15229         current and historical use cases.
15230         * time/tst-strptime2.c (tests): Modify and add tests for the
15231         strptime %z input field descriptor, specifically conversion of
15232         minutes to seconds and validating an offset range of -9959 to
15233         +9959.
15235 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15236             Dmitry V. Levin  <ldv@altlinux.org>
15238         [BZ #18877]
15239         * posix/Makefile (tests): Add tst-mmap-offset.
15240         * posix/tst-mmap.c: New file.
15241         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
15242         offset calculation for negative values.
15244 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15246         * sysdeps/i386/init-arch.h: New file.
15247         * sysdeps/i386/i586/init-arch.h: Likewise.
15248         * sysdeps/i386/i686/init-arch.h: Likewise.
15249         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
15250         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
15251         * sysdeps/x86/cpu-features.h (bit_I586): New.
15252         (bit_I686): Likewise.
15253         (bit_CX8): Likewise.
15254         (bit_CMOV): Likewise.
15255         (index_CX8): Likewise.
15256         (index_CMOV): Likewise.
15257         (index_I586): Likewise.
15258         (index_I686): Likewise.
15259         (reg_CX8): Likewise.
15260         (reg_CMOV): Likewise.
15261         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
15262         available at compile-time.
15263         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
15264         available at compile-time.
15265         * sysdeps/x86/init-arch.h (USE_I586): New macro.
15266         (USE_I686): Likewise.
15268 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15270         * sysdeps/i386/bcopy.S: New file.
15271         * sysdeps/i386/bzero.S: Likewise.
15272         * sysdeps/i386/memcpy.S: Likewise.
15273         * sysdeps/i386/memmove.S: Likewise.
15274         * sysdeps/i386/mempcpy.S: Likewise.
15275         * sysdeps/i386/memset.S: Likewise.
15276         * sysdeps/i386/bzero.c: Removed.
15277         * sysdeps/i386/memset.c: Likewise.
15278         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
15279         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
15280         * sysdeps/i386/i586/memset_chk.S: Likewise.
15281         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
15282         * sysdeps/i386/memcpy_chk.S: Here.
15283         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
15284         * sysdeps/i386/memmove_chk.S: Here.
15285         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
15286         * sysdeps/i386/mempcpy_chk.S: Likewise.
15287         * sysdeps/i386/i686/memset_chk.S: Moved to ...
15288         * sysdeps/i386/memset_chk.S: Likewise.
15290 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
15292         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
15293         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
15294         file, move DIAG_POP_NEEDS_COMMENT to end of file.
15295         * soft-fp/fmadf4.c: Ditto.
15296         * soft-fp/fmatf4.c: Ditto.
15298 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15300         * sysdeps/i386/i586/Implies: Removed.
15301         * sysdeps/i386/i686/Implies: Likewise.
15303 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15305         * sysdeps/i386/i486/strlen.S: Moved to ...
15306         * sysdeps/i386/strlen.S: Here.
15308 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15310         * sysdeps/i386/i486/strcat.S: Moved to ...
15311         * sysdeps/i386/strcat.S: Here.
15313 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15315         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
15316         * sysdeps/i386/pthread_spin_trylock.S: Here.
15317         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
15318         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
15320 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15322         * sysdeps/i386/i486/string-inlines.c: Moved to ...
15323         * sysdeps/i386/string-inlines.c: Here.
15325 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15327         * sysdeps/i386/i486/htonl.S: Moved ...
15328         * sysdeps/i386/htonl.S: here.
15330 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15332         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
15333         * sysdeps/i386/bits/atomic.h: Here.
15335 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15337         * sysdeps/i386/i486/Versions: Removed.
15339 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15341         [BZ #2898]
15342         * misc/mktemp.c: Add mkdtemp to the link_warning message.
15343         Based on patch by Aurelien Jarno.
15345 2015-08-26  Stan Shebs  <stanshebs@google.com>
15347         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
15348         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15350 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15352         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
15353         * sysdeps/powerpc/dl-procinfo.c:
15354         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
15355         feature so it shows when LD_SHOW_AUXV=1.
15357 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15359         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
15360         (__arch_compare_and_exchange_val_32_acq): Remove and use common
15361         definition.  ISA 2.07B no longer requires full sync.
15363 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
15365         [BZ #18863]
15366         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
15367         (si_call_addr): Define.
15368         (si_syscall): Define.
15369         (si_arch): Define.
15371 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
15373         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
15374         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
15375         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
15376         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15377         (__memset_zero_constant_len_parameter): New.
15378         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
15379         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15380         (__memset_zero_constant_len_parameter): Don't define if
15381         __memset_chk or USE_AS_BZERO are defined.
15383         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
15384         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
15385         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
15387         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
15388         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
15389         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
15390         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
15391         comments.
15392         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
15393         -mno-mmx for $(all-rtld-routines).
15394         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
15395         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
15396         i386.
15398 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
15400         * sysdeps/generic/unwind.h
15401         (_Unwind_Word): Use __mode__(__unwind_word__)
15402         instead of __mode__(__word__).
15403         (_Unwind_Sword): Likewise.
15405         * sysdeps/s390/s390-64/utf8-utf16-z9.c
15406         (MAX_NEEDED_INPUT): New define.
15407         (MAX_NEEDED_OUTPUT): New define.
15409         * NEWS: New item for IBM z13 string optimizations.
15411         * sysdeps/s390/multiarch/memrchr-c.c: New File.
15412         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
15413         * sysdeps/s390/multiarch/memrchr.c: Likewise.
15414         * sysdeps/s390/multiarch/Makefile
15415         (sysdep_routines): Add memrchr functions.
15416         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15417         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
15419         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
15420         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
15421         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
15422         * sysdeps/s390/multiarch/Makefile
15423         (sysdep_routines): Add wmemcmp functions.
15424         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15425         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
15426         * benchtests/bench-wmemcmp.c: New File.
15427         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
15429         * sysdeps/s390/multiarch/wmemset-c.c: New File.
15430         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
15431         * sysdeps/s390/multiarch/wmemset.c: Likewise.
15432         * sysdeps/s390/multiarch/Makefile
15433         (sysdep_routines): Add wmemset functions.
15434         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15435         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
15436         * wcsmbs/wmemset.c: Use WMEMSET if defined.
15437         * string/test-memset.c: Add wmemset support.
15438         * wcsmbs/test-wmemset.c: New File.
15439         * wcsmbs/Makefile (strop-tests): Add wmemset.
15440         * benchtests/bench-memset.c: Add wmemset support.
15441         * benchtests/bench-wmemset.c: New File.
15442         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
15444         * sysdeps/s390/multiarch/memccpy-c.c: New File.
15445         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
15446         * sysdeps/s390/multiarch/memccpy.c: Likewise.
15447         * sysdeps/s390/multiarch/Makefile
15448         (sysdep_routines): Add memccpy functions.
15449         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15450         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
15451         * string/memccpy.c: Use MEMCCPY if defined.
15453         * sysdeps/s390/multiarch/memchr-vx.S: New File.
15454         * sysdeps/s390/multiarch/memchr.c: Likewise.
15455         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
15456         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
15457         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15458         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
15459         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
15460         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
15461         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
15462         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
15463         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
15464         and rawmemchr functions.
15465         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15466         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
15467         and wmemchr.
15468         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
15469         * string/test-memchr.c: Add wmemchr support.
15470         * wcsmbs/test-wmemchr.c: New File.
15471         * wcsmbs/Makefile (strop-tests): Add wmemchr.
15472         * benchtests/bench-memchr.c: Add wmemchr support.
15473         * benchtests/bench-wmemchr.c: New File.
15474         * benchtests/Makefile (wcsmbs-bench): wmemchr.
15476         * sysdeps/s390/multiarch/strcspn-c.c: New File.
15477         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
15478         * sysdeps/s390/multiarch/strcspn.c: Likewise.
15479         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
15480         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
15481         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
15482         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
15483         wcscspn functions.
15484         * sysdeps/s390/multiarch/ifunc-impl-list.c
15485         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
15486         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
15487         * string/test-strcspn.c: Add wcscspn support.
15488         * wcsmbs/test-wcscspn.c: New File.
15489         * wcsmbs/Makefile (strop-tests): Add wcscspn.
15490         * benchtests/bench-strcspn.c: Add wcscspn support.
15491         * benchtests/bench-wcscspn.c: New File.
15492         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
15494         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
15495         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
15496         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
15497         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
15498         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
15499         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
15500         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
15501         wcspbrk functions.
15502         * sysdeps/s390/multiarch/ifunc-impl-list.c
15503         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
15504         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
15505         * string/test-strpbrk.c: Add wcspbrk support.
15506         * wcsmbs/test-wcspbrk.c: New File.
15507         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
15508         * benchtests/bench-strpbrk.c: Add wcspbrk support.
15509         * benchtests/bench-wcspbrk.c: New File.
15510         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
15512         * sysdeps/s390/multiarch/strspn-c.c: New File.
15513         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
15514         * sysdeps/s390/multiarch/strspn.c: Likewise.
15515         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
15516         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
15517         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
15518         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
15519         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
15520         wcsspn functions.
15521         * sysdeps/s390/multiarch/ifunc-impl-list.c
15522         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
15523         * string/test-strspn.c: Add wcsspn support.
15524         * wcsmbs/test-wcsspn.c: New File.
15525         * wcsmbs/Makefile (strop-tests): Add wcsspn.
15526         * benchtests/bench-strspn.c: Add wcsspn support.
15527         * benchtests/bench-wcsspn.c: New File.
15528         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
15530         * sysdeps/s390/multiarch/strrchr-c.c: New File.
15531         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
15532         * sysdeps/s390/multiarch/strrchr.c: Likewise.
15533         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
15534         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
15535         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
15536         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
15537         wcsrchr functions.
15538         * sysdeps/s390/multiarch/ifunc-impl-list.c
15539         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
15540         * benchtests/bench-wcsrchr.c: New File.
15541         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
15543         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
15544         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
15545         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
15546         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
15547         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
15548         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
15549         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
15550         wcschrnul functions.
15551         * sysdeps/s390/multiarch/ifunc-impl-list.c
15552         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
15553         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
15554         * string/test-strchr.c: Add wcschrnul support.
15555         * wcsmbs/test-wcschrnul.c: New File.
15556         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
15557         * benchtests/bench-strchr.c: Add wcschrnul support.
15558         * benchtests/bench-wcschrnul.c: New File.
15559         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
15561         * sysdeps/s390/multiarch/strchr-c.c: New File.
15562         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
15563         * sysdeps/s390/multiarch/strchr.c: Likewise.
15564         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
15565         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
15566         * sysdeps/s390/multiarch/wcschr.c: Likewise.
15567         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
15568         wcschr functions.
15569         * sysdeps/s390/multiarch/ifunc-impl-list.c
15570         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
15571         * string/strchr.c (STRCHR): Define and use macro.
15572         * benchtests/bench-wcschr.c: New File.
15573         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
15575         * sysdeps/s390/multiarch/strncmp-c.c: New File.
15576         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
15577         * sysdeps/s390/multiarch/strncmp.c: Likewise.
15578         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
15579         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
15580         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
15581         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
15582         wcsncmp functions.
15583         * sysdeps/s390/multiarch/ifunc-impl-list.c
15584         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
15585         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
15586         * benchtests/bench-strncmp.c: Add wcsncmp support.
15587         * benchtests/bench-wcsncmp.c: New File.
15588         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
15590         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
15591         * sysdeps/s390/multiarch/strcmp.c: Likewise.
15592         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
15593         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
15594         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
15595         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
15596         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
15597         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
15598         wcscmp functions.
15599         * sysdeps/s390/multiarch/ifunc-impl-list.c
15600         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
15601         * string/strcmp.c (STRCMP): Define and use macro.
15602         * benchtests/bench-wcscmp.c: New File.
15603         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
15604         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
15605         instead of _HAVE_STRING_ARCH_memchr.
15607         * sysdeps/s390/multiarch/strncat-c.c: New File.
15608         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
15609         * sysdeps/s390/multiarch/strncat.c: Likewise.
15610         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
15611         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
15612         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
15613         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
15614         wcsncat functions.
15615         * sysdeps/s390/multiarch/ifunc-impl-list.c
15616         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
15617         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
15618         * string/test-strncat.c: Add wcsncat support.
15619         * wcsmbs/test-wcsncat.c: New File.
15620         * wcsmbs/Makefile (strop-tests): Add wcsncat.
15621         * benchtests/bench-strncat.c: Add wcsncat support.
15622         * benchtests/bench-wcsncat.c: New File.
15623         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
15625         * sysdeps/s390/multiarch/strcat-c.c: New File.
15626         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
15627         * sysdeps/s390/multiarch/strcat.c: Likewise.
15628         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
15629         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
15630         * sysdeps/s390/multiarch/wcscat.c: Likewise.
15631         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
15632         wcscat functions.
15633         * sysdeps/s390/multiarch/ifunc-impl-list.c
15634         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
15635         * string/strcat.c (STRCAT): Define and use macro.
15636         * wcsmbs/wcscat.c: Use WCSCAT if defined.
15637         * string/test-strcat.c: Add wcscat support.
15638         * wcsmbs/test-wcscat.c: New File.
15639         * wcsmbs/Makefile (strop-tests): Add wcscat.
15640         * benchtests/bench-strcat.c: Add wcscat support.
15641         * benchtests/bench-wcscat.c: New File.
15642         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
15644         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
15645         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
15646         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
15647         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
15648         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
15649         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
15650         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
15651         wcpncpy functions.
15652         * sysdeps/s390/multiarch/ifunc-impl-list.c
15653         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
15654         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
15655         * string/test-stpncpy.c: Add wcpncpy support.
15656         * wcsmbs/test-wcpncpy.c: New File.
15657         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
15658         * benchtests/bench-stpncpy.c: Add wcpncpy support.
15659         * benchtests/bench-wcpncpy.c: New File.
15660         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
15662         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
15663         * sysdeps/s390/multiarch/strncpy.c: Likewise.
15664         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
15665         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
15666         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
15667         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
15668         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
15669         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
15670         wcsncpy functions.
15671         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
15672         * sysdeps/s390/multiarch/ifunc-impl-list.c
15673         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
15674         * string/test-strncpy.c: Add wcsncpy support.
15675         * wcsmbs/test-wcsncpy.c: New File.
15676         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
15677         * benchtests/bench-strncpy.c: Add wcsncpy support.
15678         * benchtests/bench-wcsncpy.c: New File.
15679         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
15681         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
15682         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
15683         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
15684         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
15685         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
15686         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
15687         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
15688         wcpcpy functions.
15689         * string/stpcpy.c: Use STPCPY if defined.
15690         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
15691         * sysdeps/s390/multiarch/ifunc-impl-list.c
15692         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
15693         * string/test-stpcpy.c: Add wcpcpy support.
15694         * wcsmbs/test-wcpcpy.c: New File.
15695         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
15696         * benchtests/bench-stpcpy.c: Add wcpcpy support.
15697         * benchtests/bench-wcpcpy.c: New File.
15698         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
15700         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
15701         * sysdeps/s390/multiarch/strcpy.c: Likewise.
15702         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
15703         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
15704         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
15705         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
15706         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
15707         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
15708         wcscpy functions.
15709         * sysdeps/s390/multiarch/ifunc-impl-list.c
15710         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
15711         * benchtests/bench-wcscpy.c: New File.
15712         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
15714         * sysdeps/s390/multiarch/strnlen-c.c: New File.
15715         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
15716         * sysdeps/s390/multiarch/strnlen.c: Likewise.
15717         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
15718         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
15719         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
15720         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
15721         wcsnlen functions.
15722         * sysdeps/s390/multiarch/ifunc-impl-list.c
15723         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
15724         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
15725         * string/test-strnlen.c: Add wcsnlen support.
15726         * wcsmbs/test-wcsnlen.c: New File.
15727         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
15728         * benchtests/bench-strnlen.c: Add wcsnlen support.
15729         * benchtests/bench-wcsnlen.c: New File.
15730         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
15732         * sysdeps/s390/multiarch/Makefile: New File.
15733         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
15734         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
15735         * sysdeps/s390/multiarch/strlen.c: Likewise.
15736         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
15737         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
15738         * sysdeps/s390/multiarch/wcslen.c: Likewise.
15739         * string/strlen.c (STRLEN): Define and use macro.
15740         * sysdeps/s390/multiarch/ifunc-impl-list.c
15741         (IFUNC_VX_IMPL): New macro function.
15742         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
15743         * benchtests/Makefile (wcsmbs-bench): New variable.
15744         (string-bench-all): Added wcsmbs-bench.
15745         * benchtests/bench-wcslen.c: New File.
15747         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
15748         s390_vx_libc_ifunc2): New macro function.
15750         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
15751         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
15752         assembler support.
15753         * sysdeps/s390/configure: Regenerated.
15755         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
15756         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
15758         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
15759         * sysdeps/s390/dl-procinfo.h: Add vector capability.
15760         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
15762         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
15763         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
15764         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
15765         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
15766         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
15767         (memcmp, bcmp): Use __memcmp_default as alias source.
15768         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
15769         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
15770         Rename to __memcmp_default.
15771         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
15772         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
15773         (memcpy): Use __memcpy_default as alias source.
15774         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
15775         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
15776         Rename to __memcpy_default.
15777         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
15778         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
15779         (memset): Use __memset_default as alias source.
15780         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
15781         * sysdeps/s390/s390-32/memset.S (__memset_g5):
15782         Rename to __memset_default.
15783         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
15784         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
15785         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
15786         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
15787         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
15788         (memcmp, bcmp): Use __memcmp_default as alias source.
15789         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
15790         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
15791         Rename to __memcmp_default.
15792         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
15793         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
15794         (memcpy): Use __memcpy_default as alias source.
15795         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
15796         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
15797         Rename to __memcpy_default.
15798         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
15799         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
15800         (memset): Use __memset_default as alias source.
15801         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
15802         * sysdeps/s390/s390-64/memset.S (__memset_z900):
15803         Rename to __memset_default.
15804         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
15805         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
15807         [BZ #18610]
15808         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
15809         __ieee_instruction_pointer to __unused.
15810         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
15811         __ieee_instruction_pointer.
15812         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
15813         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
15814         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15815         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15816         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
15817         Mark dxc-field as reserved.
15819 2015-08-25  Roland McGrath  <roland@hack.frob.com>
15821         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
15822         if the weak reference is not null.
15824 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15826         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
15828         [BZ #11214]
15829         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
15831 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15833         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
15834         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
15835         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
15836         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
15837         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
15838         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
15839         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
15840         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
15841         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
15842         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
15843         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
15844         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
15845         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
15846         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
15847         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
15848         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
15849         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
15850         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
15852 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15854         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
15855         register other than r0 for tabort, it has special meaning.
15856         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
15857         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
15858         transaction before starting syscall.
15860 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15862         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
15864 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15866         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
15868         * sysdeps/x86_64/rtld-memcmp.c: Removed.
15869         * sysdeps/x86_64/rtld-memset.S: Likewise.
15870         * sysdeps/x86_64/rtld-strchr.S: Likewise.
15871         * sysdeps/x86_64/rtld-strlen.S: Likewise.
15872         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
15873         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15875         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
15877 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
15879         * debug/strcpy_chk.c: Improve performance.
15880         * debug/stpcpy_chk.c: Likewise.
15881         * sysdeps/x86_64/strcpy_chk.S: Remove.
15882         * sysdeps/x86_64/stpcpy_chk.S: Remove.
15884         [BZ #18240]
15885         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
15887 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15889         [BZ #15128]
15890         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
15891         ifuncmain8.
15892         (modules-names): Add ifuncmod8.
15893         ($(objpfx)ifuncmain8): New rule.
15894         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
15895         <cpuid.h>.
15896         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
15897         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
15898         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
15899         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
15900         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
15901         * sysdeps/x86_64/dl-trampoline.h: Likewise.
15902         * sysdeps/x86_64/ifuncmain8.c: New file.
15903         * sysdeps/x86_64/ifuncmod8.c: Likewise.
15904         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
15905         Removed.
15906         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
15907         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
15908         Change rtld_savespace_sse to __glibc_unused2.
15909         (RTLD_CHECK_FOREIGN_CALL): Removed.
15910         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
15911         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
15912         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
15914 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
15916         * sysdeps/aarch64/bzero.S (__bzero): Remove.
15918 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
15920         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
15921         Unconditionally set __fpcr to avoid uninialized warning.
15922         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
15924 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15926         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
15927         is corrupt.
15929         * malloc/arena.c (arena_get2): Drop unused argument.
15930         (arena_lock): Adjust.
15931         (arena_get_retry): Likewise.
15933 2015-08-24  Andreas Schwab  <schwab@suse.de>
15935         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
15936         Don't define.
15937         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15938         (__ASSUME_IPC64): Don't undef.
15939         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
15940         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15941         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15942         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
15943         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
15944         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
15945         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
15946         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
15947         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
15948         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
15949         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
15950         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
15951         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
15952         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
15953         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
15954         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
15955         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
15956         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
15957         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
15958         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
15959         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
15961 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
15963         * manual/Makefile (install): Only build manual when perl is available.
15965 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15967         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
15968         '#undef memcpy' by '#undef memchr'.
15970 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15972         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
15973         memchr not point to the internal __GI_memchr implementation.
15975 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
15977         * timezone/Makefile (CFLAGS-zdump.c): Remove
15978         -Wno-strict-prototypes.
15979         (CFLAGS-zic.c): Likewise.
15980         (CFLAGS-ialloc.c): Likewise.
15981         (CFLAGS-scheck.c): Likewise.
15983         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
15984         -Wno-error=undef.
15986 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
15988         * i386/i686/multiarch/strcasestr-c.c: Removed.
15989         * x86_64/multiarch/strcasestr.c: Likewise.
15990         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15991         Remove strcasestr.
15993 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
15995         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
15997         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
15998         variables for high and low parts before possibly modifying them.
16000 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16002         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
16003         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
16004         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
16005         of "multiarch/init-arch.h".
16006         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
16007         * sysdeps/x86/init-arch.h: This.
16009 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16011         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
16012         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
16014 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
16016         [BZ #17787]
16017         * manual/macros.texi: Add twoexp macro.
16018         * manual/filesys.texi: Fix exponents.
16019         * manual/llio.texi: Likewise.
16020         * manual/stdio.texi: Likewise.
16022 2015-08-20  Florian Weimer  <fweimer@redhat.com>
16024         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
16025         incorrect use.
16027 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16029         [BZ #18370]
16030         * math/s_csqrt.c (__csqrt): Force underflow exception for results
16031         whose real or imaginary part has small absolute value.
16032         * math/s_csqrtf.c (__csqrtf): Likewise.
16033         * math/s_csqrtl.c (__csqrtl): Likewise.
16034         * math/auto-libm-test-in: Add more tests of csqrt.
16035         * math/auto-libm-test-out: Regenerated.
16036         * sysdeps/i386/fpu/libm-test-ulps: Update.
16038 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16040         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
16041         __ppc_set_ppr_very_low): New functions.
16042         * manual/platform.texi: Add documentation about
16043         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
16045 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
16047         * string/stpncpy.c (stpncpy): Improve performance using
16048         __strnlen/memcpy/memset.
16050 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16052         [BZ #18796]
16053         * scripts/test-installation.pl: Don't add -lmvec to build options if
16054         libmvec wasn't built.
16056 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
16058         [BZ #14341]
16059         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
16060         case when there is a gap between DT_REL and DT_JMPREL sections.
16061         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
16062         (LDFLAGS-tst-split-dynreloc): New.
16063         (tst-split-dynreloc-ENV): Likewise.
16064         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
16065         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
16067 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16069         [BZ #18822]
16070         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
16071         attribute_hidden.
16072         (__xstat64_conv): Likewise.
16073         (__xstat32_conv): Likewise.
16075 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16077         [BZ #18822]
16078         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
16079         Don't load %ebx when calling __setcontext.  Call __setcontext
16080         with HIDDEN_JUMPTARGET.
16081         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
16082         libc_hidden_def.
16084 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16086         * sysdeps/i386/i686/Makefile
16087         [$(subdir) == string] (sysdep_routines): Moved to ...
16088         * sysdeps/i386/Makefile: Here.
16089         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
16090         * sysdeps/i386/cacheinfo.c: Here.
16091         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
16092         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
16093         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
16094         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
16096 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16098         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
16099         __i586__ is defined.
16100         (HAS_I686): Defined to 1 if __i686__ is defined.
16102 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16104         * elf/Makefile [$(have-z-execstack) = yes]
16105         (CPPFLAGS-tst-execstack.c): New variable.
16107         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
16108         conditional to [defined UTMPX || _HAVE_UT_TYPE].
16109         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
16110         UTMPX || _HAVE_UT_TV].
16111         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
16112         UTMPX || _HAVE_UT_TV - 0].
16114 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
16116         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
16117         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
16118         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
16120 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16122         * sysdeps/powerpc/dl-procinfo.c:
16123         (_dl_powerpc_cap_flags): Added missing strings for some
16124         hwcap features.
16125         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
16127 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
16129         Port the 0x7efe...feff pattern to GCC 6.
16130         See Steve Ellcey's bug report in:
16131         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
16132         * string/memrchr.c (MEMRCHR):
16133         * string/rawmemchr.c (RAWMEMCHR):
16134         * string/strchr.c (strchr):
16135         * string/strchrnul.c (STRCHRNUL):
16136         Rewrite code to avoid issues with signed shift overflow.
16138 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
16140         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
16141         whether cpuid is available only if HAS_CPUID is 0.
16142         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
16143         (HAS_I586): Likewise.
16144         (HAS_I686): Likewise.
16146 2015-08-18  Zack Weinberg  <zackw@panix.com>
16148         * misc/Versions (libc): Add GLIBC_2.23.
16150 2015-08-18  Alan Modra  <amodra@gmail.com>
16152         [BZ #18421]
16153         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
16154         .Lp__global.
16155         (_start): Load %dp via .Lp__global.
16156         [!SHARED]: Use .section .rodata.
16158 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16160         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
16161         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
16163 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16165         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
16166         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
16168 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16170         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
16171         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
16173 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16175         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
16176         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
16178 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16180         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
16181         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
16183 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16185         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
16186         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
16188 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16190         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
16192 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16194         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
16195         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
16196         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16197         (__ASSUME_LWS_CAS): Delete.
16199 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16201         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
16202         * sysdeps/hppa/configure: Regenerated.
16203         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
16204         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
16205         * sysdeps/hppa/nptl/tls.h: Likewise.
16207 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
16209         [BZ #18823]
16210         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
16211         for scaling up small arguments.
16212         * math/s_csqrtf.c (__csqrtf): Likewise.
16213         * math/s_csqrtl.c (__csqrtl): Likewise.
16214         * math/auto-libm-test-in: Add more tests of csqrt.
16215         * math/auto-libm-test-out: Regenerated.
16217 2015-08-17  Andreas Schwab  <schwab@suse.de>
16219         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
16220         version set GLIBC_2.19.
16222 2015-08-16  Zack Weinberg  <zackw@panix.com>
16224         [BZ #18681]
16225         * misc/regexp.h: This interface is no longer supported.
16226         Remove all contents, leaving only an #error directive.
16227         * misc/regexp.c (loc1, loc2, locs, step, advance):
16228         Demote to compatibility symbols.
16230 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
16232         [BZ #18084]
16233         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
16234         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
16235         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
16236         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
16237         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
16238         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
16239         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
16240         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
16241         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
16243 2015-08-15  Zack Weinberg  <zackw@panix.com>
16245         [BZ #18795]
16246         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
16247         buffer length is known to be too large, not if it's known to be
16248         small enough.
16249         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
16250         overflow at runtime, involving a length parameter, twice: once
16251         with a compile-time constant length parameter, once without.
16253 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
16255         [BZ #18824]
16256         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
16257         scaling x * y up instead of down.
16258         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16259         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16260         * math/auto-libm-test-in: Add more tests of fma.
16261         * math/auto-libm-test-out: Regenerated.
16263 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
16265         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16267 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16269         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
16270         unnecessary movq.
16271         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
16272         Likewise.
16274 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
16276         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16277         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
16278         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
16279         and tgamma.
16280         * math/auto-libm-test-out: Regenerated.
16281         * sysdeps/i386/fpu/libm-test-ulps: Update.
16282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16284         [BZ #16520]
16285         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
16286         (__tanh): Force underflow exception for arguments with small
16287         absolute value.
16288         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
16289         (__tanhf): Force underflow exception for arguments with small
16290         absolute value.
16291         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
16292         (__tanhl): Force underflow exception for arguments with small
16293         absolute value.
16294         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
16295         (__tanhl): Force underflow exception for arguments with small
16296         absolute value.
16297         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
16298         (__tanhl): Force underflow exception for arguments with small
16299         absolute value.
16300         * math/auto-libm-test-in: Add more tests of tanh.
16301         * math/auto-libm-test-out: Regenerated.
16302         * sysdeps/i386/fpu/libm-test-ulps: Update.
16304 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16306         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
16307         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
16309 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16311         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
16312         <cpuid.h>.
16314 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16316         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
16317         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
16319 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16321         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
16322         Remove $(objpfx)init-arch.o.
16323         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
16324         init-arch.
16325         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
16326         (INIT_ARCH_EXT): Defined as empty.
16327         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
16328         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
16329         __init_cpu_features call.  Replace HAS_XXX with
16330         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16331         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
16332         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
16333         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
16334         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
16335         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
16336         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
16337         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
16338         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
16339         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
16340         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
16341         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
16342         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
16343         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
16344         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
16345         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
16346         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
16347         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
16348         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
16349         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
16350         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
16351         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
16352         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
16353         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
16354         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
16355         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
16356         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
16357         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
16358         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
16359         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
16360         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
16361         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
16362         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
16363         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
16364         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
16365         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
16367 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16369         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
16370         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16371         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16372         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16373         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
16374         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
16375         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
16376         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
16377         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
16378         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
16379         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
16380         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
16381         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16382         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16383         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16384         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16385         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16386         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16387         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16388         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16389         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16390         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16391         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16392         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16393         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16394         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16395         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16396         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16397         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16398         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16399         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16400         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16401         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16402         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16403         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16404         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16405         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16406         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16407         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16408         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16409         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16410         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16411         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16413 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16415         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
16416         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16417         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16418         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16419         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16420         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
16421         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16422         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
16423         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16424         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16425         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16426         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
16427         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
16428         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
16429         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
16430         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
16431         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
16432         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
16433         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
16434         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
16435         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
16436         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
16437         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
16438         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16439         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16440         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
16441         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
16442         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
16443         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16444         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16445         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16446         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16447         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16448         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16449         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16450         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16451         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16452         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16453         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16454         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16455         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16456         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16457         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16459 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16461         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
16462         (dl_platform_init): Call init_cpu_features.
16463         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
16464         * sysdeps/i386/i686/cacheinfo.c
16465         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
16466         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
16467         * sysdeps/i386/i686/multiarch/Versions: Removed.
16468         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
16469         Removed.
16470         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
16471         * sysdeps/unix/sysv/linux/x86/Makefile
16472         (libpthread-sysdep_routines): Remove init-arch.
16473         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
16474         <sysdeps/x86_64/dl-procinfo.c> instead of
16475         sysdeps/generic/dl-procinfo.c>.
16476         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
16477         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
16478         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
16479         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
16480         [$(subdir) == elf] (tests-static): Add
16481         tst-get-cpu-features-static.
16482         * sysdeps/x86/Versions: New file.
16483         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
16484         * sysdeps/x86/cpu-features.c: Likewise.
16485         * sysdeps/x86/cpu-features.h: Likewise.
16486         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
16487         * sysdeps/x86/libc-start.c: Likewise.
16488         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
16489         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
16490         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
16491         * sysdeps/x86_64/dl-procinfo.c: Likewise.
16492         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
16493         Assume USE_MULTIARCH is defined and don't check it.
16494         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
16495         (is_amd): Likewise.
16496         (max_cpuid): Likewise.
16497         (intel_check_word): Likewise.
16498         (__cache_sysconf): Don't call __init_cpu_features.
16499         (__x86_preferred_memory_instruction): Removed.
16500         (init_cacheinfo): Don't call __init_cpu_features. Replace
16501         __cpu_features with GLRO(dl_x86_cpu_features).
16502         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
16503         (dl_platform_init): Call init_cpu_features.
16504         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
16505         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
16506         * sysdeps/x86_64/multiarch/Versions: Removed.
16507         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
16508         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
16509         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
16510         Removed.
16511         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
16513 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16515         [BZ #18820]
16516         * libio/Makefile (test-fmemopen-mem): New test.
16517         * libio/test-fmemopen.c (do_bz18820): New test.
16518         * libio/fmemopen.c (__fmemopen): Fix memory leak.
16519         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
16521 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16523         [BZ #16734]
16524         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
16525         (FREE_BUF): Delete.
16526         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
16527         * libio/genops.c (_IO_setb): Use malloc and free directly.
16528         (_IO_default_doallocate, _IO_default_finish): Likewise.
16529         ( _IO_unbuffer_all): Likewise.
16530         ( libc_freeres_fn): Likewise.
16531         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16532         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
16533         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
16534         (_IO_wdefault_doallocate): Likewise.
16536 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16538         [BZ #18086]
16539         * sysdeps/posix/nice.c (nice): Restore old errno.
16540         * posix/tst-nice.c (do_test): Add test for BZ #18086.
16542 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
16544         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
16546 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16548         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
16549         __bcopy and add a weak_alias to bcopy.
16550         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
16551         for static build.
16553         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
16554         cleanup macro usage.
16555         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
16556         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
16557         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
16558         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
16559         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
16560         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
16561         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
16562         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16563         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16564         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
16565         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16566         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
16567         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16568         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
16569         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16570         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
16571         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
16572         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
16573         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16575         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
16576         libc_hidden_def.
16577         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
16579         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
16580         (sysdep_routines): Add strstr-ppc64.
16581         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
16583 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
16585         [BZ #18778]
16586         * elf/Makefile (tests): Add Add tst-nodelete2.
16587         (modules-names): Add tst-nodelete2mod.
16588         (tst-nodelete2mod.so-no-z-defs): New.
16589         ($(objpfx)tst-nodelete2): Likewise.
16590         ($(objpfx)tst-nodelete2.out): Likewise.
16591         (LDFLAGS-tst-nodelete2): Likewise.
16592         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
16593         out of loop through all loaded libraries.
16594         * elf/tst-nodelete2.c: New file.
16595         * elf/tst-nodelete2mod.c: Likewise.
16596         * elf/tst-znodelete-zlib.cc: Delete.
16598 2015-08-11  Andreas Schwab  <schwab@suse.de>
16600         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
16601         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
16602         (__openat64_nocancel): Likewise.
16604 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
16606         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
16607         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
16608         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
16609         * math/auto-libm-test-out: Regenerated.
16610         * sysdeps/i386/fpu/libm-test-ulps: Update.
16611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16613 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
16615         [BZ #18790]
16616         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
16617         threshold for returning +/- 1.
16618         * math/auto-libm-test-in: Add more tests of tanh.
16619         * math/auto-libm-test-out: Regenerated.
16620         * sysdeps/i386/fpu/libm-test-ulps: Update.
16622 2015-08-10  Andreas Schwab  <schwab@suse.de>
16624         [BZ #18781]
16625         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
16626         MORE_OFLAGS to oflag.
16627         * io/test-lfs.c (do_test): Test openat64.
16629 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
16631         [BZ #18789]
16632         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
16633         smaller threshold for returning the argument.
16634         * math/auto-libm-test-in: Add more tests of sinh.
16635         * math/auto-libm-test-out: Regenerated.
16636         * sysdeps/i386/fpu/libm-test-ulps: Update.
16638 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
16640         [BZ #18674]
16641         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
16642         break.
16644 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
16646         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
16647         (generated): Don't add $(addprefix z.,$(tzfiles)).
16649 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16651         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
16652         * scripts/sysd-rules.awk: Likewise.
16654 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16656         * iconvdata/tst-tables.sh: Change echo -n to printf.
16657         * nss/db-Makefile: Likewise.
16658         * posix/tst-getconf.sh: Likewise.
16659         * stdio-common/tst-unbputc.sh: Likewise.
16661 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16663         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
16664         MADV_*_PAGES defines behind this feature check.
16666 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
16668         [BZ #18480]
16669         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
16670         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
16671         Define.
16672         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
16673         LOAD_REGS_5, LOAD_REGS_6): Update.
16674         (INTERNAL_SYSCALL): Update using new LOAD defines.
16675         (INTERNAL_SYSCALL_NCS): Likewise.
16676         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
16678 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16680         [BZ #16734]
16681         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
16683 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16685         [BZ #17905]
16686         * catgets/Makefile (tst-catgets-mem): New test.
16687         * catgets/catgets.c (catopen): Don't use unbounded alloca.
16688         * catgets/open_catalog.c (__open_catalog): Likewise.
16689         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
16691 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
16693         [BZ #18787]
16694         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
16695         clobber registers.
16696         (atomic_compare_and_exchange_val_acq): Use register asms to assign
16697         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
16698         Cast return to __typeof (oldval).
16700 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
16702         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
16703         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
16704         and delete sys/syscall.h include.
16706 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
16708         [BZ #16517]
16709         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
16710         (tan): Force underflow exception for arguments with small absolute
16711         value.
16712         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
16713         (__kernel_tanf): Force underflow exception for arguments with
16714         small absolute value.
16715         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
16716         (__kernel_tanl): Force underflow exception for arguments with
16717         small absolute value.
16718         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
16719         (__kernel_tanl): Force underflow exception for arguments with
16720         small absolute value.
16721         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
16722         (__kernel_tanl): Force underflow exception for arguments with
16723         small absolute value.
16724         * math/auto-libm-test-in: Add more tests of tan.
16725         * math/auto-libm-test-out: Regenerated.
16727 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16729         Fix sysdeps/i386/fpu/s_scalbn.S build
16731         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
16733 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
16735         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
16737 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16739         Fix gcrt0.o compilation
16741         When static-start-installed-name is different from
16742         start-installed-name, we must not use the shared objects.
16744         * csu/Makefile
16745         (extra-objs): Add gmon-start.o when building shared library and
16746         $(static-start-installed-name) is different from
16747         $(start-installed-name).
16748         $(objpfx)g$(static-start-installed-name): When building shared
16749         library and $(static-start-installed-name) is different from
16750         $(static-start-installed-name), revert to non-shared rule,
16751         i.e. using $(objpfx)% and gmon-start.o.
16753 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
16755         [BZ #16519]
16756         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
16757         (__ieee754_sinh): Force underflow exception for arguments with
16758         small absolute value.
16759         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
16760         (__ieee754_sinhf): Force underflow exception for arguments with
16761         small absolute value.
16762         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
16763         (__ieee754_sinhl): Force underflow exception for arguments with
16764         small absolute value.
16765         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
16766         (__ieee754_sinhl): Force underflow exception for arguments with
16767         small absolute value.
16768         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
16769         (__ieee754_sinhl): Force underflow exception for arguments with
16770         small absolute value.
16771         * math/auto-libm-test-in: Add more tests of sinh.
16772         * math/auto-libm-test-out: Regenerated.
16773         * sysdeps/i386/fpu/libm-test-ulps: Update.
16775 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16777         * libio/oldfileops.c: Include unistd.h.
16779 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
16781         * stdlib/isomac.c: Include ctype.h.
16783 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
16785         * dirent/tst-seekdir.c (main): Converted to ...
16786         (do_test): ... this.
16787         (TEST_FUNCTION): New macro.
16788         Include test-skeleton.c.
16789         * elf/tst-dlmodcount.c (main): Converted to ...
16790         (do_test): ... this.
16791         (TEST_FUNCTION): New macro.
16792         Include test-skeleton.c.
16793         * elf/tst-order-main.c (main): Converted to ...
16794         (do_test): ... this.
16795         (TEST_FUNCTION): New macro.
16796         Include test-skeleton.c.
16797         * elf/tst-pie2.c (main): Converted to ...
16798         (do_test): ... this.
16799         (TEST_FUNCTION): New macro.
16800         Include test-skeleton.c.
16801         * inet/tst-ether_aton.c (main): Converted to ...
16802         (do_test): ... this.
16803         (TEST_FUNCTION): New macro.
16804         Include test-skeleton.c.
16805         * misc/tst-mntent.c (main): Converted to ...
16806         (do_test): ... this.
16807         (TEST_FUNCTION): New macro.
16808         Include test-skeleton.c.
16809         * misc/tst-tsearch.c (main): Converted to ...
16810         (do_test): ... this.
16811         (TEST_FUNCTION): New macro.
16812         Include test-skeleton.c.
16813         * posix/tst-regexloc.c (main): Converted to ...
16814         (do_test): ... this.
16815         (TEST_FUNCTION): New macro.
16816         Include test-skeleton.c.
16817         * resolv/tst-aton.c (main): Converted to ...
16818         (do_test): ... this.
16819         (TEST_FUNCTION): New macro.
16820         Include test-skeleton.c.
16821         * stdio-common/test-fwrite.c (main): Converted to ...
16822         (do_test): ... this.
16823         (TEST_FUNCTION): New macro.
16824         Include test-skeleton.c.
16825         * stdio-common/tst-ferror.c (main): Converted to ...
16826         (do_test): ... this.
16827         (TEST_FUNCTION): New macro.
16828         Include test-skeleton.c.
16829         * stdio-common/tst-printf.c (main): Converted to ...
16830         (do_test): ... this.
16831         (TEST_FUNCTION): New macro.
16832         Include test-skeleton.c.
16833         * stdio-common/tst-printfsz.c (main): Converted to ...
16834         (do_test): ... this.
16835         (TEST_FUNCTION): New macro.
16836         Include test-skeleton.c.
16837         * stdlib/tst-strtod.c (main): Converted to ...
16838         (do_test): ... this.
16839         (TEST_FUNCTION): New macro.
16840         Include test-skeleton.c.
16841         * string/tst-strlen.c (main): Converted to ...
16842         (do_test): ... this.
16843         (TEST_FUNCTION): New macro.
16844         Include test-skeleton.c.
16845         * string/tst-svc.c (main): Converted to ...
16846         (do_test): ... this.
16847         (TEST_FUNCTION): New macro.
16848         Include test-skeleton.c.
16849         * time/tst-strptime.c (main): Converted to ...
16850         (do_test): ... this.
16851         (TEST_FUNCTION): New macro.
16852         Include test-skeleton.c.
16853         * timezone/tst-timezone.c (main): Converted to ...
16854         (do_test): ... this.
16855         (TEST_FUNCTION): New macro.
16856         Include test-skeleton.c.
16858 2015-08-05  Zack Weinberg  <zackw@panix.com>
16860         * misc/regexp.h: Update comments.
16862 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
16864         [BZ #18635]
16865         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
16866         before return label.
16868 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16870         [BZ #18661]
16871         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
16872         when calling __errno_location.
16873         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
16874         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
16876 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16878         [BZ #18661]
16879         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
16880         (__lll_timedwait_tid): Align stack to 16 bytes when calling
16881         __gettimeofday.
16883 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16885         [BZ #18661]
16886         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16887         (__start_context): Don't use pop to restore %rdi so that stack
16888         is aligned to 16 bytes when calling __setcontext.
16890 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16892         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
16893         only for libc.
16894         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16896 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16898         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
16899         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
16900         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
16902 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16904         * string/memccpy.c (memccpy):
16905         Improve performance by using memchr/memcpy/__mempcpy.
16907 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16909         * string/strncpy.c (strncpy):
16910         Improve performance by using __strnlen/memcpy.
16912 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16914         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
16915         Optimize to avoid an unnecessary FPCR read.
16917 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16919         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
16920         Optimize to reduce FPCR/FPSR accesses.
16922 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16924         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
16925         dead->data[category] != NULL.
16927 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
16929         [BZ #18647]
16930         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
16931         and |x| close to 1, use absolute value of x when computing log.
16932         * math/auto-libm-test-in: Add more tests of pow.
16933         * math/auto-libm-test-out: Regenerated.
16935 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16937         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
16938         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
16939         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
16941 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
16943         [BZ #18525]
16944         * locales/km_KH: Remove timezone definition.
16945         * locales/lo_LA: Likewise.
16946         * locales/my_MM: Likewise.
16947         * locales/nan_TW@latin: Likewise.
16948         * locales/th_TH: Likewise.
16949         * locales/uk_UA: Likewise.
16951 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
16953         [BZ #18265]
16954         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
16955         (wcsncat): Likewise.
16956         (wcscmp): Likewise.
16957         (wcsncmp): Likewise.
16959 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
16961         * test-skeleton.c (usage): New function.
16962         (main): Call usage when opt is '?'.
16964 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
16966         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
16967         before first use.
16969 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
16971         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
16972         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
16973         in there too.
16975 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
16977         * version.h (RELEASE): Set to "development".
16978         (VERSION): Set to "2.22.90"
16980         * version.h (RELEASE): Set to "stable".
16981         (VERSION): Set to "2.22"
16982         * include/features.h (__GLIBC_MINOR__): Set to 22.
16984 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
16986         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
16987         Restructure macro to avoid "value computed is not used" warning.
16988         (atomic_compare_and_exchange_val_acq): Likewise.
16990 2015-08-04  Andreas Schwab  <schwab@suse.de>
16992         [BZ #18635]
16993         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
16994         ret.
16995         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
16997 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
16999         * po/pl.po: Updated translation.
17000         * po/uk.po: Likewise.
17001         * po/fi.po: Likewise.
17002         * po/ko.po: Likewise.
17003         * po/ru.po: Likewise.
17004         * po/vi.po: Likewise.
17006 2015-07-31  Zack Weinberg  <zackw@panix.com>
17008         [BZ #18681]
17009         * regexp.h: Add unconditional #warning stating that this header
17010         will be removed soon.  Revise banner comment to match.
17011         (compile): Consistently use ERROR instead of RETURN to report
17012         errors (partial fix for bz#18681).
17013         * regexp.c: Don't include regexp.h. Remove some unnecessary
17014         declarations.
17016 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
17018         * po/libc.pot: Regenerated.
17020 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17022         [BZ #18740]
17023         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
17024         float-vlen4-arch-ext-cflags): Removed.
17025         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
17026         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
17028 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17030         [BZ #14113]
17031         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
17032         aligned to __aligned__.
17033         (pthread_cond_t, pthread_rwlock_t): Likewise.
17035 2015-07-30  Torvald Riegel  <triegel@redhat.com>
17037         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
17039 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17041         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
17042         (struct sigaction): Change sa_flags from a long to an int, and add
17043         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
17045 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17047         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
17048         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
17049         sysdeps/generic/sysdep.h include.
17050         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
17051         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
17052         sysdeps/hppa/sysdep.h.
17053         (ENTRY, PSEUDO): Undefine before defining.
17055 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17057         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
17058         from scratch to use INTERNAL_SYSCALL.
17060 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
17062         [BZ #18078]
17063         * scripts/check-localplt.awk: Support alternate relocations.
17064         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
17065         sections.
17066         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
17067         malloc entries with + REL R_386_GLOB_DAT.
17068         * sysdeps/x86_64/localplt.data: New file.
17070 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
17072         [BZ #18731]
17073         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
17074         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17075         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17077 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17079         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
17081 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17083         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
17084         directly in terms of __sync_fetch_and_add and delete (int) cast.
17086 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17088         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
17089         the -D_ASM_IA64_CURRENT_H flag.
17091 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17093         [BZ #18641]
17094         * pwd/pwd.h (putpwent): Delete __nonnull markings.
17096 2015-07-27  Andreas Schwab  <schwab@suse.de>
17098         * conform/conformtest.pl (checknamespace): Filter out string
17099         literals while tokenizing.
17101 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
17103         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17104         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
17105         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17107 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
17109         * nptl/tst-join7mod.c: Add #include <string.h>.
17111 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
17113         * sysdeps/nios2/libm-test-ulps: Update.
17115 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
17117         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
17118         Fix order of arguments to the rt_sigprocmask syscall.
17119         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
17120         Likewise.
17122 2015-07-24  Roland McGrath  <roland@hack.frob.com>
17124         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
17126 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17128         [BZ #18457]
17129         * nptl/Makefile (tests): New test case tst-join7.
17130         (modules-names): New test case module tst-join7mod.
17131         * nptl/tst-join7.c: New file.
17132         * nptl/tst-join7mod.c: New file.
17133         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
17134         all translation units in libc.so, libpthread.so and rtld.
17136 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17138         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17140 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
17142         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
17143         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17144         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17145         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17146         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17147         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17148         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17149         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17150         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17151         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17152         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17153         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17154         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
17155         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
17156         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
17157         implementation.
17159 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17161         [BZ #17711]
17162         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17163         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
17164         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17165         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17166         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
17167         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17169 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17171         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
17172         instead of just saying load lock in the comments.
17174 2015-07-23  Roland McGrath  <roland@hack.frob.com>
17176         * sysdeps/unix/Subdirs: Moved ...
17177         * sysdeps/posix/Subdirs: ... here.
17178         * login/pty.h (struct termios, struct winsize): Add forward decls.
17179         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
17180         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
17181         * sysdeps/arm/nacl/libc.abilist: Updated.
17182         * sysdeps/nacl/libutil.abilist: New file.
17184         * bits/signum.h: Update comments to mention 1003.1-2013 too.
17185         (SIGWINCH): New macro.
17187         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
17188         * sysdeps/arm/nacl/libc.abilist: Add it.
17190 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17192         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
17194 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17196         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17197         Swap __glibc_reserved0 and sa_flags order.
17199 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17201         [BZ #18657]
17202         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
17203         are pending TLS destructor calls.
17204         * include/link.h (struct link_map): Add concurrency note for
17205         L_TLS_DTOR_COUNT.
17206         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17207         Don't touch the link map flag.  Atomically increment
17208         l_tls_dtor_count.
17209         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
17210         Avoid taking the load lock and don't touch the link map flag.
17211         * stdlib/tst-tls-atexit-nodelete.c: New test case.
17212         * stdlib/Makefile (tests): Use it.
17213         * stdlib/tst-tls-atexit.c (do_test): dlopen
17214         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
17215         to allow tst-tls-atexit-nodelete test case to use it.
17217 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17219         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
17220         to bits/types.h.
17221         (msgqnum_t): New typedef.
17222         (msglen_t): Likewise.
17223         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
17224         and msg_qbytes type to msglen_t.
17226 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17228         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
17229         pad0 to __glibc_reserved0.
17230         (struct stat64): Likewise.
17232 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17234         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17235         Change sa_flags from a long to an int and add __glibc_reserved0 before
17236         it for padding.
17238 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17240         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
17241         anonymous by deleting "siginfo" name.
17243 2015-07-21  Roland McGrath  <roland@hack.frob.com>
17245         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
17246         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
17247         rather than __nacl_irt_filename.
17248         * sysdeps/nacl/xstat.c (__xstat): Likewise.
17250         * NEWS: New item for arm-nacl port.
17251         * sysdeps/arm/nacl/libc.abilist: New file.
17252         * sysdeps/nacl/ld.abilist: New file.
17253         * sysdeps/nacl/libBrokenLocale.abilist: New file.
17254         * sysdeps/nacl/libanl.abilist: New file.
17255         * sysdeps/nacl/libcrypt.abilist: New file.
17256         * sysdeps/nacl/libdl.abilist: New file.
17257         * sysdeps/nacl/libm.abilist: New file.
17258         * sysdeps/nacl/libpthread.abilist: New file.
17259         * sysdeps/nacl/libresolv.abilist: New file.
17260         * sysdeps/nacl/librt.abilist: New file.
17262 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
17264         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
17265         __startcontext to initialize the new context.
17266         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
17267         up CFI directive to forbid further backtracing.
17269 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
17271         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
17272         reference.
17273         * charmaps/ANSI_X3.4-1968: Likewise.
17274         * charmaps/BS_4730: Likewise.
17275         * charmaps/BS_VIEWDATA: Likewise.
17276         * charmaps/CP1250: Likewise.
17277         * charmaps/CP1251: Likewise.
17278         * charmaps/CP1252: Likewise.
17279         * charmaps/CP1253: Likewise.
17280         * charmaps/CP1254: Likewise.
17281         * charmaps/CP1255: Likewise.
17282         * charmaps/CP1256: Likewise.
17283         * charmaps/CSN_369103: Likewise.
17284         * charmaps/EBCDIC-DK-NO: Likewise.
17285         * charmaps/GB_1988-80: Likewise.
17286         * charmaps/GREEK-CCITT: Likewise.
17287         * charmaps/GREEK7: Likewise.
17288         * charmaps/INIS-8: Likewise.
17289         * charmaps/ISIRI-3342: Likewise.
17290         * charmaps/ISO_2033-1983: Likewise.
17291         * charmaps/ISO_5427-EXT: Likewise.
17292         * locales/POSIX: Likewise.
17293         * locales/ar_SA: Likewise.
17294         * locales/be_BY: Likewise.
17295         * locales/be_BY@latin: Likewise.
17296         * locales/ca_ES: Likewise.
17297         * locales/cs_CZ: Likewise.
17298         * locales/da_DK: Likewise.
17299         * locales/de_BE: Likewise.
17300         * locales/de_CH: Likewise.
17301         * locales/de_LU: Likewise.
17302         * locales/en_AU: Likewise.
17303         * locales/en_BW: Likewise.
17304         * locales/en_CA: Likewise.
17305         * locales/en_DK: Likewise.
17306         * locales/en_GB: Likewise.
17307         * locales/en_IE: Likewise.
17308         * locales/en_NZ: Likewise.
17309         * locales/en_ZA: Likewise.
17310         * locales/en_ZW: Likewise.
17311         * locales/es_AR: Likewise.
17312         * locales/es_BO: Likewise.
17313         * locales/es_CL: Likewise.
17314         * locales/es_CO: Likewise.
17315         * locales/es_DO: Likewise.
17316         * locales/es_EC: Likewise.
17317         * locales/es_ES: Likewise.
17318         * locales/es_HN: Likewise.
17319         * locales/es_MX: Likewise.
17320         * locales/es_PA: Likewise.
17321         * locales/es_PE: Likewise.
17322         * locales/es_PY: Likewise.
17323         * locales/es_SV: Likewise.
17324         * locales/es_US: Likewise.
17325         * locales/es_UY: Likewise.
17326         * locales/es_VE: Likewise.
17327         * locales/et_EE: Likewise.
17328         * locales/fa_IR: Likewise.
17329         * locales/fo_FO: Likewise.
17330         * locales/fr_CA: Likewise.
17331         * locales/fr_CH: Likewise.
17332         * locales/gv_GB: Likewise.
17333         * locales/he_IL: Likewise.
17334         * locales/hr_HR: Likewise.
17335         * locales/id_ID: Likewise.
17336         * locales/is_IS: Likewise.
17337         * locales/it_CH: Likewise.
17338         * locales/iw_IL: Likewise.
17339         * locales/kl_GL: Likewise.
17340         * locales/ko_KR: Likewise.
17341         * locales/kw_GB: Likewise.
17342         * locales/lg_UG: Likewise.
17343         * locales/lt_LT: Likewise.
17344         * locales/lv_LV: Likewise.
17345         * locales/mi_NZ: Likewise.
17346         * locales/nhn_MX: Likewise.
17347         * locales/nl_BE: Likewise.
17348         * locales/pl_PL: Likewise.
17349         * locales/sk_SK: Likewise.
17350         * locales/sl_SI: Likewise.
17351         * locales/sv_FI: Likewise.
17352         * locales/tl_PH: Likewise.
17353         * locales/tr_TR: Likewise.
17354         * locales/vi_VN: Likewise.
17356 2015-07-21  Khem Raj  <raj.khem@gmail.com>
17358         [BZ #17475]
17359         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
17360         of tu_IN and bh_IN.
17362 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
17364         [BZ #18694]
17365         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
17366         bits/wordsize.h.
17367         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
17369 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17371         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
17372         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
17373         (spawn_thread): New function.
17374         (load): Rename to reg_dtor_and_close.  Move dlopen to...
17375         (do_test): ... here.  Use IS_LOADED to test for its
17376         availability.
17378 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
17380         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17382 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
17384         [BZ #18696]
17385         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
17386         si_addr_bnd.
17387         (si_lower): New.
17388         (si_upper): Likewise.
17390 2015-07-16  David S. Miller  <davem@davemloft.net>
17392         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
17394 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17396         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
17397         buffer.
17398         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
17399         fail output information.
17401 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17403         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
17404         and strstr-ppc64..
17405         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17406         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
17407         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
17408         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
17409         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
17411 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17413         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17414         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17415         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17416         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17418 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17420         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17421         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
17422         rtld_hidden_proto.
17423         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
17425 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17427         * tst-nodelete-opened.c (do_test): Add comment to clarify how
17428         the test can fail.
17430         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
17432         [BZ #18676]
17433         * elf/tst-nodelete-opened.c: New test case.
17434         * elf/tst-nodelete-opened-lib.c: New test case module.
17435         * elf/Makefile (tests, modules-names): Use them.
17436         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
17437         early.
17439 2015-07-15  David S. Miller  <davem@davemloft.net>
17441         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
17442         futex-intenal.h
17443         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
17444         * sysdeps/sparc/sparc64/Makefile: Likewise.
17445         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17446         Remove space from macro define.
17447         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
17449 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
17451         [BZ #17475]
17452         * locale/iso-639.def: Update Bhili and Tulu language codes as
17453         per iso639-3.
17455 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
17457         * elf/tst-leaks1.c (main): Converted to ...
17458         (do_test): ... this.
17459         (TEST_FUNCTION): New macro.
17460         Include test-skeleton.c.
17461         * localedata/tst-langinfo.c (main): Converted to ...
17462         (do_test): ... this.
17463         (TEST_FUNCTION): New macro.
17464         Include test-skeleton.c.
17465         * math/test-fpucw.c (main): Converted to ...
17466         (do_test): ... this.
17467         (TEST_FUNCTION): New macro.
17468         Include test-skeleton.c.
17469         * math/test-tgmath.c (main): Converted to ...
17470         (do_test): ... this.
17471         (TEST_FUNCTION): New macro.
17472         Include test-skeleton.c.
17473         * math/test-tgmath2.c (main): Converted to ...
17474         (do_test): ... this.
17475         (TEST_FUNCTION): New macro.
17476         Include test-skeleton.c.
17477         * setjmp/tst-setjmp.c (main): Converted to ...
17478         (do_test): ... this.
17479         (TEST_FUNCTION): New macro.
17480         Include test-skeleton.c.
17481         * stdio-common/tst-sscanf.c (main): Converted to ...
17482         (do_test): ... this.
17483         (TEST_FUNCTION): New macro.
17484         Include test-skeleton.c.
17485         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
17486         (do_test): ... this.
17487         (TEST_FUNCTION): New macro.
17488         Include test-skeleton.c.
17490         * elf/tst-audit9.c (main): Converted to ...
17491         (do_test): ... this.
17492         (TEST_FUNCTION): New macro.
17493         Include test-skeleton.c.
17495 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
17497         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
17499 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17501         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
17502         New variable.
17504 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17506         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17508 2015-07-14  Roland McGrath  <roland@hack.frob.com>
17510         * sysdeps/generic/dl-fileid.h: New file.
17511         * sysdeps/posix/dl-fileid.h: New file.
17512         * sysdeps/nacl/dl-fileid.h: New file.
17513         * include/link.h: Include <dl-fileid.h>.
17514         (struct link_map): Replace l_dev and l_ino with l_file_id.
17515         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
17516         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
17517         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
17519 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17521         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
17523 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17525         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
17526         Add iff $CXX is set.
17527         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
17528         Likewise.
17529         (tst-nodelete-zmodiff): Likewise.
17530         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
17532 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17534         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
17536 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17538         * sysdeps/aarch64/fpu/math_private.h
17539         (define math_opt_barrier): Add AArch64 version.
17540         (math_force_eval): Likewise.
17542 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17544         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
17546 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
17548         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
17549         %ld with %jd and cast to intmax_t.
17550         (do_test_length_zero): Likewise.
17552 2015-07-10  Roland McGrath  <roland@hack.frob.com>
17554         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
17556 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
17558         * sysdeps/tile/libm-test-ulps: Regenerated.
17560         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
17561         Comment out the whole function, not just its body.
17563 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17565         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
17566         locks.
17568         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
17570 2015-07-10  Torvald Riegel  <triegel@redhat.com>
17572         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
17573         (sem_assume_only_signals_cause_futex_EINTR): Remove.
17575 2015-07-10  Torvald Riegel  <triegel@redhat.com>
17577         * sysdeps/nptl/futex-internal.h: New file.
17578         * sysdeps/nacl/futex-internal.h: New file.
17579         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
17580         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
17581         error checking.
17582         (setxid_unmark_thread): Likewise.
17583         (__nptl_setxid): Likewise.
17584         (__wait_lookup_done): Likewise.
17585         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
17586         * nptl/nptl-init.c (sighandler_setxid): Likewise.
17587         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
17588         * nptl/pthread_once.c (clear_once_control): Likewise.
17589         (__pthread_once_slow): Likewise.
17590         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
17591         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
17592         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
17593         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17594         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
17595         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
17596         Likewise.
17597         (__pthread_rwlock_rdlock): Likewise.
17598         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17599         Likewise.
17600         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17601         Likewise.
17602         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17603         Likewise.
17604         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
17605         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
17606         Likewise.
17607         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
17608         __ASSUME_PRIVATE_FUTEX check.
17609         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
17610         Check that shared futexes are supported.
17611         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
17612         wrappers with error checking.
17613         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
17614         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
17615         * nptl/pthread_barrierattr_setpshared.c
17616         (pthread_barrierattr_setpshared): Check that shared futexes are
17617         supported.
17618         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
17619         Likewise.
17620         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
17621         Likewise.
17622         * nptl/sem_init.c (futex_private_if_supported): Remove.
17623         (__new_sem_init): Adapt and check that shared futexes are supported.
17624         * nptl/sem_open.c (sem_open): Likewise.
17625         * nptl/sem_post.c (futex_wake): Remove.
17626         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
17627         (do_futex_wait): Use futex wrappers with error checking.
17628         * nptl/sem_wait.c: Include lowlevellock.h.
17629         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
17630         Use futex_supports_pshared.
17631         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
17632         Use futex wrappers with error checking.
17633         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
17634         Likewise.
17635         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
17636         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
17637         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
17638         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
17639         (futex_wake): Likewise.
17640         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
17641         (do_futex_wait): Use futex wrappers with error checking.
17642         (__new_sem_wait_slow): Update EINTR handling.
17643         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
17645 2015-07-09  Martin Sebor  <msebor@redhat.com>
17647         [BZ #18435]
17648         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
17649         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
17650         * nptl/Makefile (test-xfail-tst-once5): Define.
17652 2015-07-09  Roland McGrath  <roland@hack.frob.com>
17654         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
17655         * elf/dl-minimal.c: For readability, reorder some definitions and
17656         introduce more page breaks.  Include <stdio.h>.
17657         (__libc_fatal): New function.
17659         * include/unistd.h: Add rtld_hidden_proto for _exit.
17660         * posix/_exit.c: Add rtld_hidden_def.
17661         * sysdeps/mach/hurd/_exit.c: Likewise.
17662         * sysdeps/nacl/_exit.c: Likewise.
17663         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
17664         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
17666 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
17668         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
17669         bndmov encoding with zero displacement.
17671 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
17672             H.J. Lu  <hongjiu.lu@intel.com>
17674         [BZ #18134]
17675         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
17676         * sysdeps/i386/configure: Regenerated.
17677         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
17678         (_dl_runtime_profile): Save and restore Intel MPX return bound
17679         registers when calling _dl_call_pltexit.  Add
17680         PRESERVE_BND_REGS_PREFIX before return.
17681         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
17682         (LRV_BND1_OFFSET): Likewise.
17683         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
17684         lrv_bnd1.
17685         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
17686         typo in bndmov encoding.
17687         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
17688         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
17689         branch instructions to preserve bounds.
17691 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
17694         [GLIBC_2.22]: Add fmemopen.
17696 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17698         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
17699         returns an error, also try to use host port from __mach_host_self for
17700         the __vm_wire call.
17701         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
17703 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17705         [BZ #18400]
17706         [BZ #18648]
17707         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
17708         Fix pr_uid and pr_gid members.
17709         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
17710         definition to elf_greg_t.
17712 2015-07-08  Roland McGrath  <roland@hack.frob.com>
17714         [BZ #18383]
17715         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
17716         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
17717         * sysdeps/arm/configure: Regenerated.
17718         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
17719         (test-xfail-tst-tlsalign-static): Variable removed.
17721         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
17722         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
17723         rather than explicit 'ln -s'.
17725         * resolv/rpc/netdb.h: New file.
17726         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
17728 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17730         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
17731         length buffers.
17732         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
17733         test-skeleton.c.
17735         [BZ #6544]
17736         [BZ #11216]
17737         [BZ #12836]
17738         [BZ #13151]
17739         [BZ #13152]
17740         [BZ #14292]
17741         * include/stdio.h (fmemopen): Remove hidden prototype.
17742         (__fmemopen): Add new hidden prototype.
17743         * libio/Makefile: Add oldfmemopen object.
17744         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
17745         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
17746         compliance.
17747         * libio/oldfmemopen.c: New file: old fmemopen implementation for
17748         symbol compatibility.
17749         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
17750         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
17751         fmemopen.
17752         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
17753         on append and read mode.
17754         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
17755         fmemopen.
17756         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
17757         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
17758         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
17759         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
17760         Likewise.
17761         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
17762         [GLIBC_2.22]: Likewise.
17763         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
17764         Likewise.
17765         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
17766         Likewise.
17767         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
17768         [GLIBC_2.22]: Likewise.
17769         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
17770         [GLIBC_2.22]: Likewise.
17771         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
17772         [GLIBC_2.22]: Likewise.
17773         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
17774         [GLIBC_2.22]: Likewise.
17775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
17776         [GLIBC_2.22]: Likewise.
17777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
17778         [GLIBC_2.22]: Likewise.
17779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
17780         [GLIBC_2.22]: Likewise.
17781         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
17782         Likewise.
17783         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
17784         Likewise.
17785         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
17786         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
17787         [GLIBC_2.22]: Likewise.
17788         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
17789         [GLIBC_2.22]: Likewise.
17790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
17791         [GLIBC_2.22]: Likewise.
17792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
17793         [GLIBC_2.22]: Likewise.
17794         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
17795         Likewise.
17796         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
17797         Likewise.
17798         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
17799         Likewise.
17800         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
17801         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
17803 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
17805         [BZ #18643]
17806         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
17807         IPV6_PATHMTU, and IPV6_DONTFRAG.
17809 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
17811         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
17812         and _IO_UNBUFFERED.
17813         * libio/oldfileops.c: Likewise.
17814         * libio/wfileops.c: Likewise.
17816 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
17818         * nscd/selinux.c: Delete selinux/flask.h include.
17820 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
17822         [BZ #18641]
17823         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
17824         (putpwent): Likewise.
17825         (getpwnam): Likewise.
17826         (getpwent_r): Likewise.
17827         (getpwuid_r): Likewise.
17828         (getpwnam_r): Likewise.
17829         (fgetpwent_r): Likewise.
17831 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
17833         [BZ #18557]
17834         * inet/rcmd.c (__validuser2_sa): Check user first to
17835         short-circuit host check.
17837 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
17838             Mikhail Ilin  <m.ilin@samsung.com>
17840         [BZ #17833]
17841         * elf/Makefile (tests): Add tst-nodelete.
17842         (modules-names): Add tst-nodelete-uniquemod.
17843         (tst-nodelete-uniquemod.so-no-z-defs): New.
17844         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
17845         (tst-nodelete-zmod.so-no-z-defs): Likewise.
17846         ($(objpfx)tst-nodelete): Likewise.
17847         ($(objpfx)tst-nodelete.out): Likewise.
17848         (LDFLAGS-tst-nodelete): Likewise.
17849         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
17850         * elf/dl-close.c (_dl_close_worker): Add a parameter to
17851         implement forced object deletion.
17852         (_dl_close): Pass false to _dl_close_worker.
17853         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
17854         * elf/tst-nodelete.cc: New file.
17855         * elf/tst-nodeletelib.cc: Likewise.
17856         * elf/tst-znodeletelib.cc: Likewise.
17857         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
17859 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17861         [BZ #18508]
17862         * stdlib/Makefile ($(objpfx)tst-makecontext3):
17863         Depend on $(libdl).
17864         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
17865         is not called infinitely times.
17866         (backtrace_helper): New function.
17867         (trace_arg): New struct.
17868         (st1): Enlarge stack size.
17869         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17870         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
17871         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17872         Likewise.
17874 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17876         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17878 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17880         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
17881         Include sys/types.h instead of bits/types.h.
17882         Remove inclusion of bits/wordsize.h.
17884 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
17886         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
17887         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
17888         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
17889         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
17890         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
17891         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
17893 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
17895         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
17896         link-defines.sym.
17897         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
17898         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
17899         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
17900         and LR_SIZE.
17901         * sysdeps/i386/link-defines.sym: New file.
17903 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
17905         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
17906         (modules-names): Add tst-auditmod3a tst-auditmod3b.
17907         ($(objpfx)tst-audit3): New rule.
17908         ($(objpfx)tst-audit3.out): Likewise.
17909         * sysdeps/i386/tst-audit3.c: New file.
17910         * sysdeps/i386/tst-audit3.h: Likewise.
17911         * sysdeps/i386/tst-auditmod3a.c: Likewise.
17912         * sysdeps/i386/tst-auditmod3b.c: Likewise.
17914 2015-07-07  Torvald Riegel  <triegel@redhat.com>
17916         [BZ #18633]
17917         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
17918         pointer in C code.
17919         (__strcat_c): Likewise.
17920         (__strcat_g): Likewise.
17922 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
17924         [BZ #18592]
17925         * misc/sbrk.c: Set errno to ENOMEM on overflow.
17927 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
17929         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
17930         New function.  (__ieee754_sqrtf): New function.
17931         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
17932         New function.
17933         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
17934         New function.
17936 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
17938         * sysdeps/ieee754/support.c: Remove unused file.
17940 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17942         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
17943         registers instead of d ones so the layout is kernel abi compatible.
17944         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
17945         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
17946         Likewise.
17948 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17950         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17952 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
17954         [BZ #18619]
17955         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
17956         and return argument in case of subnormal argument.
17958 2015-07-01  Martin Sebor  <msebor@redhat.com>
17960         [BZ #18435]
17961         * nptl/Makefile: Add tst-once5.cc.
17962         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
17963         Remove macro redefinitions.
17964         * nptl/tst-once5.cc: New test.
17966 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
17968         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17970         * sysdeps/arm/libm-test-ulps: Regenerated.
17972         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17973         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17975 2015-06-30  Torvald Riegel  <triegel@redhat.com>
17977         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
17978         lll_lock_wait_private and lll_futex_wake probes.
17980         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
17981         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
17982         Likewise.
17983         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
17984         atomic_spin_nop.
17985         * sysdeps/x86_64/bits/atomic.h: Likewise.
17986         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
17987         to atomic_spin_nop and move ...
17988         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17989         ... here and ...
17990         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
17991         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
17992         atomic_spin_nop instead of BUSY_WAIT_NOP.
17993         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
17994         Likewise.
17995         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
17996         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
17997         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
17998         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
17999         instead of atomic_delay.
18001 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
18003         [BZ #18613]
18004         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
18005         X_ADJ not X when adjusting exponent.
18006         (__ieee754_gamma_r): Do intermediate computations in
18007         round-to-nearest then adjust overflowing and underflowing results
18008         as needed.
18009         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
18010         of X_ADJ not X when adjusting exponent.
18011         (__ieee754_gammaf_r): Do intermediate computations in
18012         round-to-nearest then adjust overflowing and underflowing results
18013         as needed.
18014         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
18015         log of X_ADJ not X when adjusting exponent.
18016         (__ieee754_gammal_r): Do intermediate computations in
18017         round-to-nearest then adjust overflowing and underflowing results
18018         as needed.  Use 1.0L not 1.0f as numerator of division.
18019         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
18020         log of X_ADJ not X when adjusting exponent.
18021         (__ieee754_gammal_r): Do intermediate computations in
18022         round-to-nearest then adjust overflowing and underflowing results
18023         as needed.  Use 1.0L not 1.0f as numerator of division.
18024         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
18025         of X_ADJ not X when adjusting exponent.
18026         (__ieee754_gammal_r): Do intermediate computations in
18027         round-to-nearest then adjust overflowing and underflowing results
18028         as needed.  Use 1.0L not 1.0f as numerator of division.
18029         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
18030         to auto-libm-test-in.
18031         (tgamma_test): Use ALL_RM_TEST.
18032         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
18033         tests of tgamma with spurious-overflow.
18034         * math/auto-libm-test-out: Regenerated.
18035         * math/gen-libm-have-vector-test.sh: Do not check for START.
18036         * sysdeps/i386/fpu/libm-test-ulps: Update.
18037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18039         [BZ #18612]
18040         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
18041         arguments, just return 0.5 times the argument, with underflow
18042         forced as needed.
18043         * math/auto-libm-test-in: Add more tests of j1.
18044         * math/auto-libm-test-out: Regenerated.
18046         [BZ #16559]
18047         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
18048         (__ieee754_j1): Force underflow exception for small results.
18049         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18050         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
18051         (__ieee754_j1f): Force underflow exception for small results.
18052         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18053         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18054         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18055         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
18056         (__ieee754_j1l): Force underflow exception for small results.
18057         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18058         * math/auto-libm-test-in: Add more tests of j1 and jn.
18059         * math/auto-libm-test-out: Regenerated.
18061         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
18062         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
18063         (PF_MPLS): Likewise.
18064         (AF_IB): Likewise.
18065         (AF_MPLS): Likewise.
18066         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
18067         value and macro.
18068         (MS_RMT_MASK): Include MS_LAZYTIME.
18070 2015-06-26  Mel Gorman  <mgorman@suse.de>
18072         [BZ #18502]
18073         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
18074         already minimal.
18076 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
18078         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
18079         (DT_MIPS_NUM): Update.
18080         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
18081         DT_MIPS_RLD_MAP_REL.
18083 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
18085         [BZ #16559]
18086         [BZ #18602]
18087         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
18088         round-to-nearest internally then recompute results that
18089         underflowed to zero in the original rounding mode.
18090         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18091         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18092         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18093         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18094         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
18095         * sysdeps/i386/fpu/libm-test-ulps: Update.
18096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18098 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
18100         * NEWS: Fixed description of link with vector math library.
18102 2015-06-25  Andreas Schwab  <schwab@suse.de>
18104         [BZ #18549]
18105         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
18106         * libio/test-fmemopen.c (do_test): Add test for it.
18108 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
18110         [BZ #17841]
18111         * Makeconfig (no-pie-ldflag): New.
18112         (+link): Set to $(+link-pie) if default to PIE.
18113         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
18114         * config.make.in (build-pie-default): New.
18115         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
18116         is default.  AC_SUBST.
18117         * configure: Regenerated.
18118         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
18120 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18122         * nptl/descr.h (struct pthread): Change type of field setxid_futex
18123         to 'unsigned int'.
18125         * resolv/gai_misc.h (struct waitlist): Change type of field
18126         counterp to 'volatile unsigned int *'.
18127         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
18128         FUTEXADDR and OLDVAL.
18129         * resolv/getaddrinfo_a.c (getaddrinfo_a):
18130         Give local variable TOTAL type 'volatile unsigned int'.
18131         (struct async_waitlist): Change type of field counter to 'unsigned int'.
18132         * resolv/gai_suspend.c (gai_suspend):
18133         Give local variable CNTR type 'unsigned int'.
18135         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
18136         counterp to 'volatile unsigned int *'.
18137         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
18138         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
18139         (aio_suspend): Give local variable CNTR type 'unsigned int'.
18140         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
18141         Give local variable TOTAL type 'volatile unsigned int'.
18142         (struct async_waitlist): Change type of field counter to 'unsigned int'.
18144 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18146         [BZ #18383]
18147         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
18148         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
18149         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
18150         comment for i386/x86-64.
18151         (test-xfail-tst-tlsalign-extern-static): Removed.
18153 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18155         * math/test-double.h: New file.
18156         * math/test-float.h: Likewise.
18157         * math/test-ldouble.h: Likewise.
18158         * math/test-math-inline.h: Likewise.
18159         * math/test-math-no-inline.h: Likewise.
18160         * math/test-math-scalar.h: Likewise.
18161         * math/test-math-vector.h: Likewise.
18162         * math/test-vec-loop.h: Remove file.  Contents moved into
18163         test-math-vector.h.
18164         * math/libm-test.inc (MATHCONST): Do not document macro.
18165         * math/test-double.c: Include test-double.h, test-math-no-inline.h
18166         and test-math-scalar.h.
18167         (FUNC): Remove macro.
18168         (FUNC_TEST): Likewise.
18169         (FLOAT): Likewise.
18170         (MATHCONST): Likewise.
18171         (PRINTF_EXPR): Likewise.
18172         (PRINTF_XEXPR): Likewise.
18173         (PRINTF_NEXPR): Likewise.
18174         (TEST_DOUBLE): Likewise.
18175         (TEST_MATHVEC): Likewise.
18176         (__NO_MATH_INLINES): Likewise.
18177         * math/test-float.c: Include test-float.h, test-math-no-inline.h
18178         and test-math-scalar.h.
18179         (FUNC): Remove macro.
18180         (FUNC_TEST): Likewise.
18181         (FLOAT): Likewise.
18182         (MATHCONST): Likewise.
18183         (PRINTF_EXPR): Likewise.
18184         (PRINTF_XEXPR): Likewise.
18185         (PRINTF_NEXPR): Likewise.
18186         (TEST_FLOAT): Likewise.
18187         (TEST_MATHVEC): Likewise.
18188         (__NO_MATH_INLINES): Likewise.
18189         * math/test-idouble.c: Include test-double.h, test-math-inline.h
18190         and test-math-scalar.h.
18191         (FUNC): Remove macro.
18192         (FUNC_TEST): Likewise.
18193         (FLOAT): Likewise.
18194         (MATHCONST): Likewise.
18195         (PRINTF_EXPR): Likewise.
18196         (PRINTF_XEXPR): Likewise.
18197         (PRINTF_NEXPR): Likewise.
18198         (TEST_DOUBLE): Likewise.
18199         (TEST_MATHVEC): Likewise.
18200         (TEST_INLINE): Likewise.
18201         (__NO_MATH_INLINES): Likewise.
18202         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
18203         test-math-scalar.h.
18204         (FUNC): Remove macro.
18205         (FUNC_TEST): Likewise.
18206         (FLOAT): Likewise.
18207         (MATHCONST): Likewise.
18208         (PRINTF_EXPR): Likewise.
18209         (PRINTF_XEXPR): Likewise.
18210         (PRINTF_NEXPR): Likewise.
18211         (TEST_FLOAT): Likewise.
18212         (TEST_MATHVEC): Likewise.
18213         (TEST_INLINE): Likewise.
18214         (__NO_MATH_INLINES): Likewise.
18215         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
18216         and test-math-scalar.h.
18217         (FUNC): Remove macro.
18218         (FUNC_TEST): Likewise.
18219         (FLOAT): Likewise.
18220         (MATHCONST): Likewise.
18221         (PRINTF_EXPR): Likewise.
18222         (PRINTF_XEXPR): Likewise.
18223         (PRINTF_NEXPR): Likewise.
18224         (TEST_LDOUBLE): Likewise.
18225         (TEST_MATHVEC): Likewise.
18226         (TEST_INLINE): Likewise.
18227         (__NO_MATH_INLINES): Likewise.
18228         * math/test-ldouble.c: Include test-ldouble.h,
18229         test-math-no-inline.h and test-math-scalar.h.
18230         (FUNC): Remove macro.
18231         (FUNC_TEST): Likewise.
18232         (FLOAT): Likewise.
18233         (MATHCONST): Likewise.
18234         (PRINTF_EXPR): Likewise.
18235         (PRINTF_XEXPR): Likewise.
18236         (PRINTF_NEXPR): Likewise.
18237         (TEST_LDOUBLE): Likewise.
18238         (TEST_MATHVEC): Likewise.
18239         (__NO_MATH_INLINES): Likewise.
18240         * math/test-double-vlen2.h: Include test-double.h,
18241         test-math-no-inline.h and test-math-vector.h.
18242         (FLOAT): Remove macro.
18243         (FUNC): Likewise.
18244         (MATHCONST): Likewise.
18245         (PRINTF_EXPR): Likewise.
18246         (PRINTF_XEXPR): Likewise.
18247         (PRINTF_NEXPR): Likewise.
18248         (TEST_DOUBLE): Likewise.
18249         (TEST_MATHVEC): Likewise.
18250         (__NO_MATH_INLINES): Likewise.
18251         (CNCT): Likewise.
18252         (CONCAT): Likewise.
18253         (WRAPPER_NAME): Likewise.
18254         (WRAPPER_DECL): Likewise.
18255         (WRAPPER_DECL_ff): Likewise.
18256         (WRAPPER_DECL_fFF): Likewise.
18257         (VECTOR_WRAPPER): Likewise.
18258         (VECTOR_WRAPPER_ff): Likewise.
18259         (VECTOR_WRAPPER_fFF): Likewise.
18260         (VEC_LEN): New macro.
18261         * math/test-double-vlen4.h: Include test-double.h,
18262         test-math-no-inline.h and test-math-vector.h.
18263         (FLOAT): Remove macro.
18264         (FUNC): Likewise.
18265         (MATHCONST): Likewise.
18266         (PRINTF_EXPR): Likewise.
18267         (PRINTF_XEXPR): Likewise.
18268         (PRINTF_NEXPR): Likewise.
18269         (TEST_DOUBLE): Likewise.
18270         (TEST_MATHVEC): Likewise.
18271         (__NO_MATH_INLINES): Likewise.
18272         (CNCT): Likewise.
18273         (CONCAT): Likewise.
18274         (WRAPPER_NAME): Likewise.
18275         (WRAPPER_DECL): Likewise.
18276         (WRAPPER_DECL_ff): Likewise.
18277         (WRAPPER_DECL_fFF): Likewise.
18278         (VECTOR_WRAPPER): Likewise.
18279         (VECTOR_WRAPPER_ff): Likewise.
18280         (VECTOR_WRAPPER_fFF): Likewise.
18281         (VEC_LEN): New macro.
18282         * math/test-double-vlen8.h: Include test-double.h,
18283         test-math-no-inline.h and test-math-vector.h.
18284         (FLOAT): Remove macro.
18285         (FUNC): Likewise.
18286         (MATHCONST): Likewise.
18287         (PRINTF_EXPR): Likewise.
18288         (PRINTF_XEXPR): Likewise.
18289         (PRINTF_NEXPR): Likewise.
18290         (TEST_DOUBLE): Likewise.
18291         (TEST_MATHVEC): Likewise.
18292         (__NO_MATH_INLINES): Likewise.
18293         (CNCT): Likewise.
18294         (CONCAT): Likewise.
18295         (WRAPPER_NAME): Likewise.
18296         (WRAPPER_DECL): Likewise.
18297         (WRAPPER_DECL_ff): Likewise.
18298         (WRAPPER_DECL_fFF): Likewise.
18299         (VECTOR_WRAPPER): Likewise.
18300         (VECTOR_WRAPPER_ff): Likewise.
18301         (VECTOR_WRAPPER_fFF): Likewise.
18302         (VEC_LEN): New macro.
18303         * math/test-float-vlen4.h: Include test-float.h,
18304         test-math-no-inline.h and test-math-vector.h.
18305         (FLOAT): Remove macro.
18306         (FUNC): Likewise.
18307         (MATHCONST): Likewise.
18308         (PRINTF_EXPR): Likewise.
18309         (PRINTF_XEXPR): Likewise.
18310         (PRINTF_NEXPR): Likewise.
18311         (TEST_FLOAT): Likewise.
18312         (TEST_MATHVEC): Likewise.
18313         (__NO_MATH_INLINES): Likewise.
18314         (CNCT): Likewise.
18315         (CONCAT): Likewise.
18316         (WRAPPER_NAME): Likewise.
18317         (WRAPPER_DECL): Likewise.
18318         (WRAPPER_DECL_ff): Likewise.
18319         (WRAPPER_DECL_fFF): Likewise.
18320         (VECTOR_WRAPPER): Likewise.
18321         (VECTOR_WRAPPER_ff): Likewise.
18322         (VECTOR_WRAPPER_fFF): Likewise.
18323         (VEC_LEN): New macro.
18324         * math/test-float-vlen8.h: Include test-float.h,
18325         test-math-no-inline.h and test-math-vector.h.
18326         (FLOAT): Remove macro.
18327         (FUNC): Likewise.
18328         (MATHCONST): Likewise.
18329         (PRINTF_EXPR): Likewise.
18330         (PRINTF_XEXPR): Likewise.
18331         (PRINTF_NEXPR): Likewise.
18332         (TEST_FLOAT): Likewise.
18333         (TEST_MATHVEC): Likewise.
18334         (__NO_MATH_INLINES): Likewise.
18335         (CNCT): Likewise.
18336         (CONCAT): Likewise.
18337         (WRAPPER_NAME): Likewise.
18338         (WRAPPER_DECL): Likewise.
18339         (WRAPPER_DECL_ff): Likewise.
18340         (WRAPPER_DECL_fFF): Likewise.
18341         (VECTOR_WRAPPER): Likewise.
18342         (VECTOR_WRAPPER_ff): Likewise.
18343         (VECTOR_WRAPPER_fFF): Likewise.
18344         (VEC_LEN): New macro.
18345         * math/test-float-vlen16.h: Include test-float.h,
18346         test-math-no-inline.h and test-math-vector.h.
18347         (FLOAT): Remove macro.
18348         (FUNC): Likewise.
18349         (MATHCONST): Likewise.
18350         (PRINTF_EXPR): Likewise.
18351         (PRINTF_XEXPR): Likewise.
18352         (PRINTF_NEXPR): Likewise.
18353         (TEST_FLOAT): Likewise.
18354         (TEST_MATHVEC): Likewise.
18355         (__NO_MATH_INLINES): Likewise.
18356         (CNCT): Likewise.
18357         (CONCAT): Likewise.
18358         (WRAPPER_NAME): Likewise.
18359         (WRAPPER_DECL): Likewise.
18360         (WRAPPER_DECL_ff): Likewise.
18361         (WRAPPER_DECL_fFF): Likewise.
18362         (VECTOR_WRAPPER): Likewise.
18363         (VECTOR_WRAPPER_ff): Likewise.
18364         (VECTOR_WRAPPER_fFF): Likewise.
18365         (VEC_LEN): New macro.
18366         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
18367         test-vec-loop.h.
18368         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18369         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18370         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18371         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18372         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18373         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18374         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18376 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18378         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
18379         (__getlogin_r): ... this.
18381 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18383         [BZ #18594]
18384         * math/s_ccosh.c (__ccosh): Compare with least normal value
18385         instead of comparing class with FP_SUBNORMAL.
18386         * math/s_ccoshf.c (__ccoshf): Likewise.
18387         * math/s_ccoshl.c (__ccoshl): Likewise.
18388         * math/s_cexp.c (__cexp): Likewise.
18389         * math/s_cexpf.c (__cexpf): Likewise.
18390         * math/s_cexpl.c (__cexpl): Likewise.
18391         * math/s_csin.c (__csin): Likewise.
18392         * math/s_csinf.c (__csinf): Likewise.
18393         * math/s_csinh.c (__csinh): Likewise.
18394         * math/s_csinhf.c (__csinhf): Likewise.
18395         * math/s_csinhl.c (__csinhl): Likewise.
18396         * math/s_csinl.c (__csinl): Likewise.
18397         * math/s_ctan.c (__ctan): Likewise.
18398         * math/s_ctanf.c (__ctanf): Likewise.
18399         * math/s_ctanh.c (__ctanh): Likewise.
18400         * math/s_ctanhf.c (__ctanhf): Likewise.
18401         * math/s_ctanhl.c (__ctanhl): Likewise.
18402         * math/s_ctanl.c (__ctanl): Likewise.
18403         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
18404         csin, csinh, ctan and ctanh.
18405         * math/auto-libm-test-out: Regenerated.
18406         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
18407         * sysdeps/i386/fpu/libm-test-ulps: Update.
18408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18410 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18412         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
18413         return value is wrong, print the expected value too.
18415 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18417         [BZ #18585]
18418         * elf/readlib.c (is_gdb_python_file): New.
18419         (process_file): Don't issue errors on filenames with -gdb.py
18420         suffix.
18422 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18424         * math/auto-libm-test-in: Add more tests of csin and csinh.
18425         * math/auto-libm-test-out: Regenerated.
18426         * math/libm-test.inc (csin_test_data): Remove tests moved to
18427         auto-libm-test-in.
18428         (csinh_test_data): Likewise.
18430         [BZ #18593]
18431         * math/s_csin.c (__csin): Negate before rather than after possibly
18432         overflowing multiplication.
18433         * math/s_csinf.c (__csinf): Likewise.
18434         * math/s_csinh.c (__csinh): Likewise.
18435         * math/s_csinhf.c (__csinhf): Likewise.
18436         * math/s_csinhl.c (__csinhl): Likewise.
18437         * math/s_csinl.c (__csinl): Likewise.
18438         * math/auto-libm-test-in: Add some tests of csin and csinh.
18439         * math/auto-libm-test-out: Regenerated.
18440         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
18441         (csinh_test_data): Likewise.
18442         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18444         [BZ #18586]
18445         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
18446         underflow exception for small results.
18448 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18450         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18451         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
18452         variable and included header.
18453         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
18454         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
18455         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
18456         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
18457         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
18458         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
18459         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
18460         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
18461         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
18462         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
18463         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
18464         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
18465         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
18466         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
18467         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
18468         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
18470 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18472         [BZ #16526]
18473         [BZ #16538]
18474         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
18475         (__sin): Force underflow exception for arguments with small
18476         absolute value.
18477         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
18478         (__kernel_sinf): Force underflow exception for arguments with
18479         small absolute value.
18480         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
18481         (__kernel_sincosl): Force underflow exception for arguments with
18482         small absolute value.
18483         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
18484         (__kernel_sinl): Force underflow exception for arguments with
18485         small absolute value.
18486         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
18487         (__kernel_sincosl): Force underflow exception for arguments with
18488         small absolute value.
18489         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
18490         (__kernel_sinl): Force underflow exception for arguments with
18491         small absolute value.
18492         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
18493         (__kernel_sinl): Force underflow exception for arguments with
18494         small absolute value.
18495         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
18496         (__kernel_sinf): Force underflow exception for arguments with
18497         small absolute value.
18498         * math/auto-libm-test-in: Add more tests of sin and sincos.
18499         * math/auto-libm-test-out: Regenerated.
18501         [BZ #18245]
18502         [BZ #18583]
18503         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
18504         (__kernel_standard_l): Use feholdexcept and fesetenv around
18505         conversion to double instead of special-casing overflow and
18506         underflow.
18507         * math/libm-test.inc (fmod_test_data): Add more tests.
18508         (remainder_test_data): Likewise.
18509         (sqrt_test_data): Likewise.
18511 2015-06-23  Torvald Riegel  <triegel@redhat.com>
18513         [BZ #17403]
18514         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
18515         atomic_read_barrier, atomic_write_barrier): Define.
18516         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
18517         atomic_read_barrier, atomic_write_barrier): Define.
18519 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18521         * math/Makefile [$(PERL) != no]
18522         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
18523         dependency on libm-test.stmp below the inclusion of Rules.
18525 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
18527         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18528         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
18529         and included header.
18530         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
18531         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
18532         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
18533         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
18534         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
18535         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
18536         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
18537         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
18538         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
18539         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
18540         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
18541         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
18542         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
18543         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
18544         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
18545         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
18546         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
18547         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
18548         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
18550 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18552         [BZ #18371]
18553         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
18554         intermediate but not final result might underflow.
18555         * math/s_csqrtf.c (__csqrtf): Likewise.
18556         * math/s_csqrtl.c (__csqrtl): Likewise.
18557         * math/auto-libm-test-in: Add more tests of csqrt.
18558         * math/auto-libm-test-out: Regenerated.
18559         * sysdeps/i386/fpu/libm-test-ulps: Update.
18561         [BZ #18219]
18562         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
18563         threshold on absolute value of exponent for which scaling is used.
18564         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18565         * math/auto-libm-test-in: Add more tests of exp2.
18566         * math/auto-libm-test-out: Regenerated.
18568 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
18570         [BZ #17977]
18571         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
18572         when initializing interface list, based on the bug analysis
18573         and the patch proposed by Eric Newton.
18574         * resolv/tst-res_hconf_reorder.c: New test.
18575         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
18576         tst-res_hconf_reorder.
18577         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
18578         and $(shared-thread-library).
18579         (tst-res_hconf_reorder-ENV): New variable.
18581         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
18582         in comment.
18584 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
18586         [BZ #16353]
18587         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
18588         (__expm1): Force underflow exception for arguments with small
18589         absolute value.
18590         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
18591         (__expm1f): Force underflow exception for arguments with small
18592         absolute value.
18593         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
18594         (__expm1): Force underflow exception for arguments with small
18595         absolute value.
18596         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
18597         (__expm1f): Force underflow exception for arguments with small
18598         absolute value.
18599         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18600         Check for small arguments before calling __expm1.
18601         * math/auto-libm-test-in: Do not mark underflow exceptions as
18602         possibly missing for bug 16353.
18603         * math/auto-libm-test-out: Regenerated.
18605 2015-06-22  Andreas Schwab  <schwab@suse.de>
18607         [BZ #18513]
18608         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
18609         PTR queries.
18611 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
18613         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
18615         * string/strcoll_l.c: Remove unused struct element idxnow.
18617 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
18619         [BZ #18569]
18620         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
18621         underflow and return argument in case of subnormal argument.
18622         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18623         Likewise.
18624         * math/auto-libm-test-in: Add more tests of expm1.
18625         * math/auto-libm-test-out: Regenerated.
18627         [BZ #16361]
18628         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
18629         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
18630         tiny results.
18631         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
18632         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
18633         tiny results.
18634         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
18635         mark underflow exceptions as possibly missing for bug 16361.
18636         * math/auto-libm-test-out: Regenerated.
18638 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
18640         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
18641         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
18642         Remove variable.
18643         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
18644         (test-xfail-XOPEN2K8/utmpx.h/conform).
18646         * conform/conformtest.pl ($xerrors): New variable.
18647         (note_error): New function.
18648         (compiletest): New argument $xfail.  Use not_error.
18649         (runtest): Likewise.
18650         (top level): Handle xfail- lines.  Update calls to compiletest and
18651         runtest.  Handle xfail- and optional- in headers listed with
18652         allow-header.
18653         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
18654         (O_EXEC): Likewise.
18655         (O_SEARCH): Likewise.
18656         * conform/data/stropts.h-data (ioctl): Likewise.
18657         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
18658         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
18659         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
18660         (msghdr.msg_controllen): Likewise.
18661         (cmsghdr.cmsg_len): Likewise.
18662         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
18663         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
18664         variable.
18665         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
18666         (test-xfail-XPG4/stropts.h/conform): Likewise.
18667         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
18668         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
18669         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
18670         (test-xfail-UNIX98/stropts.h/conform): Likewise.
18671         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
18672         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
18673         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
18674         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
18675         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
18676         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
18677         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
18678         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
18679         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
18680         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
18681         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
18682         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
18683         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
18684         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
18685         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
18687 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18689         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
18690         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
18691         definitions for proper unfolding of __MATHDECL_VEC.
18693 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18695         * benchtests/bench-strcoll.c:
18696         Include string.h.
18697         (main): Remove unused variable res.
18699 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18701         * timezone/Makefile (%/UTC %/Universal):
18702         Generate test-result files for UTC and Universal.
18704 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18706         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18708 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
18710         [BZ #16350]
18711         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
18712         for arguments with small absolute value.
18713         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
18714         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
18715         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
18716         (__asinh): Force underflow exception for arguments with small
18717         absolute value.
18718         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
18719         (__asinhf): Force underflow exception for arguments with small
18720         absolute value.
18721         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
18722         (__asinhl): Force underflow exception for arguments with small
18723         absolute value.
18724         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
18725         (__asinhl): Force underflow exception for arguments with small
18726         absolute value.
18727         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
18728         (__asinhl): Force underflow exception for arguments with small
18729         absolute value.
18730         * math/auto-libm-test-in: Do not mark underflow exceptions as
18731         possibly missing for bug 16350.
18732         * math/auto-libm-test-out: Regenerated.
18734         * include/bits/ipc.h: Remove file.
18735         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
18736         variable.
18737         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
18738         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
18739         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
18740         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
18741         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
18742         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
18743         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
18744         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
18745         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
18747         * math/auto-libm-test-in: Remove spurious underflow allowance for
18748         tests of cexp.
18749         * math/auto-libm-test-out: Regenerated.
18751         [BZ #18558]
18752         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
18753         unconditional definition.
18754         (MCAST_BLOCK_SOURCE): Likewise.
18755         (MCAST_UNBLOCK_SOURCE): Likewise.
18756         (MCAST_LEAVE_GROUP): Likewise.
18757         (MCAST_JOIN_SOURCE_GROUP): Likewise.
18758         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18759         (MCAST_MSFILTER): Likewise.
18760         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
18761         Remove variable.
18762         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
18763         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
18764         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
18765         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
18766         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
18768 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
18770         * NEWS: Mention addition of x86_64 vector sincosf.
18771         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
18772         * math/test-float-vlen4.h: Likewise.
18773         * math/test-float-vlen8.h: Likewise.
18774         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18775         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
18776         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18777         * sysdeps/x86_64/fpu/Versions: New versions added.
18778         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18779         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18780         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18781         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
18782         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
18783         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
18784         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
18785         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
18786         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
18787         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
18788         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
18789         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
18790         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
18791         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
18792         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
18793         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
18794         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
18795         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18796         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18797         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18798         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18799         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18800         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18801         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18803         * NEWS: Mention addition of x86_64 vector sincos.
18804         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
18805         * math/math.h (__MATHDECL_VEC): New macro.
18806         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
18807         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
18808         declaration under condition.
18809         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
18810         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
18811         TEST_VEC_LOOP change.
18812         * math/test-double-vlen4.h: Likewise.
18813         * math/test-double-vlen8.h: Likewise.
18814         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
18815         * math/test-float-vlen4.h: Likewise.
18816         * math/test-float-vlen8.h: Likewise.
18817         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18818         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
18819         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18820         * sysdeps/x86_64/fpu/Versions: New versions added.
18821         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18822         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18823         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18824         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
18825         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
18826         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
18827         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
18828         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
18829         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
18830         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
18831         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
18832         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
18833         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
18834         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
18835         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
18836         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
18837         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
18838         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18839         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18840         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18841         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18842         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18843         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18844         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18846         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18847         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18848         redirections for powf.
18849         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18850         * sysdeps/x86_64/fpu/Versions: New versions added.
18851         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18852         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18853         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18854         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
18855         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
18856         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
18857         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
18858         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
18859         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
18860         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
18861         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
18862         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
18863         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
18864         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
18865         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
18866         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
18867         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
18868         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18869         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18870         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18871         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18872         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18873         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18874         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18875         * math/test-float-vlen16.h: Fixed 2 argument macro.
18876         * math/test-float-vlen4.h: Likewise.
18877         * math/test-float-vlen8.h: Likewise.
18878         * NEWS: Mention addition of x86_64 vector powf.
18880 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
18882         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18883         and redefine.
18884         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18885         and redefine.
18886         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
18887         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18888         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18890         [BZ #18553]
18891         * resource/getpriority.c (getpriority): Rename to __getpriority
18892         and define as weak alias of __getpriority.
18893         * resource/setpriority.c (setpriority): Rename to __setpriority
18894         and define as weak alias of __setpriority.
18895         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
18896         __getpriority and define as weak alias of __getpriority.
18897         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
18898         __setpriority and define as weak alias of __setpriority.
18899         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
18900         strong name.
18901         (setpriority): Use __setpriority as strong name.
18902         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
18903         __getpriority and define as weak alias of __getpriority.
18904         * include/sys/resource.h (__getpriority): Declare.  Use
18905         libc_hidden_proto.
18906         (__setpriority): Likewise.
18907         (getpriority): Don't use libc_hidden_proto.
18908         (setpriority): Likewise.
18909         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
18910         getpriority.  Call __setpriority instead of setpriority.
18911         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
18912         Remove variable.
18914         [BZ #18547]
18915         * misc/getttyent.c (getttynam): Rename to __getttynam and define
18916         as weak alias of __getttynam.  Use prototype function definition.
18917         Call __setttyent, __getttyent and __endttyent instead of
18918         setttyent, getttyent and endttyent.
18919         (getttyent): Rename to __getttyent and define as weak alias of
18920         __getttyent.  Call __setttyent instead of setttyent.  Call
18921         __fgets_unlocked instead of fgets_unlocked.
18922         (setttyent): Rename to __setttyent and define as weak alias of
18923         __setttyent.
18924         (endttyent): Rename to __endttyent and define as weak alias of
18925         __endttyent.
18926         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
18927         (__setttyent): Likewise.
18928         (__endttyent): Likewise.
18929         (getttyent): Don't use libc_hidden_proto.
18930         (setttyent): Likewise.
18931         (endttyent): Likewise.
18932         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
18933         __endttyent instead of setttyent, getttyent and endttyent.
18934         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
18935         Remove variable.
18937         [BZ #18546]
18938         * socket/recv.c (__recv): Use libc_hidden_def.
18939         * socket/socket.c (__socket): Likewise.
18940         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
18941         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
18942         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
18943         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
18944         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
18945         libc_hidden_def.
18946         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
18947         libc_hidden_weak.
18948         * include/sys/socket.h (__socket): Do not use attribute_hidden.
18949         Use libc_hidden_proto.
18950         (__recv): Likewise.
18951         * socket/Versions (libc): Export __recv and __socket at version
18952         GLIBC_PRIVATE.
18953         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
18954         instead of recv.
18955         (init_mq_netlink): Call __socket instead of socket.
18956         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
18957         Remove variable.
18959         [BZ #18545]
18960         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
18961         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
18962         hidden_weak.
18963         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
18964         define as alias of __mq_timedsend.  Use hidden_weak.
18965         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
18966         __mq_timedsend as strong name.
18967         (mq_timedreceive): Use __mq_timedreceive as strong name.
18968         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
18969         (__mq_timedreceive): Likewise.
18970         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
18971         __mq_timedreceive instead of mq_timedreceive.
18972         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
18973         instead of mq_timedsend.
18974         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
18975         Remove variable.
18977         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
18978         hidden_def and hidden_weak instead of libc_hidden_def and
18979         libc_hidden_weak.
18980         (top level): Refer to hidden_def in comment.
18981         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
18982         macro.  Use it instead of libc_hidden_def.
18983         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
18984         specify __GI_* name explicitly.
18985         (mq_timedreceive): Likewise.
18986         (mq_setattr): Likewise.
18988         [BZ #18544]
18989         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
18990         __pthread_barrier_init and define as weak alias of
18991         __pthread_barrier_init.
18992         * sysdeps/sparc/nptl/pthread_barrier_init.c
18993         (pthread_barrier_init): Likewise.
18994         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
18995         __pthread_barrier_wait and define as weak alias of
18996         __pthread_barrier_wait.
18997         * sysdeps/sparc/nptl/pthread_barrier_wait.c
18998         (pthread_barrier_wait): Likewise.
18999         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
19000         (pthread_barrier_wait): Likewise.
19001         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
19002         (pthread_barrier_wait): Likewise.
19003         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
19004         (pthread_barrier_wait): Likewise.
19005         * nptl/Versions (libpthread): Export __pthread_barrier_init and
19006         __pthread_barrier_wait at version GLIBC_PRIVATE.
19007         * include/pthread.h (__pthread_barrier_init): Declare.
19008         (__pthread_barrier_wait): Likewise.
19009         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
19010         Call __pthread_barrier_wait instead of pthread_barrier_wait.
19011         (helper_thread): Likewise.
19012         (init_mq_netlink): Call __pthread_barrier_init instead of
19013         pthread_barrier_init.
19015         [BZ #18542]
19016         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
19017         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
19018         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
19019         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
19020         vswscanf.
19021         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
19022         Remove variable.
19024         [BZ #18540]
19025         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
19026         strong alias of _IO_fflush.  Use libc_hidden_def.
19027         * libio/iofflush_u.c (fflush_unlocked): Rename to
19028         __fflush_unlocked and define as weak alias of __fflush_unlocked.
19029         Use libc_hidden_weak.
19030         * include/stdio.h (__fflush_unlocked): Declare.  Use
19031         libc_hidden_proto.
19032         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
19033         fflush_unlocked.
19034         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
19035         Remove variable.
19037         [BZ #18539]
19038         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
19039         define as weak alias of __addseverity.
19040         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
19041         Remove variable.
19042         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
19043         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
19044         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
19046         [BZ #18536]
19047         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
19048         (__tfind): Likewise.
19049         (__tdelete): Likewise.
19050         (__twalk): Likewise.
19051         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
19052         __twalk to GLIBC_PRIVATE.
19053         * include/search.h (__tsearch): Use libc_hidden_proto.
19054         (__tfind): Likewise.
19055         (__tdelete): Likewise.
19056         (__twalk): Likewise.
19057         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
19058         Call __tdelete instead of tdelete.
19059         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
19060         tfind.  Call __tsearch instead of tsearch.
19061         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
19062         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
19063         Remove variable.
19064         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
19066         [BZ #18534]
19067         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
19068         (dprintf): Define as a weak alias of __dprintf, not a strong
19069         alias.
19070         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
19071         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
19072         dprintf.
19073         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
19074         Remove variable.
19075         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
19076         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
19078         [BZ #18533]
19079         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
19080         not a strong alias.
19081         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
19082         Remove variable.
19084         [BZ #18532]
19085         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
19086         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
19087         (in6addr_loopback): Rename to __in6addr_loopback and define as
19088         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
19089         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
19090         libc_hidden_proto.
19091         (__in6addr_any): Likewise.
19092         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
19093         in6addr_any.
19094         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
19095         variable.
19096         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
19098 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
19100         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
19101         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
19102         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19103         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19104         redirections for pow.
19105         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19106         * sysdeps/x86_64/fpu/Versions: New versions added.
19107         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19108         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19109         build of SSE, AVX2 and AVX512 IFUNC versions.
19110         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
19111         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
19112         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
19113         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
19114         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
19115         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
19116         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
19117         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
19118         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
19119         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
19120         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
19121         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
19122         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
19123         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
19124         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19125         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19126         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19127         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19128         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19129         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19130         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19131         * NEWS: Mention addition of x86_64 vector pow.
19133         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19134         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19135         redirections for expf.
19136         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19137         * sysdeps/x86_64/fpu/Versions: New versions added.
19138         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19139         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19140         build of SSE, AVX2 and AVX512 IFUNC versions.
19141         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
19142         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
19143         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
19144         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
19145         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
19146         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
19147         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
19148         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
19149         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
19150         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
19151         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
19152         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
19153         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
19154         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19155         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19156         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19157         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19158         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19159         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19160         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19161         * NEWS: Mention addition of x86_64 vector expf.
19163         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
19164         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
19165         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19166         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19167         redirections for exp.
19168         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19169         * sysdeps/x86_64/fpu/Versions: New versions added.
19170         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19171         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19172         build of SSE, AVX2 and AVX512 IFUNC versions.
19173         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
19174         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
19175         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
19176         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
19177         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
19178         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
19179         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
19180         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
19181         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
19182         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
19183         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
19184         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
19185         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
19186         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19187         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19188         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19189         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19190         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19191         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19192         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19193         * NEWS: Mention addition of x86_64 vector exp.
19195         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19196         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19197         redirections for logf.
19198         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19199         * sysdeps/x86_64/fpu/Versions: New versions added.
19200         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19201         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19202         build of SSE, AVX2 and AVX512 IFUNC versions.
19203         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
19204         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
19205         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
19206         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
19207         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
19208         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
19209         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
19210         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
19211         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
19212         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
19213         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
19214         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
19215         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
19216         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19217         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19218         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19219         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19220         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19221         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19222         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19223         * NEWS: Mention addition of x86_64 vector logf.
19225         * bits/libm-simd-decl-stubs.h: Added stubs for log.
19226         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
19227         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19228         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19229         redirections for log.
19230         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19231         * sysdeps/x86_64/fpu/Versions: New versions added.
19232         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19233         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19234         build of SSE, AVX2 and AVX512 IFUNC versions.
19235         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
19236         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
19237         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
19238         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
19239         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
19240         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
19241         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
19242         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
19243         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
19244         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
19245         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
19246         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
19247         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
19248         test.
19249         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19250         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19251         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19252         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19253         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19254         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19255         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19256         * NEWS: Mention addition of x86_64 vector log.
19258 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19260         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
19261         cfi_adjust_cfa_offset argument.
19262         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
19263         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
19265         [BZ #18034]
19266         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
19267         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
19268         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
19269         ordering using ldar.
19270         (_dl_tlsdesc_dynamic): Likewise.
19271         (_dl_tlsdesc_return_lazy): Likewise.
19272         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
19273         relaxed atomics instead of volatile and synchronize with release store.
19274         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
19275         volatile.
19276         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19278 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
19280         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19281         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
19282         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19283         * sysdeps/x86_64/fpu/Versions: New versions added.
19284         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19285         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19286         build of SSE, AVX2 and AVX512 IFUNC versions.
19287         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
19288         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
19289         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
19290         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
19291         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
19292         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
19293         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
19294         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
19295         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
19296         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
19297         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
19298         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
19299         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
19300         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19301         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19302         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19303         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19304         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19305         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19306         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19307         * NEWS: Mention addition of x86_64 vector sinf.
19309 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
19311         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
19312         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
19313         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
19314         Remove variable.
19315         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
19316         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
19318 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19320         [BZ #18530]
19321         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
19322         strong alias of _IO_fputs.  Use libc_hidden_def.
19323         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
19324         and define as weak alias of __fputs_unlocked.  Use
19325         libc_hidden_weak.
19326         * include/stdio.h (__fputs_unlocked): Declare.  Use
19327         libc_hidden_proto.
19328         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
19329         fputs_unlocked.
19331         [BZ #18529]
19332         * resolv/netdb.h [__USE_POSIX]: Change condition to
19333         [__USE_XOPEN2K].
19334         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
19335         not expect.
19336         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
19337         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
19338         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
19339         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
19340         [XPG4 || UNIX98] (AI_ALL): Likewise.
19341         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
19342         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
19343         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
19344         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
19345         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
19346         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
19347         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
19348         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
19349         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
19350         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
19351         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
19352         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
19353         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
19354         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
19355         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
19356         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19357         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19358         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
19359         [XPG4 || UNIX98] (gai_strerror): Likewise.
19360         [XPG4 || UNIX98] (getaddrinfo): Likewise.
19361         [XPG4 || UNIX98] (getnameinfo): Likewise.
19363         [BZ #18528]
19364         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
19365         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
19366         __USE_XOPEN2K8].
19367         (getgrent): Likewise.
19368         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
19369         expect.
19370         [XPG3 || POSIX2008] (endgrent): Likewise.
19371         [XPG3] (setgrent): Likewise.
19372         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
19373         variable.
19374         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
19376         [BZ #18527]
19377         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
19378         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
19379         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
19380         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
19381         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
19382         * include/unistd.h (__getlogin_r): Declare.  Use
19383         libc_hidden_proto.
19384         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
19385         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
19386         variable.
19387         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
19388         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
19389         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
19391 2015-06-12  Martin Sebor  <msebor@redhat.com>
19393         [BZ #18512]
19394         * Makerules (check-install-supported): New target.
19395         (install): Add check-install-supported as a dependency.
19396         * manual/install.texi (Installing the C Library): Document
19397         that overriding prefix and exec_prefix is not supported.
19398         Mention DESTDIR.
19399         * INSTALL: Regenerate from the above.
19401 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19403         [BZ #18519]
19404         * posix/Versions (libc): Export __libc_pread at version
19405         GLIBC_PRIVATE.
19406         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
19407         instead of pread.
19408         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
19409         variable.
19411         [BZ #18522]
19412         * misc/efgcvt_r.c
19413         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
19414         (cvt_symbol): Use weak_alias instead of strong_alias.
19415         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
19416         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
19417         Remove variable.
19418         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
19419         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
19421         [BZ #18520]
19422         * inet/herrno.c (h_errno): Rename to __h_errno.
19423         (__libc_h_errno): Define as alias of __h_errno not h_errno.
19424         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
19425         to __h_errno instead of h_errno.
19426         * nptl/herrno.c (h_errno): Rename to __h_errno.
19427         (__h_errno_location): Refer to __h_errno not h_errno.
19428         * resolv/Versions (h_errno): Rename to __h_errno.
19429         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
19430         Remove variable.
19431         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
19433 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
19435         * configure.ac: More strict check for AVX512 assembler support.
19436         * configure: Regenerated.
19438         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
19439         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
19440         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19441         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
19442         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19443         * sysdeps/x86_64/fpu/Versions: New versions added.
19444         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19445         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19446         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19447         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
19448         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
19449         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
19450         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
19451         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
19452         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
19453         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
19454         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
19455         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
19456         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
19457         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
19458         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
19459         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
19460         test.
19461         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19462         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19463         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19464         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19465         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19466         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19467         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19468         * NEWS: Mention addition of x86_64 vector sin.
19470 2015-06-11  Florian Weimer  <fweimer@redhat.com>
19472         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
19473         comment.
19475 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19477         [BZ #18479]
19478         * nptl/pt-interp.c: New file.
19479         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
19480         Add pt-interp.
19481         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
19482         $(common-objpfx)runtime-linker.h.
19484 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
19486         * Makeconfig (+interp): Remove unused variable.
19487         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
19488         only.  Depend on $(common-objpfx)runtime-linker.h instead of
19489         $(elf-objpfx)runtime-linker.h.
19490         ($(elf-objpfx)runtime-linker.h): Rename to
19491         $(common-objpfx)runtime-linker.h and move ...
19492         * Makerules [$(build-shared) = yes]: ... here.
19493         * elf/interp.c: Include <runtime-linker.h> instead of
19494         <elf/runtime-linker.h>.
19496 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19498         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
19499         (__gettimeofday_syscall): Remove vsyscall fallback.
19500         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
19501         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
19502         Add syscall fallback function.
19503         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
19504         if vDSO is not present.
19505         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
19506         fallback function.
19507         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
19508         present.
19509         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
19510         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19512 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
19514         [BZ #18497]
19515         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
19516         of wcscmp.
19517         (wcscmp): Define as weak alias of WCSCMP.
19518         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
19519         wcscoll.
19520         (USE_HIDDEN_DEF): Define.
19521         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
19522         __wcscoll.  Don't use libc_hidden_weak.
19523         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
19524         wcscmp.
19525         * sysdeps/i386/i686/multiarch/wcscmp-c.c
19526         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
19527         __GI_wcscmp.
19528         (weak_alias): Undefine and redefine.
19529         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
19530         __wcscmp and define as weak alias of __wcscmp.
19531         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
19532         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
19533         (__wcscoll): Likewise.
19534         (wcscmp): Don't use libc_hidden_proto.
19535         (wcscoll): Likewise.
19536         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
19537         wcscoll.
19538         * posix/regexec.c (check_node_accept_bytes): Likewise.
19539         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
19540         variable.
19541         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
19542         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
19544         [BZ #18507]
19545         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
19546         __fstatvfs and define as weak alias of __fstatvfs.  Use
19547         libc_hidden_weak.
19548         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
19549         and define as weak alias of __statvfs.  Use libc_hidden_weak.
19550         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
19551         Define as alias of __fstatvfs, not fstatvfs.
19552         (fstatvfs64): Likewise.
19553         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
19554         Define as alias of __statvfs, not statvfs.
19555         (statvfs64): Likewise.
19556         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
19557         Remove variable.
19559 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19562         (HAVE_GETCPU_VSYSCALL): Define.
19563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19564         (HAVE_GETCPU_VSYSCALL): Likewise.
19565         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
19566         * sysdeps/unix/sysv/linux/sched_getcpu.c
19567         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
19568         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
19569         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
19570         prototype.
19571         * sysdeps/unix/sysv/linux/x86_64/init-first.c
19572         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
19573         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
19574         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
19575         Define.
19576         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
19577         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19578         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
19579         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19581 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
19583         * sysdeps/x86_64/fpu/Makefile: New file.
19584         * sysdeps/x86_64/fpu/Versions: New file.
19585         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
19586         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
19587         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
19588         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
19589         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
19590         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
19591         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
19592         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
19593         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
19594         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
19595         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
19596         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
19597         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
19598         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19599         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19600         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
19601         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
19602         * sysdeps/x86_64/configure.ac: Options for libmvec build.
19603         * sysdeps/x86_64/configure: Regenerated.
19604         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
19605         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
19606         * manual/install.texi (Configuring and compiling): Document
19607         --disable-mathvec.
19608         * INSTALL: Regenerated.
19609         * NEWS: Mention addition of libmvec and x86_64 vector cos.
19611         * math/Makefile: Added rules for vector tests.
19612         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
19613         declaration under condition.
19614         * math/test-double-vlen2.h: New file.
19615         * math/test-double-vlen4.h: New file.
19616         * math/test-double-vlen8.h: New file.
19617         * math/test-vec-loop.h: Added initialization macro.
19618         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
19619         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
19620         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
19621         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
19622         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
19623         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
19624         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
19625         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
19626         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
19627         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
19628         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
19630         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19631         * sysdeps/x86_64/fpu/Versions: New versions added.
19632         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
19633         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
19634         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
19635         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
19636         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
19637         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
19638         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
19639         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
19640         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
19641         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
19642         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
19643         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
19644         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
19645         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19646         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19647         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19648         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
19649         * NEWS: Mention addition of x86_64 vector cosf.
19651         * math/Makefile: Added CFLAGS for new tests.
19652         * math/test-float-vlen16.h: New file.
19653         * math/test-float-vlen4.h: New file.
19654         * math/test-float-vlen8.h: New file.
19655         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
19656         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
19657         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19658         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
19659         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
19660         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
19661         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
19662         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
19663         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
19664         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
19665         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
19667 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
19669         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
19670         * locale/programs/ld-ctype.c: Likewise.
19672 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
19674         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
19675         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
19676         bit_ZMM16_31_state): New macro.
19677         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19678         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
19680 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
19682         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
19684 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
19686         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
19688 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
19690         [BZ #18498]
19691         * libio/memstream.c (open_memstream): Rename to __open_memstream
19692         and define as weak alias of __open_memstream.
19693         * include/stdio.h (__open_memstream): Declare.  Use
19694         libc_hidden_proto.
19695         (open_memstream): Don't use libc_hidden_proto.
19696         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
19697         open_memstream.
19698         * posix/getopt.c (_getopt_internal_r): Likewise.
19699         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
19700         variable.
19701         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
19702         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
19703         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
19705         [BZ #18496]
19706         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
19707         instead of wcrtomb.
19709         [BZ #18483]
19710         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
19711         [__USE_XOPEN2K8].  Remove redundant #endif.
19712         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
19713         Remove redundant #if.
19714         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
19715         Remove variable.
19716         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
19717         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
19719         [BZ #18495]
19720         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
19721         (__iswlower): Likewise.
19722         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
19723         (__iswlower): Likewise.
19724         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
19725         instead of towlower.
19726         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
19727         instead of iswlower.  Call __towupper instead of towupper.
19728         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
19729         instead of iswalnum.
19731 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19733         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
19734         errors to stderr.
19736 2015-06-05  Florian Weimer  <fweimer@redhat.com>
19738         [BZ #15661]
19739         [BZ #17322]
19740         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
19741         Check for overflow properly.  Check for O_APPEND.  Ignore large
19742         file system block sizes.  Add comments about problems.
19743         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
19744         * manual/filesys.texi (Storage Allocation): New node.
19746 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19748         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
19749         cancellable syscalls.
19750         (SYS_ify): Add guard to no redefine it.
19751         (INLINE_SYSCALL): Likewise.
19752         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
19753         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
19754         SYSCALL_CANCEL instead.
19755         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
19756         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
19757         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
19758         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
19759         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
19760         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
19761         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
19762         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
19763         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
19764         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
19765         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
19766         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
19767         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
19768         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
19769         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
19770         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
19771         Likewise.
19772         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
19773         (__libc_pread64): Likewise.
19774         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
19775         (__libc_preadv): Likewise.
19776         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
19777         (__libc_readv64): Likewise.
19778         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
19779         (__libc_pwrite): Likewise.
19780         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
19781         (__libc_pwrite64): Likewise.
19782         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
19783         (__libc_pwritev): Likewise.
19784         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
19785         (__libc_pwritev64): Likewise.
19786         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
19787         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
19788         (sync_file_range): Likewise.
19789         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
19790         Likewise.
19791         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
19792         Likewise.
19793         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
19794         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
19795         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
19796         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
19797         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
19798         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
19799         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
19800         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
19801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
19802         Likewise.
19803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19804         (__libc_read64): Likewise.
19805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
19806         Likewise.
19807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
19808         Likewise.
19809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
19810         Likewise.
19811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
19812         Likewise.
19813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19814         (__libc_pread64): Likewise.
19815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
19816         Likewise.
19817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19818         (__libc_pwrite64): Likewise.
19819         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
19820         (sync_file_range): Likewise.
19821         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
19822         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
19823         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
19824         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
19825         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
19826         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
19827         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
19828         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
19829         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
19830         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19831         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19832         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
19833         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
19834         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
19835         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
19836         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
19837         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
19838         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
19839         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
19840         Likewise.
19841         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
19842         Likewise.
19843         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
19844         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
19845         Likewise.
19846         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
19847         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
19848         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
19849         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
19850         Likewise.
19851         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
19852         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
19853         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
19854         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
19855         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
19857 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
19859         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
19860         Include dl-vdso.
19861         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
19862         Use VDSO routines for gettimeofday, clock_gettime if
19863         available.
19864         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
19865         Declare VDSO symbols.
19866         * sysdeps/unix/sysv/linux/arm/sysdep.h:
19867         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
19868         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19869         * sysdeps/unix/sysv/linux/arm/Versions: Add
19870         __vdso_clock_gettime.
19872 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19874         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
19875         be an inline implementation regardless of library is built within.
19876         (open_not_cancel_2): Likewise.
19877         (__read_nocancel): Likewise.
19878         (__write_nocancel): Likewise.
19879         (openat_not_cancel): Likewise.
19880         (openat_not_cancel_3): Likewise.
19881         (openat64_not_cancel): Likewise.
19882         (openat64_not_cancel_3): Likewise.
19883         (__close_nocancel): Likewise.
19884         (pause_not_cancel): Likewise.
19885         (nanosleep_not_cancel): Likewise.
19886         (sigsuspend_not_cancel): Likewise.
19888 2015-06-04  Torvald Riegel  <triegel@redhat.com>
19890         [BZ #14958]
19891         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
19892         wake-up.
19893         (__pthread_rwlock_rdlock_slow): Likewise.
19894         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19895         Likewise.
19896         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
19897         Likewise.
19898         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
19899         * nptl/tst-rwlock16.c: New file.
19900         * nptl/Makefile (tests): Add new test.
19902 2015-06-04  Torvald Riegel  <triegel@redhat.com>
19904         [BZ #18324]
19905         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
19906         missing wake-up of readers.
19907         * nptl/tst-rwlock15.c: New file.
19908         * nptl/Makefile (tests): Add new test.
19910 2015-06-03  Roland McGrath  <roland@hack.frob.com>
19912         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
19913         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
19914         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
19915         and __nacl_supply_interface_rtld.
19916         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
19917         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
19918         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
19919         Add __nacl_supply_interface_rtld.
19920         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
19922 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
19924         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
19925         isfinite.
19926         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19927         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
19929 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
19931         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
19932         __signbit* with standard C99 macros.
19933         * math/e_exp10l.c: Likewise.
19934         * math/e_exp2l.c: Likewise.
19935         * math/e_scalb.c: Likewise.
19936         * math/e_scalbf.c: Likewise.
19937         * math/e_scalbl.c: Likewise.
19938         * math/s_ldexp.c: Likewise.
19939         * math/s_ldexpf.c: Likewise.
19940         * math/s_ldexpl.c: Likewise.
19941         * math/w_atan2.c: Likewise.
19942         * math/w_atan2f.c: Likewise.
19943         * math/w_atan2l.c: Likewise.
19944         * math/w_cosh.c: Likewise.
19945         * math/w_coshf.c: Likewise.
19946         * math/w_coshl.c: Likewise.
19947         * math/w_exp10.c: Likewise.
19948         * math/w_exp10f.c: Likewise.
19949         * math/w_exp10l.c: Likewise.
19950         * math/w_exp2.c: Likewise.
19951         * math/w_exp2f.c: Likewise.
19952         * math/w_exp2l.c: Likewise.
19953         * math/w_fmod.c: Likewise.
19954         * math/w_fmodf.c: Likewise.
19955         * math/w_fmodl.c: Likewise.
19956         * math/w_hypot.c: Likewise.
19957         * math/w_hypotf.c: Likewise.
19958         * math/w_hypotl.c: Likewise.
19959         * math/w_jnl.c: Likewise.
19960         * math/w_lgamma.c: Likewise.
19961         * math/w_lgamma_r.c: Likewise.
19962         * math/w_lgammaf.c: Likewise.
19963         * math/w_lgammaf_r.c: Likewise.
19964         * math/w_lgammal.c: Likewise.
19965         * math/w_lgammal_r.c: Likewise.
19966         * math/w_pow.c: Likewise.
19967         * math/w_powf.c: Likewise.
19968         * math/w_powl.c: Likewise.
19969         * math/w_remainder.c: Likewise.
19970         * math/w_remainderf.c: Likewise.
19971         * math/w_remainderl.c: Likewise.
19972         * math/w_scalb.c: Likewise.
19973         * math/w_scalbf.c: Likewise.
19974         * math/w_scalbl.c: Likewise.
19975         * math/w_scalbln.c: Likewise.
19976         * math/w_scalblnf.c: Likewise.
19977         * math/w_scalblnl.c: Likewise.
19978         * math/w_sinh.c: Likewise.
19979         * math/w_sinhf.c: Likewise.
19980         * math/w_sinhl.c: Likewise.
19981         * math/w_tgamma.c: Likewise.
19982         * math/w_tgammaf.c: Likewise.
19983         * math/w_tgammal.c: Likewise.
19984         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19985         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
19986         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19987         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19988         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19989         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19990         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19991         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19992         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19993         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19994         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19995         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19996         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19997         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19998         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19999         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20000         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20001         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20002         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20003         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20004         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20005         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20006         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20007         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20008         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20009         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20010         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
20011         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20012         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20013         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20014         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
20015         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
20016         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
20017         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
20018         * stdio-common/printf_fp.c: Likewise.
20019         * stdio-common/printf_fphex.c: Likewise.
20020         * stdio-common/printf_size.c: Likewise.
20022 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
20024         [BZ #18470]
20025         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
20026         strnlen.
20027         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
20028         Remove variable.
20029         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
20030         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
20031         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
20032         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
20033         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
20034         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
20035         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
20036         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
20037         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
20038         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
20040         [BZ #18468]
20041         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
20042         weak alias of __wmemchr.  Use libc_hidden_weak.
20043         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
20044         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
20045         instead of wmemchr.
20047 2015-06-02  Roland McGrath  <roland@hack.frob.com>
20049         [BZ #18383]
20050         * elf/tst-tlsalign-extern.c: New file.
20051         * elf/tst-tlsalign-extern-static.c: New file.
20052         * elf/tst-tlsalign-vars.c: New file.
20053         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
20054         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
20055         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
20056         ($(objpfx)tst-tlsalign-extern-static): Likewise.
20057         (test-xfail-tst-tlsalign-extern-static): New variable.
20059 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
20061         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
20062         Use variable name _sc_err instead of err.
20063         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
20064         instead of ret.
20065         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
20066         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
20067         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
20068         (INLINE_SYSCALL): Likewise.
20070         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
20071         * include/string.h (__strnlen): Use libc_hidden_proto.
20072         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
20073         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
20074         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
20075         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
20076         (libc_hidden_def): Undefine and redefine.
20077         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
20078         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
20079         __GI_strnlen.
20080         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
20081         libc_hidden_def.
20082         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
20084         [BZ #18469]
20085         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
20086         weak alias of __towlower.  Use libc_hidden_weak.
20087         (towupper): Rename to __towupper and define as weak alias of
20088         __towupper.  Use libc_hidden_weak.
20089         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
20090         (__towupper): Likewise.
20091         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
20092         __towlower instead of towlower.
20094 2015-06-02  Roland McGrath  <roland@hack.frob.com>
20096         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
20097         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
20099 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20101         * sysdeps/aarch64/libm-test-ulps: Update.
20103 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20105         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
20106         Define.
20107         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20108         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
20109         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20110         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20111         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
20112         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
20113         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
20115 2015-06-01  Martin Sebor  <msebor@redhat.com>
20117         [BZ #18116]
20118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20119         (__setcontext): Use extended four-operand version of mtsf whenever
20120         possible.
20121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20122         (__novec_swapcontext): Likewise.
20124 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20126         * benchtests/scripts/compare_bench.py: New file.
20127         * benchtests/scripts/import_bench.py (mean): New function.
20128         (split_list): Likewise.
20129         (do_for_all_timings): Likewise.
20130         (compress_timings): Likewise.
20132         * benchtests/scripts/import_bench.py: New file.
20133         * benchtests/scripts/validate_benchout.py: Import import_bench
20134         instead of jsonschema.
20135         (validate_bench): Remove function.
20136         (main): Use import_bench.
20138 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
20140         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
20141         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
20143 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20145         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20147 2015-05-28  Roland McGrath  <roland@hack.frob.com>
20149         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
20150         set THREAD_SELF->tid to a magic value and futex-wake it.
20151         Pass its address to the thread_exit system call.
20152         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
20153         bit is clear.
20154         * sysdeps/nacl/lowlevellock.h: New file.
20155         * sysdeps/nacl/lll_timedwait_tid.c: New file.
20157         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
20158         Add TIMEOUT to current time, don't subtract it.
20160 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
20162         [BZ #2981]
20163         [BZ #18422]
20164         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
20165         ($(objpfx)tst-audit2.out): Also depend on
20166         $(objpfx)tst-auditmod9b.so.
20167         * elf/tst-audit2.c: Include <dlfcn.h>.
20168         (calloc_called): New.
20169         (calloc): Allow to be called more than once.
20170         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
20172 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
20174         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
20175         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
20177 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
20179         * stdlib/monetary.h: Fix comment.
20181 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
20183         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
20184         Avoid using variables in #defines that might cause shadowing.
20185         (INTERNAL_VSYSCALL_CALL): Likewise.
20187 2015-05-26  Roland McGrath  <roland@hack.frob.com>
20189         * sysdeps/nacl/lll_timedlock_wait.c: New file.
20191         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
20192         * nptl/lll_timedlock_wait.c: ... to this new file.
20193         * nptl/Makefile (libpthread-routines): Add it.
20194         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
20195         * nptl/lll_timedwait_tid.c: ... to this new file.
20196         * nptl/Makefile (libpthread-routines): Add it.
20197         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
20198         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
20199         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
20200         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
20201         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
20202         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
20203         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
20204         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
20205         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
20206         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
20208 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20210         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
20211         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20212         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
20213         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
20214         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
20215         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20216         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20217         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20218         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20219         * sysdeps/unix/sysv/linux/tile/sysdep.h
20220         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20221         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
20222         using vDSO syscall macro.
20224 2015-05-26  Andriy Rysin  <arysin@gmail.com>
20226         [BZ #17293]
20227         * uk_UA: Fix sorting order for Ukrainian locale
20229 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
20231         * stdlib/monetary.h: Fix comment.
20233 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20235         [BZ #18234]
20236         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
20237         st_mtim and st_ctim members.
20238         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
20239         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
20240         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
20241         (struct stat64): Likewise.
20242         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
20243         (struct stat64): Likewise.
20244         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
20245         (struct stat64): Likewise.
20247 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20249         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
20250         Define and include sysdep-vdso.h.
20251         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
20252         Likewise.
20253         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
20254         Likewise.
20255         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
20256         Define with VDSO_SYMBOL and use PTR_MANGLE.
20257         (__vdso_clock_gettime): Likewise.
20258         (__vdso_clock_getres): Likewise.
20259         (_libc_vdso_platform_setup): Likewise.
20260         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
20261         Likewise.
20262         (_libc_vdso_platform_setup): Likewise.
20263         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
20264         Likewise.
20265         (__vdso_clock_gettime): Likewise.
20266         (__vdso_clock_getres): Likewise.
20267         (__vdso_get_tbfreq): Likewise.
20268         (__vdso_getcpu): Likewise.
20269         (__vdso_time): Likewise.
20270         (__vdso_sigtramp_rt64): Likewise.
20271         (__vdso_signtramp32): Likewise.
20272         (__vdso_sigtramp_rt32): Likewise.
20273         (_libc_vdso_platform_setup): Likewise.
20274         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
20275         Likewise.
20276         (__vdso_clock_gettime): Likewise.
20277         (__vdso_clock_getres): Likewise.
20278         (_libc_vdso_platform_setup): Likewise.
20279         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
20280         Likewise.
20281         (__vdso_clock_gettime): Likewise.
20282         (_libc_vdso_platform_setup): Likewise.
20283         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
20284         Likewise.
20285         (__vdso_getcpu): Likewise.
20286         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
20287         Use VDSO_SYMBOL macro to define.
20288         (__vdso_clock_gettime): Likewise.
20289         (__vdso_clock_getres): Likewise.
20290         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
20291         Likewise.
20292         (__vdso_clock_gettime): Likewise.
20293         (__vdso_clock_getres): Likewise.
20294         (__vdso_get_tbfreq): Likewise.
20295         (__vdso_getcpu): Likewise.
20296         (__vdso_time): Likewise.
20297         (__vdso_sigtramp_rt64): Likewise.
20298         (__vdso_signtramp32): Likewise.
20299         (__vdso_sigtramp_rt32): Likewise.
20300         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
20301         Likewise.
20302         (__vdso_clock_gettime): Likewise.
20303         (__vdso_clock_getres): Likewise.
20304         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
20305         Likewise.
20306         (__vdso_clock_gettime): Likewise.
20307         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
20308         Likewise.
20309         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
20310         macro.
20311         (INTERNAL_VSYSCALL): Likewise.
20312         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
20313         Remove macro.
20314         (INTERNAL_VSYSCALL): Likewise.
20315         (INTERNAL_VSYSCALL_NCS): Likewise.
20316         (INTERNAL_VSYSCALL_CALL): New macro.
20317         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20318         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
20319         Likewise.
20320         (INTERNAL_VSYSCALL): Likewise.
20321         (INTERNAL_VSYSCALL_NCS): Likewise.
20322         (INTERNAL_VSYSCALL_CALL): New macro.
20323         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20325         (INLINE_VSYSCALL): Remove macro.
20326         (INTERNAL_VSYSCALL): Remove macro.
20327         (INTERNAL_VSYSCALL_NCS): Remove macro.
20328         (INTERNAL_VSYSCALL_CALL): New macro.
20329         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
20330         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
20331         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20332         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
20333         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20335         (INLINE_VSYSCALL): Remove macro.
20336         (INTERNAL_VSYSCALL): Likewise.
20337         (INTERNAL_VSYSCALL_NCS): Likewise.
20338         (INTERNAL_VSYSCALL_CALL): New macro.
20339         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
20340         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
20341         PTR_DEMANGLE on vDSO pointer.
20342         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20343         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
20344         macro.
20345         (INTERNAL_SYSCALL): Likewise.
20346         (INTERNAL_VSYSCALL_NCS): Remove macro.
20347         (INTERNAL_VSYSCALL_CALL): New macro.
20348         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
20349         Remove macro.
20350         (INTERNAL_VSYSCALL): Likewise.
20351         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
20352         sysdep-vdso.h instead of libc-vdso.h.
20353         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
20354         definition.
20355         (INLINE_VSYSCALL): Likewise.
20356         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
20357         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
20358         definition.
20359         (INLINE_VSYSCALL): Likewise.
20360         (INTERNAL_VSYSCALL): Likewise.
20361         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20362         * sysdeps/unix/sysv/linux/timespec_get.c
20363         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20364         (timespec_get): Use ANSI prototype.
20365         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
20366         and definition for Linux.
20368 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
20370         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
20371         * include/libc-symbols.h: libmvec_hidden_* macro series added.
20373 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20375         [BZ #2981]
20376         [BZ #18410]
20377         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
20378         for missing DT_PLTRELSZ.
20380 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
20382         Remove obsolete aliases that broke 'locale -a'
20383         [BZ #18412]
20384         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
20385         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
20386         breaking some applications that use 'locale -a' output.
20387         Change the encoding of this file from Latin-1 to ASCII to avoid
20388         other potential problems with people grepping this file.
20390 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20392         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
20393         -fasynchronous-unwind-tables.
20394         (CFLAGS-sendto.c): Likewise.
20395         (CFLAGS-sendmsg.c): Likewise.
20396         (CFLAGS-connect.c): Likewise.
20397         (CFLAGS-recvmsg.c): Likewise.
20398         (CFLAGS-recvfrom.c): Likewise.
20399         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
20400         (SOCKETCALL): New macro: non-cancellable socketcall.
20401         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
20402         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
20403         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
20404         * sysdeps/unix/sysv/linux/accept.c: New file.
20405         * sysdeps/unix/sysv/linux/bind.c: Likewise.
20406         * sysdeps/unix/sysv/linux/connect.c: Likewise.
20407         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
20408         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
20409         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
20410         * sysdeps/unix/sysv/linux/listen.c: Likewise.
20411         * sysdeps/unix/sysv/linux/recv.c: Likewise.
20412         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
20413         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
20414         * sysdeps/unix/sysv/linux/send.c: Likewise.
20415         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
20416         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
20417         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
20418         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
20419         * sysdeps/unix/sysv/linux/socket.c: Likewise.
20420         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
20421         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
20422         prototype.
20423         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
20424         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20425         instead of __internal_xxx function.
20426         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
20427         prototype.
20428         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
20429         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20430         instead of __internal_xxx function.
20431         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
20432         prototype.
20433         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
20434         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20435         instead of __internal_xxx function.
20436         * sysdeps/unix/sysv/linux/accept.S: Remove file.
20437         * sysdeps/unix/sysv/linux/bind.S: Likewise.
20438         * sysdeps/unix/sysv/linux/connect.S: Likewise.
20439         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
20440         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
20441         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
20442         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
20443         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
20444         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
20445         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
20446         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
20447         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20448         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
20449         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
20450         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
20451         * sysdeps/unix/sysv/linux/listen.S: Likewise.
20452         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
20453         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
20454         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
20455         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
20456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
20457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
20458         * sysdeps/unix/sysv/linux/recv.S: Likewise.
20459         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
20460         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
20461         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
20462         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20463         * sysdeps/unix/sysv/linux/send.S: Likewise.
20464         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
20465         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
20466         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
20467         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
20468         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
20469         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
20470         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
20471         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
20472         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
20473         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
20474         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
20475         socketcall is implemented in GLIBC.
20477 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20479         * soft-fp/fmadf4.c: Include <libc-internal.h>.
20480         (__fma): Ignore uninitialized warnings around packing.
20481         * soft-fp/fmasf4.c: Include <libc-internal.h>.
20482         (__fmaf): Ignore uninitialized warnings around packing.
20483         * soft-fp/fmatf4.c: Include <libc-internal.h>.
20484         (__fmal): Ignore uninitialized warnings around packing.
20486         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
20487         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20488         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
20489         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20491         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
20492         switch statement into default case.
20493         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
20495         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
20496         a conditional in forcing "inexact".
20497         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20498         Likewise.
20500 2015-05-22  Roland McGrath  <roland@hack.frob.com>
20502         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20503         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
20504         for each INTERNAL_SYSCALL use.
20506 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20508         [BZ #438]
20509         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
20510         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
20511         variable.
20513         [BZ #18444]
20514         * string/basename.c (basename): Rename to __basename and define as
20515         weak alias of __basename.  Use libc_hidden_weak.
20516         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
20517         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
20518         __basename instead of basename.
20519         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
20520         Remove variable.
20521         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
20523 2015-05-18  Florian Weimer  <fweimer@redhat.com>
20525         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
20526         (_IO_JUMPS_FILE_plus): New.
20527         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
20528         _IO_CAST_FIELD_ACCESS.
20529         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
20530         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
20531         * libio/freopen.c (freopen): Likewise.
20532         * libio/freopen64.c (freopen64): Likewise.
20533         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
20534         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
20535         * libio/iofwide.c (_IO_fwide): Likewise.
20536         * libio/memstream.c (open_memstream): Likewise.
20537         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20538         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
20539         * libio/oldiopopen.c (_IO_old_popen): Likewise.
20541 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
20543         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
20544         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
20545         NADJ.
20546         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
20547         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
20548         NADJ.
20549         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
20550         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
20551         NADJ.
20553         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
20554         (p == 4) case.
20556         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
20557         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
20558         Remove variable.
20559         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
20560         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
20561         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
20563 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20565         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
20566         Adjust jump table label generation macros.
20568 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20570         * stdio-common/vfprintf.c (vfprintf): Move local variables
20571         args_malloced, specs, specs_malloced, and the code after
20572         do_positional to the printf_positional function.
20573         (printf_positional): New function.
20575 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20577         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
20578         function.
20579         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
20580         STEP4_TABLE, process_arg): Move macro definitions
20581         out of the vfprintf function.  (Cosmetic change only.)
20583 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
20585         * benchtests/Makefile (stdio-common-bench): Define.
20586         (benchset): Add stdio-common-bench.
20587         * sprintf-inputs: New file.
20588         * sprintf-source.c: New file.
20590 2015-05-21  Andreas Schwab  <schwab@suse.de>
20592         [BZ #13028]
20593         [BZ #17053]
20594         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
20595         of struct __res_state.
20596         * resolv/res_send.c (__libc_res_nsend): Likewise.
20597         (get_nsaddr): New function.
20598         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
20599         statp directly.
20601 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
20603         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
20604         -D_POSIX_C_SOURCE=199506L.
20606         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
20608         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
20609         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
20610         Do not mention otherwise.
20611         [POSIX] (_XOPEN_VERSION): Do not expect.
20612         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
20613         [POSIX] (_POSIX2_C_BIND): Likewise.
20614         [POSIX] (_POSIX2_VERSION): Likewise.
20615         [POSIX] (_XOPEN_XPG2): Likewise.
20616         [POSIX] (_XOPEN_XPG3): Likewise.
20617         [POSIX] (_XOPEN_XPG4): Likewise.
20618         [POSIX] (_XOPEN_UNIX): Likewise.
20619         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
20620         [POSIX] (_POSIX_BARRIERS): Likewise.
20621         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
20622         [POSIX] (_POSIX_CPUTIME): Likewise.
20623         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
20624         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
20625         [POSIX] (_POSIX_SHELL): Likewise.
20626         [POSIX] (_POSIX_SPAWN): Likewise.
20627         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
20628         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
20629         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
20630         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
20631         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
20632         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
20633         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
20634         [POSIX] (_XBS5_LP64_OFF64): Likewise.
20635         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
20636         [POSIX] (_POSIX_TIMEOUTS): Likewise.
20637         [POSIX] (_POSIX2_PBS): Likewise.
20638         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
20639         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
20640         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
20641         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
20642         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
20643         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
20644         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
20645         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
20646         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
20647         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
20648         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
20649         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
20650         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
20651         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
20652         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
20653         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
20654         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
20655         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
20656         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
20657         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
20658         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
20659         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
20660         [POSIX] (_SC_2_C_BIND): Likewise.
20661         [POSIX] (_SC_2_C_VERSION): Likewise.
20662         [POSIX] (_SC_2_PBS): Likewise.
20663         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
20664         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
20665         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
20666         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
20667         [POSIX] (_SC_2_PBS_TRACK): Likewise.
20668         [POSIX] (_SC_ATEXIT_MAX): Likewise.
20669         [POSIX] (_SC_BARRIERS): Likewise.
20670         [POSIX] (_SC_BASE): Likewise.
20671         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
20672         [POSIX] (_SC_DEVICE_IO): Likewise.
20673         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
20674         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
20675         [POSIX] (_SC_FD_MGMT): Likewise.
20676         [POSIX] (_SC_FIFO): Likewise.
20677         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
20678         [POSIX] (_SC_FILE_LOCKING): Likewise.
20679         [POSIX] (_SC_FILE_SYSTEM): Likewise.
20680         [POSIX] (_SC_IOV_MAX): Likewise.
20681         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
20682         [POSIX] (_SC_NETWORKING): Likewise.
20683         [POSIX] (_SC_PAGE_SIZE): Likewise.
20684         [POSIX] (_SC_PASS_MAX): Likewise.
20685         [POSIX] (_SC_PIPE): Likewise.
20686         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
20687         [POSIX] (_SC_REGEXP): Likewise.
20688         [POSIX] (_SC_SHELL): Likewise.
20689         [POSIX] (_SC_SIGNALS): Likewise.
20690         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
20691         [POSIX] (_SC_SPIN_LOCKS): Likewise.
20692         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
20693         [POSIX] (_SC_USER_GROUPS): Likewise.
20694         [POSIX] (_SC_USER_GROUPS_R): Likewise.
20695         [POSIX] (_SC_STREAMS): Likewise.
20696         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
20697         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
20698         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
20699         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
20700         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
20701         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
20702         [POSIX] (_PC_FILESIZEBITS): Likewise.
20703         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
20704         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
20705         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
20706         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
20707         [POSIX] (uid_t): Likewise.
20708         [POSIX] (gid_t): Likewise.
20709         [POSIX] (off_t): Likewise.
20710         [POSIX] (pid_t): Likewise.
20711         [POSIX] (cuserid): Allow.
20712         (_SC_2_CHAR_TERM): Require constant.
20713         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
20714         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
20715         variable.
20717 2015-05-20  Roland McGrath  <roland@hack.frob.com>
20719         * sysdeps/nacl/pthread-pids.h: New file.
20720         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
20721         (create_thread): Use __nacl_get_tid to initialize PD->tid.
20723         * nptl/pthread-pids.h: New file.
20724         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
20725         * nptl/nptl-init.c: Include <pthread-pids.h>.
20726         (__pthread_initialize_minimal_internal):
20727         Call __pthread_initialize_pids instead of set_tid_address syscall.
20729         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
20730         * sysdeps/posix/usleep.c: ... here.
20732 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20734         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
20735         call_pselect6 object.
20736         [$(subdir) = io]: Remove call_sync_file_range object.
20737         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
20738         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
20739         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
20740         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
20742 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
20744         * math/s_cproj.c: Add include "math_private.h".
20745         * math/s_cprojf.c: Likewise.
20746         * math/s_cprojl.c: Likewise.
20748 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
20750         [BZ #18244]
20751         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
20752         high mantissa bit when testing whether P is a NaN.
20753         * math/libm-test.inc (remainder_test_data): Add more tests.
20754         (remquo_test_data): Likewise.
20756         [BZ #18049]
20757         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
20758         below -32, return the argument, with underflow if subnormal.
20759         * math/auto-libm-test-in: Add more tests of atanh.
20760         * math/auto-libm-test-out: Regenerated.
20762 2015-05-19  Roland McGrath  <roland@hack.frob.com>
20764         [BZ #18434]
20765         * nptl/tst-sem15.c: New file.
20766         * nptl/Makefile (tests): Add it.
20767         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
20768         s/<</>>/ to fix typo in EOVERFLOW check.
20769         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
20771 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20773         * manual/strings.texi (envz_remove): Fix typo in safety
20774         annotations.
20776 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
20777             Steve Ellcey  <sellcey@imgtec.com>
20779         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
20780         in order to avoid strict alias warnings.
20781         (iruserok_af): Ditto for ra.
20783 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
20785         [BZ #17581]
20786         * malloc/hooks.c
20787         (magicbyte): Convert to a function and avoid returning 0x01.
20788         (mem2mem_check): Avoid using a length byte equal to the magic byte.
20789         (mem2chunk_check): Fix unsigned comparisons to zero.
20790         Hoist defs of sz and magic.
20792 2015-05-19  Richard Henderson  <rth@redhat.com>
20794         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
20796         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20798 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20800         [BZ #16159]
20801         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
20802         * malloc/arena.c (arena_lock): Check if arena is corrupt.
20803         (reused_arena): Find a non-corrupt arena.
20804         (heap_trim): Pass arena to unlink.
20805         * malloc/hooks.c (malloc_check_get_size): Pass arena to
20806         malloc_printerr.
20807         (top_check): Likewise.
20808         (free_check): Likewise.
20809         (realloc_check): Likewise.
20810         * malloc/malloc.c (malloc_printerr): Add arena argument.
20811         (unlink): Likewise.
20812         (munmap_chunk): Adjust.
20813         (ARENA_CORRUPTION_BIT): New macro.
20814         (arena_is_corrupt): Likewise.
20815         (set_arena_corrupt): Likewise.
20816         (sysmalloc): Use mmap if there are no usable arenas.
20817         (_int_malloc): Likewise.
20818         (__libc_malloc): Don't fail if arena_get returns NULL.
20819         (_mid_memalign): Likewise.
20820         (__libc_calloc): Likewise.
20821         (__libc_realloc): Adjust for additional argument to
20822         malloc_printerr.
20823         (_int_free): Likewise.
20824         (malloc_consolidate): Likewise.
20825         (_int_realloc): Likewise.
20826         (_int_memalign): Don't touch corrupt arenas.
20827         * malloc/tst-malloc-backtrace.c: New test case.
20829         * Makefile (summarize-tests): Fix return value on success.
20831         * manual/string.texi (Envz Functions): Add envz_remove.
20833 2015-05-18  Roland McGrath  <roland@hack.frob.com>
20835         * sysdeps/posix/opendir.c: Include <stdbool.h>.
20836         (invalid_name): New function, broken out of ...
20837         (__opendirat): ... here.  Call it.
20838         (need_isdir_precheck): New function, broken out of ...
20839         (__opendirat): ... here.  Call it.
20840         Use __fxstatat64, not __xstatat64.
20841         (opendir_oflags): New function, broken out of ...
20842         (__opendirat): ... here.  Call it.
20843         (opendir_tail): New function, broken out of ...
20844         (__opendirat): ... here.  Call it.
20845         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
20846         opendir_tail, rather than punting to __opendirat.
20847         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
20849 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20851         * .gitignore: Ignore generated *.pyc.
20853 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
20855         * include/stdio.h: Define __need_wint_t.
20856         * test-skeleton.c: Avoid `for' loop initial declaration.
20857         * nptl/tst-initializers1.c: Use test-skeleton.c.
20859 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20861         [BZ #18418]
20862         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
20864 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
20866         [BZ #16352]
20867         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
20868         (__ieee754_atanh): Force underflow exception for results with
20869         small absolute value.
20870         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
20871         (__ieee754_atanhf): Force underflow exception for results with
20872         small absolute value.
20873         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
20874         (__ieee754_atanh): Force underflow exception for results with
20875         small absolute value.
20876         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
20877         (__ieee754_atanhf): Force underflow exception for results with
20878         small absolute value.
20879         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
20880         (__ieee754_atanhl): Force underflow exception for results with
20881         small absolute value.
20882         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
20883         (__ieee754_atanhl): Force underflow exception for results with
20884         small absolute value.
20885         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
20886         (__ieee754_atanhl): Force underflow exception for results with
20887         small absolute value.
20888         * math/auto-libm-test-in: Do not allow missing underflow
20889         exceptions from atanh.
20890         * math/auto-libm-test-out: Regenerated.
20892         [BZ #18221]
20893         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
20894         2**-28 as threshold for returning x or +/- 1/x.
20895         * math/auto-libm-test-in: Add more tests of tan.
20896         * math/auto-libm-test-out: Regenerated.
20898         [BZ #18220]
20899         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20900         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
20901         * math/auto-libm-test-in: Add another test of lgamma.
20902         * math/auto-libm-test-out: Regenerated.
20904 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
20906         * stdio-common/printf_fp.c (___printf_fp): Use abs.
20907         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
20908         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
20909         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
20910         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
20911         (ADD2A): Use fabs.  (SUB2A): Use fabs.
20912         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
20913         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
20914         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
20915         (log1): Use fabs.  (my_log2): Use fabs.
20916         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
20917         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
20918         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
20919         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
20920         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
20921         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
20922         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
20923         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
20924         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
20925         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
20926         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
20928 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
20930         [BZ #18217]
20931         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
20932         as threshold for returning 1 - x.
20933         * math/auto-libm-test-in: Add more tests of erfc.
20934         * math/auto-libm-test-out: Regenerated.
20936 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
20938         [BZ #18196]
20939         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
20940         threshold for large arguments.
20941         * math/auto-libm-test-in: Add another test of atan.
20942         * math/auto-libm-test-out: Regenerated.
20944         [BZ #16339]
20945         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
20946         (__log1p): Force underflow exception for results with small
20947         absolute value.
20948         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
20949         (__log1pf): Force underflow exception for results with small
20950         absolute value.
20951         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
20952         (__log1p): Force underflow exception for results with small
20953         absolute value.
20954         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
20955         (__log1pf): Force underflow exception for results with small
20956         absolute value.
20957         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
20958         (__log1pl): Force underflow exception for results with small
20959         absolute value.
20960         * math/auto-libm-test-in: Do not allow missing underflow
20961         exceptions from log1p.
20962         * math/auto-libm-test-out: Regenerated.
20964 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
20965             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20967         [BZ #16704]
20968         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
20970 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
20972         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
20973         (libmvec): New variable.
20974         * configure.ac: Added option for mathvec build.
20975         * configure: Regenerated.
20976         * mathvec/Depend: New file.
20977         * mathvec/Makefile: New file.
20978         * shlib-versions: Added libmvec.
20979         * math/Makefile: Added rule for libm.so installation.
20981         * bits/math-vector.h: New file.
20982         * bits/libm-simd-decl-stubs.h: New header.
20983         * math/Makefile (headers): Added new header
20984         libm-simd-decl-stubs.h.
20985         * math/math.h (__MATHCALL_VEC): New macro.
20987         * math/gen-libm-have-vector-test.sh: Script generates series of macros
20988         for conditions in testing functions.
20989         * math/Makefile: Added call of libm-have-vector-test.sh.
20990         * math/libm-test.inc (HAVE_VECTOR): New macros.
20992         * math/libm-test.inc: START refactored.
20993         * math/test-double.c (TEST_MATHVEC): Add define.
20994         * math/test-float.c: Likewise.
20995         * math/test-idouble.c: Likewise.
20996         * math/test-ifloat.c: Likewise.
20997         * math/test-ildoubl.c: Likewise.
20998         * math/test-ldouble.c: Likewise.
20999         * sysdeps/generic/math-tests-arch.h
21000         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
21001         architecture check.
21003         * math/test-double.c (FUNC_TEST): New macro.
21004         * math/test-float.c: Likewise.
21005         * math/test-idouble.c: Likewise.
21006         * math/test-ifloat.c: Likewise.
21007         * math/test-ildoubl.c: Likewise.
21008         * math/test-ldouble.c: Likewise.
21009         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
21011 2015-05-13  Roland McGrath  <roland@hack.frob.com>
21013         * sysdeps/nacl/fdopendir.c: New file.
21015         * dirent/scandir-tail.c: New file.
21016         * dirent/scandir64-tail.c: New file.
21017         * dirent/Makefile (routines): Add them.
21018         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
21019         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
21020         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
21021         [!SCANDIR] (SCANDIR_TAIL): New macro.
21022         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
21023         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
21024         (SCANDIRAT): Macro removed.
21025         (SCANDIR_TAIL): New macro.
21026         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
21027         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
21028         (SCANDIRAT): Just call __opendirat and __scandir_tail.
21029         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
21030         (READDIR): Macro removed.
21031         (SCANDIR_TAIL): New macro.
21032         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
21033         (SCANDIR_TAIL): New macro.
21035         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
21036         * dirent/scandir-cancel.c: ... to this new file.
21037         * dirent/Makefile (routines): Add it.
21038         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
21039         * sysdeps/unix/sysv/linux/i386/scandir64.c
21040         (SKIP_SCANDIR_CANCEL): Macro removed.
21041         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
21043         * dirent/tst-scandir.c: New file.
21044         * dirent/tst-scandir64.c: New file.
21045         * dirent/Makefile (tests): Add them.
21047 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21049         [BZ #18409]
21050         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
21052 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21054         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
21055         list.
21057 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
21059         * benchtests/bench-strcoll.c: New benchmark.
21060         * benchtests/Makefile: Generate locales and run benchmark.
21061         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
21062         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
21063         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
21064         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
21065         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
21066         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
21067         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
21068         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
21069         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
21070         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
21071         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
21072         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
21073         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
21074         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
21075         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
21076         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
21077         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
21078         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
21079         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
21080         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
21081         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
21082         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
21083         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
21084         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
21086 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
21088         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
21089         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21091 2015-05-12  Roland McGrath  <roland@hack.frob.com>
21093         * posix/uname-values.h: New file.
21094         * posix/uname.c: Include that instead of <config-name.h>.
21095         * sysdeps/nacl/uname-values.h: New file.
21096         * sysdeps/arm/nacl/uname-values.h: New file.
21098 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
21100         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
21101         splitting into fields.
21103 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
21105         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
21106         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
21107         * locale/localeinfo.h: Add enum collation_encoding_type.
21108         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
21109         * programs/ld-collate.c (collate_output): Add encoding type info.
21110         * string/strcoll_l.c (STRDIFF): New function.
21111         * (STRCOLL): Use STRDIFF to skip over equal prefix.
21112         * wcsmbs/wcscoll_l.c: Define STRDIFF.
21114 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
21116         [BZ #18397]
21117         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
21118         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
21119         <fpu_control.h> instead of <math/fpu_control.c>.
21120         * sysdeps/mips/mips32/fpu/Makefile: New file.
21122 2015-05-11  Andreas Schwab  <schwab@suse.de>
21124         [BZ #18007]
21125         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
21126         nss_endgrent.
21127         (_nss_compat_endgrent): Call nss_endgrent.
21128         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
21129         nss_endpwent.
21130         (_nss_compat_endpwent): Call nss_endpwent.
21131         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
21132         needent, call nss_setspent only if non-zero.
21133         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
21134         (internal_endspent): Don't call nss_endspent.
21135         (_nss_compat_endspent): Call nss_endspent.
21136         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
21137         Remove.  All uses removed.
21138         (internal_setent): Remove parameter stayopen, add parameter
21139         stream.  Use it instead of global variable.
21140         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
21141         (internal_endent, internal_getent): Add parameter stream.  Use it
21142         instead of global variable.
21143         (CONCAT(_nss_files_end,ENTNAME))
21144         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
21145         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
21146         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
21147         uses removed.
21148         (internal_setent, internal_endent): Add parameter stream.  Use it
21149         instead of global variable.
21150         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
21151         stream.
21152         (get_next_alias): Add parameter stream.
21153         (_nss_files_getaliasent_r): Pass global stream.
21154         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
21155         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
21156         (_nss_files_gethostbyname4_r): Pass local stream to
21157         internal_setent, internal_getent and internal_endent.  Remove
21158         locking.
21160 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21162         * tst-strfmon1.c (tests): Update expected currency symbol.
21164 2015-05-08  Roland McGrath  <roland@hack.frob.com>
21166         * sysdeps/nacl/gethostname.c: New file.
21168 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
21170         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
21171         and sinh.
21172         * math/auto-libm-test-out: Regenerated.
21173         * sysdeps/i386/fpu/libm-test-ulps: Update.
21174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21176 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
21178         [BZ #18125]
21179         * stdlib/tst-setcontext3.c: New file.
21180         * stdlib/tst-setcontext3.sh: New file.
21181         * stdlib/Makefile (tests): Add tst-setcontext3.
21182         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
21183         to verify test program created output file.
21184         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
21185         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
21186         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
21187         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
21189 2015-05-06  Roland McGrath  <roland@hack.frob.com>
21191         [BZ #18383]
21192         * elf/tst-tlsalign.c: New file.
21193         * elf/tst-tlsalign-static.c: New file.
21194         * elf/tst-tlsalign-lib.c: New file.
21195         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
21196         (tests-static): Add tst-tlsalign-static.
21197         (modules-names): Add tst-tlsalign-lib.
21198         (test-xfail-tst-tlsalign): New variable.
21199         (test-xfail-tst-tlsalign-static): New variable.
21201         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
21202         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
21204 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
21206         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
21207         csqrt, erfc, sin and sincos.
21208         * math/auto-libm-test-out: Regenerated.
21209         * sysdeps/i386/fpu/libm-test-ulps: Update.
21210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21212 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21214         * sysdeps/aarch64/libm-test-ulps: Update.
21216 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
21218         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
21219         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
21220         * math/auto-libm-test-out: Regenerated.
21221         * sysdeps/i386/fpu/libm-test-ulps: Update.
21222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21224 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
21226         [BZ #18265]
21227         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
21228         (wcsncpy): Likewise.
21230 2015-05-05  Florian Weimer  <fweimer@redhat.com>
21232         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21233         Assume __ASSUME_FALLOCATE is always true.
21234         * sysdeps/unix/sysv/linux/posix_fallocate64.c
21235         (__posix_fallocate64_l64): Likweise.
21236         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
21237         (posix_fallocate): Likewise.
21238         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
21239         (__posix_fallocate64_l64): Likewise.
21240         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21241         [!__ASSUME_FALLOCATE]: Add comment.
21243 2015-05-05  Florian Weimer  <fweimer@redhat.com>
21245         * sysdeps/unix/sysv/linux/i386/Makefile
21246         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
21247         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
21248         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
21249         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21250         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21251         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
21252         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
21254 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
21256         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
21257         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
21258         tgamma.
21259         * math/auto-libm-test-out: Regenerated.
21260         * sysdeps/i386/fpu/libm-test-ulps: Update.
21261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21263 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
21265         * math/auto-libm-test-in: Add more tests of tgamma.
21266         * math/auto-libm-test-out: Regenerated.
21267         * sysdeps/i386/fpu/libm-test-ulps: Update.
21268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21270         * math/auto-libm-test-in: Add more tests of tanh.
21271         * math/auto-libm-test-out: Regenerated.
21272         * sysdeps/i386/fpu/libm-test-ulps: Update.
21273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21275         * math/auto-libm-test-in: Add more tests of tan.
21276         * math/auto-libm-test-out: Regenerated.
21277         * sysdeps/i386/fpu/libm-test-ulps: Update.
21278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21280         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
21281         * math/auto-libm-test-out: Regenerated.
21282         * sysdeps/i386/fpu/libm-test-ulps: Update.
21283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21285         * math/auto-libm-test-in: Add another test of pow.
21286         * math/auto-libm-test-out: Regenerated.
21287         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21289         * math/auto-libm-test-in: Add more tests of lgamma.
21290         * math/auto-libm-test-out: Regenerated.
21291         * sysdeps/i386/fpu/libm-test-ulps: Update.
21292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21294         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
21295         log1p.
21296         * math/auto-libm-test-out: Regenerated.
21297         * sysdeps/i386/fpu/libm-test-ulps: Update.
21298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21300 2015-05-01  Mark Wielaard  <mjw@redhat.com>
21302         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
21303         Elf64_Chdr structs and ELFCOMPRESS constants.
21305 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
21307         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
21308         expm1.
21309         * math/auto-libm-test-out: Regenerated.
21310         * sysdeps/i386/fpu/libm-test-ulps: Update.
21311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21313         * math/auto-libm-test-in: Add more tests of erf and erfc.
21314         * math/auto-libm-test-out: Regenerated.
21315         * sysdeps/i386/fpu/libm-test-ulps: Update.
21316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21318 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21320         * config.h.in (HAVE_AARCH64_BE): Add.
21322 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
21324         * math/auto-libm-test-in: Add more tests of csqrt.
21325         * math/auto-libm-test-out: Regenerated.
21326         * sysdeps/i386/fpu/libm-test-ulps: Update.
21327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21329         * math/auto-libm-test-in: Add more tests of cosh and sinh.
21330         * math/auto-libm-test-out: Regenerated.
21331         * sysdeps/i386/fpu/libm-test-ulps: Update.
21332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21334         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
21336 2015-04-29  Roland McGrath  <roland@hack.frob.com>
21338         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
21339         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
21341         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
21342         (euidaccess, eaccess): Define as weak aliases.
21344         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
21345         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
21346         but __suseconds_t is often 'long int' so some sources assume that
21347         type is being used (e.g. they use %ld to print tv_usec).
21349 2015-04-29  Florian Weimer  <fweimer@redhat.com>
21351         [BZ #18007]
21352         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
21353         (CVE-2014-8121)
21354         * nss/tst-nss-getpwent.c: New file.
21355         * nss/Makefile (tests): Add new test.
21357 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
21359         [BZ #18346]
21360         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
21361         exponents less than 48 as cases where high part of mantissa needs
21362         examining to determine whether argument is integral.
21363         * math/libm-test.inc (round_test_data): Add more tests.
21365 2015-04-28  Mark Wielaard  <mjw@redhat.com>
21367         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
21369 2015-04-27  David S. Miller  <davem@davemloft.net>
21371         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
21372         __tls_get_addr.
21373         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
21375 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
21377         [BZ#18333]
21378         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
21380 2015-04-27  Florian Weimer  <fweimer@redhat.com>
21382         [BZ#18333]
21383         * time/tzset.c (parse_tzname): Return error on memory allocation
21384         failure.
21385         * test-skeleton.c (struct temp_name_list): Change type of name
21386         member to non-const.
21387         (add_temp_file): Create a copy of the file name.
21388         (delete_temp_files): Deallocate memory.
21389         (create_temp_file): Add comment.
21391 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21393         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
21394         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
21396 2015-04-24  Roland McGrath  <roland@hack.frob.com>
21398         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
21399         * sysdeps/arm/configure: Regenerated.
21401 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21403         [BZ #17715]
21404         * time/tzfile.c (__tzfile_read): Check for large values of
21405         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
21406         * time/tzset.c (__tzstring_len): New function, based on the old
21407         __tzstring function.
21408         (__tzstring): Call __tzstring_len.
21409         (parse_tzname): New helper function extracted from
21410         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
21411         the input string.
21412         (parse_offset): New helper function extracted from
21413         __tzset_parse_tz.  Replace switch with fallthrough with
21414         initialization before sscanf.
21415         (parse_rule): Likewise.
21416         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
21417         new-style function definition.
21418         * timezone/Makefile (tests): Add tst-tzset.
21419         (tst-tzset.out): Dependencies on time zone files.
21420         (tst-tzset-ENV): Set TZDIR.
21421         (testdata/XT%): Copy crafted time zone files.
21422         * timezone/README: Mention crafted time zone files.
21423         * timezone/testdata/XT1, timezone/testdata/XT2,
21424         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
21425         files.
21426         * timezone/tst-tzset.c: New test.
21428 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21430         * Makeconfig (+gccwarn): Remove -Winline.
21432 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21434         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
21436 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21438         * NEWS: Mention sysconf() cache information support for s390.
21439         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
21441 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
21443         * math/k_casinh.c (__kernel_casinh): Use __copysign.
21444         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
21445         (__nearbyint): Likewise.
21446         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
21447         (copysignl): Likewise.
21449 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
21451         [BZ #18287]
21452         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
21453         based on padding.  (CVE-2015-1781)
21455 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21457         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
21458         libc-vdso.h.
21459         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
21460         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
21461         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
21462         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
21463         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
21464         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
21465         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
21466         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21467         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21468         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
21469         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21470         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
21471         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21472         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
21473         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
21474         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
21475         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
21476         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
21477         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
21478         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
21479         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
21480         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
21481         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
21483 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
21485         * stdlib/setenv.c (__add_to_environ):
21486         Dump core quickly if setenv (..., NULL, ...) is called.
21487         This time, do it the right way, and pacify GCC with a pragma.
21489 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21491         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
21492         IMAP->l_prev cannot be null, and #if out the code for the contrary
21493         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
21494         believe that NS (&_dl_ns[NSID]) could point outside the array.
21496         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
21497         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
21498         before using NSID as an index.
21500 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
21502         [BZ #17825]
21503         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
21504         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
21505         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21507 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21509         Add preliminary port to Google Native Client on ARM.
21510         * abi-tags (.*-.*-nacl.*): New entry.
21511         * sysdeps/arm/nacl: New directory.
21512         * sysdeps/nacl: New directory.
21514 2015-04-16  David S. Miller  <davem@davemloft.net>
21516         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
21517         lowlevellock-futex.h
21519 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
21521         * sysdeps/tile/configure.ac: New file.
21522         * sysdeps/tile/configure: Regenerated.
21524 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21526         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
21527         conditionals for weak_alias and libc_hidden_weak.
21528         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
21529         libc_hidden_weak and weak_alias.
21530         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
21531         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
21532         and weak_alias for static one.
21534 2015-04-15  David S. Miller  <davem@davemloft.net>
21536         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21538 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21540         [BZ #18206]
21541         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
21542           Use signed comparision instead of substraction to avoid
21543           overflow bug.
21544         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
21545           Take the sign of ret.
21546         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
21547           Do not expect precise return values. Only the sign matters.
21548         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
21549         * wcsmbs/test-wcsncmp.c: New File.
21550         * string/test-strncmp.c: Add wcsncmp support.
21552 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21554         [BZ #6792]
21555         * math/w_log1p.c: New file.
21556         * math/w_log1pf.c: Likewise.
21557         * math/w_log1pl.c: Likewise.
21558         * math/Makefile (libm-calls): Add w_log1p.
21559         * math/s_log1pl.c (log1pl): Remove weak_alias.
21560         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
21561         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
21562         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
21563         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
21564         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
21565         [NO_LONG_DOUBLE] (log1pl): Likewise.
21566         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
21567         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
21568         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
21569         (log1p): Remove long_double_symbol.
21570         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
21571         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
21572         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
21573         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
21574         remove weak_alias for corresponding log1p function.
21575         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
21576         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
21577         * sysdeps/ia64/fpu/w_log1p.c: New file.
21578         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
21579         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
21580         * math/libm-test.inc (log1p_test_data): Add errno expectations.
21582 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
21584         [BZ #18247]
21585         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
21586         decimal exponent by 1.
21587         * stdlib/tst-strtod-round-data: Add more tests.
21588         * stdlib/tst-strtod-round.c (tests): Regenerated.
21590 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
21592         * math/auto-libm-test-in: Add more tests of clog and clog10.
21593         * math/auto-libm-test-out: Regenerated.
21594         * sysdeps/i386/fpu/libm-test-ulps: Update.
21595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21597 2015-04-09  Roland McGrath  <roland@hack.frob.com>
21599         * Makeconfig (module-cppflags): Exclude all .v.i files.
21600         (skip-module-cppflags): Variable removed.
21602         * configure.ac (libc_config_ok): Initialize before reading
21603         preconfigure scripts, not after.
21604         * configure: Regenerated.
21606         * test-skeleton.c (TIMEOUT): Move #define to top level.
21607         (main): Grok environment variable TEST_DIRECT.  If set, print
21608         test expectation details into that file and then behave as if
21609         given --direct.
21611 2015-04-09  Florian Weimer  <fweimer@redhat.com>
21613         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
21614         warning on 32-bit.
21616 2015-04-08  David S. Miller  <davem@davemloft.net>
21618         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21620 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
21622         * math/auto-libm-test-in: Add more tests of atanh.
21623         * math/auto-libm-test-out: Regenerated.
21624         * sysdeps/i386/fpu/libm-test-ulps: Update.
21625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21627         * math/auto-libm-test-in: Add more tests of atan.
21628         * math/auto-libm-test-out: Regenerated.
21629         * sysdeps/i386/fpu/libm-test-ulps: Update.
21630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21632 2015-04-08  Florian Weimer  <fweimer@redhat.com>
21634         * elf/pldd.c (main): Rewrite to use struct
21635         scratch_buffer instead of extend_alloca.
21636         * elf/pldd-xx.c (find_maps): Likewise.
21637         * grp/initgroups.c: Include <scratch_buffer.h> instead of
21638         <alloca.h>.
21639         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
21640         scratch_buffer instead of extend_alloca.
21641         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
21642         grp/compat-initgroups.c.
21643         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
21644         Rewrite to use struct scratch_buffer instead of extend_alloca.
21645         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
21646         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
21648 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
21650         * math/auto-libm-test-in: Add more tests of cbrt.
21651         * math/auto-libm-test-out: Regenerated.
21652         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21654         * math/auto-libm-test-in: Add more tests of cabs.
21655         * math/auto-libm-test-out: Regenerated.
21656         * sysdeps/i386/fpu/libm-test-ulps: Update.
21657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21659         [BZ #18210]
21660         [BZ #18211]
21661         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
21662         (__ieee754_atan2): Set FE_TONEAREST mode for internal
21663         computations.
21664         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
21665         clog10.
21666         * math/auto-libm-test-out: Regenerated.
21667         * sysdeps/i386/fpu/libm-test-ulps: Update.
21668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21670         [BZ #18197]
21671         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
21672         (atan): Set FE_TONEAREST mode for internal computations.
21673         * math/auto-libm-test-in: Add more tests of atan.
21674         * math/auto-libm-test-out: Regenerated.
21676 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
21678         [BZ #17930]
21679         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
21681 2015-04-07  Florian Weimer  <fweimer@redhat.com>
21683         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
21685 2015-04-07  Florian Weimer  <fweimer@redhat.com>
21687         * include/scratch_buffer.h: New file.
21688         * malloc/scratch_buffer_grow.c: Likewise.
21689         * malloc/scratch_buffer_grow_preserve.c: Likewise.
21690         * malloc/scratch_buffer_set_array_size.c: Likewise.
21691         * malloc/tst-scratch_buffer.c: Likewise.
21692         * malloc/Makefile (routines): Add scratch_buffer_grow.
21693         (tests): Add test case.
21694         * malloc/Versions (GLIBC_PRIVATE): Export
21695         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
21696         __libc_scratch_buffer_set_array_size.
21698 2015-04-06  Richard Henderson  <rth@redhat.com>
21700         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
21701         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21703         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
21704         unsigned int before printing.
21706 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21708         [BZ #17596]
21709         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
21710         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21712 2015-04-02  Florian Weimer  <fweimer@redhat.com>
21714         * include/libc-internal.h (libc_max_align_t): Define.
21716 2015-04-02  Andreas Schwab  <schwab@suse.de>
21718         [BZ #16850]
21719         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
21721 2015-04-02  Mel Gorman  <mgorman@suse.de>
21723         [BZ #17195]
21724         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
21725         as well as the main arena.
21727 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21729         [BZ #18185]
21730         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
21731         sharing L2 cache to 2 for Silvermont/Knights Landing.
21733 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21735         [BZ #17711]
21736         * config.make.in (have-protected-data): New.
21737         * configure.ac: Check linker support for protected data symbol.
21738         * configure: Regenerated.
21739         * elf/Makefile (modules-names): Add tst-protected1moda and
21740         tst-protected1modb if $(have-protected-data) is yes.
21741         (tests): Add tst-protected1a and tst-protected1b if
21742         $(have-protected-data) is yes.
21743         ($(objpfx)tst-protected1a): New.
21744         ($(objpfx)tst-protected1b): Likewise.
21745         (tst-protected1modb.so-no-z-defs): Likewise.
21746         * elf/tst-protected1a.c: New file.
21747         * elf/tst-protected1b.c: Likewise.
21748         * elf/tst-protected1mod.h: Likewise.
21749         * elf/tst-protected1moda.c: Likewise.
21750         * elf/tst-protected1modb.c: Likewise.
21752 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21754         [BZ #17711]
21755         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
21756         indicates it is called from do_lookup_x on relocation against
21757         protected data, skip the data definion in the executable from
21758         copy reloc.
21759         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
21760         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
21761         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
21762         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
21763         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
21764         otherwise to 0.
21765         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
21766         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
21767         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
21768         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
21769         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
21770         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
21772 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
21774         * sysdeps/nptl/pthread.h: Remove duplicate definition of
21775         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
21777 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
21779         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
21780         THREAD_SETMEM_NC.
21781         * sysdeps/x86_64/nptl/tls.h: Ditto.
21783 2015-03-27  Roland McGrath  <roland@hack.frob.com>
21785         * dlfcn/tststatic.c (main): Converted to ...
21786         (do_test): ... this.
21787         (TEST_FUNCTION): New macro.
21788         Include test-skeleton.c.
21790 2015-03-26  Alan Modra  <amodra@gmail.com>
21792         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
21793         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
21794         zero for undefined weak.
21795         (elf_machine_plt_conflict): Similarly.
21797 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
21799         * math/auto-libm-test-in: Add more tests of acosh, asinh and
21800         atanh.
21801         * math/auto-libm-test-out: Regenerated.
21802         * sysdeps/i386/fpu/libm-test-ulps: Update.
21803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21805         * math/auto-libm-test-in: Add another test of asin.
21806         * math/auto-libm-test-out: Regenerated.
21807         * sysdeps/i386/fpu/libm-test-ulps: Update.
21808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21810         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
21811         Remove macro.
21812         (LLL_EBX_REG): Likewise.
21813         (LLL_ENTER_KERNEL): Likewise.
21815         * math/auto-libm-test-in: Add more tests of asin.
21816         * math/auto-libm-test-out: Regenerated.
21817         * sysdeps/i386/fpu/libm-test-ulps: Update.
21818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21820         [BZ #18138]
21821         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
21822         libc_do_syscall_args): New structure.
21823         (INTERNAL_SYSCALL_MAIN_0): New macro.
21824         (INTERNAL_SYSCALL_MAIN_1): Likewise.
21825         (INTERNAL_SYSCALL_MAIN_2): Likewise.
21826         (INTERNAL_SYSCALL_MAIN_3): Likewise.
21827         (INTERNAL_SYSCALL_MAIN_4): Likewise.
21828         (INTERNAL_SYSCALL_MAIN_5): Likewise.
21829         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
21830         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
21831         Replace conditional definitions by conditional definitions of ....
21832         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
21833         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
21834         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
21835         (libpthread-sysdep_routines): Add libc-do-syscall.
21836         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
21837         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
21838         to __NR_futex not 240.
21840 2015-03-25  Alan Modra  <amodra@gmail.com>
21842         * NEWS: Advertise TLS optimization.
21843         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
21844         (DT_PPC_NUM): Increment.
21845         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
21846         (CHECK_STATIC_TLS): Use here.
21847         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
21848         TLS descriptors.
21849         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21850         * sysdeps/powerpc/dl-tls.c: New file.
21851         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
21852         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
21853         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
21854         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
21855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
21856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
21857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
21859 2015-03-25  Alan Modra  <amodra@gmail.com>
21861         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
21862         for overlapping .opd entries" to "support...".
21863         * sysdeps/powerpc/powerpc64/configure: Regenerate
21865 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
21867         * math/auto-libm-test-in: Add more tests of acos.
21868         * math/auto-libm-test-out: Regenerated.
21869         * sysdeps/i386/fpu/libm-test-ulps: Update.
21870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21872         * math/auto-libm-test-in: Add more tests of expm1.
21873         * math/auto-libm-test-out: Regenerated.
21874         * sysdeps/i386/fpu/libm-test-ulps: Update.
21875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21877 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
21879         * math/auto-libm-test-in: Add more tests of cosh and sinh.
21880         * math/auto-libm-test-out: Regenerated.
21881         * sysdeps/i386/fpu/libm-test-ulps: Update.
21882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21884         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21887         * math/auto-libm-test-in: Add more tests of log2.
21888         * math/auto-libm-test-out: Regenerated.
21889         * sysdeps/i386/fpu/libm-test-ulps: Update.
21890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21892 2015-03-23  Roland McGrath  <roland@hack.frob.com>
21894         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
21895         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
21896         _IO_IS_APPENDING bit in READ_WRITE instead.
21898 2015-03-23  Florian Weimer  <fweimer@redhat.com>
21900         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
21901         (__determine_cpumask_size): Replace extend_alloca with a
21902         variable-length array.  Do not treat res == 0 as an error.
21904 2015-03-23  Florian Weimer  <fweimer@redhat.com>
21906         [BZ #18100]
21907         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
21908         and integer overflow.
21909         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
21910         (main): Add integer overflow tests.
21911         * manual/pattern.texi (Calling Wordexp): Document additional use
21912         for WRDE_SYNTAX.
21914 2015-03-23  Alan Modra  <amodra@gmail.com>
21916         * config.h.in: Remove HAVE_ASM_PPC_REL16.
21917         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
21918         and false branch of conditional.
21919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21920         Likewise.
21922 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
21924         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
21925         libc-modules.h
21926         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
21927         unused declaration of _hurd_intr_rpc_msg_in_trap.
21928         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
21929         defined instead of whether it is non-zero.
21930         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
21931         input constraint instead of both input and output constraint.  Use ecx
21932         clobber instead of %ecx.
21933         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
21934         mutex_unlock): Use a statement expression instead of an expression list.
21935         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
21936         type to vm_size_t instead of vm_address_t.
21937         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
21938         defined instead of whether it is non-zero.
21939         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
21940         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
21941         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
21942         comparisons with mapaddr.
21943         * nscd/nscd-client.h: Include <time.h>.
21944         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
21945         9th parameter to __vm_region instead of int.
21946         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
21947         * scripts/check-local-headers.sh (exclude): Add device/,
21948         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
21949         cthreads.h.
21951 2015-03-19  Roland McGrath  <roland@hack.frob.com>
21953         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
21954         to account for alignment padding.
21955         * sysdeps/arm/memmove.S: Likewise.
21957 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
21959         * sysdeps/unix/sysv/linux/generic/README: New file.
21961 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
21963         [BZ #18138]
21964         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
21965         (futex_abstimed_wait)
21966         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
21967         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
21968         of lll_futex_timed_wait.
21970 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
21972         [BZ #17542]
21973         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
21975 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
21977         [BZ #17090]
21978         [BZ #17620]
21979         [BZ #17621]
21980         [BZ #17628]
21981         * NEWS: Update.
21982         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
21983         entries with Static TLS too.  Skip entries past the end of the
21984         allocated DTV, from Alan Modra.
21985         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
21986         Static TLS DTV entry set up from...
21987         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
21988         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
21989         * nptl/allocatestack.c (init_one_static_tls): ... and here...
21990         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
21991         for Static TLS.
21992         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
21993         that the slot we find is associated with the given map before
21994         using its generation count.
21995         * nptl_db/db_info.c: Include ldsodefs.h.
21996         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
21997         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
21998         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
21999         (link_map::l_tls_offset): New struct field.
22000         (dtv_t::counter): Likewise.
22001         (rtld_global): New struct.
22002         (_rtld_global): New rtld variable.
22003         (dl_tls_dtv_slotinfo_list): New rtld global field.
22004         (dtv_slotinfo_list): New struct.
22005         (dtv_slotinfo): Likewise.
22006         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
22007         (td_lookup): Rename to...
22008         (td_mod_lookup): ... this.  Use new mod parameter instead of
22009         LIBPTHREAD_SO.
22010         * nptl_db/td_thr_tlsbase.c: Include link.h.
22011         (dtv_slotinfo_list, dtv_slotinfo): New functions.
22012         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
22013         addresses even if the DTV is out of date or missing them.
22014         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
22015         index zero-length arrays.
22016         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
22017         (td_lookup): Make it a macro implemented in terms of...
22018         (td_mod_lookup): ... this declaration.
22019         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
22020         (DB_MAIN_VARIABLE): Likewise.
22022 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22024         [BZ #18134]
22025         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
22027 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
22029         * stdlib/setenv.c (__add_to_environ): Revert previous change.
22031 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
22033         [BZ #18128]
22034         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
22035         (atomic_add, atomic_increment_and_test)
22036         (atomic_decrement_and_test): Fix 64-bit arithmetic.
22038 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
22040         * stdlib/setenv.c (__add_to_environ):
22041         Dump core quickly if setenv (..., NULL, ...) is called.
22043 2015-03-13  Roland McGrath  <roland@hack.frob.com>
22045         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
22046         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
22047         all the necessary asm magic in one place.
22048         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
22049         using those.
22051 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
22053         [BZ #14906]
22054         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
22055         traced file mtime. Use consistent log message.
22056         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
22057         (register_traced_file): Call install_watches. Always set mtime.
22058         (invalidate_cache): Iterate over all trace files. Call install_watches.
22059         (inotify_check_files): Don't inline. Handle watching parent
22060         directories and configuration file movement in and out.
22061         (handle_inotify_events): New function.
22062         (main_loop_poll): Call handle_inotify_events.
22063         (main_loop_epoll): Likewise.
22064         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
22065         (struct traced_file): Use array of inotify fds. Add parent directory,
22066         and basename.
22067         (struct database_dyn): Remove unused file_mtime.
22068         (init_traced_file): New inline function.
22069         (define_traced_file): New macro.
22070         * nss/nss_db/db-init.c: Use define_traced_file.
22071         (_nss_db_init): Use init_traced_file.
22072         * nss/nss_files/files-init.c: Use define_traced_file.
22073         (_nss_files_init): Use init_traced_file.
22075 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
22077         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
22078         [_LIBC]: Do not include <stdlib.h>.
22079         [!_LIBC] (abort): Remove declaration.
22080         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
22081         _FP_STATIC_ASSERT instead of conditionally calling abort.
22082         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
22083         (_FP_EXTEND_CNAN): Likewise.
22084         (FP_TRUNC): Likewise.
22085         (__FP_CLZ): Likewise.
22086         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
22088 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
22090         * manual/string.texi (XPG basename): Fix prototype.
22092 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22094         [BZ #18080]
22095         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
22096         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
22097         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
22098         (__setcontext): Likewise.
22099         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
22100         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
22101         Call rt_sigprocmask syscall one time to set new signal mask
22102         and retrieve the current signal mask instead of two calls.
22103         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
22104         (__swapcontext): Likewise.
22105         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
22106         * stdlib/tst-setcontext2.c: New file.
22108 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22110         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22112 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
22114         [BZ #18093]
22115         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
22116         the wrong size.
22118 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
22120         [BZ #18043]
22121         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
22123 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22125         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
22126         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
22127         Remove define.
22128         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
22129         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
22130         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
22131         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
22132         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
22133         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
22134         define.
22135         * nptl_db/td_symbol_list.c (td_lookup): Remove
22136         HAVE_ASM_GLOBAL_DOT_NAME code.
22137         * sysdeps/powerpc/powerpc64/configure.ac: Remove
22138         HAVE_ASM_GLOBAL_DOT_NAME check.
22139         * sysdeps/powerpc/powerpc64/configure: Regenerate.
22140         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
22141         (DOT_LABEL): Remove define.
22142         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
22143         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
22144         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
22145         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
22146         (__TLS_GET_ADDR): Likewise.
22147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
22148         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
22150 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
22152         [BZ #18111]
22153         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
22154         (_FPU_SETCW): Initialize cw from fpsr before storing.
22155         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
22156         (fesetexceptflag): Rewrite using fpu_control.h.
22157         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
22159 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
22161         [BZ #18110]
22162         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
22163         asms.
22164         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22166 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
22168         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
22169         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
22170         abort.
22171         (_FP_FMA): Likewise.
22172         (_FP_DIV): Likewise.
22174 2015-03-10  Roland McGrath  <roland@hack.frob.com>
22176         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
22177         with 0 in that case.
22178         * Makefile (summarize-tests): New canned sequence, factored out of
22179         commands for targets tests and xtests.  Display summary lines that
22180         don't start with PASS: or XFAIL: rather than ones that do start with
22181         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
22182         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
22183         do start with ERROR: or FAIL:.
22184         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
22185         (except for [$(build-shared) = yes]).
22186         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
22187         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
22188         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
22189         * nptl/Makefile: Revert 2015-03-04 changes.
22190         [$(CXX) empty] (tests-unsupported): New variable.
22191         * debug/Makefile: Likewise.
22193         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
22194         gnulib file.  Replace __attribute with __attribute__ throughout.
22196 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
22198         * sysdeps/hppa/fpu/libm-test-ulps: Update.
22200 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22202         [BZ #18104]
22203         * math/auto-libm-test-in: Add another test of pow.
22204         * math/auto-libm-test-out: Regenerated.
22206 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22208         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
22209         $(config-cflags-nofma).
22211 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22213         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
22214         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
22215         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
22216         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
22217         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
22218         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
22219         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
22220         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
22221         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
22222         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
22223         Add comment on closing #endif.
22225 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22227         * posix/wordexp.c (CHAR_IN_SET): New macro.
22228         (parse_param): Use it.
22230 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22232         * sysdeps/powerpc/fpu/libm-test-ulps: update.
22234 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22236         [BZ #18043]
22237         * posix/wordexp.c (parse_param): Fix buffer overflow.
22238         * posix/wordexp-test.c (test_case): Add test case.
22240 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22242         [BZ #18042]
22243         * posix/wordexp.c (parse_backtick): Fix off-by-one.
22244         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
22246 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22248         [BZ #18043]
22249         * posix/wordexp-test.c (test_case): Add test for BZ #18043
22250         (do_bz18043): Delete.
22251         (at_page_end): New.
22252         (testit): Refactor to have words at the edge of unreadable page.
22254 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22256         [BZ #16734]
22257         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
22258         Cleanup read-only streams as well.
22259         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
22261 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22263         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
22264         <bits/libc-lockP.h>
22266 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
22268         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
22269         on [__KERNEL__].
22270         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
22271         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
22272         * soft-fp/op-common.h (_FP_DECL): Likewise.
22274 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
22276         * elf/ifuncdep2.c (global): Replace
22277         __attribute__((visibility("protected"))) with
22278         asm (".protected global").
22279         * elf/ifuncmod1.c (global): Likewise.
22280         * elf/ifuncmod5.c (global): Likewise.
22282 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
22284         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
22285         <asm/sfp-machine.h> instead of <sfp-machine.h>.
22287 2015-03-06  Roland McGrath  <roland@hack.frob.com>
22289         * manual/install.texi (Configuring and compiling):
22290         Document test-wrapper-env-only.
22291         * INSTALL: Regenerated.
22293 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22295         [BZ #18043]
22296         * posix/wordexp.c (parse_param): Fix buffer overflow.
22297         * posix/wordexp-test.c (do_bz18043): Add test case.
22299 2015-03-06  Vincent Bernat  <vincent@bernat.im>
22301         * time/tst-strptime2.c (do_test): Ensure failing tests are
22302         reported correctly.
22303         * time/tst-strptime3.c (do_test): Likewise.
22305 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
22307         Fix aio_error thread-safety.
22308         * sysdeps/pthread/aio_error.c: New file
22309         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
22310         synchronization.
22312 2015-03-06  Florian Weimer  <fweimer@redhat.com>
22314         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
22315         (group_number, vfprintf): Use it.
22316         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
22317         (JUMP, REF): Use it.
22318         (WORK_BUFFER_SIZE): New enum constant.
22319         (process_arg, vfprintf): Use it.
22321 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
22323         * manual/errno.texi (Error Messages): Complete example function
22324         by adding missing #define.
22325         (program_invocation_name): Add statement indicating GNU
22326         extension and reference which header file declares the variable.
22327         (program_invocation_short_name): Likewise.
22329 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
22331         * manual/errno.texi (Error Messages): Delete strerror ISO C89
22332         compatibility note.
22334 2015-03-05  Roland McGrath  <roland@hack.frob.com>
22336         * Makeconfig (test-wrapper-env-only): New variable.
22337         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
22338         then use that with $(test-wrapper-env-only) rather than using
22339         $(test-wrapper-env) $(run-program-env) $($*-ENV).
22341 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
22343         [BZ #18082]
22344         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
22345         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
22346         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
22347         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
22348         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
22349         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
22350         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
22351         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
22352         Likewise.
22353         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
22354         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
22355         Likewise.
22356         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
22357         Likewise.
22358         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
22359         Likewise.
22360         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
22361         Likewise.
22362         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
22363         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
22364         Likewise.
22365         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
22366         Likewise.
22367         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
22368         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
22370 2015-03-04  Roland McGrath  <roland@hack.frob.com>
22372         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
22373         (ETH_ALEN): New macro.
22374         (struct ether_addr): Use it for length of ether_addr_octet.
22376         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
22377         (setdb): Don't call __nss_configure_lookup for "rpc".
22378         (do_test): Don't call test_rpc.
22379         (output_rpcent, test_rpc): Functions moved ...
22380         * sunrpc/test-rpcent.c: ... to this new file.
22381         * sunrpc/Makefile (tests): Add it.
22383         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
22384         __xpg_sigpause.
22385         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
22386         * nptl/tst-signal6.c: Likewise.
22387         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
22388         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
22390         * configure.ac (libc_cv_cxx_link_ok): New check.
22391         Reset CXX to empty if it fails to link.
22392         * configure: Regenerated.
22393         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
22394         bug-atexit3-lib only if $(CXX) is nonempty.
22395         * nptl/Makefile (tests): Likewise for tst-cancel24.
22396         (tests, tests-static): Likewise for tst-cancel24-static.
22397         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
22398         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
22399         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
22400         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
22402 2015-03-04  Andreas Schwab  <schwab@suse.de>
22404         [BZ #17631]
22405         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
22406         for non-GCC compilers.
22407         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22408         Likewise.
22410 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22412         [BZ #17776]
22413         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
22414         integer before bitwise and assembly operations.
22415         (feclearexcept): Likewise.
22416         * math/test-fenvinline.c: New file.
22417         * math/Makefile: Add test-fenvinline test.
22419 2015-03-03  Alan Modra  <amodra@gmail.com>
22421         [BZ #16512]
22422         * scripts/localplt.awk: Strip off symbol version.
22423         * NEWS: Mention bug fix.
22425 2015-03-02  Roland McGrath  <roland@hack.frob.com>
22427         * sysdeps/pthread/timer_routines.c
22428         (timer_free_list, thread_free_list, thread_active_list): Make static.
22430 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
22432         [BZ #17779]
22433         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22434         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22435         Undefine.
22436         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22437         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22438         Likewise.
22439         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22440         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22441         Likewise.
22443 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
22445         [BZ #18036]
22446         * posix/fnmatch_loop.c (END): Detect invalid pattern.
22447         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
22449 2015-03-02  Andreas Schwab  <schwab@suse.de>
22451         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
22452         variable name.
22454 2015-03-02  Florian Weimer  <fweimer@redhat.com>
22456         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
22457         Return error status.
22459 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
22461         [BZ #15969]
22462         * locale/findlocale.c (_nl_find_locale): Introduce const
22463         version of loc_name and drop unsafe type casts.
22465 2015-02-27  Roland McGrath  <roland@hack.frob.com>
22467         * dlfcn/tststatic2.c (main): Converted to ...
22468         (do_test): ... this.
22469         (TEST_FUNCTION): New macro.
22470         Include test-skeleton.c.
22472 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
22474         [BZ #17711]
22475         * elf/Makefile (tests): Add vismain only if PIE is enabled.
22476         (tests-pie): Add vismain.
22477         (CFLAGS-vismain.c): New.
22478         * elf/vismain.c: Add comments for PIE requirement.
22480 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22482         [BZ #18046]
22483         [BZ #18047]
22484         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
22485         0x1p-56L as threshold for just returning the argument.
22486         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
22487         0x1p-32L as threshold for just returning the argument.
22488         * math/auto-libm-test-in: Add more tests of atanh.
22489         * math/auto-libm-test-out: Regenerated.
22490         * sysdeps/i386/fpu/libm-test-ulps: Update.
22491         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
22493 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22495         * string/bcopy.c (bcopy): Call memmove for performance.
22497 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22499         * string/bzero.c (__bzero): Call memset for performance.
22501 2015-02-27  John David Anglin  <dave.anglin@bell.net>
22503         [BZ #18068]
22504         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
22505         to 00100000.
22507 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22509         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
22511 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22513         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
22514         (__kernel_standard): Use CSTR macro when setting exc.name.
22515         * sysdeps/ieee754/Makefile [$(subdir) = math]
22516         (CFLAGS-k_standard.c): Remove variable.
22518         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
22519         setting p and q from "else if" to "else".
22520         (qzero): Likewise.
22521         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
22522         (qone): Likewise.
22523         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
22524         (qzerof): Likewise.
22525         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
22526         (qonef): Likewise.
22527         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
22528         (qzero): Likewise.
22529         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
22530         (qone): Likewise.
22532         [BZ #18038]
22533         [BZ #18039]
22534         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
22535         return pi/2 for arguments below 0x1p-113L.
22536         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
22537         return pi/2 for arguments below 0x1p-106L.
22538         * math/auto-libm-test-in: Add more tests of acos.
22539         * math/auto-libm-test-out: Regenerated.
22541         [BZ #16351]
22542         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
22543         (MO): New macro.
22544         (__ieee754_asin): Force underflow exception for results with small
22545         absolute value.
22546         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
22547         (MO): New macro.
22548         (__ieee754_asinf): Force underflow exception for results with
22549         small absolute value.
22550         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
22551         (__ieee754_asin): Force underflow exception for results with small
22552         absolute value.
22553         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
22554         (__ieee754_asinf): Force underflow exception for results with
22555         small absolute value.
22556         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
22557         (__ieee754_asinl): Force underflow exception for results with
22558         small absolute value.
22559         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
22560         (__ieee754_asinl): Force underflow exception for results with
22561         small absolute value.
22562         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
22563         (__ieee754_asinl): Force underflow exception for results with
22564         small absolute value.
22565         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
22566         Include <math.h>.
22567         * math/auto-libm-test-in: Do not mark underflow exceptions as
22568         possibly missing for bug 16351.
22569         * math/auto-libm-test-out: Regenerated.
22571         [BZ #18030]
22572         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
22573         of power of 2 down when low part has opposite sign.
22574         * math/libm-test.inc (logb_test_data): Add more tests.
22576 2015-02-26  Andreas Schwab  <schwab@suse.de>
22578         [BZ #18032]
22579         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
22580         over collating symbol inside a bracket expression.  Minor cleanup.
22581         * posix/tst-fnmatch3.c (do_test): Add test case.
22583 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22585         [BZ #18029]
22586         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
22587         Adjust exponent of power of 2 down when low part has opposite
22588         sign.
22589         * math/libm-test.inc (ilogb_test_data): Add more tests.
22591 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
22593         [BZ #15969]
22594         * locale/findlocale.c (_nl_find_locale): Fix constness error in
22595         the previous change.
22597         [BZ #15969]
22598         * locale/findlocale.c (_nl_find_locale): Retry archive search
22599         after alias expansion.
22601 2015-02-25  Roland McGrath  <roland@hack.frob.com>
22603         * iconv/tst-iconv3.c (main): Converted to ...
22604         (do_test): ... this.
22605         (TEST_FUNCTION): New macro.
22606         Include test-skeleton.c.
22608         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
22609         (convert): Make function static.
22610         (test_unalign): Likewise.  Add const to argument pointee types.
22611         (main): Replace with static function do_test.
22612         Print "Succeeded." only if RET is zero.
22613         (TEST_FUNCTION): New macro.
22614         Include test-skeleton.c.
22616         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
22617         returns a null pointer.
22619 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22621         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
22622         to __memcpy_ppc only for static builds.
22624 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
22626         [BZ #18020]
22627         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
22628         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
22629         * math/auto-libm-test-in: Add more tests of asinh.
22630         * math/auto-libm-test-out: Regenerated.
22631         * sysdeps/i386/fpu/libm-test-ulps: Update.
22632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22634 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
22636         [BZ #15850]
22637         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
22638         and ip6_mtuinfo definitions here.
22639         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
22640         in this define too.  Update comment.
22642 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
22644         * elf/sprof.c (load_shobj): Tweak error message to match others.
22646 2015-02-24  Kevin Easton  <kevin@guarana.org>
22648         [BZ #16145] (partial fix)
22649         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
22650         to reduce lock contention.
22652 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
22654         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
22655         (struct timex): Update time comment.
22656         (ADJ_SETOFFSET): Define.
22658 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
22660         [BZ #18019]
22661         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22662         2**56 not 2**28 as threshold for log (2x) formula.
22663         * math/auto-libm-test-in: Add more tests of acosh.
22664         * math/auto-libm-test-out: Regenerated.
22665         * sysdeps/i386/fpu/libm-test-ulps: Update.
22666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22668 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
22670         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
22671         parenthesis around the buf assignment.
22672         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
22674 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
22676         [BZ #16783]
22677         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
22678         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
22679         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
22680         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
22681         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
22682         * math/libm-test.inc (scalb_test_data): Add more tests.
22684 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
22686         [BZ #17916]
22687         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
22688         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
22690 2015-02-24  Eric Rannaud  <e@nanocritical.com>
22692         [BZ #17523]
22693         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
22694         * io/bits/fcntl2.h (open): Use it.
22695         (openat): Likewise.
22696         * io/open.c (__libc_open): Likewise.
22697         * io/open64.c (__libc_open64): Likewise.
22698         * io/open64_2.c (__open64_2): Likewise.
22699         * io/open_2.c (__open_2): Likewise.
22700         * io/openat.c (__openat): Likewise.
22701         * io/openat64.c (__openat64): Likewise.
22702         * io/openat64_2.c (__openat64_2): Likewise.
22703         * io/openat_2.c (__openat_2): Likewise.
22704         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
22705         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
22706         * sysdeps/posix/open64.c (__libc_open64): Likewise.
22707         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
22708         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
22709         (__open_nocancel): Likewise.
22710         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
22711         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
22712         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
22714 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22716         [BZ #14841]
22717         * resolv/gethnamaddr.c (getanswer): Skip logging if
22718         RES_USE_DNSSEC is set.
22719         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22721 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
22723         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
22725 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
22727         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
22728         201304L, for Unicode 7.
22730 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
22732         [BZ #17836]
22733         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
22734         shared library.  Add gmon-start.os otherwise.
22735         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
22736         $(objpfx)gmon-start.os if builing shared library.
22737         ($(objpfx)g$(static-start-installed-name)): Likewise.
22739 2015-02-23  Andreas Schwab  <schwab@suse.de>
22741         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
22743 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
22745         [BZ #17269]
22746         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
22747         (enlarge_userbuf): Likewise.
22749 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
22751         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
22752         * math/atest-exp.c (TIMEOUT): Adjust to 200.
22753         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
22754         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
22756 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
22758         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
22759         expression inside statement expression.
22761 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
22763         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
22764         <sysdeps/nptl/lowlevellock.h> and remove macros and
22765         functions that are now defined there.
22766         (SYS_futex): Remove.
22767         (lll_compare_and_swap): Remove.
22768         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
22770 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
22772         [BZ #17999]
22773         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
22774         instead of scandirat.
22775         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
22776         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
22777         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
22778         __scandirat.
22779         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
22780         (__scandirat): Declare.  Use libc_hidden_proto.
22781         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
22782         Remove variable.
22783         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
22785 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
22787         [BZ #15319]
22788         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
22789         (MO): New macro.
22790         (__ieee754_atan2): For results with small absolute value, force
22791         underflow exception and remove excess range and precision from
22792         return value.
22793         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
22794         (MO): New macro.
22795         (__ieee754_atan2f): For results with small absolute value, force
22796         underflow exception and remove excess range and precision from
22797         return value.
22798         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
22799         (MO): New macro.
22800         (__atan): For results with small absolute value, force underflow
22801         exception and remove excess range and precision from return value.
22802         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
22803         (MO): New macro.
22804         (__atanf): For results with small absolute value, force underflow
22805         exception and remove excess range and precision from return value.
22806         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
22807         <math.h>.
22808         (__ieee754_atan2): Force underflow exception for results with
22809         small absolute value.
22810         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
22811         <math_private.h>.
22812         (atan): Force underflow exception for results with small absolute
22813         value.
22814         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
22815         (__atanf): Force underflow exception for results with small
22816         absolute value.
22817         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
22818         <math.h>.
22819         (__atanl): Force underflow exception for results with small
22820         absolute value.
22821         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
22822         (__atanl): Force underflow exception for results with small
22823         absolute value.
22824         * sysdeps/x86/fpu/bits/mathinline.h
22825         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
22826         (__ieee754_atan2): Only define inline for long double.
22827         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
22828         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
22829         * math/auto-libm-test-in: Do not mark underflow exceptions as
22830         possibly missing for bug 15319.  Add more tests of atan2.
22831         * math/auto-libm-test-out: Regenerated.
22832         * math/libm-test.inc (casin_test_data): Do not mark underflow
22833         exceptions as possibly missing for bug 15319.
22834         (casinh_test_data): Likewise.
22835         * sysdeps/i386/fpu/libm-test-ulps: Update.
22837 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
22839         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
22840         * sysdeps/mips/bits/endian.h: Fix comments.
22842 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
22844         [BZ #17996]
22845         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
22846         (hdestroy_r): Likewise.
22847         (hsearch_r): Likewise.
22848         (__hcreate_r): Declare and use libc_hidden_proto.
22849         (__hdestroy_r): Likewise.
22850         (__hsearch_r): Likewise.
22851         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
22852         (hcreate): Call __hcreate_r instead of hcreate_r.
22853         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
22854         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
22855         as weak alias of __hcreate_r.
22856         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
22857         __hdestroy_r.
22858         (hsearch_r): Rename to __hsearch_r and define as weak alias of
22859         __hsearch_r.
22860         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
22861         Remove variable.
22862         (test-xfail-XPG4/search.h/linknamespace): Likewise.
22863         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
22864         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
22865         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
22867 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22869         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
22870         arena_lock into a single arena_get.
22872 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
22874         * dl-reloc.c: Inlucde libc-internal.h.
22875         (_dl_try_allocate_static_tls): Call ALIGN_UP.
22876         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
22877         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
22878         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
22879         (grow_heap): Likewise.
22880         * malloc/malloc.c: Include libc-internal.h.
22881         (do_check_malloc): Call powerof2.
22882         (sysmalloc): Use pagesize. Call ALIGN_UP.
22883         (systrim): Use pagesize.
22884         (mremap_chunk): Use pagesize. Call ALIGN_UP.
22885         (__libc_valloc): Use pagesize.
22886         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
22888 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
22890         [BZ #17991]
22891         * include/sys/resource.h (__getrlimit64): Declare.  Use
22892         libc_hidden_proto.
22893         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
22894         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
22895         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
22896         getrlimit64.
22897         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
22898         __getrlimit64.
22899         [!getrlimit64] (getrlimit64): Define as weak alias of
22900         __getrlimit64.  Use libc_hidden_weak.
22901         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
22902         using __getrlimit64 not __new_getrlimit64.
22903         (__GI_getrlimit64): Likewise.
22904         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
22905         Likewise.
22906         (__GI_getrlimit64): Likewise.
22907         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
22908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
22909         (getrlimit): Add __getrlimit64 alias.
22910         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
22911         Likewise.
22912         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
22913         Remove variable.
22914         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
22915         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
22917 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
22919         * libio/fileops.c: Add missing sys/mman.h
22920         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
22922 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
22924         * manual/math.texi (Errors in Math Functions): Clarify goals
22925         regarding inexact and underflow exceptions.
22927 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
22929         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
22930         * sysdeps/mips/memset.S: Ditto.
22932 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
22934         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
22936 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22938         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
22939         (__v1longjmp): Remove versioned symbol.
22940         (__v1siglongjmp): Remove alias and versioned symbol.
22941         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
22942         (__v2siglongjmp): Likewise.
22944 2015-02-16  Torvald Riegel  <triegel@redhat.com>
22946         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
22948 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
22950         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
22952 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
22954         [BZ #17987]
22955         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
22956         zero result does not depend on the sign resulting from
22957         subtraction.
22958         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22959         Likewise.
22960         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
22961         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
22962         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22963         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
22964         * math/libm-test.inc (remquo_test_data): Add more tests.
22966 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
22968         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
22969         Problem reported by J William Piggott.
22971 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
22973         [BZ #17978]
22974         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
22975         products 4 * y and 2 * y where those would overflow.
22976         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22977         Likewise.
22978         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
22979         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
22980         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22981         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
22982         * math/libm-test.inc (remquo_test_data): Add more tests.
22984         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
22986         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
22987         [defined _COMPILING_NEWLIB].
22988         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
22989         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
22991         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
22992         [!defined __mips_isa_rev || __mips_isa_rev < 6].
22994 2015-02-16  Torvald Riegel  <triegel@redhat.com>
22996         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
22997         acquired.
22999 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
23001         [BZ #17792]
23002         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
23003         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
23004         HOST_STACK_END_ADDR): Likewise.
23006 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
23008         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
23009         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
23010         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
23012 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23014         * sysdeps/generic/c++-types.data: New file.
23015         * sysdeps/generic/ld.abilist: New file.
23016         * sysdeps/generic/libBrokenLocale.abilist: New file.
23017         * sysdeps/generic/libanl.abilist: New file.
23018         * sysdeps/generic/libc.abilist: New file.
23019         * sysdeps/generic/libcrypt.abilist: New file.
23020         * sysdeps/generic/libdl.abilist: New file.
23021         * sysdeps/generic/libm.abilist: New file.
23022         * sysdeps/generic/libpthread.abilist: New file.
23023         * sysdeps/generic/libresolv.abilist: New file.
23024         * sysdeps/generic/librt.abilist: New file.
23026 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23028         [BZ #17569]
23029         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23030         Compute absolute value of x as modified by fmod, not original
23031         value of x.
23032         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
23033         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
23034         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
23035         RUN_TEST_ffI_f1_mod8.
23036         (remquo_test_data): Add more tests.
23038 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23040         * sysdeps/init_array/pt-crti.S: New file.
23042 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23044         [BZ #17967]
23045         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
23046         __builtin_fmaf instead of relying on contraction of a * b + c.
23048 2015-02-12  J William Piggott  <elseifthen@gmx.com>
23050         [BZ #17969]
23051         * manual/time.texi: correct the zoneinfo path in the TZ Variable
23052         node.
23054 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
23056         [BZ #17964]
23057         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
23058         __builtin_fma instead of relying on contraction of a * b + c.
23060 2015-02-12  Roland McGrath  <roland@hack.frob.com>
23062         * Makeconfig (ASFLAGS): Add -Werror=undef.
23063         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
23064         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
23065         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
23067         * Makeconfig (after-link): New variable.
23068         (+link-pie, +link-pie-tests): Use it.
23069         (+link-static, +link-static-tests): Likewise.
23070         (+link, +link-tests): Likewise.
23071         * Makerules (build-module, build-module-asneeded): Likewise.
23072         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
23073         Likewise.
23074         * elf/Makefile ($(objpfx)ld.so): Likewise.
23076 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
23078         [BZ #17965]
23079         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
23080         both struct timeval and struct timespec.
23082 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
23084         [BZ #16560]
23085         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23086         and redefine.
23087         (__ieee754_exp2l): Do not multiply small fractional parts by
23088         M_LN2l.
23089         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
23090         small argument.
23091         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23092         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
23093         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
23094         * math/auto-libm-test-in: Add more tests of exp2.
23095         * math/auto-libm-test-out: Regenerated.
23097 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23099         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
23100         unaligned path.
23102 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23104         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
23105         little endian.
23107 2015-02-12  Andreas Schwab  <schwab@suse.de>
23109         [BZ #15790]
23110         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
23111         Filter out elision flags from value returned in kind.
23112         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
23113         * nptl/tst-pthread-mutexattr.c: New file.
23115 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23117         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
23118         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
23119         into gnu-gnu, and update comment to refer to abi-tags.
23121 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
23123         [BZ #15467]
23124         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
23125         (__sincos): Set errno to EDOM for infinite argument.
23126         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
23127         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
23128         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
23129         (__sincosl): Set errno to EDOM for infinite argument.
23130         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
23131         (__sincosl): Set errno to EDOM for infinite argument.
23132         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
23133         (__sincosl): Set errno to EDOM for infinite argument.
23134         * math/libm-test.inc (sincos_test_data): Test errno setting.
23136 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
23138         * string/strxfrm_l.c: Remove #define STRCMP.
23139         * string/strcoll_l.c: Remove #define STRLEN.
23140         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
23141         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
23143 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
23145         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
23146         * sysdeps/mips/mips32/sfp-machine.h: ... here.
23147         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
23148         * sysdeps/mips/mips64/Makefile: ... here.
23149         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
23150         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
23151         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
23152         * sysdeps/mips/mips64/sfp-machine.h: ... here.
23153         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
23154         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
23155         * sysdeps/mips/mips64/n64/Implies: Likewise.
23157 2015-02-10  Roland McGrath  <roland@hack.frob.com>
23159         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
23160         <sys/time.h>, <string.h>, and <errno.h>.
23161         (dest_offset, dest_address, value, zero): Remove unused variables.
23162         (ldouble): Remove typedef.
23163         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
23164         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
23165         1).  Fix code style.
23166         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
23167         (check): Function removed.
23168         (CHECK): New macro.
23169         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
23170         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
23171         Don't call set_sigaction_FP and remove_sigaction_FP here.
23172         (ldouble_test): Just use 'long double' as macro argument, no need for
23173         the 'ldouble' typedef.
23174         (do_test): Set up SIGFPE handler at start, using plain signal rather
23175         than sigaction.  Fix code style.
23177 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
23179         [BZ #17949]
23180         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
23181         jump label.
23183 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23185         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
23186         * sysdeps/powerpc/powerpc32/configure: Regenerated.
23188         * sysdeps/powerpc/configure.ac: Remove file.
23189         * sysdeps/powerpc/configure: Likewise.
23191         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23192         [sysdep_routines]: Remove wordcopy-power6 object.
23193         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
23194         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
23195         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
23196         (__memmove_ppc32): Likewise.
23197         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
23198         file.
23199         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
23200         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
23201         Remove preprocessor.
23203         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23204         [sysdep_routines]: Remove wide chars objects.
23205         [wcsmbs]: New rule for wide char objects.
23207         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23208         Remove wordcopy-power6 obejct.
23209         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
23210         Use local call for wordcopy and memcpy symbols.
23211         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
23212         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
23213         implementation for loader.
23214         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
23216         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23217         Remove wordcopy-power7 object.
23218         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
23219         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
23220         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
23221         (_wordcopy_fwd_dest_aligned): Likewise.
23222         (_wordcopy_bwd_aligned): Likewise.
23223         (_wordcopy_bwd_dest_aligned): Likewise.
23225         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
23226         Rewrite to call __memmove_ppc instead of include default
23227         implementation.
23229         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23230         Remove wide chars objects.
23231         [wcsmbs]: New rule for wide char objects.
23233 2015-02-09  Andreas Schwab  <schwab@suse.de>
23235         [BZ #17912]
23236         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23237         in terms of __O_DIRECTORY.
23239 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23241         * time/getdate.c: Include <stdbool.h>.
23242         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
23243         call PTR_MANGLE.
23244         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
23245         PTR_DEMANGLE.
23247 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
23249         Add ersatz _Static_assert on older C hosts
23250         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
23251         pre-C11 C platform that is not known to support _Static_assert.
23253 2015-02-07  Richard Braun  <rbraun@sceen.net>
23255         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
23256         sigstate.
23257         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
23259 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23261         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
23262         priority against unexistent AIO_PRIO_DELTA_MAX.
23263         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
23264         instead of int.
23265         * misc/fchflags.c (fchflags): Likewise.
23266         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
23267         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
23268         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
23269         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
23270         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
23271         Declare macros.
23272         [__USE_MISC] (chflags, fchflags): Declare functions.
23273         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
23274         EINVAL when nfds is greater than FD_SETSIZE.
23275         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
23276         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
23277         45.
23278         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
23279         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
23280         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
23281         MACH_RCV_TIMED_OUT.
23282         * hurd/hurd/signal.h (_hurd_self_sigstate,
23283         _hurd_critical_section_lock, _hurd_critical_section_unlock):
23284         Explicit casts from void *.
23285         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
23286         * abi-tags: Rename gnu-gnu os into gnu.
23288         [BZ #4719]
23289         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
23290         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
23291         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
23292         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
23293         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
23294         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
23296         [BZ #17944]
23297         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
23298         duplicates ADDR->sun_path with sockaddr LEN limitation.
23299         * sysdeps/mach/hurd/connect.c: Include <string.h>
23300         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
23301         * sysdeps/mach/hurd/sendmsg.c: Likewise.
23302         * sysdeps/mach/hurd/sendto.c: Likewise.
23303         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
23304         implementing it by hand.
23306 2015-02-06  Roland McGrath  <roland@hack.frob.com>
23308         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
23309         Use sfi_breg on ldr.
23310         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
23311         Likewise.
23313         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
23314         it's defined.
23315         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
23316         Test SIGSETXID only if it's defined.
23318         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
23320         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
23321         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
23323         * nptl/tst-align2.c: Moved ...
23324         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
23325         * nptl/Makefile (tests): Remove tst-align2.
23326         * sysdeps/unix/sysv/linux/Makefile
23327         [$(subdir) = nptl] (tests): Add tst-align-clone.
23328         * nptl/tst-getpid1.c: Moved ...
23329         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
23330         * nptl/tst-getpid2.c: Moved ...
23331         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
23332         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
23333         * sysdeps/unix/sysv/linux/Makefile
23334         [$(subdir) = nptl] (tests): ... here.
23335         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
23336         * sysdeps/unix/sysv/linux/Makefile
23337         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
23339         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
23340         Drop trailing \n from perror argument.  Use return rather than exit.
23342         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
23343         on [SA_SIGINFO].
23344         * nptl/tst-cancel21.c (do_test): Likewise.
23345         * debug/tst-backtrace6.c: Include <signal.h> first thing.
23346         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
23347         [!SA_SIGINFO]: Make it a stub test.
23349         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
23350         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
23352         * posix/tst-getlogin.c: Move to ...
23353         * login/tst-getlogin.c: ... here.
23354         * posix/Makefile (tests): Move tst-getlogin to ...
23355         * login/Makefile (tests): ... here.
23357         * libio/tst-atime.c (do_test): Move local variables SV and E
23358         inside [ST_NOATIME] conditional.
23360         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
23362         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
23364         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
23365         (wait_code): New function replaces macro.
23366         Call nanosleep rather than syscall.
23368         * nptl/pt-system.c: Rewritten.  Put everything under
23369         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23370         Use IFUNC to redirect when possible.
23372         * nptl/pt-longjmp.c: Rewritten.  Put everything under
23373         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23374         Use IFUNC to redirect when possible.
23376         * nptl/pt-fork.c: Rewritten.  Put everything under
23377         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23378         Use IFUNC to redirect when possible.
23379         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
23381         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
23382         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
23383         unconditionally nowadays.  This included the only reference to
23384         __vdso_clock_gettime that appears outside libc proper.
23385         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
23386         Remove version set (containing only __vdso_clock_gettime).
23387         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
23388         Add attribute_hidden.
23389         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
23390         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
23391         libc_hidden_data_def.
23392         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23393         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23395         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
23396         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
23397         setrpcent, and getrpcport to ...
23398         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
23399         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
23400         getrpcbynumber_r, and getrpcent_r to ...
23401         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
23402         * inet/getrpcbyname.c: Moved ...
23403         * sunrpc/getrpcbyname.c: ... here.
23404         * inet/getrpcbyname_r.c: Moved ...
23405         * sunrpc/getrpcbyname_r.c: ... here.
23406         * inet/getrpcbynumber.c: Moved ...
23407         * sunrpc/getrpcbynumber.c: ... here.
23408         * inet/getrpcbynumber_r.c: Moved ...
23409         * sunrpc/getrpcbynumber_r.c: ... here.
23410         * inet/getrpcent.c: Moved ...
23411         * sunrpc/getrpcent.c: ... here.
23412         * inet/getrpcent_r.c: Moved ...
23413         * sunrpc/getrpcent_r.c: ... here.
23414         * inet/Makefile (routines): Move those to ...
23415         * sunrpc/Makefile (routines): ... here.
23416         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
23417         the $(subdirs) list.
23418         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
23419         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
23420         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
23421         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
23423         * elf/Makefile (routines): Include $(all-dl-routines), not just
23424         $(dl-routines).
23425         (rtld-routines): Likewise.  Use = rather than :=.
23426         * sysdeps/aarch64/Makefile [$(subdir) = elf]
23427         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
23428         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
23429         * sysdeps/arm/Makefile: Likewise.
23430         * sysdeps/i386/Makefile: Likewise.
23431         * sysdeps/x86_64/Makefile: Likewise.
23432         * sysdeps/hppa/Makefile [$(subdir) = elf]
23433         (sysdep_routines, sysdep-rtld-routines): Don't add
23434         $(sysdep-dl-routines) to these.
23435         * sysdeps/ia64/Makefile: Likewise.
23436         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
23437         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
23438         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
23439         Don't add dl-static to these; sysdep-dl-routines alone is enough.
23440         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
23441         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
23442         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
23443         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
23444         * sysdeps/powerpc/Makefile [$(subdir) = elf]
23445         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
23446         these; sysdep-dl-routines alone is enough.
23448 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
23450         [BZ #17932]
23451         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
23452         where multiplication results in zero and third argument is finite
23453         and nonzero.
23454         * math/auto-libm-test-in: Add more tests of fma.
23455         * math/auto-libm-test-out: Regenerated.
23457         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
23458         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
23459         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
23460         (_FP_CMP_EQ): Likewise.
23461         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
23463         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
23464         extra argument CHECK_NAN.  Redefine as wrapper around
23465         _FP_EXTEND_CNAN.
23467 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
23469         * version.h (RELEASE): Set to "stable".
23470         (VERSION): Set to "2.21"
23471         * include/features.h (__GLIBC_MINOR__): Set to 21.
23473         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
23475 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23476             Paul Eggert  <eggert@cs.ucla.edu>
23478         [BZ #16618]
23479         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
23480         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
23481         size in bytes. Store needed elements in wpmax. Use needed size
23482         in bytes for extend_alloca.
23484 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
23486         * manual/install.texi: Latest tested versions are GCC 4.9.2,
23487         binutls 2.25, and texinfo 5.2.
23488         * INSTALL: Regenerate.
23489         * sysdeps/nios2/configure: Regenerate.
23490         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
23491         * manual/contrib.texi: Update.
23492         * po/be.po: Update.
23493         * po/bg.po: Update.
23494         * po/ca.po: Update.
23495         * po/cs.po: Update.
23496         * po/da.po: Update.
23497         * po/de.po: Update.
23498         * po/el.po: Update.
23499         * po/eo.po: Update.
23500         * po/es.po: Update.
23501         * po/fi.po: Update.
23502         * po/fr.po: Update.
23503         * po/gl.po: Update.
23504         * po/hr.po: Update.
23505         * po/hu.po: Update.
23506         * po/ia.po: Update.
23507         * po/id.po: Update.
23508         * po/it.po: Update.
23509         * po/ja.po: Update.
23510         * po/ko.po: Update.
23511         * po/lt.po: Update.
23512         * po/nb.po: Update.
23513         * po/nl.po: Update.
23514         * po/pl.po: Update.
23515         * po/pt_BR.po: Update.
23516         * po/ru.po: Update.
23517         * po/rw.po: Update.
23518         * po/sk.po: Update.
23519         * po/sl.po: Update.
23520         * po/sv.po: Update.
23521         * po/tr.po: Update.
23522         * po/uk.po: Update.
23523         * po/vi.po: Update.
23524         * po/zh_CN.po: Update.
23525         * po/zh_TW.po: Update.
23527         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
23528         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
23529         * sysdeps/hppa/dl-irel.h: Remove #warning.
23530         * sysdeps/hppa/entry.h: Provide prototype for
23531         __canonicalize_funcptr_for_compare and cast argument.
23532         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
23533         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
23534         * sysdeps/hppa/sotruss-lib.c: New file.
23535         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
23536         (atomic_compare_and_exchange_val_acq): Use __typeof__.
23537         (atomic_compare_and_exchange_bool_acq): Likewise.
23538         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
23539         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
23541         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
23542         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
23543         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
23545 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
23547         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
23548         called function in non-PIC case.
23550 2015-01-31  David S. Miller  <davem@davemloft.net>
23552         * sysdeps/sparc/sparc32/bits/atomic.h
23553         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
23554         unlock not after it.
23555         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
23556         volatile register usage warnings from the compiler.
23558         * sysdeps/sparc/nptl/sem_init.c: Delete.
23559         * sysdeps/sparc/nptl/sem_post.c: Delete.
23560         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
23561         * sysdeps/sparc/nptl/sem_wait.c: Delete.
23562         * sysdeps/sparc/sparc32/sem_init.c: New file.
23563         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
23564         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
23565         padding explicitly initialized.
23566         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
23567         padding for in-semaphore spinlock.
23568         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
23569         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
23570         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
23571         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
23572         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
23573         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
23574         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
23575         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
23576         version.
23577         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
23578         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
23580 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
23582         [BZ #17801]
23583         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23584         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
23585         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
23586         New.
23587         (index_AVX_Fast_Unaligned_Load): Likewise.
23588         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
23589         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
23590         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
23591         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
23592         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
23593         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
23594         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
23595         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
23596         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
23598 2015-01-29  Andreas Schwab  <schwab@suse.de>
23600         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
23602 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
23604         [BZ #17892]
23605         * nscd/nscd_stat.c (send_stats): Initialize DATA.
23607 2015-01-28  Martin Sebor  <msebor@redhat.com>
23609         * math/README.libm-test: Clarify. Add "How to read the test output."
23611 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
23613         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
23614         Define to 0.
23616 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
23618         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
23619         (__HAVE_64B_ATOMICS): Define to 0.
23621 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23623         [BZ #17885]
23624         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
23625         value to set as new flag.
23627         [BZ #16576]
23628         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
23629         and use _ARCH_PPCSQ instead.
23630         (__ieee754_sqrt): Likewise.
23631         (__ieee754_sqrtf): Likewise.
23632         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
23633         _ARCH_PPCSQ is defined.
23634         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
23635         fsqrt instruction.
23636         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
23637         _ARCH_PPCSQ is defined.
23638         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
23639         fsqrts instruction.
23640         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
23642 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23644         * iconv/loop.c: Suppress array out of bound warning caused by GCC
23645         bug (GCC BZ #64739).
23647 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
23649         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
23650         Mark _retval as used.
23651         (lll_futex_wake_unlock): Likewise.
23652         (lll_futex_timed_wait_requeue_pi): Likewise.
23654         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
23655         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
23656         register variables.
23658         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
23659         libm_hidden_def.
23661         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
23662         (__bswap_64): Mark as __always_inline.
23664 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
23666         [BZ #15378]
23667         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
23668         when none of the search directories exist.
23670 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23672         [BZ #17869]
23673         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
23674         power8 in .machine directive.
23676         [BZ #17868]
23677         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
23678         set dependency from opd value.
23680 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
23682         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23683         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
23684         architecture.
23686 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
23688         [BZ #17870]
23689         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
23690         with uint64_t.
23691         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
23692         (uint64_t) 1.
23693         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
23694         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
23695         Replace 1UL with (uint64_t) 1.
23696         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
23697         int with uint64_t.
23699 2015-01-23  Roland McGrath  <roland@hack.frob.com>
23701         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
23702         (if_freenameindex): Likewise.
23704         * resource/getrlimit64.c: Add missing libc_hidden_def.
23706 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
23708         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
23709         __label__.
23710         (_FP_FMA): Likewise.
23711         (_FP_TO_INT_ROUND): Likewise.
23712         (_FP_FROM_INT): Likewise.
23714 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23716         [BZ #16418]
23717         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
23718         Make code racy and cancel safe.
23720 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
23722         * sysdeps/arm/unwind-resume.h: Fix copyright year.
23723         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
23724         attribution.
23726         * pwd/tst-getpw.c: Rewrite.
23728         [BZ #17702]
23729         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
23730         (modules-names): Add moddummy1 and moddummy2.
23731         ($(objpfx)tst-rec-dlopen): Define.
23732         * dlfcn/moddummy1.c: New file.
23733         * dlfcn/moddummy2.c: New file.
23734         * dlfcn/tst-rec-dlopen.c: New file.
23735         * elf/dl-cache.c (_dl_load_cache_lookup):
23736         Return char*. Copy result with alloca/strcpy/strdup.
23737         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
23738         returns char*. Free cached. If not saving realname
23739         free cached.
23740         * elf/dl-open.c (dl_open_worker): Do not assert that
23741         _r_debug->r_state is RT_CONSISTENT.
23742         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
23743         returns char*.
23745 2015-01-21  Torvald Riegel  <triegel@redhat.com>
23746             Carlos O'Donell  <carlos@redhat.com>
23748         [BZ #12674]
23749         * nptl/sem_waitcommon.c: New file.
23750         * nptl/sem_wait.c: Include sem_waitcommon.c.
23751         (__sem_wait_cleanup, do_futex_wait): Remove.
23752         (__new_sem_wait): Adapt.
23753         (__new_sem_trywait): New function.
23754         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
23755         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
23756         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
23757         (sem_timedwait): Adapt.
23758         * nptl/sem_post.c (__new_sem_post): Adapt.
23759         (futex_wake): New function.
23760         (__old_sem_post): Add release MO fence.
23761         * nptl/sem_open.c (sem_open): Adapt.
23762         * nptl/sem_init.c (__new_sem_init): Adapt.
23763         (futex_private_if_supported): New function.
23764         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
23765         (__old_sem_getvalue): Add using previous code.
23766         * sysdeps/nptl/internaltypes.h: Adapt.
23767         * nptl/tst-sem13.c (do_test): Adapt.
23768         * nptl/tst-sem11.c (main): Adapt.
23769         * nptl/sem_trywait.c: Remove.
23770         * nptl/DESIGN-sem.txt: Remove.
23771         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
23772         (gen-as-const-headers): Remove structsem.sym.
23773         * nptl/structsem.sym: Remove.
23774         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
23775         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
23776         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
23777         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
23778         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
23779         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
23780         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
23781         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
23782         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
23783         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
23784         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
23785         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
23786         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
23787         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
23788         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
23789         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
23790         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
23791         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
23792         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
23793         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
23794         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
23795         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
23797 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
23799         * INSTALL: Regenerated.
23801         * po/libc.pot: Regenerated.
23803 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
23804             Sandra Loosemore  <sandra@codesourcery.com>
23805             Andrew Jenner  <andrew@codesourcery.com>
23806             Joseph Myers  <joseph@codesourcery.com>
23807             Nathan Sidwell  <nathan@codesourcery.com>
23809         * NEWS: Mention new Nios II port.
23810         * sysdeps/nios2/Implies: New file.
23811         * sysdeps/nios2/Makefile: New file.
23812         * sysdeps/nios2/Subdirs: New file.
23813         * sysdeps/nios2/Versions: New file.
23814         * sysdeps/nios2/__longjmp.S: New file.
23815         * sysdeps/nios2/abort-instr.h: New file.
23816         * sysdeps/nios2/backtrace.c: New file.
23817         * sysdeps/nios2/bits/endian.h: New file.
23818         * sysdeps/nios2/bits/fenv.h: New file.
23819         * sysdeps/nios2/bits/link.h: New file.
23820         * sysdeps/nios2/bits/setjmp.h: New file.
23821         * sysdeps/nios2/bsd-_setjmp.S: New file.
23822         * sysdeps/nios2/bsd-setjmp.S: New file.
23823         * sysdeps/nios2/configure: New generated file.
23824         * sysdeps/nios2/configure.ac: New file.
23825         * sysdeps/nios2/crti.S: New file.
23826         * sysdeps/nios2/crtn.S: New file.
23827         * sysdeps/nios2/dl-init.c: New file.
23828         * sysdeps/nios2/dl-machine.h: New file.
23829         * sysdeps/nios2/dl-sysdep.h: New file.
23830         * sysdeps/nios2/dl-tls.h: New file.
23831         * sysdeps/nios2/dl-trampoline.S: New file.
23832         * sysdeps/nios2/gccframe.h: New file.
23833         * sysdeps/nios2/gmp-mparam.h: New file.
23834         * sysdeps/nios2/jmpbuf-offsets.h: New file.
23835         * sysdeps/nios2/jmpbuf-unwind.h: New file.
23836         * sysdeps/nios2/ldsodefs.h: New file.
23837         * sysdeps/nios2/libc-tls.c: New file.
23838         * sysdeps/nios2/libm-test-ulps: New file.
23839         * sysdeps/nios2/machine-gmon.h: New file.
23840         * sysdeps/nios2/math-tests.h: New file.
23841         * sysdeps/nios2/math_private.h: New file.
23842         * sysdeps/nios2/memusage.h: New file.
23843         * sysdeps/nios2/nptl/Makefile: New file.
23844         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
23845         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
23846         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
23847         * sysdeps/nios2/nptl/pthreaddef.h: New file.
23848         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
23849         * sysdeps/nios2/nptl/tls.h: New file.
23850         * sysdeps/nios2/preconfigure: New file.
23851         * sysdeps/nios2/s_fma.c: New file.
23852         * sysdeps/nios2/s_fmaf.c: New file.
23853         * sysdeps/nios2/setjmp.S: New file.
23854         * sysdeps/nios2/sfp-machine.h: New file.
23855         * sysdeps/nios2/sotruss-lib.c: New file.
23856         * sysdeps/nios2/stackguard-macros.h: New file.
23857         * sysdeps/nios2/stackinfo.h: New file.
23858         * sysdeps/nios2/start.S: New file.
23859         * sysdeps/nios2/sysdep.h: New file.
23860         * sysdeps/nios2/tls-macros.h: New file.
23861         * sysdeps/nios2/tst-audit.h: New file.
23862         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
23863         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
23864         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
23865         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
23866         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
23867         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
23868         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
23869         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
23870         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
23871         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
23872         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
23873         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
23874         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
23875         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
23876         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
23877         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
23878         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
23879         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
23880         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
23881         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
23882         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
23883         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
23884         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
23885         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
23886         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
23887         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
23888         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
23889         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
23890         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
23891         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
23892         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
23893         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
23894         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
23895         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
23896         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
23897         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
23898         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
23899         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
23900         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
23901         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
23902         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
23903         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
23904         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
23905         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
23907 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
23909         [BZ #17844]
23910         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
23911         (getutent): Use weak_alias in non SHARED case
23912         and default_symbol_version in SHARED case.
23913         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
23914         (getutent_r, pututline): Likewise.
23915         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
23916         (getutid): Likewise.
23917         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
23918         (getutid_r): Likewise.
23919         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
23920         (getutline): Likewise.
23921         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
23922         (getutline_r): Likewise.
23923         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
23924         (updwtmp): Likewise.
23926 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
23928         [BZ #17848]
23929         * sysdeps/s390/s390-32/memcmp.S
23930         (memcmp_g5): Rename to __memcmp_g5.
23931         * sysdeps/s390/s390-32/memcpy.S
23932         (memcpy_g5): Rename to __memcpy_g5.
23933         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23934         (memcpy_mvcle) Rename to __memcpy_mvcle.
23935         * sysdeps/s390/s390-32/memset.S
23936         (memset_g5): Rename to __memset_g5.
23937         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23938         (IFUNC_RESOLVE): Prefix ifunc-resolve function
23939         and use prefixed functions.
23940         * sysdeps/s390/s390-32/multiarch/memcmp.S
23941         (memcmp_z196): Rename to __memcmp_z196.
23942         (memcmp_z10): Rename to __memcmp_z10.
23943         (memcmp): Set alias to __memcmp_g5.
23944         (bcmp): Set alias to __memcmp_g5.
23945         * sysdeps/s390/s390-32/multiarch/memcpy.S
23946         (memcpy_z196): Rename to __memcpy_z196.
23947         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23948         (memcpy_z10): Rename to __memcpy_z10.
23949         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23950         (memcpy): Set alias to __memcpy_g5.
23951         * sysdeps/s390/s390-32/multiarch/memset.S
23952         (memset_z196): Rename to __memset_z196.
23953         Jump to __memset_mvcle instead of memset_mvcle.
23954         (memset_z10): Rename to __memset_z10.
23955         Jump to __memset_mvcle instead of memset_mvcle.
23956         (memset_mvcle) Rename to __memset_mvcle.
23957         (memset): Set alias to __memset_g5.
23958         * sysdeps/s390/s390-64/memcmp.S
23959         (memcmp_z900): Rename to __memcmp_z900.
23960         * sysdeps/s390/s390-64/memcpy.S
23961         (memcpy_z900): Rename to __memcpy_z900.
23962         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23963         (memcpy_mvcle) Rename to __memcpy_mvcle.
23964         * sysdeps/s390/s390-64/memset.S
23965         (memset_z900): Rename to __memset_z900.
23966         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
23967         (IFUNC_RESOLVE): Prefix ifunc-resolve function
23968         and use prefixed functions.
23969         * sysdeps/s390/s390-64/multiarch/memcmp.S
23970         (memcmp_z196): Rename to __memcmp_z196.
23971         (memcmp_z10): Rename to __memcmp_z10.
23972         (memcmp): Set alias to __memcmp_z900.
23973         (bcmp): Set alias to __memcmp_z900.
23974         * sysdeps/s390/s390-64/multiarch/memcpy.S
23975         (memcpy_z196): Rename to __memcpy_z196.
23976         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23977         (memcpy_z10): Rename to __memcpy_z10.
23978         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23979         (memcpy): Set alias to __memcpy_z900.
23980         * sysdeps/s390/s390-64/multiarch/memset.S
23981         (memset_z196): Rename to __memset_z196.
23982         Jump to __memset_mvcle instead of memset_mvcle.
23983         (memset_z10): Rename to __memset_z10.
23984         Jump to __memset_mvcle instead of memset_mvcle.
23985         (memset_mvcle) Rename to __memset_mvcle.
23986         (memset): Set alias to __memset_z900.
23988 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
23990         [BZ #17748]
23991         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
23992         __fesetenv instead of fesetenv.
23994 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23996         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
23997         macro.
23999 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24001         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
24002         regression on LE.
24004         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
24005         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
24006         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24007         strncmp-power8 object.
24008         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24009         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
24010         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
24011         * NEWS: Update.
24013 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24014             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24016         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
24017         trailing byte check.
24019 2015-01-13  David S. Miller  <davem@davemloft.net>
24021         * include/signal.h (__sigreturn): Guard with __USE_MISC.
24023 2015-01-13  Roland McGrath  <roland@hack.frob.com>
24025         * login/logout.c (logout): Use memset rather than bzero.
24026         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
24027         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
24028         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
24029         (_gethtbyaddr): Likewise.
24030         * locale/programs/simple-hash.c (bcopy): Macro removed.
24032 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24034         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24035         Add strcmp-power8 object.
24036         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24037         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
24038         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
24039         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
24040         __strcmp_power8 implementation.
24041         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
24042         * NEWS: Update.
24044         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24045         Add strncpy-power8 and stpncpy-power8 objects.
24046         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24047         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
24048         implementations.
24049         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
24050         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
24051         __stpncpy_power8 implementation.
24052         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
24053         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
24054         __strncpy_power8 implementation.
24055         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
24056         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
24057         * NEWS: Update.
24059         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
24060         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
24061         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
24063         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24064         strncat-power8 object.
24065         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
24066         __strcat_power8 implementation.
24067         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24068         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
24069         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
24070         optimized strcat for power8.
24072         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24073         strcpy-power8 and stpcpy-power8 objects.
24074         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24075         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
24076         implementations.
24077         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
24078         multiarch stpcpy implementation for POWER8.
24079         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
24080         multiarch strcpy implementation for POWER8.
24081         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
24082         __strcpy_power8 function.
24083         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
24084         stpcpy for POWER8.
24085         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
24086         strcpy for POWER8.
24087         * NEWS: Update.
24089 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
24091         [BZ #16009]
24092         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
24093         weights and rules. Use do_xfrm_cached if data fits in cache,
24094         do_xfrm otherwise.  Moved former main loop to...
24095         * (do_xfrm_cached): New function.
24096         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
24097         find_idx, find_position and stack_push.
24098         * (find_idx): New function.
24099         * (find_position): Likewise.
24100         * localedata/sort-test.sh: Added test run for do_xfrm.
24101         * localedata/xfrm-test.c (main): Added command line option
24102         -nocache to run the test with strings that are too large for
24103         the STRXFRM cache.
24105 2015-01-13  Torvald Riegel  <triegel@redhat.com>
24107         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
24108         variable to lll_futex_wake call, not the value itself.
24110 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
24112         [BZ #17803]
24113         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
24114         twom64.  Adjust value to 0x1p-64L.
24115         (__scalblnl): Only return standard underflowing result for K <=
24116         -64 not K <= -63; adjust exponent for underflowing result by 64
24117         not 63.
24118         * math/libm-test.inc (scalbn_test_data): Add more tests.
24119         (scalbln_test_data): Likewise.
24121         [BZ #17834]
24122         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
24123         0x1p63L.
24124         (__scalblnl): Get new exponent of adjusted subnormal value from ES
24125         not HX.
24126         * math/libm-test.inc (scalbn_test_data): Add more tests.
24127         (scalbln_test_data): Likewise.
24129 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24130             Stefani Seibold  <stefani@seibold.net>
24132         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
24133         (sysdep_routines): Add dl-vdso here, ...
24134         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
24135         (sysdep_routines): ... not here.
24136         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
24137         fallback when vDSO is not presented.
24138         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
24139         Define with libc_hidden_proto/libc_hidden_data_def definitions.
24140         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
24141         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
24142         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
24143         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
24144         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
24145         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
24146         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
24147         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
24148         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
24149         fallback configurable symbol when vDSO is not available.
24150         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
24151         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
24152         be able to redefine fallback symbol when vDSO is not available.
24153         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
24154         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
24156 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24158         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
24159         (TLS_INIT_TP): Add tm_capable initialization.
24160         (TLS_DEFINE_INIT_TP): Likewise.
24161         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
24162         TCB.
24163         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
24164         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
24165         calculation.
24166         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
24167         transactoion is lock elision is built and TCB tm_capable is set.
24168         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
24169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24170         (INTERNAL_SYSCALL_NCS): Likewise.
24171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24172         (INTERNAL_SYSCALL_NCS): Likewise.
24173         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
24175         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
24176         for powerpc.
24177         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24178         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
24179         and remove it for 32 bits case.
24180         [pthread_rwlock_t] (__rwelision): New field for lock elision.
24181         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
24182         initialization.
24183         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
24184         Disable lock elision with rdlocks if elision is not available.
24186         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
24187         (sysdep_routines): Add lock elision objects.
24188         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24189         [pthread_mutex_t] (__spins): Rework to add lock elision field.
24190         [pthread_mutex_t] (__elision): Add field.
24191         [__PTHREAD_SPINS]: Adjust to init lock elision field.
24192         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
24193         elision definitions for powerpc.
24194         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
24195         implementation of lock elision for powerpc.
24196         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
24197         implementation of timed lock elision for powerpc.
24198         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
24199         implementation of trylock with lock elision for powerpc.
24200         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
24201         implementaion of unlock for lock elision for powerpc.
24202         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
24203         automatic enable lock elision for mutexes.
24204         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
24205         transaction execution definitions for powerpc.
24206         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
24207         definitions.
24208         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
24209         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
24210         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
24211         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
24212         * NEWS: Update.
24214 2015-01-09  Roland McGrath  <roland@hack.frob.com>
24216         * sysdeps/posix/shm-directory.c: Use <> rather than ""
24217         for #include of <shm-directory.h>.
24219 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
24221         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
24222         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
24224 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
24226         [BZ #17791]
24227         * NEWS: Mention bug fix.
24228         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
24229         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
24230         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
24232 2015-01-09  Torvald Riegel <triegel@redhat.com>
24234         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
24236 2015-01-09  Torvald Riegel <triegel@redhat.com>
24238         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
24240 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24242         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
24243         pointer and cast to uintptr_t.
24245 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24247         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
24248         removed.
24249         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
24251 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24253         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
24254         of 0.
24256 2015-01-08  Roland McGrath  <roland@hack.frob.com>
24258         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
24259         <nptl/pthreadP.h> instead.
24260         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
24262         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
24263         already defined.
24264         [__SIGRTMIN] (init): Function removed.
24265         [__SIGRTMIN] (initialized): Variable removed.
24266         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
24267         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
24268         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
24269         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
24270         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
24271         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
24272         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
24273         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
24274         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
24275         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
24276         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
24277         * sysdeps/nptl/allocrtsig.c: New file.
24278         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
24279         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
24280         * sysdeps/generic/testrtsig.h: File removed.
24282         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
24283         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
24285         * nptl/nptl-init.c (pthread_functions): Conditionalize
24286         .ptr__nptl_setxid initialization on [SIGSETXID].
24288         * sysdeps/nptl/sys/procfs.h: New file.
24289         * nptl_db/Makefile (headers): Add it.
24290         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
24292         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
24293         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
24294         * nptl/pthread_attr_setaffinity.c: Include it.
24295         * nptl/pthread_setattr_default_np.c: Likewise.
24296         * nptl/check-cpuset.h: New file.
24298 2015-01-08  Richard Henderson  <rth@redhat.com>
24300         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
24301         (CFLAGS-tst-execstack-prog.c): Likewise.
24302         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
24304 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
24305             Sandra Loosemore  <sandra@codesourcery.com>
24306             Andrew Jenner  <andrew@codesourcery.com>
24307             Joseph Myers  <joseph@codesourcery.com>
24308             Nathan Sidwell  <nathan@codesourcery.com>
24310         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
24311         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
24312         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
24313         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
24314         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
24315         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
24316         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
24317         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
24318         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
24319         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
24320         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
24321         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
24322         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
24323         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
24324         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
24325         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
24326         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
24328 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24330         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
24331         timespec struct member in syscall macro.
24332         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
24333         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
24334         first timeval struct member in syscall macro.
24335         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
24337 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
24339         [BZ #17748]
24340         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
24341         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
24342         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
24343         __feupdateenv and define as weak alias of __feupdateenv.  Use
24344         libm_hidden_weak.
24345         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
24346         libm_hidden_def.
24347         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
24348         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
24349         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24350         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
24351         libm_hidden_def.
24352         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
24353         __feupdateenv and define as weak alias of __feupdateenv.  Use
24354         libm_hidden_weak.
24355         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
24356         libm_hidden_def.
24357         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
24358         __feupdateenv and define as weak alias of __feupdateenv.  Use
24359         libm_hidden_weak.
24360         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
24361         libm_hidden_def.
24362         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24363         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24364         (__feupdateenv): Likewise.
24365         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
24366         __feupdateenv and define as weak alias of __feupdateenv.  Use
24367         libm_hidden_weak.
24368         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24369         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
24370         libm_hidden_def.
24371         * sysdeps/tile/math_private.h (__feupdateenv): New inline
24372         function.
24373         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
24374         libm_hidden_def.
24375         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
24376         __feupdateenv instead of feupdateenv.
24377         (default_libc_feupdateenv_test): Likewise.
24378         (libc_feresetround_ctx): Likewise.
24380 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24382         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
24383         prototype.
24385 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
24387         * posix/regcomp.c (parse_bracket_exp): Initialize type to
24388         COLL_SYM in a couple of places to avoid uninitialized variable
24389         wanings on tilegx gcc 4.8.2.
24391 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24393         * sysdeps/aarch64/strcpy.S: New file.
24394         * sysdeps/aarch64/stpcpy.S: New file.
24395         * NEWS: Updated.
24397 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24399         * sysdeps/aarch64/strrchr.S: New file.
24400         * NEWS: Updated.
24402 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
24404         [BZ #17658]
24405         * stdlib/setenv.c: Fix memory leak when setting large,
24406         duplicate string.
24408 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
24410         [BZ #17273]
24411         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
24412         and tabs from buffer before parsing fstab entry.
24413         * misc/tst-mntent.c (main): Add test for mount entry with
24414         trailing spaces and tabs.
24416 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
24418         [BZ #17748]
24419         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
24420         * math/fesetround.c (fesetround): Rename to __fesetround and
24421         define as weak alias of __fesetround.  Use libm_hidden_weak.
24422         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
24423         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
24424         * sysdeps/arm/fesetround.c (fesetround): Likewise.
24425         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
24426         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
24427         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
24428         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
24429         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
24430         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
24431         __fesetround_inline.
24432         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
24433         __fesetround_inline instead of __fesetround.
24434         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
24435         __fesetround and define as weak alias of __fesetround.  Use
24436         libm_hidden_weak.  Call __fesetround_inline instead of
24437         __fesetround.
24438         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
24439         __fesetround and define as weak alias of __fesetround.  Use
24440         libm_hidden_weak.
24441         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
24442         Likewise.
24443         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
24444         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24445         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
24446         * sysdeps/tile/math_private.h (__fesetround): New inline function.
24447         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
24448         __fesetround and define as weak alias of __fesetround.  Use
24449         libm_hidden_weak.
24450         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
24451         __fesetround instead of fesetround.
24452         (default_libc_feholdexcept_setround): Likewise.
24453         (libc_feholdsetround_ctx): Likewise.
24454         (libc_feholdsetround_noex_ctx): Likewise.
24456         [BZ #17748]
24457         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
24458         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
24459         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24460         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24461         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24462         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
24463         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24464         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
24465         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24466         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24467         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24468         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24469         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24470         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24471         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
24472         libm_hidden_def.
24473         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
24474         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
24475         Likewise.
24476         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24477         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24478         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24479         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24480         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
24481         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24482         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24483         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
24484         __fesetenv instead of fesetenv.
24485         (libc_feresetround_noex_ctx): Likewise.
24486         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
24487         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24488         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
24489         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
24490         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
24491         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
24492         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24493         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24494         (__feupdateenv): Likewise.
24495         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24496         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24497         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24498         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
24500 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24502         [BZ #17806]
24503         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
24504         addresses have been freed.
24506 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24508         * resolv/res_init.c (__res_vinit): Improve comments about nserv
24509         and nservall.
24511 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
24513         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
24514         Clean up check_pf allocation pattern. addresses
24516 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24518         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
24519         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
24520         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
24521         * nptl/pthread_exit.c (__pthread_exit): Likewise.
24522         * nptl/pthread_join.c (pthread_join): Likewise.
24523         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
24524         * sysdeps/posix/waitid.c (__waitid): Likewise.
24525         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
24526         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
24527         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
24528         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
24529         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
24530         Likewise.
24531         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
24532         (__libc_pread64): Likewise.
24533         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
24534         (__libc_pwrite): Likewise.
24535         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
24536         (__libc_pwrite64): Likewsie.
24537         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
24538         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
24539         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
24540         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
24541         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
24542         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
24543         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
24545         Likewise.
24546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24547         (__libc_pread64): Likewise.
24548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
24549         Likewise.
24550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24551         (__libc_pwrite64): Likewise.
24552         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
24553         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
24554         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
24555         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
24556         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
24557         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
24558         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
24559         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
24560         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
24561         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
24562         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
24563         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
24564         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
24565         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
24566         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24567         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
24568         Likewise.
24570 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
24572         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
24573         (CFLAGS-test-double.c): Likewise.
24574         (CFLAGS-test-ldouble.c): Likewise.
24575         (CPPFLAGS-test-ifloat.c): Likewise.
24576         (CPPFLAGS-test-idouble.c): Likewise.
24577         (CPPFLAGS-test-ildoubl.c): Likewise.
24578         (CFLAGS-test-test-fenv.c): Remove variable.
24579         (CFLAGS-test-misc.c): Likewise.
24581 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
24583         [BZ #17797]
24584         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
24585         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
24586         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
24587         CLOCKS_PER_SEC == 1000000.
24588         * time/clocktest.c (main): Replace %ld with %jd and cast to
24589         intmax_t.
24591 2015-01-05  Roland McGrath  <roland@hack.frob.com>
24593         * sysdeps/generic/unwind-resume.h: New file.
24594         * sysdeps/gnu/unwind-resume.c: Include it.
24595         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
24596         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
24597         argument list.
24598         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
24599         global rather than static.
24600         (_Unwind_Resume): Update user.
24601         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
24602         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
24603         rather than static.  Add __attribute__ ((cold)).
24604         (_Unwind_Resume, __gcc_personality_v0): Update callers.
24605         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
24606         * sysdeps/arm/arm-unwind-resume.S: New file.
24607         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
24608         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
24609         * sysdeps/arm/Makefile [$(subdir) = csu]
24610         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
24611         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
24612         Add rt-arm-unwind-resume.
24613         [$(subdir) = nptl]
24614         (libpthread-sysdep_routines, libpthread-shared-only-routines):
24615         Add pt-arm-unwind-resume.
24616         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
24617         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
24619 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24621         [BZ #17748]
24622         * include/fenv.h (__feholdexcept): Declare.  Use
24623         libm_hidden_proto.
24624         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
24625         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
24626         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24627         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
24628         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
24629         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
24630         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
24631         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24632         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
24633         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
24634         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
24635         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
24636         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
24637         (feholdexcept): Likewise.
24638         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24639         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24640         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
24641         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24642         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
24643         __feholdexcept instead of feholdexcept.
24644         (default_libc_feholdexcept_setround): Likewise.
24646 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24648         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
24649         to avoid using stl/str to align destination.
24651 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24653         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
24655 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24657         [BZ #17796]
24658         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
24659         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
24660         Define as weak alias not strong alias.
24662 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24664         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
24665         bltzal with addiupc.
24666         (RTLD_START): Ditto.
24668 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
24670         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
24671         for __vdso_* functions in declarations.
24672         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
24673         definitions.
24674         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
24675         INTERNAL_VSYSCALL): Use struct return types to check for error.
24677         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
24678         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
24679         function with cast from llround().
24680         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
24681         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
24682         Define.
24684 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24686         [BZ #17793]
24687         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
24688         Define as weak alias not strong alias.
24690         [BZ #17635]
24691         * ctype/ctype-c99.c: New file.  isblank implementation moved from
24692         ...
24693         * ctype/ctype-extn.c: ... here.
24694         (__isblank_l): Move to ...
24695         * ctype/ctype-c99_l.c: ... here.  New file.
24696         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
24697         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
24698         Remove variable.
24699         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
24700         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
24701         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
24702         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
24703         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
24705         [BZ #17777]
24706         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
24707         (posix_fadvise64): Define as weak alias not strong alias.
24708         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24709         (posix_fallocate64): Likewise.
24710         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
24711         Remove variable.
24712         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
24713         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
24714         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
24715         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
24716         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
24718 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
24720         [BZ #16191]
24721         * NEWS: Mention bug fix.
24722         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
24723         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
24724         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
24725         (HOST_STACK_END_ADDR): Likewise.
24727 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
24729         [BZ #17748]
24730         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
24731         * math/fegetround.c (fegetround): Rename to __fegetround and
24732         define as weak alias of __fegetround.  Use libm_hidden_weak.
24733         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
24734         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
24735         * sysdeps/arm/fegetround.c (fegetround): Likewise.
24736         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
24737         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
24738         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
24739         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
24740         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
24741         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
24742         Undefine after rather than before function definition; use
24743         parentheses around function name in definition.
24744         (__fegetround): Also undefine macro after function definition.
24745         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
24746         __fegetround and define as weak alias of __fegetround.  Use
24747         libm_hidden_weak.  Do not undefine as macro.
24748         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
24749         Likewise.
24750         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
24751         __fegetround and define as weak alias of __fegetround.  Use
24752         libm_hidden_weak.
24753         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24754         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
24755         * sysdeps/tile/math_private.h (__fegetround): New inline function.
24756         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
24757         __fegetround and define as weak alias of __fegetround.  Use
24758         libm_hidden_weak.
24759         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
24760         __fegetround instead of fegetround.
24762         [BZ #17782]
24763         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
24764         Condition macro definition on [__USE_MISC].
24766         [BZ #17781]
24767         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
24768         (struct sigaction): Change type of sa_flags field to int.
24770         [BZ #17780]
24771         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
24772         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
24773         __glibc_reserved0.
24775         * nptl/version.c (banner): Use single year in copyright notice.
24777         * NEWS: Update copyright dates.
24778         * catgets/gencat.c (print_version): Likewise.
24779         * csu/version.c (banner): Likewise.
24780         * debug/catchsegv.sh: Likewise.
24781         * debug/pcprofiledump.c (print_version): Likewise.
24782         * debug/xtrace.sh (do_version): Likewise.
24783         * elf/ldconfig.c (print_version): Likewise.
24784         * elf/ldd.bash.in: Likewise.
24785         * elf/pldd.c (print_version): Likewise.
24786         * elf/sotruss.sh: Likewise.
24787         * elf/sprof.c (print_version): Likewise.
24788         * iconv/iconv_prog.c (print_version): Likewise.
24789         * iconv/iconvconfig.c (print_version): Likewise.
24790         * locale/programs/locale.c (print_version): Likewise.
24791         * locale/programs/localedef.c (print_version): Likewise.
24792         * login/programs/pt_chown.c (print_version): Likewise.
24793         * malloc/memusage.sh (do_version): Likewise.
24794         * malloc/memusagestat.c (print_version): Likewise.
24795         * malloc/mtrace.pl: Likewise.
24796         * manual/libc.texinfo: Likewise.
24797         * nptl/version.c (banner): Likewise.
24798         * nscd/nscd.c (print_version): Likewise.
24799         * nss/getent.c (print_version): Likewise.
24800         * nss/makedb.c (print_version): Likewise.
24801         * posix/getconf.c (main): Likewise.
24802         * scripts/test-installation.pl: Likewise.
24803         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
24805 2015-01-02  Will Newton  <will.newton@linaro.org>
24807         * sysdeps/arm/armv7/configure: Removed.
24808         * sysdeps/arm/armv7/configure.ac: Likewise.
24810 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
24812         * All files with FSF copyright notices: Update copyright dates
24813         using scripts/update-copyrights.
24814         * intl/plural.c: Regenerated.
24815         * locale/programs/charmap-kw.h: Likewise.
24816         * locale/programs/locfile-kw.h: Likewise.
24818 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24820         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
24822 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
24824         [BZ #17748]
24825         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
24826         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
24827         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
24828         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
24829         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24830         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
24831         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24832         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
24833         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24834         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24835         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24836         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24837         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24838         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24839         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
24840         libm_hidden_def.
24841         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
24842         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
24843         Likewise.
24844         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24845         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24846         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24847         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24848         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
24849         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
24850         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
24851         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
24852         __fegetenv instead of fegetenv.
24853         (libc_feholdsetround_noex_ctx): Likewise.
24855 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
24857         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
24858         (Elf_MIPS_ABIFlags_v0): New structure.
24859         (EF_MIPS_FP64): Define.
24860         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
24861         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
24862         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
24863         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
24864         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
24865         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
24866         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
24867         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
24868         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
24869         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
24870         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
24871         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
24872         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
24873         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
24874         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
24875         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
24876         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
24877         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
24878         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
24879         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
24880         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
24881         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
24882         field.
24883         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
24884         EF_MIPS_FP64.
24885         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
24886         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
24887         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
24888         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
24889         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
24890         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
24891         * sysdeps/mips/tst-abi-interlink.c: Likewise.
24892         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
24893         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
24894         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
24895         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
24896         record the current FP ABI extension.
24897         (mips-mode-switch): Define to show if kernel headers support mode
24898         switching.
24899         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24900         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
24901         supported SYSV ABI version to 3.
24902         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
24903         feature.
24905 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24906             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24908         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
24909         path.
24910         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
24912 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
24914         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
24915         __fegetround and redefine to call __fegetround.  Remove condition
24916         on [!__NO_MATH_INLINES].
24917         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
24918         function.
24919         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
24920         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
24921         Remove macro.
24922         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
24923         instead of <fenv_libc.h>.
24924         (__llrintl): Call fegetround instead of __fegetround.
24925         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
24926         instead of <fenv_libc.h>.
24927         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24928         (__lrintl): Call fegetround instead of __fegetround.
24929         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
24930         instead of <fenv_libc.h>.
24931         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24932         (__rintl): Call fegetround instead of __fegetround.
24934 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24936         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
24937         arrays.
24939 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
24941         [BZ #17775]
24942         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
24943         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
24944         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
24946 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
24948         * sysdeps/i386/tls-macros.h: Include <features.h>.
24949         (TLS_LE): Use non-PIC version for GCC >= 5.0.
24950         (TLS_IE): Likewise.
24951         (TLS_LD): Likewise.
24952         (TLS_GD): Likewise.
24953         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
24954         define for GCC >= 5.0.
24956 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
24958         * math/test-fenv.c (test_single_exception, set_single_exc,
24959         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
24960         feexcp_mask_test, feenable_test, fe_single_test): Add
24961         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
24962         case where they are not used.
24963         * math/libm-test.inc: Likewise.
24964         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
24965         unused in the absence of FP rounding/exception support.
24966         * stdio-common/tst-printf-round.c: Likewise.
24967         * stdlib/tst-strtod-round.c: Likewise.
24968         * stdlib/tst-strtod-underflow.c: Likewise.
24970 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
24972         [BZ #17723]
24973         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
24974         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
24975         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24976         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24977         libm_hidden_weak.
24978         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
24979         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
24980         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
24981         libm_hidden_def.
24982         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24983         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24984         libm_hidden_weak.
24985         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
24986         Likewise.
24987         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
24988         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24989         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24990         libm_hidden_weak.
24991         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
24992         libm_hidden_def.
24993         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
24994         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
24995         (__feraiseexcept): Likewise.
24996         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24997         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24998         libm_hidden_weak.
24999         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25000         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25001         libm_hidden_def.
25002         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
25003         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
25004         Use libm_hidden_def.
25005         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
25006         libm_hidden_def.
25007         (feraiseexcept): Define as weak not strong alias.  Use
25008         libm_hidden_weak.
25009         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
25010         New inline function.  Factored out of ...
25011         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
25012         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
25013         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
25014         feraiseexcept.
25015         * math/w_acos.c (__acos): Likewise.
25016         * math/w_asin.c (__asin): Likewise.
25017         * math/w_ilogb.c (__ilogb): Likewise.
25018         * math/w_j0.c (y0): Likewise.
25019         * math/w_j1.c (y1): Likewise.
25020         * math/w_jn.c (yn): Likewise.
25021         * math/w_log.c (__log): Likewise.
25022         * math/w_log10.c (__log10): Likewise.
25023         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
25024         * sysdeps/aarch64/fpu/math_private.h
25025         (libc_feupdateenv_test_aarch64): Likewise.
25026         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25027         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
25028         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
25029         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25030         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25031         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25032         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
25033         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25034         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25035         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25037 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25039         [BZ #17732]
25040         * io/test-utime.c (main): Replace %ld with %jd and cast to
25041         intmax_t.
25042         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
25043         * nptl/tst-mutex5.c: Include <stdint.h>.
25044         (do_test): Replace %ld with %jd and cast to intmax_t.
25045         * posix/tst-regex.c (run_test): Likewise.
25046         (run_test_backwards): Likewise.
25047         * rt/tst-clock.c: Include <stdint.h>.
25048         (clock_test): Replace %ld with %jd and cast to intmax_t.
25049         * rt/tst-cpuclock1.c: Include <stdint.h>.
25050         (do_test): Replace %lu with %ju and cast to uintmax_t.
25051         * rt/tst-cpuclock2.c: Include <stdint.h>.
25052         (do_test): Replace %lu with %ju and cast to uintmax_t.
25053         * rt/tst-mqueue1.c: Include <stdint.h>.
25054         (check_attrs): Replace %ld with %jd and cast to intmax_t.
25055         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
25056         intmax_t.
25057         * rt/tst-mqueue4.c (do_test): Likewise.
25058         * rt/tst-timer4.c: Include <stdint.h>.
25059         (check_ts): Replace %ld with %jd and cast to intmax_t.
25060         (do_test): Likewise.
25061         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
25062         and cast to intmax_t.
25063         * sysdeps/pthread/tst-timer.c (main): Likewise.
25064         * time/clocktest.c (main): Likewise.
25065         * time/tst-posixtz.c (do_test): Likewise.
25066         * timezone/tst-timezone.c (main): Likewise.
25068 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25069             H.J. Lu  <hongjiu.lu@intel.com>
25071         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
25072         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
25073         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
25074         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
25075         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
25076         version if bit_Fast_Unaligned_Load is set.
25077         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25078         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25079         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25080         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25081         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25082         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25083         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25084         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
25085         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
25086         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
25087         to 4.
25088         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
25089         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
25090         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
25091         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
25093 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
25095         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
25096         instead of #if to avoid a Wundef warning.
25097         * stdlib/tst-limits.c (do_test): Likewise.
25099         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
25100         parallel other exception macros.
25101         (fegetenv): Convert from macro to extern inline so that it applies
25102         retroactively to inline functions already seen by the compiler.
25103         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
25105         * posix/Makefile (before-compile): Use $(objpfx) for
25106         posix-conf-vars-def.h.
25108 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25110         * posix/getconf.c (main): Use size_t for type of I.
25111         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
25112         NSPEC.
25114         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
25115         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
25116         * posix/posix-envs.def: Likewise.
25117         * sysdeps/posix/sysconf.c: Likewise.
25118         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
25119         (specs): Remove array.
25120         * scripts/gen-posix-conf-vars.awk: Support generation of specs
25121         array.
25123         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
25124         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
25125         (__sysconf): Use CONF_IS_* macros.
25127         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
25128         ($(objpfx)posix-conf-vars-def.h): New target.
25129         * posix/posix-conf-vars.list: New file.
25130         * posix/posix-conf-vars.h: New file.
25131         * posix/confstr.c: Include posix-conf-vars.h.
25132         (confstr): Use CONF_IS_* macros.
25133         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
25134         CONF_IS_* macros.
25135         * scripts/gen-posix-conf-vars.awk: New file.
25137 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
25139         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
25140         fegetround): Add no-op macros to avoid linknamespace issues.
25142         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
25143         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
25145         * sysdeps/unix/sysv/linux/tile/sysdep.h
25146         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
25147         assembly-specific section to avoid a redefinition warning.
25149         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
25150         long before casting to pointer to avoid a cast warning.
25152 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
25154         * sysdeps/tile/tilegx/Implies: New file.
25156 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
25158         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
25160 2014-12-23  Florian Weimer  <fweimer@redhat.com>
25162         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
25164 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25166         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
25167         not define.
25168         * sysdeps/unix/sysv/linux/utimes.c: Do not include
25169         <kernel-features.h>.
25170         (__utimes) [__NR_utimes]: Make code unconditional.
25171         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
25172         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25173         (__ASSUME_UTIMES): Do not undefine.
25174         * sysdeps/unix/sysv/linux/tile/kernel-features.h
25175         (__ASSUME_UTIMES): Likewise.
25176         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25177         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
25178         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
25179         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
25181 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25183         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
25185 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
25187         [BZ #17747]
25188         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
25189         alias to weak alias for j0l, y0l.
25190         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
25191         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
25193         [BZ #17746]
25194         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
25195         conversion.
25197 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25199         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
25200         to zero if not already defined.
25202 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25204         [BZ #17724]
25205         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
25206         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
25207         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
25208         (char *) casts added.
25209         * sysdeps/ieee754/k_standardf.c: New file.
25210         * sysdeps/ieee754/k_standardl.c: Likewise.
25211         * math/Makefile (libm-support): Remove k_standard.
25212         (libm-calls): Add k_standard.
25214 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25216         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25217         Optimize to avoid an unnecessary FPCR read.
25219 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25221         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
25222         Optimize to reduce FPCR/FPSR accesses.
25224 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25226         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
25227         Call libc_fetestexcept_aarch64.
25229 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25231         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
25232         Call libc_fesetround_aarch64.
25234 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25236         [BZ #17733]
25237         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
25238         (__bind): Do not define as weak alias.
25239         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
25240         define.
25241         (__getsockname): Do not define as weak alias.
25243 2014-12-22  Will Newton  <will.newton@linaro.org>
25245         * manual/install.texi: Document that we require bison 2.7
25246         or above.
25247         * INSTALL: Regenerate.
25248         * configure.ac: Use AC_CHECK_PROG_VER instead of
25249         AC_PATH_PROG when checking for bison and check for
25250         version 2.7 or above.
25251         * configure: Regenerate.
25253 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
25255         [BZ #17745]
25256         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
25257         * sysdeps/tile/ffsll.c (ffsll): To here.
25259         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
25261 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25263         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
25264         if not defined.
25265         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
25266         definition.
25267         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25268         hidden ___tls_get_addr.
25269         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25270         hidden __tls_get_addr.
25271         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
25272         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
25273         Likewise.
25275 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
25277         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
25278         _dl_init call.
25280 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25282         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
25283         from "call _dl_init@PLT".
25284         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
25286 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
25288         * manual/search.texi: (Array Sort Function): Clarify stable sorting
25289         guarantees.
25291 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
25293         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
25295 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25297         [BZ #17744]
25298         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
25299         strnlen.
25301 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
25303         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
25304         of multu on MIPSr6.
25305         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
25306         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
25307         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
25308         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
25309         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
25311 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
25313         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
25314         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
25315         (PTR_SUBU): Use subu for mips32r6/mips64r6.
25316         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
25317         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
25318         mips32r6/mips64r6.
25319         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
25321 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
25323         * string/strncat.c (STRNCAT): Simplify implementation.
25325 2014-12-19  David S. Miller  <davem@davemloft.net>
25327         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
25328         access the quad as both a long double and as a series of 4 words.
25330         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
25331         link_map->l_info array access.
25333 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25335         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
25337         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
25338         * math/atest-exp2.c (TIMEOUT): Likewise.
25339         * math/atest-sincos.c (TIMEOUT): Likewise.
25341 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25343         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
25344         -Wno-error with -fno-builtin-lround.
25346 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25348         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
25349         Contains futex constants and functions moved over from ...
25350         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
25351         <lowlevellock-futex.h>.
25352         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25353         (lll_timedwait_tid): Add comments and parentheses around macro
25354         arguments.
25356 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25358         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
25359         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
25360         (__lll_private_flag): Remove.
25361         (lll_futex_wait): Likewise.
25362         (lll_futex_timed_wait): Likewise.
25363         (lll_futex_wake): Likewise.
25364         (lll_futex_requeue): Likewise.
25365         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25366         (__lll_timedwait_tid): Spell out argument names.
25367         (lll_timedwait_tid): Add comments and parentheses around macro
25368         arguments.
25369         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
25370         LLL_SHARED and LLL_PRIVATE usable from assembly code.
25372 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25374         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
25375         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
25376         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25377         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
25378         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
25379         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
25380         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
25381         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
25382         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
25383         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
25384         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
25385         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
25386         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
25387         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
25388         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
25389         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
25390         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
25391         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
25392         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
25394 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25396         * sysdeps/x86_64/x32/Makefile: New file.
25398 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25400         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
25401         1L with (mp_limb_t) 1.
25403 2014-12-17  Roland McGrath  <roland@hack.frob.com>
25405         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
25406         * nptl/libc_pthread_init.c: ... here.
25407         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
25408         * nptl/register-atfork.c: ... here.
25410         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
25411         Use pthread_sigmask rather than INTERNAL_SYSCALL.
25412         Use assert_perror to check its return value.
25413         (__gai_create_helper_thread): Likewise.
25415         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
25417         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
25419 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
25421         [BZ #17725]
25422         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
25423         __profil_counter.
25424         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
25425         Likewise.
25426         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
25427         Likewise.
25428         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
25429         Likewise.
25430         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
25431         (profil_counter): Likewise.
25432         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
25433         (profil_counter): Likewise.
25434         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
25435         Likewise.
25436         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
25437         Likewise.
25438         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
25439         (profil_counter): Likewise.
25440         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
25441         Likewise.
25442         [!__profil_counter] (profil_counter): Define as weak alias of
25443         __profil_counter.
25444         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
25445         (profil_counter): Rename to __profil_counter.
25446         [!__profil_counter] (profil_counter): Define as weak alias of
25447         __profil_counter.
25448         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
25449         (profil_counter): Rename to __profil_counter.
25450         [!__profil_counter] (profil_counter): Define as weak alias of
25451         __profil_counter.
25452         * sysdeps/posix/profil.c: Update comment referring to
25453         profil_counter.
25454         (__profil): Use __profil_counter instead of profil_counter.
25455         * sysdeps/posix/sprofil.c (profil_counter): Rename to
25456         __profil_counter.  Use __profil_counter_ushort and
25457         __profil_counter_uint in definitions.
25458         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
25459         instead of profil_counter_uint and profil_counter_ushort.
25461         [BZ #17722]
25462         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
25463         define as weak alias of __inet_makeaddr.
25464         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
25465         as weak alias of __inet_addr.
25466         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
25467         as weak alias of __inet_pton.  Use libc_hidden_weak.
25468         * include/arpa/inet.h (__inet_pton): Declare.  Use
25469         libc_hidden_proto.
25470         (inet_makeaddr): Don't use libc_hidden_proto.
25471         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
25472         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
25473         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
25474         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
25475         Remove variable.
25476         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25477         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25479 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
25481         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
25483 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25485         * stdio-common/bug-vfprintf-nargs.c (do_test):
25486         Cast value to intptr_t to avoid format warning
25487         for usage with PRIdPTR printing macro.
25489 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25491         * libio/tst-widetext.c (do_test):
25492         Use format type %td instead of %Zd for ptrdiff_t
25493         in order to avoid format warning.
25495 2014-12-17  Andreas Schwab  <schwab@suse.de>
25497         * nscd/mem.c (gc): Add size_t cast to match printf format.
25499 2014-12-16  Roland McGrath  <roland@hack.frob.com>
25501         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
25502         (init): Apply PTR_MANGLE to pointers before storing them.
25503         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
25504         before using them.
25506 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
25508         [BZ #17719]
25509         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
25510         define as weak alias of __memrchr.
25511         (__memrchr): Do not define as strong alias of memrchr.
25512         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
25513         Remove variable.
25514         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25515         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25516         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25518         [BZ #17717]
25519         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
25520         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
25521         (if_indextoname): Rename to __if_indextoname and define as weak
25522         alias of __if_indextoname.  Use libc_hidden_weak.
25523         (if_freenameindex): Rename to __if_freenameindex and define as
25524         weak alias of __if_freenameindex.
25525         (if_nameindex): Rename to __if_nameindex and define as weak alias
25526         of __if_nameindex.
25527         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
25528         __if_nametoindex and define as weak alias of __if_nametoindex.
25529         Use libc_hidden_weak.
25530         (if_freenameindex): Rename to __if_freenameindex and define as
25531         weak alias of __if_freenameindex.
25532         (if_nameindex): Rename to __if_nameindex and define as weak alias
25533         of __if_nameindex.
25534         (if_indextoname): Rename to __if_indextoname and define as weak
25535         alias of __if_indextoname.  Use libc_hidden_weak.
25536         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
25537         __if_nametoindex and define as weak alias of __if_nametoindex.
25538         Use libc_hidden_weak.
25539         (if_freenameindex): Rename to __if_freenameindex and define as
25540         weak alias of __if_freenameindex.  Use libc_hidden_weak.
25541         (if_nameindex_netlink): Use __if_freenameindex instead of
25542         if_freenameindex.
25543         (if_nameindex): Rename to __if_nameindex and define as weak alias
25544         of __if_nameindex.  Use libc_hidden_weak.
25545         (if_indextoname): Rename to __if_indextoname and define as weak
25546         alias of __if_indextoname.  Use libc_hidden_weak.
25547         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
25548         libc_hidden_proto.
25549         [!_ISOMAC] (__if_freenameindex): Likewise.
25550         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
25551         if_nametoindex.
25552         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
25553         variable.
25554         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25555         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25556         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25557         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25558         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25559         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25560         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25562         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
25563         Remove variable.
25564         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25565         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25567 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25569         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
25570         subscript above bounds'
25572         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
25573         bounds.
25575 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
25577         * libio/tst-fopenloc.c: Use test-skeleton.c.
25579         * stdlib/tst-bsearch.c: Use test-skeleton.c.
25580         (entry): Rename to ITEM.
25581         (do_test, comp): Adjust.
25583         * stdio-common/tst-fseek.c: Use test-skeleton.c.
25585 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25587         * string/tester.c: Include <libc-internal.h>.
25588         (test_memset): Ignore -Wmemset-transposed-args.
25590 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25592         * misc/tst-mntent2.c (do_test): Fix warning.
25594 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25596         * elf/tst-unique4lib.cc(a): Mark as used.
25598 2014-12-16  Florian Weimer  <fweimer@redhat.com>
25600         [BZ #17630]
25601         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
25602         names.
25604 2014-12-16  Allan McRae  <allan@archlinux.org>
25606         * stdio-common/Makefile (tests): Re-add bug26.
25608 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
25610         [BZ #17657]
25611         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
25612         static array.
25614 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
25616         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
25617         (__lll_lock_wait): Likewise.
25618         (__lll_timedlock_wait): Likewise.
25619         (__lll_timedwait_tid): Likewise.
25620         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
25621         (__lll_robust_timedlock_wait): Likewise.
25622         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
25623         (lll_cond_trylock): Likewise.
25624         (__lll_lock): Likewise.
25625         (__lll_robust_lock): Likewise.
25626         (__lll_cond_lock): Likewise.
25627         (lll_robust_cond_lock): Likewise.
25628         (__lll_timedlock): Likewise.
25629         (__lll_robust_timedlock): Likewise.
25630         (__lll_unlock): Likewise.
25631         (__lll_robust_unlock): Likewise.
25632         (lll_wait_tid): Likewise.
25633         (lll_timedwait_tid): Likewise.
25635 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25637         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
25639 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25641         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
25643 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
25645         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
25646         * stdio-common/tst-sprintf.c: Likewise.
25648 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25650         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
25652 2014-12-15  Jeff Law  <law@redhat.com>
25654         [BZ #16617]
25655         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
25656         on the heap.  (CVE-2012-3406)
25657         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
25658         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
25659         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
25661 2014-12-15  Will Newton  <will.newton@linaro.org>
25663         * manual/install.texi: Bump required version of texinfo
25664         to 4.7 from 4.5.
25665         * INSTALL: Regenerated.
25666         * configure.ac: Check for makeinfo version 4.7 and above.
25667         * configure: Regenerated.
25669 2014-12-12  Roland McGrath  <roland@hack.frob.com>
25671         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
25672         PREFIX, string constant to insert between directory and name.
25673         * sysdeps/posix/shm_open.c: Update caller.
25674         * sysdeps/posix/shm_unlink.c: Likewise.
25675         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
25676         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
25677         (SEM_SHM_PREFIX): New macro.
25678         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
25679         [$(have-thread-library) = no].
25680         * nptl/Makefile (libpthread-routines): Add shm-directory.
25681         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
25682         * sysdeps/nptl/shm-directory.h: New file.
25683         * sysdeps/posix/shm-directory.c
25684         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
25685         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
25686         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
25687         INTERNAL_SYSCALL.
25688         (__where_is_shmfs): Function removed.
25689         (mountpoint, defaultmount, defaultdir, __namedsem_once):
25690         Variables removed.
25691         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
25692         Use SHM_GET_NAME.
25693         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
25695         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
25696         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
25697         unconditional for use inside libpthread.
25698         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
25700 2014-12-12  Roland McGrath  <roland@hack.frob.com>
25702         * nptl/pthread_getaffinity.c: New file.
25703         * nptl/pthread_setaffinity.c: New file.
25704         * nptl/pthread_getname.c: New file.
25705         * nptl/pthread_setname.c: New file.
25707         * nptl/pthread_create.c (START_THREAD_DEFN)
25708         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
25710 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25711             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25713         * resolv/res_send.c (send_vc): Disable warning resplen may
25714         be used uninitialized.
25716 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25718         * nptl/tst-mutex6.c
25719         (ATTR_NULL): New define checks ATTR against NULL.
25720         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
25721         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
25723 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
25725         [BZ #17581]
25726         * malloc/hooks.c
25727         (mem2mem_check): Revert my previous change.
25728         (malloc_check_get_size): Revert my previous change.
25729         (mem2chunk_check): Revert my previous change.
25731 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25733         * sysdeps/posix/shm-directory.c: New file.
25734         * sysdeps/posix/shm-directory.h: New file.
25735         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
25736         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
25737         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
25738         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
25739         Transmute EPERM to EACCES.
25740         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
25741         from ...
25742         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
25743         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
25745 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25747         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
25748         pointer and cast to uintptr_t.
25749         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
25750         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
25751         Add cast to avoid warning.
25752         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
25754 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
25756         * nptl/semaphore.h: Move to ...
25757         * sysdeps/pthread/semaphore.h: ... here.
25758         * Makefile (installed-headers): Change nptl/semaphore.h to
25759         sysdeps/pthread/semaphore.h.
25761 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25763         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
25764         generated error format strings.
25766         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
25767         -Wformat-extra-args warnings for scanf formats.
25768         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
25769         test of zero-length format (duh).
25770         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
25771         corner-case scanf format test.
25772         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
25773         generated fprintf format string.
25774         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
25775         corner-case sprintf format tests.
25776         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
25777         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
25778         -Wformat-extra-args warnings throughout.
25779         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
25780         (CFLAGS-scanf4.c): Likewise.
25781         (CFLAGS-scanf7.c): Likewise.
25782         (CFLAGS-tst-sprintf.c): Likewise.
25783         (CFLAGS-tst-printf.c): Likewise.
25784         (CFLAGS-tst-printfsz.c): Likewise.
25786 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
25788         * include/cpio.h: New file.
25789         * include/fmtmsg.h: Likewise.
25791         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
25792         corresponding format argument to size_t.
25793         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
25794         arguments.
25795         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
25796         corresponding format argument to size_t.
25797         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
25798         arguments.
25799         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
25800         corresponding format argument to size_t.
25801         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
25802         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
25803         (CFLAGS-tst-mbswcs2.c): Likewise.
25804         (CFLAGS-tst-mbswcs3.c): Likewise.
25805         (CFLAGS-tst-mbswcs4.c): Likewise.
25806         (CFLAGS-tst-mbswcs5.c): Likewise.
25807         (CFLAGS-tst-trans.c): Likewise.
25809 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25811         * posix/regexbug1.c (main): Use "%s" format with regerror results,
25812         rather than assuming they won't contain any '%'s.
25814 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
25816         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
25817         inhibit_loop_to_libcall to avoid recursive calls.
25818         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
25819         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
25821 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
25823         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
25824         prototype.
25826 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
25828         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
25829         integer value instead of boolean.
25831 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
25833         * malloc/malloc.c: Fix powerof2 check.
25835 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25837         * locale/programs/locfile.h (maybe_swap_uint32):
25838         Remove inline and add unused attribute.
25840 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25842         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
25843         Truncating assembler expression to a .long expression.
25845 2014-12-11  Andreas Schwab  <schwab@suse.de>
25847         * elf/rtld.c (struct map_args): Constify str member.
25848         (do_preload): Constify fname argument.
25850 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25852         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
25853         constants definition.
25855 2014-12-11  Andreas Schwab  <schwab@suse.de>
25857         [BZ #16657]
25858         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
25859         FORCE_ELISION instead of DO_ELISION.
25860         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
25861         Remove.
25862         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
25863         Likewise.
25865         * iconvdata/gconv-modules: Remove duplicate entry.
25867 2014-12-11  Will Newton  <will.newton@linaro.org>
25869         Merge gettext 0.19.3 into intl/.
25871         This involves a number of cosmetic changes to comments
25872         and ANSI function definitions and prototypes throughout
25873         all the files. The gettext copyright header is used but
25874         with the date ranges taken from the glibc copy.
25876         * NEWS: Add gettext merge to 2.21.
25877         * intl/bindtextdom.c: Switch to gettext copyright.
25878         Use ANSI definitions and prototypes.
25879         Use gl_* locking primitives rather than __libc_* ones.
25880         Use __builtin_expect rather than __glibc_likely/unlikely.
25881         * intl/dcgettext.c: Switch to gettext copyright.
25882         Use ANSI definitions and prototypes.
25883         * intl/dcigettext.c: Switch to gettext copyright.
25884         Use ANSI definitions and prototypes.
25885         (INTDIV0_RAISES_SIGFPE): New define.
25886         Use gl_* locking primitives rather than __libc_* ones.
25887         Include eval-plural.h instead of plural-eval.c.
25888         Use __builtin_expect rather than __glibc_likely/unlikely.
25889         * intl/dcngettext.c: Switch to gettext copyright.
25890         Use ANSI definitions and prototypes.
25891         * intl/dgettext.c: Likewise.
25892         * intl/dngettext.c: Likewise.
25893         * intl/plural-eval.c: Renamed to...
25894         * intl/eval-plural.h: ...this.
25895         * intl/explodename.c: Switch to gettext copyright.
25896         Use ANSI definitions and prototypes.
25897         (_nl_explode_name): Use strchr instead of __rawmemchr.
25898         * intl/finddomain.c: Switch to gettext copyright.
25899         Use ANSI definitions and prototypes.
25900         Use gl_* locking primitives rather than __libc_* ones.
25901         (_nl_find_domain): Use malloc rather than alloca for
25902         allocation of temporary locale name.
25903         * intl/gettext.c: Switch to gettext copyright.
25904         Use ANSI definitions and prototypes.
25905         * intl/gettextP.h: Switch to gettext copyright.
25906         Use ANSI definitions and prototypes.
25907         Use gl_* locking primitives rather than __libc_* ones.
25908         * intl/gmo.h: Switch to gettext copyright.
25909         (struct sysdep_string): Move struct segment_pair outside of
25910         struct definition.
25911         * intl/hash-string.c: Use ANSI definitions and prototypes.
25912         * intl/hash-string.h: Switch to gettext copyright.
25913         Use ANSI definitions and prototypes.
25914         * intl/l10nflist.c: Switch to gettext copyright.
25915         Use ANSI definitions and prototypes.
25916         (_nl_normalize_codeset): Avoid integer overflow.
25917         * intl/loadinfo.h: Switch to gettext copyright.
25918         Use ANSI definitions and prototypes.
25919         (LIBINTL_DLL_EXPORTED): New define.
25920         (PATH_SEPARATOR): New define.
25921         * intl/loadmsgcat.c: Switch to gettext copyright.
25922         * intl/localealias.c: Switch to gettext copyright.
25923         Use ANSI definitions and prototypes.
25924         (_nl_expand_alias): Use PATH_SEPARATOR.
25925         * intl/ngettext.c: Switch to gettext copyright.
25926         Use ANSI definitions and prototypes.
25927         * intl/plural-exp.c: Likewise.
25928         * intl/plural-exp.h: Switch to gettext copyright.
25929         Use ANSI definitions and prototypes.
25930         (struct expression): Move definition of enum operator outside
25931         of struct definition.
25932         * intl/plural.c: Regenerate.
25933         * intl/plural.y: Switch to gettext copyright.
25934         Use ANSI definitions and prototypes.
25935         Port to bison 3.0.
25936         * intl/textdomain.c: Switch to gettext copyright.
25937         Use ANSI definitions and prototypes.
25938         Use gl_* locking primitives rather than __libc_* ones.
25940 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
25942         * debug/warning-nop.c: Add used atrribute.
25944 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25946         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
25948         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
25949         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
25950         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
25952 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25953             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25955         [BZ #17634]
25956         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
25957         Undefine after defining function.  Define as weak alias of
25958         __wcschr.  Use libc_hidden_weak.
25959         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
25960         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
25961         (libc_hidden_def): Also define __GI___wcschr alias.
25962         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
25963         __wcschr and define as weak alias of __wcschr.
25964         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
25965         __wcschr.
25966         [!WCSCHR] (DEFAULT_WCSCHR): Define.
25967         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
25968         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
25969         libc_hidden_weak.  Do not use libc_hidden_def.
25970         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
25971         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
25972         __GI___wcschr alias.
25973         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
25974         [IS_IN (libc)] (wcschr): Define as macro expanding to
25975         __redirect_wcschr.
25976         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
25977         [IS_IN (libc)] (__wcschr_power6): Likewise.
25978         [IS_IN (libc)] (__wcschr_power7): Likewise.
25979         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
25980         instead of wcschr.
25981         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
25982         __libc_wcschr.
25983         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
25984         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
25985         __wcschr and define as weak alias of __wcschr.  Use
25986         libc_hidden_builtin_def.
25987         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
25988         as weak alias of __wcschr.  Use libc_hidden_weak.
25989         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
25990         wcschr.
25991         * time/era.c (_nl_init_era_entries): Likewise.
25992         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
25993         variable.
25994         (test-xfail-XPG3/time.h/linknamespace): Likewise.
25995         (test-xfail-XPG4/time.h/linknamespace): Likewise.
25997 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25999         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
26000         format for long int variable.
26002 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
26004         [BZ #10672]
26005         * manual/search.texi: (Array Sort Function): Remove claim how to make
26006         qsort stable.
26008 2014-12-10  Andreas Schwab  <schwab@suse.de>
26010         [BZ #12847]
26011         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
26012         user-controlled locks.
26014 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
26016         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
26017         register.
26019 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26021         * configure.ac (--disable-werror): New configure option.
26022         (enable_werror): New AC_SUBST.
26023         * configure: Regenerated.
26024         * config.make.in (enable-werror): New variable.
26025         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
26026         -Wno-error=undef.
26027         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
26028         * manual/install.texi (Configuring and compiling): Document
26029         --disable-werror.
26030         * INSTALL: Regenerated.
26031         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
26032         (CFLAGS-tst-chk2.c): Likewise.
26033         (CFLAGS-tst-chk3.c): Likewise.
26034         (CFLAGS-tst-chk4.cc): Likewise.
26035         (CFLAGS-tst-chk5.cc): Likewise.
26036         (CFLAGS-tst-chk6.cc): Likewise.
26037         (CFLAGS-tst-lfschk1.c): Likewise.
26038         (CFLAGS-tst-lfschk2.c): Likewise.
26039         (CFLAGS-tst-lfschk3.c): Likewise.
26040         (CFLAGS-tst-lfschk4.cc): Likewise.
26041         (CFLAGS-tst-lfschk5.cc): Likewise.
26042         (CFLAGS-tst-lfschk6.cc): Likewise.
26044         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
26045         (main): Disable -Wdeprecated-declarations around calls to
26046         register_printf_function.
26048         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
26049         (do_test): Disable -Wdiv-by-zero around some calls to
26050         fwrite_unlocked and fread_unlocked.
26052         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
26053         (DIAG_POP_NEEDS_COMMENT): Likewise.
26054         (_DIAG_STR1): Likewise.
26055         (_DIAG_STR): Likewise.
26056         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
26057         * stdio-common/bug21.c: Include <libc-internal.h>.
26058         (do_test): Disable -Wformat around call to sscanf.
26059         * stdio-common/scanf14.c: Include <libc-internal.h>.
26060         (main): Disable -Wformat around some calls to scanf functions.
26062 2014-12-09  Torvald Riegel  <triegel@redhat.com>
26064         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
26066 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26068         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
26069         stack variable alignment.
26071 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
26073         [BZ #17682]
26074         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
26075         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
26076         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
26077         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
26078         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
26079         __getrlimit instead of getrlimit.
26080         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
26081         __gettimeofday instead of gettimeofday.
26082         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26083         Likewise.
26084         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26085         Likewise.
26086         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26087         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
26088         Remove variable.
26089         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
26090         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
26092 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26094         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
26095         for wide-character tests.
26097 2014-12-04  Roland McGrath  <roland@hack.frob.com>
26099         * io/openat64.c: #include <libc-internal.h>
26100         (__openat64): Prototypify.  Use ignore_value on MODE.
26101         * io/openat.c: Likewise.
26102         * misc/reboot.c: #include <libc-internal.h>
26103         (reboot): Prototypify.  Use ignore_value on HOWTO.
26104         * misc/ptrace.c: #include <libc-internal.h>
26105         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
26107 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
26109         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
26110         XPG4, UNIX98 and XOPEN2K.
26111         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
26112         Remove variable.
26113         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
26115 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26117         * libio/fileops.c: Use ISO C style for function definitions.
26118         * libio/iofopen.c: Likewise.
26119         * libio/wfileops.c: Likewise.
26121         [BZ #17653]
26122         * libio/fileops.c (_IO_new_file_underflow): Unset cached
26123         offset on EOF.
26124         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
26125         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
26126         (fgets_func): Function pointer to fgets and fgetws.
26127         (do_ftell_test): Add test to verify ftell value after read
26128         EOF.
26129         (do_test): Set fgets_func.
26131         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
26132         O_TRUNC flag for w and w+ modes.
26133         (do_rewind_test): Likewise.
26134         (do_ftell_test): Likewise.
26135         (do_write_test): Likewise.
26137         [BZ #17647]
26138         * libio/fileops.c (do_ftell): Seek only when there are
26139         unflushed writes.
26140         * libio/wfileops.c (do_ftell_wide): Likewise.
26141         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
26142         test case.
26143         (do_one_test): Call it.
26145 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
26147         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
26148         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
26149         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
26150         Remove variable.
26151         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
26152         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
26153         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
26155 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26157         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
26158         Remove variable.
26159         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
26161         [BZ #17668]
26162         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
26163         as weak alias of __getifaddrs.  Use libc_hidden_weak.
26164         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26165         __freeifaddrs.  Use libc_hidden_weak.
26166         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
26167         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
26168         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26169         __freeifaddrs.  Use libc_hidden_weak.
26170         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
26171         __getifaddrs and define as weak alias of __getifaddrs.  Use
26172         libc_hidden_weak.
26173         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26174         __freeifaddrs.  Use libc_hidden_weak.
26175         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
26176         Remove variable.
26177         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
26178         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
26180 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
26182         [BZ #17601]
26183         * sysdeps/mips/start.S (__start): Use indirect jump to call
26184         __libc_start_main.
26186 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26188         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
26190         * nptl/tst-mutex1.c: Include <stdbool.h>.
26191         [!ATTR] (ATTR_NULL): New macro.
26192         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
26193         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
26194         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
26196         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
26197         to char *.
26199         [BZ #17665]
26200         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
26201         Change conditional to [__USE_MISC].
26203         [BZ #17664]
26204         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
26205         fgets_unlocked.
26206         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
26207         __fgets_unlocked.
26208         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
26209         fgets_unlocked.
26210         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
26211         Remove variable.
26212         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
26213         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
26214         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
26215         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
26216         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
26217         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
26218         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
26219         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
26220         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
26222         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
26224 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26226         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26227         Remove strpbrk objects.
26228         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26229         (__libc_ifunc_impl_list): Remove strpbrk implementation.
26230         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
26231         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
26232         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
26233         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
26235         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26236         Remove strcspn objects.
26237         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26238         (__libc_ifunc_impl_list): Remove strcspn implementation.
26239         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
26240         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
26241         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
26242         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
26244         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26245         Remove strspn objetcs.
26246         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26247         (__libc_ifunc_impl_list): Remove strspn implementation.
26248         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
26249         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
26250         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
26251         * sysdeps/powerpc/powerpc64/strspn.S: New file.
26253 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
26255         [BZ #17581]
26256         * malloc/hooks.c
26257         (mem2mem_check): Add a terminator to the chain of checking blocks.
26258         (malloc_check_get_size): Use it here.
26259         (mem2chunk_check): Ditto.
26261 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26263         * sysdeps/powerpc/powerpc64/strtok.S: New file.
26264         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
26266 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
26268         * bits/ioctl-types.h: Indent preprocessor directives correctly.
26270         * nptl/nptl-init.c: Include libc-internal.h.
26271         (__pthread_initialize_minimal_internal): Use ROUND_UP.
26273         * elf/ldconfig.c (search_dir): Expand comment.
26275 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
26277         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
26278         variable.
26279         (linknamespace-symlist-stdlibs-tests): Likewise.
26280         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
26281         instead of $(objpfx)symlist-stdlibs.
26282         (linknamespace-libs-isoc): New variable.
26283         (linknamespace-libs): Use $(linknamespace-libs-isoc).
26284         (linknamespace-libs-ISO): New variable.
26285         (linknamespace-libs-ISO99): Likewise.
26286         (linknamespace-libs-ISO11): Likewise.
26287         (linknamespace-libs-XPG3): Likewise.
26288         (linknamespace-libs-XPG4): Likewise.
26289         (linknamespace-libs-POSIX): Likewise.
26290         (linknamespace-libs-UNIX98): Likewise.
26291         (linknamespace-libs-XOPEN2K): Likewise.
26292         (linknamespace-libs-POSIX2008): Likewise.
26293         (linknamespace-libs-XOPEN2K8): Likewise.
26294         ($(objpfx)symlist-stdlibs): Replace by
26295         $(linknamespace-symlist-stdlibs-tests).  Use
26296         $(linknamespace-libs-$*) as set of libraries.
26297         ($(linknamespace-header-tests)): Update dependencies.  Use
26298         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
26299         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
26300         * conform/linknamespace.pl: Remove comment about considering
26301         definitions of symbols from irrelevant libraries.
26303 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
26305         [BZ #13862]
26306         * elf/dl-tls.c: Include <atomic.h>.
26307         (oom): Remove #ifdef SHARED/#endif.
26308         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
26309         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
26310         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
26311         big enough.
26312         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
26313         * nptl/Makefile (tests): Add tst-stack4.
26314         (modules-names): Add tst-stack4mod.
26315         ($(objpfx)tst-stack4): New.
26316         (tst-stack4mod.sos): Likewise.
26317         ($(objpfx)tst-stack4.out): Likewise.
26318         ($(tst-stack4mod.sos)): Likewise.
26319         (clean): Likewise.
26320         * nptl/tst-stack4.c: New file.
26321         * nptl/tst-stack4mod.c: Likewise.
26323 2014-11-27  J. Brown  <jb999@gmx.de>
26325         * sysdeps/x86/bits/string.h: Add recent CPUs.
26327 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26329         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
26330         sigblock.
26332         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
26333         feof.
26335         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
26336         variable.
26338 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
26340         * nscd/connections.c: Include libc-internal.h because of macro
26341         usage ignore_value.
26343 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26345         * string/bits/string3.h (__warn_memset_zero_len): Don't
26346         declare for gcc newer than 5.0.
26347         (memset): Don't test for zero-length __LEN for gcc newer than
26348         5.0.
26350 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26352         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
26353         size_t for %zu format.
26355         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
26356         difference, not %ju.
26358 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26360         * include/libc-internal.h (ignore_value): New macro.
26361         * nscd/connections.c (restart): Wrap calls to setuid and setgid
26362         with ignore_value.
26364         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
26365         definition.
26367         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
26368         pthread_cleanup_push to void *.
26370         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
26371         Undefine.
26373         [BZ #16619]
26374         [BZ #16740]
26375         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
26376         instead of 1L << 52.
26378         * libio/bug-rewind.c (do_test): Check fwscanf return values.
26379         * libio/bug-rewind2.c (do_test): Likewise.
26381         * debug/test-stpcpy_chk-ifunc.c: Remove file.
26382         * debug/test-strcpy_chk-ifunc.c: Likewise.
26383         * wcsmbs/test-wcschr-ifunc.c: Likewise.
26384         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26385         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26386         * wcsmbs/test-wcslen-ifunc.c: Likewise.
26387         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26388         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26389         * Rules [$(multi-arch) = no] (tests): Do not filter out
26390         $(tests-ifunc).
26391         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
26392         * debug/Makefile (tests-ifunc): Remove variable.
26393         (tests): Do not add $(tests-ifunc).
26394         * wcsmbs/Makefile (tests-ifunc): Remove variable.
26395         (tests): Do not add $(tests-ifunc).
26396         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
26397         [TEST_IFUNC]: Remove conditionals.
26398         * string/test-string.h (TEST_IFUNC): Remove macro.
26399         [TEST_IFUNC]: Remove conditionals.
26401         * string/test-strchr.c [!WIDE] (L): New macro.
26402         [WIDE] (L): Likewise.
26403         (check1): Use CHAR instead of char.  Use L on string and character
26404         constants.
26406 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
26408         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
26409         tests.
26410         * sysdeps/powerpc/bits/atomic.h
26411         (__arch_atomic_exchange_and_add_32_acq): Add definition.
26412         (__arch_atomic_exchange_and_add_32_rel): Likewise.
26413         (atomic_exchange_and_add_acq): Likewise.
26414         (atomic_exchange_and_add_rel): Likewise.
26415         * sysdeps/powerpc/powerpc32/bits/atomic.h
26416         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26417         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26418         * sysdeps/powerpc/powerpc64/bits/atomic.h
26419         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26420         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26422 2014-11-26  Torvald Riegel  <triegel@redhat.com>
26424         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
26425         Change synchronization of __sched_fifo_min_prio and
26426         __sched_fifo_max_prio.
26427         * nptl/pthread_mutexattr_getprioceiling.c
26428         (pthread_mutexattr_getprioceiling): Likewise.
26429         * nptl/pthread_mutexattr_setprioceiling.c
26430         (pthread_mutexattr_setprioceiling): Likewise.
26431         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26432         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
26433         Likewise.
26435 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26437         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
26438         void.
26440 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26442         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
26443         third argument const.
26445 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
26447         fnmatch: work around GCC compiler warning bug with uninit var
26448         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
26449         This works around a bug with x86-64 GCC 4.9.2 and earlier
26450         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
26451         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
26452         used uninitialized in this function [-Wmaybe-uninitialized]".
26454 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26456         * posix/bug-regex31.c (main): Return RES not 0.
26458 2014-11-25  Anton Blanchard <anton@samba.org>
26460         * sysdeps/powerpc/bits/atomic.h
26461         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
26463 2014-11-24  Sterling Augustine  <saugustine@google.com>
26465         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
26467 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
26469         [BZ #17608]
26470         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
26472 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
26474         [BZ #17633]
26475         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
26476         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
26477         variable.
26478         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
26479         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
26481 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26483         * string/strncpy.c (strncpy): Improve performance by using memset.
26485 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26487         * string/strcpy.c (strcpy):
26488         Improve performance by using strlen and memcpy.
26490 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
26492         * string/strcoll_l.c (get_next_seq): __always_inline.
26493         * string/strcoll_l.c (do_compare): __always_inline.
26495 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26497         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
26498         defined.
26499         * include/mqueue.h: Likewise.
26500         * include/stdlib.h: Likewise.
26502         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
26503         (get_null_defines): Adjust.
26504         * sunrpc/Makefile: Adjust comment.
26505         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
26506         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
26507         (CFLAGS-interp.c): Likewise.
26508         (CFLAGS-ldconfig.c): Likewise.
26509         (CPPFLAGS-.os): Likewise.
26510         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26511         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
26512         * extra-modules.mk (extra-modules.mk): Likewise.
26513         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
26514         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
26515         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
26516         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
26517         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
26518         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
26519         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
26520         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
26521         * iconvdata/Makefile (CPPFLAGS): Likewise.
26522         (cpp-srcs-left): Add libof for all iconvdata routines.
26523         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
26524         * include/assert.h: Likewise.
26525         * include/ctype.h: Likewise.
26526         * include/errno.h: Likewise.
26527         * include/libc-symbols.h: Likewise.
26528         * include/math.h: Likewise.
26529         * include/netdb.h: Likewise.
26530         * include/resolv.h: Likewise.
26531         * include/stdio.h: Likewise.
26532         * include/stdlib.h: Likewise.
26533         * include/string.h: Likewise.
26534         * include/sys/stat.h: Likewise.
26535         * include/wctype.h: Likewise.
26536         * intl/l10nflist.c: Likewise.
26537         * libidn/idn-stub.c: Likewise.
26538         * libio/libioP.h: Likewise.
26539         * nptl/libc_multiple_threads.c: Likewise.
26540         * nptl/pthreadP.h: Likewise.
26541         * posix/regex_internal.h: Likewise.
26542         * resolv/res_hconf.c: Likewise.
26543         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
26544         * sysdeps/arm/memmove.S: Likewise.
26545         * sysdeps/arm/sysdep.h: Likewise.
26546         * sysdeps/generic/_itoa.h: Likewise.
26547         * sysdeps/generic/symbol-hacks.h: Likewise.
26548         * sysdeps/gnu/errlist.awk: Likewise.
26549         * sysdeps/gnu/errlist.c: Likewise.
26550         * sysdeps/i386/i586/memcpy.S: Likewise.
26551         * sysdeps/i386/i586/memset.S: Likewise.
26552         * sysdeps/i386/i686/memcpy.S: Likewise.
26553         * sysdeps/i386/i686/memmove.S: Likewise.
26554         * sysdeps/i386/i686/mempcpy.S: Likewise.
26555         * sysdeps/i386/i686/memset.S: Likewise.
26556         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26557         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26558         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
26559         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
26560         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26561         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26562         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
26563         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26564         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26565         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26566         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26567         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26568         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26569         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26570         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26571         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26572         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
26573         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
26574         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
26575         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26576         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26577         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26578         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26579         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26580         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26581         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26582         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
26583         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26584         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
26585         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
26586         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26587         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26588         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26589         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26590         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26591         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26592         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26593         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26594         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26595         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26596         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26597         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26598         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26599         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
26600         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26601         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26602         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
26603         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
26604         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26605         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26606         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26607         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
26608         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
26609         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26610         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26611         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
26612         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26613         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
26614         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
26615         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26616         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26617         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26618         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
26619         * sysdeps/nptl/bits/libc-lock.h: Likewise.
26620         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
26621         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
26622         * sysdeps/posix/closedir.c: Likewise.
26623         * sysdeps/posix/opendir.c: Likewise.
26624         * sysdeps/posix/readdir.c: Likewise.
26625         * sysdeps/posix/rewinddir.c: Likewise.
26626         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
26627         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
26628         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
26629         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26630         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26631         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
26632         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
26633         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
26634         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
26635         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
26636         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
26637         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
26638         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
26639         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
26640         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
26641         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
26642         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
26643         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
26644         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
26645         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
26646         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
26647         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
26648         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
26649         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
26650         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
26651         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
26652         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
26653         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
26654         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
26655         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
26656         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
26657         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
26658         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
26659         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
26660         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
26661         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
26662         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26663         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26664         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
26665         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
26666         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
26667         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
26668         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
26669         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
26670         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
26671         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
26672         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
26673         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
26674         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
26675         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
26676         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
26677         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
26678         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
26679         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
26680         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
26681         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
26682         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
26683         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
26684         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
26685         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
26686         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
26687         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
26688         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
26689         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
26690         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
26691         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
26692         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
26693         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
26694         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
26695         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
26696         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
26697         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
26698         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
26699         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
26700         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
26701         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
26702         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
26703         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
26704         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
26705         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
26706         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
26707         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
26708         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
26709         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
26710         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
26711         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
26712         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
26713         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26714         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26715         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26716         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
26717         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
26718         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
26719         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26720         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26721         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
26722         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26723         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26724         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
26725         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
26726         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26727         * sysdeps/unix/alpha/sysdep.S: Likewise.
26728         * sysdeps/unix/alpha/sysdep.h: Likewise.
26729         * sysdeps/unix/make-syscalls.sh: Likewise.
26730         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26731         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26732         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26733         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
26734         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26735         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
26736         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
26737         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26738         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26739         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
26740         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26741         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26742         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26743         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
26744         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26745         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26746         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26747         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
26748         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
26749         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26750         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
26751         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26752         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26753         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26754         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26755         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26756         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
26758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
26759         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
26760         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26761         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26762         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26763         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26764         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
26765         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26766         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26767         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26768         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
26769         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
26770         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26771         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26772         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26773         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26774         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26775         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26776         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26777         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26778         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26779         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26780         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26781         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26782         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26783         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26784         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
26785         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26786         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26787         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26788         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
26789         * sysdeps/x86_64/memcpy.S: Likewise.
26790         * sysdeps/x86_64/memmove.c: Likewise.
26791         * sysdeps/x86_64/memset.S: Likewise.
26792         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
26793         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26794         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
26795         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
26796         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
26797         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26798         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26799         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26800         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26801         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26802         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26803         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26804         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
26805         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26806         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26807         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
26808         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26809         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26810         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
26811         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26812         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
26813         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26814         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26815         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
26816         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26817         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26818         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26819         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
26820         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26821         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26822         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
26823         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26824         * sysdeps/x86_64/strcmp.S: Likewise.
26826         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
26828         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
26829         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
26830         * elf/rtld-Rules: Likewise.
26831         * elf/setup-vdso.h: Likewise.
26832         * include/assert.h: Likewise.
26833         * include/bits/stdlib-float.h: Likewise.
26834         * include/errno.h: Likewise.
26835         * include/sys/stat.h: Likewise.
26836         * include/unistd.h: Likewise.
26837         * sysdeps/aarch64/setjmp.S: Likewise.
26838         * sysdeps/alpha/setjmp.S: Likewise.
26839         * sysdeps/arm/__longjmp.S: Likewise.
26840         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
26841         * sysdeps/arm/setjmp.S: Likewise.
26842         * sysdeps/arm/sysdep.h: Likewise.
26843         * sysdeps/generic/_itoa.h: Likewise.
26844         * sysdeps/generic/dl-sysdep.h: Likewise.
26845         * sysdeps/generic/ldsodefs.h: Likewise.
26846         * sysdeps/i386/dl-tls.h: Likewise.
26847         * sysdeps/i386/setjmp.S: Likewise.
26848         * sysdeps/m68k/setjmp.c: Likewise.
26849         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
26850         * sysdeps/mach/hurd/opendir.c: Likewise.
26851         * sysdeps/posix/getcwd.c: Likewise.
26852         * sysdeps/posix/opendir.c: Likewise.
26853         * sysdeps/posix/profil.c: Likewise.
26854         * sysdeps/powerpc/dl-procinfo.h: Likewise.
26855         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26856         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26857         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26858         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26859         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
26860         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
26861         * sysdeps/s390/dl-tls.h: Likewise.
26862         * sysdeps/s390/s390-32/setjmp.S: Likewise.
26863         * sysdeps/s390/s390-64/setjmp.S: Likewise.
26864         * sysdeps/sh/sh3/setjmp.S: Likewise.
26865         * sysdeps/sh/sh4/setjmp.S: Likewise.
26866         * sysdeps/unix/alpha/sysdep.h: Likewise.
26867         * sysdeps/unix/arm/sysdep.S: Likewise.
26868         * sysdeps/unix/i386/sysdep.S: Likewise.
26869         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26870         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
26871         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26872         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26873         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26874         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
26875         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
26876         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26877         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
26878         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
26879         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
26880         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26881         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26884         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26885         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26886         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26887         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26888         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26889         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26890         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26891         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26892         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26893         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26894         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26895         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26896         * sysdeps/unix/x86_64/sysdep.S: Likewise.
26897         * sysdeps/x86_64/setjmp.S: Likewise.
26899         * include/math.h: Use IS_IN instead of IS_IN_libm.
26900         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
26901         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26902         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26903         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
26904         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26905         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26906         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26907         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26908         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26909         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26910         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
26911         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
26912         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
26913         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
26914         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
26915         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
26916         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
26917         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
26918         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
26919         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
26920         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
26921         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
26922         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
26923         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
26924         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
26925         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
26926         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
26927         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
26928         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
26929         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
26930         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
26931         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
26932         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
26934         Likewise.
26935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
26936         Likewise.
26937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
26938         Likewise.
26939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
26940         Likewise.
26941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
26942         Likewise.
26943         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
26944         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
26945         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
26946         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26947         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26948         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
26950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
26951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
26952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
26953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
26954         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
26955         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
26956         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26957         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26958         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
26959         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26960         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26961         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
26962         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
26963         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
26964         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
26965         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
26966         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
26967         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
26968         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26969         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
26971         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
26972         * nptl/pthreadP.h: Likewise.
26973         * nptl_db/structs.def: Likewise.
26974         * sysdeps/arm/sysdep.h: Likewise.
26975         * sysdeps/nptl/bits/libc-lock.h: Likewise.
26976         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
26977         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
26978         * sysdeps/unix/alpha/sysdep.h: Likewise.
26979         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26980         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26981         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26982         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26983         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26984         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26985         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26986         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26987         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26988         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26989         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26990         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26991         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26992         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
26994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
26995         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26996         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26997         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26998         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26999         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27000         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27001         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27002         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27003         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
27004         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27006         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
27007         * nptl/pthreadP.h: Likewise.
27008         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27009         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27010         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27011         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27012         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27013         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27014         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27015         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27016         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27017         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27018         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27019         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
27021         Likewise.
27022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
27023         Likewise.
27024         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27025         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27026         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27027         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27028         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27029         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27030         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27031         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27033         * dlfcn/dladdr.c: Use IS_IN.
27034         * dlfcn/dladdr1.c: Likewise.
27035         * dlfcn/dlclose.c: Likewise.
27036         * dlfcn/dlerror.c: Likewise.
27037         * dlfcn/dlinfo.c: Likewise.
27038         * dlfcn/dlmopen.c: Likewise.
27039         * dlfcn/dlopen.c: Likewise.
27040         * dlfcn/dlsym.c: Likewise.
27041         * dlfcn/dlvsym.c: Likewise.
27043         * include/ifaddrs.h: Use IS_IN.
27044         * inet/check_pf.c: Likewise.
27045         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27046         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
27048         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
27049         IS_IN_ldconfig.
27050         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
27051         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
27053         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
27054         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
27055         IS_IN (libc).
27057         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
27059         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
27060         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27061         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27062         * include/libc-symbols.h (IS_IN_LIB): New macro.
27063         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
27064         * include/netdb.h: Likewise.
27065         * include/stap-probe.h: Remove all uses of IN_LIB.
27067         * Makeconfig (module-cppflags-real): Define MODULE_NAME
27068         instead of IN_MODULE.
27069         * include/libc-symbols.h (IN_MODULE): Define using
27070         MODULE_NAME.
27071         (PASTE_NAME, PASTE_NAME1): New macros.
27072         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
27073         of IN_LIB.
27074         (STAP_PROBE_ASM): Likewise.
27076 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27078         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
27079         __mach_init in dlopened libc.
27081 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
27083         * sysdeps/arm/preconfigure.ac: Delete EABI check.
27084         * sysdeps/arm/preconfigure: Regenerate.
27086 2014-11-21  Roland McGrath  <roland@hack.frob.com>
27088         * nptl/pthread_create.c (__pthread_create_2_1): Set
27089         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
27090         when copying values from IATTR into PD.
27092 2014-11-21  Will Newton  <will.newton@linaro.org>
27093             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
27095         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
27096         Refactor inline-asm.  Also add comment.
27098         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
27099         ElfW macro instead of hardcoded Elf64 types.
27100         (la_aarch64_gnu_pltenter): Likewise.
27101         * sysdeps/aarch64/dl-machine.h
27102         (elf_machine_runtime_setup): Use ElfW(Addr).
27104         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
27105         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
27106         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
27107         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
27108         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
27109         (R_AARCH64_TLS_DTPMOD64): Rename to ..
27110         (R_AARCH64_TLS_DTPMOD): This.
27111         (R_AARCH64_TLS_DTPREL64): Rename to ...
27112         (R_AARCH64_TLS_DTPREL): This.
27113         (R_AARCH64_TLS_TPREL64): Rename to ...
27114         (R_AARCH64_TLS_TPREL): This.
27115         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
27116         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
27117         R_AARCH64_TLS_TPREL64.
27118         (elf_machine_rela): Likewise.
27120 2014-11-21  Torvald Riegel  <triegel@redhat.com>
27122         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
27123         by setting it to 0.  64b atomics are not supported currently.
27125 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27127         [BZ #16469]
27128         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
27129         search domain names.
27131 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27133         [BZ #16469]
27134         * NEWS: Update.
27135         * resolv/res_query.c (__libc_res_nquerydomain): Retain
27136         trailing dot.
27137         * posix/tst-getaddrinfo5.c: New.
27138         * posix/Makefile (tests): Add it.
27140 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27142         [BZ #14498]
27143         * NEWS: Fixed.
27144         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
27145         after parsing line but before break_if_match.
27146         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
27147         if there is a protocol mismatch.
27149 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
27151         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
27152         because the potential race is on the user-supplied stream.
27154 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27156         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
27157         string literal if not passed a buffer.
27158         * manual/job.texi (ctermid): Update reasoning, note deviation
27159         from posix, suggest mtasurace when not passed a buffer, for
27160         future non-preliminary safety notes.
27162 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27164         * manual/users.texi (cuserid): Fix MT-Safety note for the case
27165         of not passing it a buffer.
27166         Reported by Peng Haitao.
27168 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27170         * manual/Makefile ($(objpfx)stamp-summary): Require
27171         check-safety.sh to pass.
27172         * manual/check-safety.sh: Wish for verification that every
27173         @deftypefn and @deftypefun is followed by a @safety remark.
27175 2014-11-20  Roland McGrath  <roland@hack.frob.com>
27177         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
27179         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
27180         PTHREAD_CANCEL_ASYNCHRONOUS.
27181         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
27182         send SIGCANCEL.
27184         * nptl/default-sched.h: New file.
27185         * sysdeps/unix/sysv/linux/default-sched.h: New file.
27186         * nptl/pthread_create.c: Include it.
27187         (__pthread_create_2_1): Use collect_default_sched instead of making
27188         Linux syscalls here directly.
27190 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27192         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
27193         __pthread_once): Use C11 atomics.
27195 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27197         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
27199 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27201         * include/atomic.h (__atomic_link_error, __atomic_check_size,
27202         atomic_thread_fence_acquire, atomic_thread_fence_release,
27203         atomic_thread_fence_seq_cst, atomic_load_relaxed,
27204         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
27205         atomic_compare_exchange_weak_relaxed,
27206         atomic_compare_exchange_weak_acquire,
27207         atomic_compare_exchange_weak_release,
27208         atomic_exchange_acquire, atomic_exchange_release,
27209         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
27210         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
27211         atomic_fetch_and_acquire,
27212         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
27214 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27216         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
27217         USE_ATOMIC_COMPILER_BUILTINS): Define.
27218         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
27219         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27220         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
27221         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27222         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
27223         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27224         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
27225         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27226         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
27227         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27228         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
27229         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27230         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
27231         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27232         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
27233         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27234         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27235         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27236         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27237         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27238         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
27239         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27240         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27241         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27242         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
27243         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27244         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27245         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27246         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
27247         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27248         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
27249         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27250         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
27251         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27252         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
27253         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27254         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
27255         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27256         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
27257         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27259 2014-11-19  Roland McGrath  <roland@hack.frob.com>
27261         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
27262         the sched_priority value here.  It was already checked when the user
27263         called pthread_attr_setschedparam.
27265         * nptl/tst-bad-schedattr.c: New file.
27266         * nptl/Makefile (tests): Add it.
27268 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
27269             Florian Weimer  <fweimer@redhat.com>
27270             Joseph Myers  <joseph@codesourcery.com>
27271             Adam Conrad  <adconrad@0c3.net>
27272             Andreas Schwab  <schwab@suse.de>
27273             Brooks  <bmoses@google.com>
27275         [BZ #17625]
27276         * wordexp-test.c (__dso_handle): Add prototype.
27277         (__register_atfork): Likewise.
27278         (__app_register_atfork): New function.
27279         (registered_forks): New global.
27280         (register_fork): New function.
27281         (test_case): Add 3 new tests for WRDE_CMDSUB.
27282         (main): Call __app_register_atfork.
27283         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
27284         fork count is non-zero fail the test.
27285         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
27286         is set.
27287         (parse_dollars): Remove check for WRDE_NOCMD.
27288         (parse_dquote): Likewise.
27290 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27292         * Makeconfig (built-modules): List non-library modules to be
27293         built.
27294         (module-cppflags): Include libc-modules.h for
27295         everything except shlib-versions.v.i.
27296         (CPPFLAGS): Use it.
27297         (before-compile): Add libc-modules.h.
27298         ($(common-objpfx)libc-modules.h,
27299         $(common-objpfx)libc-modules.stmp): New targets.
27300         (common-generated): Add libc-modules.h and libc-modules.stmp.
27301         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
27302         * include/libc-symbols.h: Don't include libc-modules.h.
27303         * include/libc-modules.h: Remove file.
27304         * scripts/gen-libc-modules.awk: New script to generate
27305         libc-modules.h.
27306         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
27307         Depend on libc-modules.stmp.
27309         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
27311         * Makeconfig (in-module): Get value of libof set for the
27312         translation unit.
27313         (CPPFLAGS): Use $(in-module).
27314         * Makerules: Don't suffix routine names for nonlib.
27315         * include/libc-modules.h: New file.
27316         * include/libc-symbols.h: Include libc-modules.h
27317         (IS_IN): New macro to replace IS_IN_* macros.
27318         * elf/Makefile: Set libof-* for each routine.
27319         * elf/rtld-Rules: Likewise.
27320         * extra-modules.mk: Likewise.
27321         * iconv/Makefile: Likewise.
27322         * iconvdata/Makefile: Likewise.
27323         * locale/Makefile: Likewise.
27324         * malloc/Makefile: Likewise.
27325         * nss/Makefile: Likewise.
27326         * sysdeps/gnu/Makefile: Likewise.
27327         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
27328         * sysdeps/unix/sysv/linux/Makefile: Likewise.
27329         * sysdeps/s390/s390-64/Makefile: Likewise.
27330         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
27331         CPPFLAGS for nscd instead of nonlib.
27333 2014-11-18  Roland McGrath  <roland@hack.frob.com>
27335         * nptl/createthread.c: New file.
27337         * nptl/createthread.c: Moved ...
27338         * sysdeps/unix/sysv/linux/createthread.c: ... here.
27340         * nptl/createthread.c: Add proper top-line comment.
27341         (do_clone): Folded into ...
27342         (create_thread): ... here.  Take new arguments STOPPED_START and
27343         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
27344         increment __nptl_threads, do event-reporting logic, do
27345         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
27346         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
27347         resource cleanup if sched_setaffinity or sched_setscheduler fails,
27348         just send SIGCANCEL.
27349         * nptl/pthread_create.c: Forward-declare create_thread before
27350         including createthread.c.
27351         (start_thread): Use new macro START_THREAD_DEFN to replace defining
27352         declaration, and new macro START_THREAD_SELF to replace argument.
27353         Remove return statement.
27354         (report_thread_creation): New function.
27355         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
27356         synchronization logic, and __nptl_nthreads increment here, around
27357         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
27358         PD->parent_cancelhandling here, before create_thread.  When
27359         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
27360         __deallocate_stack, and ENOMEM translation here.
27362 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
27364         [BZ #17616]
27365         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
27366         (mptwo): Rename to __mptwo.
27367         (__inv): Use __mptwo instead of mptwo.
27368         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
27369         (mptwo): Rename to __mptwo.
27370         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
27371         of mpone and __mptwo instead of mptwo.
27372         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
27373         instead of mpone.
27374         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27375         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
27376         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
27377         of mpone and __mptwo instead of mptwo.
27378         (__mpranred): Use __mpone instead of mpone.
27379         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
27380         variable.
27381         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27382         (test-xfail-ISO99/math.h/linknamespace): Likewise.
27383         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27384         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27385         (test-xfail-ISO11/math.h/linknamespace): Likewise.
27386         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27387         (test-xfail-XPG3/math.h/linknamespace): Likewise.
27388         (test-xfail-XPG4/math.h/linknamespace): Likewise.
27389         (test-xfail-POSIX/math.h/linknamespace): Likewise.
27390         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
27391         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
27392         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
27393         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
27394         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
27395         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
27396         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
27397         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
27398         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
27399         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
27401 2014-11-18  Tom de Vries  <tom@codesoucery.com>
27403         * manual/signal.texi (Primitives Interrupted by Signals): In section,
27404         replace BSD Handler xref with BSD Signal Handling.
27406 2014-11-17  Richard Henderson  <rth@redhat.com>
27408         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
27409         (_FP_PACK_RAW_2): Remove.
27410         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
27411         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
27412         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
27413         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
27414         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
27415         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
27416         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
27417         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
27418         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
27419         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
27420         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
27421         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
27422         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
27423         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
27424         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
27425         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
27427 2014-11-14  Roland McGrath  <roland@hack.frob.com>
27429         * signal/signal.h [__USE_MISC]
27430         (struct sigvec): Remove type.
27431         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
27432         (sigvec): Remove declaration.
27433         * sysdeps/posix/sigvec.c: Moved ...
27434         * signal/sigvec.c: ... here, replacing old file.
27435         (struct sigvec): New type, copied from old signal.h definition.
27436         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
27437         (__sigvec): Convert definition to prototype.
27438         (sigvec): Replace weak_alias with compat_symbol.
27439         * signal/Versions (libc: GLIBC_2.21): New version set.
27440         * include/signal.h: Remove __sigvec declaration.
27441         * sysdeps/unix/bsd/sigvec.c: Remove file.
27442         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
27443         * manual/signal.texi (BSD Handler): Remove subsection.
27444         Move siginterrupt up to ...
27445         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
27446         (Blocking in BSD): Fold subsection into its parent.
27447         * NEWS: Mention sigvec removal.
27449 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27451         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
27452         (DLA_FMS): Make definition conditional only on [__FMA4__].
27453         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
27454         definition.
27456         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
27457         Make definition conditional only on [PROF].
27458         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
27459         definition.
27460         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
27461         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
27463         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
27464         !__GNUC__].
27465         * include/signal.h (__sigpause): Move declaration above call to
27466         libc_hidden_proto.
27467         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
27468         variable.
27469         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27470         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27472 2014-11-14  David S. Miller  <davem@davemloft.net>
27474         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
27475         Define before including <string/memcpy.c> and <string/mempcpy.c>.
27477 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27479         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
27480         * configure: Regenerated.
27481         * manual/install.texi (Tools for Compilation): Document a
27482         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
27483         compiler verified to work.
27484         * INSTALL: Regenerated.
27486         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
27487         redeclare with asm name.
27488         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
27489         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
27490         including <string.h>.
27491         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27492         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
27493         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27494         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
27495         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27496         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27497         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27499 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
27501         * stdlib/strtol.c (__strtol): Use prototype definition.
27503         [BZ #17594]
27504         * stdlib/strtol.c (SYM__): New macro.
27505         (SYM__1): Likewise.
27506         (__strtol): Likewise.
27507         (strtol): Rename to __strtol and define as weak alias of
27508         __strtol.  Use libc_hidden_weak.
27510 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27512         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
27513         Use numbered labels in inline assembly.
27515 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27517         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
27518         Add setjmp LIBC_PROBE.
27519         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
27520         Likewise.
27521         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
27522         Add longjmp, longjmp_target LIBC_PROBE.
27523         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
27524         Likewise.
27526 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27528         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27529         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
27530         to get rid of unused variable warning.
27532 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27534         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
27535         Check for unwind_backtrace ==  NULL only in SHARED case.
27536         (__backchain_backtrace): Compile only in SHARED case.
27537         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
27538         Likewise.
27539         (__backchain_backtrace): Declare as static.
27541 2014-11-12  Roland McGrath  <roland@hack.frob.com>
27543         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
27544         (__libc_multiple_threads_ptr): Variable moved ...
27545         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
27547 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
27549         * conform/GlibcConform.pm: New file.
27550         * conform/conformtest.pl: Use GlibcConform module.
27551         * conform/linknamespace.pl: New file.
27552         * conform/list-header-symbols.pl: Likewise.
27553         * conform/Makefile (linknamespace-symlists-base): New variable.
27554         (linknamespace-symlists-tests): Likewise.
27555         (linknamespace-header-base): Likewise.
27556         (linknamespace-header-tests): Likewise.
27557         (tests-special): Add new tests.
27558         ($(linknamespace-symlists-tests)): New rule.
27559         (linknamespace-libs): New variable.
27560         ($(objpfx)symlist-stdlibs): New rule.
27561         ($(linknamespace-header-tests)): Likewise.
27562         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
27563         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
27564         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
27565         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
27566         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
27567         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
27568         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
27569         (test-xfail-ISO/math.h/linknamespace): Likewise.
27570         (test-xfail-ISO/signal.h/linknamespace): Likewise.
27571         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
27572         (test-xfail-ISO/time.h/linknamespace): Likewise.
27573         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27574         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
27575         (test-xfail-ISO99/math.h/linknamespace): Likewise.
27576         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27577         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
27578         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27579         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27580         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
27581         (test-xfail-ISO11/math.h/linknamespace): Likewise.
27582         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27583         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
27584         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27585         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
27586         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
27587         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
27588         (test-xfail-XPG3/math.h/linknamespace): Likewise.
27589         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
27590         (test-xfail-XPG3/search.h/linknamespace): Likewise.
27591         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
27592         (test-xfail-XPG3/time.h/linknamespace): Likewise.
27593         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
27594         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
27595         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
27596         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
27597         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
27598         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
27599         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
27600         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
27601         (test-xfail-XPG4/math.h/linknamespace): Likewise.
27602         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
27603         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
27604         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
27605         (test-xfail-XPG4/search.h/linknamespace): Likewise.
27606         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
27607         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
27608         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
27609         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
27610         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
27611         (test-xfail-XPG4/time.h/linknamespace): Likewise.
27612         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
27613         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
27614         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
27615         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
27616         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
27617         (test-xfail-POSIX/math.h/linknamespace): Likewise.
27618         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
27619         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
27620         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
27621         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
27622         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
27623         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
27624         (test-xfail-POSIX/time.h/linknamespace): Likewise.
27625         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
27626         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
27627         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
27628         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
27629         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
27630         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
27631         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
27632         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
27633         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
27634         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
27635         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
27636         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
27637         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
27638         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
27639         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
27640         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
27641         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
27642         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
27643         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
27644         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
27645         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
27646         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
27647         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
27648         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
27649         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
27650         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
27651         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
27652         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
27653         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
27654         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
27655         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
27656         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
27657         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
27658         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
27659         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
27660         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
27661         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
27662         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
27663         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
27664         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
27665         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
27666         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
27667         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
27668         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
27669         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
27670         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
27671         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
27672         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
27673         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
27674         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
27675         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
27676         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
27677         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
27678         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
27679         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
27680         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
27681         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
27682         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
27683         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
27684         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
27685         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
27686         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
27687         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
27688         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
27689         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
27690         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
27691         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
27692         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
27693         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
27694         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
27695         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
27696         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
27697         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
27698         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
27699         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
27700         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
27701         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
27702         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
27703         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
27704         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
27705         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
27706         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
27707         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
27708         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
27709         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
27710         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
27711         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
27712         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
27713         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
27714         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
27715         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
27716         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
27717         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
27718         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
27719         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
27720         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
27721         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
27722         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
27724         [BZ #17589]
27725         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
27726         of fgets_unlocked.
27728         [BZ #17585]
27729         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
27730         (memmem): Rename to __memmem and define as weak alias of
27731         __memmem.  Use libc_hidden_weak.
27732         (__memmem): Use libc_hidden_def.
27733         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
27734         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
27735         memmem.
27737         [BZ #17582]
27738         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
27739         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
27740         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
27741         and define as weak alias of __fgets_unlocked.  Use
27742         libc_hidden_weak.
27743         (__fgets_unlocked): Use libc_hidden_def.
27744         * include/stdio.h (__fgets_unlocked): Declare.  Use
27745         libc_hidden_proto.
27746         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
27747         __fgets_unlocked instead of fgets_unlocked.
27748         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
27749         (GET_NPROCS_CONF_PARSER): Likewise.
27750         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
27751         (GET_NPROCS_CONF_PARSER): Likewise.
27753         [BZ #17574]
27754         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
27755         weak alias of __wmemset.  Use libc_hidden_weak.
27756         (__wmemset): Use libc_hidden_def.
27757         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
27758         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
27759         of wmemset.
27761         [BZ #17573]
27762         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
27763         with asm name __mempcpy.
27764         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
27766         [BZ #17572]
27767         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
27768         and define as weak alias of __rawmemchr.
27769         (__rawmemchr): Do not define as strong alias of rawmemchr.
27771         [BZ #17571]
27772         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
27773         alias of __qsort_r.
27774         (qsort): Call __qsort_r instead of qsort_r.
27775         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
27776         (__qsort_r): Declare.  Call libc_hidden_proto.
27777         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
27778         instead of qsort_r.
27779         * nscd/gai.c (__qsort_r): Define to qsort_r.
27780         * posix/tst-rfc3484.c (__qsort_r): Likewise.
27781         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
27782         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
27784         [BZ #17570]
27785         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
27786         define as weak alias of __malloc_info.
27788         [BZ #17584]
27789         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
27790         as weak alias of __rewinddir.  Don't use libc_hidden_def.
27791         (__rewinddir): Use libc_hidden_def.
27792         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
27793         as weak alias of __rewinddir.  Don't use libc_hidden_def.
27794         (__rewinddir): Use libc_hidden_def.
27795         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
27796         weak alias of __rewinddir.  Don't use libc_hidden_def.
27797         (__rewinddir): Use libc_hidden_def.
27798         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
27799         (__rewinddir): Use libc_hidden_proto.
27800         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
27801         rewinddir.
27802         (__getcwd): Use __rewinddir instead of rewinddir.
27804         [BZ #17583]
27805         * libio/fileno.c (fileno): Rename to __fileno and define as weak
27806         alias of __fileno.  Use libc_hidden_weak.
27807         (__fileno): Use libc_hidden_def.
27808         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
27809         * libio/ftello.c (ftello): Rename to __ftello and define as weak
27810         alias of __ftello.
27811         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
27812         __ftello.
27813         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
27814         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
27815         libc_hidden_def.
27816         (fread_unlocked): Don't use libc_hidden_ver.
27817         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
27818         and define as weak alias of __fread_unlocked.  Don't use
27819         libc_hidden_def.
27820         (__fread_unlocked): Use libc_hidden_def.
27821         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
27822         (ftello): Don't use libc_hidden_proto.
27823         (__ftello): Declare.  Use libc_hidden_proto.
27824         (fread_unlocked): Don't use libc_hidden_proto.
27825         (__fread_unlocked): Declare.  Use libc_hidden_proto.
27826         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
27827         and __ftello instead of fileno, fread_unlocked and ftello.
27829 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27831         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
27832         GOT12.
27833         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
27834         Likewise.
27835         (_dl_start_user): Likewise.
27836         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
27838 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
27839             Siddhesh Poyarekar  <siddhesh@redhat.com>
27841         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
27842         Move argv and envp down instead of moving argc up.
27843         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
27845 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
27847         [BZ #17506]
27848         * test-skeleton.c (main): Return successful if one of
27849         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
27850         * string/tst-strcoll-overflow.c: Define expected status.
27852 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
27854         [BZ #17475]
27855         * locale/iso-639.def: Define Bhili and Tulu language codes.
27857 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
27859         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
27861 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
27863         [BZ #17555]
27864         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
27866 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
27868         * configure.ac: Updated check of minimal required version to
27869         2.22.
27870         * manual/install.texi (Tools for Compilation): Updated version
27871         number.
27872         * configure: Regenerated.
27873         * INSTALL: Likewise.
27875 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
27877         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
27878         __tls_get_addr.
27880 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
27882         * include/sys/wait.h (__libc_waitpid): Remove declaration.
27883         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
27884         (__waitpid): Don't define as alias.  Use libc_hidden_def not
27885         libc_hidden_weak.
27886         (waitpid): Define as alias of __waitpid.
27887         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
27888         __waitpid.
27889         (__waitpid): Don't define as alias.  Use libc_hidden_def not
27890         libc_hidden_weak.
27891         (waitpid): Define as alias of __waitpid.
27892         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
27893         __libc_waitpid alias.
27894         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
27895         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
27896         Likewise.
27897         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
27898         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
27899         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
27900         alias.
27901         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
27902         __waitpid.
27903         (__waitpid): Don't define as alias.  Use libc_hidden_def not
27904         libc_hidden_weak.
27905         (waitpid): Define as alias of __waitpid.
27907 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
27909         * manual/llio.texi: Add comment that write safety has been
27910         fixed in Linux.
27912         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
27913         (localplt-build-dso): Add elf/ld.so.
27914         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
27915         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
27916         and free for ld.so.
27917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
27918         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
27919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
27920         Likewise.
27921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
27922         Likewise.
27923         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
27924         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
27925         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
27926         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
27927         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
27928         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
27929         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
27930         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
27931         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
27932         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
27933         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
27935 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
27937         [BZ #14132]
27938         * include/libc-symbols.h (INTUSE): Remove macro.
27939         (INTDEF): Likewise.
27940         (INTVARDEF): Likewise.
27941         (_INTVARDEF): Likewise.
27942         (INTDEF2): Likewise.
27943         (INTVARDEF2): Likewise.
27944         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
27945         rtld_hidden_def instead of INTVARDEF.
27946         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
27947         (_dl_starting_up_internal): Remove declaration.
27948         (_dl_starting_up): Use rtld_hidden_proto.
27949         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
27950         declaration.
27951         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
27952         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
27953         _dl_starting_up.
27954         * elf/dl-writev.h (_dl_writev): Likewise.
27955         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
27956         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
27957         _dl_starting_up_internal.
27959 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27961         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
27962         test-skeleton.c.
27964 2014-11-05  Will Newton  <will.newton@linaro.org>
27966         * benchtests/Makefile: (bench-malloc): Add malloc thread
27967         scalability benchmark.
27968         * benchtests/bench-malloc-threads.c: New file.
27970 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
27972         * sysdeps/aarch64/strchrnul.S: New file.
27974 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27976         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
27977         definition.
27978         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
27979         Likwise.
27980         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
27981         Likewise.
27982         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
27983         Likewise.
27984         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
27985         Likewise.
27986         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
27987         Likewise.
27989 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
27991         * catgets/test-gencat.c: Use test-skeleton.c.
27992         * catgets/tst-catgets.c: Likewise.
27993         * csu/tst-empty.c: Likewise.
27994         * elf/tst-audit2.c: Likewise.
27995         * elf/tst-global1.c: Likewise.
27996         * elf/tst-pathopt.c: Likewise.
27997         * elf/tst-piemod1.c: Likewise.
27998         * elf/tst-tls10.c: Likewise.
27999         * elf/tst-tls11.c: Likewise.
28000         * elf/tst-tls12.c: Likewise.
28001         * gnulib/tst-gcc.c: Likewise.
28002         * iconvdata/tst-e2big.c: Likewise.
28003         * iconvdata/tst-loading.c: Likewise.
28004         * iconv/tst-iconv1.c: Likewise.
28005         * iconv/tst-iconv2.c: Likewise.
28006         * inet/test-inet6_opt.c: Likewise.
28007         * inet/tst-gethnm.c: Likewise.
28008         * inet/tst-network.c: Likewise.
28009         * inet/tst-ntoa.c: Likewise.
28010         * intl/tst-codeset.c: Likewise.
28011         * intl/tst-gettext2.c: Likewise.
28012         * intl/tst-gettext3.c: Likewise.
28013         * intl/tst-ngettext.c: Likewise.
28014         * intl/tst-translit.c: Likewise.
28015         * io/test-stat.c: Likewise.
28016         * libio/test-fmemopen.c: Likewise.
28017         * libio/tst-freopen.c: Likewise.
28018         * libio/tst-sscanf.c: Likewise.
28019         * libio/tst-ungetwc1.c: Likewise.
28020         * libio/tst-ungetwc2.c: Likewise.
28021         * libio/tst-widetext.c: Likewise.
28022         * localedata/tst-ctype.c: Likewise.
28023         * localedata/tst-digits.c: Likewise.
28024         * localedata/tst-leaks.c: Likewise.
28025         * localedata/tst-mbswcs1.c: Likewise.
28026         * localedata/tst-mbswcs2.c: Likewise.
28027         * localedata/tst-mbswcs3.c: Likewise.
28028         * localedata/tst-mbswcs4.c: Likewise.
28029         * localedata/tst-mbswcs5.c: Likewise.
28030         * localedata/tst-setlocale.c: Likewise.
28031         * localedata/tst-trans.c: Likewise.
28032         * localedata/tst-wctype.c: Likewise.
28033         * localedata/tst-xlocale1.c: Likewise.
28034         * login/tst-grantpt.c: Likewise.
28035         * malloc/tst-calloc.c: Likewise.
28036         * malloc/tst-malloc.c: Likewise.
28037         * malloc/tst-mallocstate.c: Likewise.
28038         * malloc/tst-mcheck.c: Likewise.
28039         * malloc/tst-mtrace.c: Likewise.
28040         * malloc/tst-obstack.c: Likewise.
28041         * math/atest-exp2.c: Likewise.
28042         * math/atest-exp.c: Likewise.
28043         * math/atest-sincos.c: Likewise.
28044         * math/test-matherr.c: Likewise.
28045         * math/test-misc.c: Likewise.
28046         * math/test-powl.c: Likewise.
28047         * math/tst-definitions.c: Likewise.
28048         * misc/tst-dirname.c: Likewise.
28049         * misc/tst-efgcvt.c: Likewise.
28050         * misc/tst-fdset.c: Likewise.
28051         * misc/tst-hsearch.c: Likewise.
28052         * misc/tst-mntent2.c: Likewise.
28053         * nptl/tst-sem7.c: Likewise.
28054         * nptl/tst-sem8.c: Likewise.
28055         * nptl/tst-sem9.c: Likewise.
28056         * nss/test-netdb.c: Likewise.
28057         * posix/tst-fnmatch.c: Likewise.
28058         * posix/tst-getlogin.c: Likewise.
28059         * posix/tst-gnuglob.c: Likewise.
28060         * posix/tst-mmap.c: Likewise.
28061         * pwd/tst-getpw.c: Likewise.
28062         * resolv/tst-inet_ntop.c: Likewise.
28063         * rt/tst-timer.c: Likewise.
28064         * stdio-common/test-fseek.c: Likewise.
28065         * stdio-common/test-popen.c: Likewise.
28066         * stdio-common/test-vfprintf.c: Likewise.
28067         * stdio-common/tst-cookie.c: Likewise.
28068         * stdio-common/tst-fileno.c: Likewise.
28069         * stdio-common/tst-gets.c: Likewise.
28070         * stdio-common/tst-obprintf.c: Likewise.
28071         * stdio-common/tst-perror.c: Likewise.
28072         * stdio-common/tst-sprintf2.c: Likewise.
28073         * stdio-common/tst-sprintf3.c: Likewise.
28074         * stdio-common/tst-sprintf.c: Likewise.
28075         * stdio-common/tst-swprintf.c: Likewise.
28076         * stdio-common/tst-tmpnam.c: Likewise.
28077         * stdio-common/tst-unbputc.c: Likewise.
28078         * stdio-common/tst-wc-printf.c: Likewise.
28079         * stdlib/tst-environ.c: Likewise.
28080         * stdlib/tst-fmtmsg.c: Likewise.
28081         * stdlib/tst-limits.c: Likewise.
28082         * stdlib/tst-rand48-2.c: Likewise.
28083         * stdlib/tst-rand48.c: Likewise.
28084         * stdlib/tst-random2.c: Likewise.
28085         * stdlib/tst-random.c: Likewise.
28086         * stdlib/tst-strtol.c: Likewise.
28087         * stdlib/tst-strtoll.c: Likewise.
28088         * stdlib/tst-tls-atexit.c: Likewise.
28089         * stdlib/tst-xpg-basename.c: Likewise.
28090         * string/test-ffs.c: Likewise.
28091         * string/tst-bswap.c: Likewise.
28092         * string/tst-inlcall.c: Likewise.
28093         * string/tst-strtok.c: Likewise.
28094         * string/tst-strxfrm.c: Likewise.
28095         * sysdeps/x86_64/tst-audit10.c: Likewise.
28096         * sysdeps/x86_64/tst-audit3.c: Likewise.
28097         * sysdeps/x86_64/tst-audit4.c: Likewise.
28098         * sysdeps/x86_64/tst-audit5.c: Likewise.
28099         * time/tst-ftime_l.c: Likewise.
28100         * time/tst-getdate.c: Likewise.
28101         * time/tst-mktime3.c: Likewise.
28102         * time/tst-mktime.c: Likewise.
28103         * time/tst-posixtz.c: Likewise.
28104         * time/tst-strptime2.c: Likewise.
28105         * time/tst-strptime3.c: Likewise.
28106         * wcsmbs/tst-btowc.c: Likewise.
28107         * wcsmbs/tst-mbrtowc.c: Likewise.
28108         * wcsmbs/tst-mbsrtowcs.c: Likewise.
28109         * wcsmbs/tst-wchar-h.c: Likewise.
28110         * wcsmbs/tst-wcpncpy.c: Likewise.
28111         * wcsmbs/tst-wcrtomb.c: Likewise.
28112         * wcsmbs/tst-wcsnlen.c: Likewise.
28113         * wcsmbs/tst-wcstof.c: Likewise.
28115 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
28117         [BZ #14132]
28118         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
28119         INTDEF.
28120         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
28121         declaration.
28122         (_dl_mcount): Use rtld_hidden_proto.
28123         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
28124         _dl_mcount.
28125         * elf/rtld.c (_rtld_global_ro): Likewise.
28127         [BZ #14132]
28128         * elf/dl-init.c (_dl_init): Don't use INTDEF.
28129         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
28130         of _dl_init_internal.
28131         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
28132         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
28133         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
28134         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
28135         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
28136         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
28137         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
28138         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
28139         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
28140         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
28141         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
28142         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
28143         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28144         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28145         * sysdeps/tile/dl-start.S (_start): Likewise.
28146         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
28147         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
28149         [BZ #14132]
28150         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
28151         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
28152         (rtld_progname): Make macro definition unconditional.
28153         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
28154         INTDEF.
28155         (dlmopen_doit): Do not use INTUSE with _dl_argv.
28156         (dl_main): Likewise.
28157         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28158         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
28159         instead of _dl_argv_internal.
28160         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28161         __GI__dl_argv instead of INTUSE(_dl_argv).
28162         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
28163         __GI__dl_argv instead of _dl_argv_internal.
28165         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
28166         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
28167         macro.
28168         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
28169         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
28170         New macro.
28171         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
28172         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
28173         macro.
28174         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
28175         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
28177 2014-11-04  Andreas Schwab  <schwab@suse.de>
28179         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
28181 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28183         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
28184         mtvsrd instruction in binary form.
28186 2014-11-03  Andreas Schwab  <schwab@suse.de>
28188         [BZ #17522]
28189         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
28190         for less than MB_LEN_MAX use a local buffer of that size.
28191         * libio/tst-fputws.c: New file.
28192         * libio/Makefile (tests): Add tst-fputws.
28194 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
28196         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
28197         the size of the fpu_fr.fpu_dregs[] array.
28199 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
28201         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
28202         (__nanosleep): Do not define as alias.
28203         (nanosleep): Define as alias of __nanosleep.
28204         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
28205         __libc_nanosleep name.
28207 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28209         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
28210         install.texi in comment.
28212 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28214         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
28215         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
28216         ... add here and use lwsync or sync ...
28217         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
28218         ... and add here using lwsync.
28220 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
28222         * elf/dl-machine-reject-phdr.h: New file.
28223         * elf/dl-load.c: #include that.
28224         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
28225         if that returned true.
28227 2014-10-31  Roland McGrath  <roland@hack.frob.com>
28229         [BZ #17496]
28230         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
28231         gen-as-const-headers chunk.  Add a big scare comment after the last
28232         safe place to touch before-compile.
28234 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28236         * manual/install.texi (Tools for Compilation): Update autoconf
28237         version requirements.
28238         * INSTALL: Regenerated.
28240         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
28241         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
28242         (__libc_pselect): Likewise.
28244         [BZ #14138]
28245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
28246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28250 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28252         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
28253         correct barrier instruction.
28254         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
28255         Likewise.
28256         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
28257         Likewise.
28259 2014-10-30  Roland McGrath  <roland@hack.frob.com>
28261         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
28262         after defining inlines.  Instead, just use parens to defeat macro
28263         expansion of __isctype in its declaration.
28265 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
28267         * include/sys/uio.h (__libc_readv): Remove declaration.
28268         (__libc_writev): Likewise.
28269         * misc/readv.c (__libc_readv): Rename to __readv.
28270         (__readv): Do not define as alias.
28271         (readv): Define as alias of __readv.
28272         * misc/writev.c (__libc_writev): Rename to __writev.
28273         (__writev): Do not define as alias.
28274         (writev): Define as alias of __writev.
28275         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
28276         (__readv): Do not define as alias.
28277         (readv): Define unconditionally as alias of __readv.
28278         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
28279         (__writev): Do not define as alias.
28280         (writev): Define unconditionally as alias of __writev.
28281         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
28282         name.
28283         (writev): Do not define __libc_writev name.
28285 2014-10-30  Roland McGrath  <roland@hack.frob.com>
28287         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
28288         (convert_charseq): New function, broken out of ...
28289         (use_from_charmap): ... here.  Call it.
28290         (use_to_charmap): Use convert_charseq and free instead of duplicating
28291         its code with a variable-length stack struct.
28293 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
28295         * include/fcntl.h (__libc_creat): Remove declaration.
28296         * io/creat.c (__libc_creat): Rename to creat.
28297         (creat): Do not define as alias.
28298         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
28299         of creat instead of __libc_creat.
28300         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
28301         to creat.
28302         (creat): Do not define as alias.
28303         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
28304         __libc_creat.
28305         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
28306         __libc_creat name.
28307         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
28308         Likewise.
28310 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
28312         * manual/llio.texi: Add comments discussing why write() may be
28313         considered MT-unsafe on Linux.
28315 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
28317         * dl-load.c (local_strdup): Remove.
28318         (expand_dynamic_string_token): Use __strdup.
28319         (decompose_rpath): Likewise.
28320         (_dl_map_object): Likewise.
28322 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
28324         [BZ #14132]
28325         * sysdeps/generic/unwind-dw2-fde.c
28326         (__register_frame_info_bases_internal): Do not declare.
28327         (__register_frame_info_table_bases_internal): Likewise.
28328         (__deregister_frame_info_bases_internal): Likewise.
28329         (__register_frame_info_bases): Declare and use hidden_proto before
28330         definition.  Use hidden_def instead of INTDEF.
28331         (__register_frame_info_table_bases): Likewise.
28332         (__deregister_frame_info_bases): Likewise.
28333         (__register_frame_info): Do not use INTUSE.
28334         (__register_frame): Likewise.
28335         (__register_frame_info_table): Likewise.
28336         (__register_frame_table): Likewise.
28337         (__deregister_frame_info): Likewise.
28338         (__deregister_frame): Likewise.
28340 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
28342         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28343         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
28344         not undefine.
28345         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
28346         Likewise.
28347         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
28348         Likewise.
28350 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
28352         [BZ #14138]
28353         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
28354         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
28355         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
28356         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
28357         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
28358         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
28359         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
28360         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
28361         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
28362         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
28363         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
28364         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
28365         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
28366         syscall.
28367         (setfsuid): Likewise.
28368         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
28369         (setfsuid): Likewise.
28370         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
28371         (setfsuid): Likewise.
28372         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
28373         Likewise.
28374         (setfsuid): Likewise.
28375         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
28376         (setfsuid): Likewise.
28377         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
28378         Likewise.
28379         (setfsuid): Likewise.
28381 2014-10-27  Andreas Schwab  <schwab@suse.de>
28383         [BZ #17501]
28384         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
28385         check for Slow_SSE4_2 feature bit.
28386         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
28387         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28388         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
28389         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
28391 2014-10-24  Roland McGrath  <roland@hack.frob.com>
28393         * configure.ac: Validate compiler version with a empirical test of
28394         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
28395         $CC -v output.
28396         * configure: Regenerated.
28398         * inet/htons.c (htons): Prototypify.
28399         * inet/htonl.c (htonl): Likewise.
28401 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28403         * string/strncat.c (strncat): Improve performance by using strlen.
28405 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28407         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
28409 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28411         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
28412         Call libc_fetestexcept_aarch64.
28414 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28416         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
28417         Call libc_feholdexcept_aarch64.
28419 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28421         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
28422         Call get_rounding_mode.
28424 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28426         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28427         Simplify logic.
28429 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28431         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
28432         Simplify logic.
28434 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
28436         [BZ #14138]
28437         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
28438         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
28439         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
28440         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
28441         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
28442         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
28443         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
28444         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
28445         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
28446         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
28447         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28448         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
28449         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
28450         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
28451         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
28452         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
28453         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
28454         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
28455         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
28456         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
28457         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
28458         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
28459         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
28460         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
28461         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
28462         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
28463         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
28464         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
28465         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
28466         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
28467         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
28468         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
28469         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
28470         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
28471         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
28472         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
28473         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
28474         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
28475         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
28476         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
28477         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
28478         syscall.
28479         (geteuid): Likewise.
28480         (getgid): Likewise.
28481         (getuid): Likewise.
28482         (getresgid): Likewise.
28483         (getresuid): Likewise.
28484         (getgroups): Likewise.
28485         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
28486         (geteuid): Likewise.
28487         (getgid): Likewise.
28488         (getuid): Likewise.
28489         (getresgid): Likewise.
28490         (getresuid): Likewise.
28491         (getgroups): Likewise.
28492         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
28493         (geteuid): Likewise.
28494         (getgid): Likewise.
28495         (getuid): Likewise.
28496         (getresgid): Likewise.
28497         (getresuid): Likewise.
28498         (getgroups): Likewise.
28499         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
28500         Likewise.
28501         (geteuid): Likewise.
28502         (getgid): Likewise.
28503         (getuid): Likewise.
28504         (getresgid): Likewise.
28505         (getresuid): Likewise.
28506         (getgroups): Likewise.
28507         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
28508         (geteuid): Likewise.
28509         (getgid): Likewise.
28510         (getuid): Likewise.
28511         (getresgid): Likewise.
28512         (getresuid): Likewise.
28513         (getgroups): Likewise.
28514         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
28515         Likewise.
28516         (geteuid): Likewise.
28517         (getgid): Likewise.
28518         (getuid): Likewise.
28519         (getgroups): Likewise.
28521         [BZ #14138]
28522         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
28523         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
28524         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
28525         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28526         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
28527         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
28528         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
28529         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
28530         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
28531         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
28532         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
28533         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
28534         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
28535         __chown.
28536         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
28537         (lchown): Likewise.
28538         (fchown): Likewise.
28539         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
28540         Likewise.
28541         (lchown): Likewise.
28542         (fchown): Likewise.
28543         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
28544         (lchown): Likewise.
28545         (fchown): Likewise.
28546         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
28547         Likewise.
28548         (lchown): Likewise.
28549         (fchown): Likewise.
28551 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28553         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
28554         Simplify logic.
28556 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28558         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28559         Cleanup logic.
28561 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28563         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28564         Remove unused include.
28566 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28568         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
28569         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
28570         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
28571         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
28573 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
28574             Helge Deller <deller@gmx.de>
28576         [BZ #17508]
28577         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
28578         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
28579         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
28581 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
28583         [BZ #14132]
28584         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
28585         Remove macro definition.
28586         (__ashrdi3_v_glibc20): Likewise.
28587         (__lshrdi3_v_glibc20): Likewise.
28588         (__cmpdi2_v_glibc20): Likewise.
28589         (__ucmpdi2_v_glibc20): Likewise.
28590         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
28591         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
28592         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
28593         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
28594         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
28595         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
28597 2014-10-22  Roland McGrath  <roland@hack.frob.com>
28599         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
28600         old GNU extension [0] syntax.
28601         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
28602         alloca rather than an array member with variable length.
28603         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
28604         * nscd/nscd.c (invalidate_db): New function, broken out of ...
28605         (parse_opt): ... here.  Likewise use alloca there.
28606         Validate the -i argument before checking for rootness.
28607         (send_shutdown): New function, broken out of ...
28608         (parse_opt): ... here.
28610 2014-10-22  Roland McGrath  <roland@hack.frob.com>
28612         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
28613         macro to get at the _rt_local_ro field.
28614         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
28615         ([PIC] case) or _dl_hwcap ([!PIC] case).
28616         * sysdeps/arm/setjmp.S: Likewise.
28618         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
28619         * sysdeps/arm/configure.ac: New check to define it.
28620         * sysdeps/arm/configure: Regenerated.
28621         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
28622         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
28623         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
28624         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
28625         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
28626         Use move/movt pair instead of a load.
28627         (LDST_GLOBAL): Macro removed.
28628         (LDR_GLOBAL): New macro replaces it.
28629         (LDR_HIDDEN): New macro.
28630         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
28631         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
28633         * setjmp/tst-setjmp-static.c: New file.
28634         * setjmp/Makefile (tests): Add it.
28635         (tests-static): New variable.
28637 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
28639         [BZ #17485]
28640         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
28642 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
28644         [BZ #14132]
28645         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
28647 2014-10-21  Roland McGrath  <roland@hack.frob.com>
28649         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
28651 2014-10-20  Roland McGrath  <roland@hack.frob.com>
28653         * io/fts.c (dirent_not_directory): New function.
28654         (fts_build): Call it.
28656 2014-10-20  Roland McGrath  <roland@hack.frob.com>
28658         * nptl/version.c (__nptl_main): Use normal __write rather than
28659         INTERNAL_SYSCALL.
28660         (banner): Update copyright years.
28662         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
28663         gettimeofday.
28664         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
28665         * nptl/pthread_cond_timedwait.c: Likewise.
28666         * nptl/pthread_mutex_timedlock.c: Likewise.
28667         * nptl/sem_timedwait.c: Likewise.
28669         * sysdeps/nptl/bits/libc-lock.h
28670         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
28671         (__libc_lock_init_recursive): Return void, not 0.
28672         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
28673         (__libc_rwlock_init): Likewise.
28674         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
28676 2014-10-20  Torvald Riegel  <triegel@redhat.com>
28678         [BZ #15215]
28679         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
28680         (__pthread_once_slow): ... here.
28681         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
28682         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
28684 2014-10-20  Torvald Riegel  <triegel@redhat.com>
28686         [BZ #15215]
28687         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
28688         __PTHREAD_ONCE_FORK_GEN_INCR): New.
28689         * sysdeps/nptl/fork.c (__libc_fork): Use them.
28690         * nptl/pthread_once.c (__pthread_once): Likewise.
28691         Update comments.
28693 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
28695         [BZ #14138]
28696         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
28697         name.
28698         (writev): Use __libc_writev as strong name.
28699         * sysdeps/unix/sysv/linux/readv.c: Remove file.
28700         * sysdeps/unix/sysv/linux/writev.c: Likewise.
28702 2014-10-17  Roland McGrath  <roland@hack.frob.com>
28704         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
28706         * sysdeps/i386/nptl/tls.h
28707         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
28708         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
28709         New macros.
28710         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
28711         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
28712         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
28713         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
28714         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
28715         Call CHECK_THREAD_SYSINFO instead of doing an assert.
28717         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28718         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
28719         on [__NR_futex].
28720         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
28721         broken out of ...
28722         (__pthread_mutex_init): ... here.  Call it.
28723         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
28724         Conditionalize PI cases on [__NR_futex].
28725         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
28726         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
28727         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
28729         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
28730         conditional on [SIGSETXID].
28731         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
28732         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
28733         is defined.  Likewise for SIGSETXID.
28734         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
28735         Conditionalize definitions on [SIGSETXID].
28736         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
28737         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
28738         unblocking on [SIGCANCEL].
28740         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
28741         [__NR_set_robust_list].
28743 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28745         * string/strcoll_l.c (get_next_seq): Fix up formatting.
28746         (do_compare): Likewise.
28748 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
28750         [BZ #15884]
28751         * string/strcoll_l.c: Don't include stdio.h.
28752         (coll_seq): Remove members idxarr and rulearr.
28753         (get_next_seq_cached): Remove function.
28754         (get_next_seq): Likewise.
28755         (get_next_seq_nocache): Rename to get_next_seq.
28756         (do_compare): Remove function.
28757         (do_compare_nocache): Rename to do_compare.
28758         (STRCOLL): Remove weight and rules cache.
28760 2014-10-16  Roland McGrath  <roland@hack.frob.com>
28762         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
28763         * sysdeps/arm/sfp-machine.h: ... to here.
28764         * sysdeps/arm/Implies: Remove arm/soft-fp.
28766 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
28768         * conform/data/sys/utsname.h-data (*_t): Allow.
28769         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
28770         [POSIX] (WEXITED): Do not expect constant.
28771         [POSIX] (WSTOPPED): Likewise.
28772         [POSIX] (WNOHANG): Likewise.
28773         [POSIX] (WNOWAIT): Likewise.
28774         [POSIX] (siginfo_t): Do not expect type or elements.
28775         [POSIX] (pid_t): Do not expect type.
28776         [POSIX] (signal.h): Do not allow header.
28777         [POSIX] (sys/resource.h): Likewise.
28778         [POSIX] (si_*): Do not allow pattern.
28779         [POSIX] (W*): Likewise.
28780         [POSIX] (P_*): Likewise.
28781         [POSIX] (BUS_*): Likewise.
28782         [POSIX] (CLD_*): Likewise.
28783         [POSIX] (FPE_*): Likewise.
28784         [POSIX] (ILL_*): Likewise.
28785         [POSIX] (POLL_*): Likewise.
28786         [POSIX] (SEGV_*): Likewise.
28787         [POSIX] (SI_*): Likewise.
28788         [POSIX] (TRAP_*): Likewise.
28789         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
28790         variable.
28792 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
28794         [BZ #12926]
28795         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
28796         infinite loop when __recvmsg returns 0.
28798 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
28800         * CANCEL-FCT-WAIVE: Remove file.
28801         * CANCEL-FILE-WAIVE: Likewise.
28803         [BZ #14132]
28804         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
28805         instead of INTVARDEF.
28806         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
28807         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
28808         rtld_hidden_data_def instead of INTVARDEF.
28809         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
28810         * elf/dl-deps.c (expand_dst): Likewise.
28811         * elf/dl-load.c (_dl_dst_count): Likewise.
28812         (_dl_dst_substitute): Likewise.
28813         (decompose_rpath): Likewise.
28814         (_dl_init_paths): Likewise.
28815         (open_path): Likewise.
28816         (_dl_map_object): Likewise.
28817         * elf/rtld.c (dl_main): Likewise.
28818         (process_dl_audit): Likewise.
28819         (process_envvars): Likewise.
28820         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
28821         Remove declaration.
28822         (__libc_enable_secure): Use rtld_hidden_proto.
28824 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28826         * elf/dl-load.c
28827         (add_path): New function broken out of _dl_rtld_di_serinfo.
28828         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
28830 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
28832         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
28833         parentheses around macro arguments.
28834         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
28835         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
28836         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
28837         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
28838         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
28839         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
28840         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
28841         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
28842         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
28843         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
28844         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
28845         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
28846         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
28847         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
28848         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
28849         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
28850         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
28851         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
28852         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
28853         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
28854         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
28855         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
28856         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
28857         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
28858         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
28859         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
28860         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
28861         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
28862         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
28863         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
28864         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
28865         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
28866         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
28867         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
28868         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
28869         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
28870         Likewise.
28871         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
28872         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
28873         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
28874         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
28875         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
28876         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
28877         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
28878         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
28879         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
28880         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
28881         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
28882         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
28883         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
28884         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
28885         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
28886         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
28887         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
28888         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
28889         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
28890         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
28891         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
28892         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
28893         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
28894         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
28895         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
28896         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
28897         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
28898         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
28899         (_FP_FRAC_SRS_1): Likewise.
28900         (_FP_FRAC_CLZ_1): Likewise.
28901         (_FP_MUL_MEAT_1_imm): Likewise.
28902         (_FP_MUL_MEAT_1_wide): Likewise.
28903         (_FP_MUL_MEAT_1_hard): Likewise.
28904         (_FP_SQRT_MEAT_1): Likewise.
28905         (_FP_FRAC_ASSEMBLE_1): Likewise.
28906         (_FP_FRAC_DISASSEMBLE_1): Likewise.
28907         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
28908         (__FP_CLZ_2): Likewise.
28909         (_FP_MUL_MEAT_2_wide): Likewise.
28910         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
28911         (_FP_MUL_MEAT_2_gmp): Likewise.
28912         (_FP_MUL_MEAT_2_120_240_double): Likewise.
28913         (_FP_SQRT_MEAT_2): Likewise.
28914         (_FP_FRAC_ASSEMBLE_2): Likewise.
28915         (_FP_FRAC_DISASSEMBLE_2): Likewise.
28916         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
28917         (_FP_FRAC_CLZ_4): Likewise.
28918         (_FP_MUL_MEAT_4_wide): Likewise.
28919         (_FP_MUL_MEAT_4_gmp): Likewise.
28920         (_FP_SQRT_MEAT_4): Likewise.
28921         (_FP_FRAC_ASSEMBLE_4): Likewise.
28922         (_FP_FRAC_DISASSEMBLE_4): Likewise.
28923         * soft-fp/op-common.h (_FP_CMP): Likewise.
28924         (_FP_CMP_EQ): Likewise.
28925         (_FP_CMP_UNORD): Likewise.
28926         (_FP_TO_INT): Likewise.
28927         (_FP_FROM_INT): Likewise.
28928         [!__FP_CLZ] (__FP_CLZ): Likewise.
28929         (_FP_DIV_HELP_imm): Likewise.
28930         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
28931         Likewise.
28932         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
28933         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
28934         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
28935         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
28936         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
28937         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
28938         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
28939         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
28940         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
28941         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
28942         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
28943         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
28944         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
28945         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
28946         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
28947         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
28948         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
28949         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
28950         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
28951         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
28952         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
28953         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
28954         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
28955         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
28956         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
28957         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
28958         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
28959         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
28960         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
28961         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
28962         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
28963         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
28964         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
28965         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
28966         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
28967         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
28968         (FP_UNPACK_RAW_SP): Likewise.
28969         (FP_PACK_RAW_S): Likewise.
28970         (FP_PACK_RAW_SP): Likewise.
28971         (FP_UNPACK_S): Likewise.
28972         (FP_UNPACK_SP): Likewise.
28973         (FP_UNPACK_SEMIRAW_S): Likewise.
28974         (FP_UNPACK_SEMIRAW_SP): Likewise.
28975         (FP_PACK_S): Likewise.
28976         (FP_PACK_SP): Likewise.
28977         (FP_PACK_SEMIRAW_S): Likewise.
28978         (FP_PACK_SEMIRAW_SP): Likewise.
28979         (_FP_SQRT_MEAT_S): Likewise.
28980         (FP_CMP_S): Likewise.
28981         (FP_CMP_EQ_S): Likewise.
28982         (FP_CMP_UNORD_S): Likewise.
28983         (FP_TO_INT_S): Likewise.
28984         (FP_FROM_INT_S): Likewise.
28986         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
28988         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
28989         (FP_EX_INVALID_IMZ): Likewise.
28990         (FP_EX_INVALID_IMZ_FMA): Likewise.
28991         (FP_EX_INVALID_ISI): Likewise.
28992         (FP_EX_INVALID_ZDZ): Likewise.
28993         (FP_EX_INVALID_IDI): Likewise.
28994         (FP_EX_INVALID_SQRT): Likewise.
28995         (FP_EX_INVALID_CVI): Likewise.
28996         (FP_EX_INVALID_VC): Likewise.
28997         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
28998         "invalid" exceptions.
28999         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
29000         (_FP_ADD_INTERNAL): Likewise.
29001         (_FP_MUL): Likewise.
29002         (_FP_FMA): Likewise.
29003         (_FP_DIV): Likewise.
29004         (_FP_CMP_CHECK_NAN): Likewise.
29005         (_FP_SQRT): Likewise.
29006         (_FP_TO_INT): Likewise.
29007         (FP_EXTEND): Likewise.
29009 2014-10-09  Allan McRae  <allan@archlinux.org>
29011         * po/fr.po: Update French translation from translation project.
29013 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29015         [BZ #14132]
29016         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
29017         of INTDEF.
29018         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
29019         (__cxa_atexit): Use libc_hidden_proto.
29020         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
29022         [BZ #14132]
29023         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
29024         declaration.
29025         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
29026         [!_ISOMAC] (__iswspace_l_internal): Likewise.
29027         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
29028         [!_ISOMAC] (__iswctype_internal): Likewise.
29029         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
29030         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
29031         alias.
29032         (fcntl): Remove __fcntl_internal alias.
29033         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
29034         __connect_internal alias.
29035         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
29036         Likewise.
29038         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
29039         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
29040         FP_DENORM_ZERO.
29041         (_FP_CHECK_FLUSH_ZERO): New macro.
29042         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
29043         (_FP_CMP): Likewise.
29044         (_FP_CMP_EQ): Likewise.
29045         (_FP_TO_INT): Do not set inexact for subnormal arguments if
29046         FP_DENORM_ZERO.
29047         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
29048         (FP_TRUNC): Likewise.
29050         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
29051         treated as invalid conversion, not as normal exponent.
29053         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
29054         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
29055         (_FP_CMP_EQ): Likewise.
29056         (_FP_CMP_UNORD): Likewise.
29057         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
29058         (FP_CMP_EQ_D): Likewise.
29059         (FP_CMP_UNORD_D): Likewise.
29060         * soft-fp/extended.h (FP_CMP_E): Likewise.
29061         (FP_CMP_EQ_E): Likewise.
29062         (FP_CMP_UNORD_E): Likewise.
29063         * soft-fp/quad.h (FP_CMP_Q): Likewise.
29064         (FP_CMP_EQ_Q): Likewise.
29065         (FP_CMP_UNORD_Q): Likewise.
29066         * soft-fp/single.h (FP_CMP_S): Likewise.
29067         (FP_CMP_EQ_S): Likewise.
29068         (FP_CMP_UNORD_S): Likewise.
29069         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
29070         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
29071         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
29072         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
29073         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
29074         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
29075         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
29076         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
29077         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
29078         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
29079         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
29080         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
29081         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
29082         to FP_CMP_Q.
29083         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
29084         FP_CMP_Q.
29085         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
29086         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
29087         FP_CMP_EQ_Q.
29088         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
29089         FP_CMP_Q.
29090         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
29091         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
29092         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
29093         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
29094         FP_CMP_EQ_Q.
29095         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
29096         FP_CMP_Q.
29097         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
29098         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
29099         FP_CMP_EQ_Q.
29100         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
29101         FP_CMP_Q.
29102         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
29103         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
29104         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
29105         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
29106         FP_CMP_EQ_Q.
29108         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
29109         a subnormal result, set the underflow exception if trapping on
29110         underflow is enabled.
29111         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
29112         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
29113         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
29114         redefine to 0.
29115         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
29116         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
29117         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
29118         * soft-fp/extendxftf2.c (__extendxftf2): Use
29119         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
29121         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
29122         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
29123         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29124         FP_HANDLE_EXCEPTIONS.
29125         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
29126         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29127         FP_HANDLE_EXCEPTIONS.
29128         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
29129         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29130         FP_HANDLE_EXCEPTIONS.
29131         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
29132         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29133         FP_HANDLE_EXCEPTIONS.
29135 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
29137         [BZ #14132]
29138         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
29139         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
29140         use INTUSE.
29141         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
29142         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
29143         Remove alias.
29144         (__adjtimex): Define using libc_hidden_ver.
29145         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
29146         Remove declaration.
29147         (ntp_gettime): Call __adjtimex directly.
29148         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
29149         Remove declaration.
29150         (ntp_gettimex): Call __adjtimex directly.
29151         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
29152         __adjtimex_internal alias.
29154 2014-10-08  Roland McGrath  <roland@hack.frob.com>
29156         [BZ #17460]
29157         * nscd/nscd.c (more_help): Rewrite list of tables collection
29158         using xstrdup and asprintf.
29160         * nscd/nscd_conf.c: Remove local xstrdup declaration.
29162 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29163             Roland McGrath  <roland@hack.frob.com>
29165         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
29166         (do_lookup_unique): ... local function 'enter' here; update callers.
29168 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
29170         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
29171         compat_symbol calls on [SHARED].
29172         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
29173         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
29174         Remove.
29175         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29176         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
29177         (oldsetrlimit): Remove.
29178         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29180         (lchown): New syscall entry.
29181         (oldsetrlimit): Remove.
29182         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29183         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
29184         (oldsetrlimit): Remove.
29185         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29187         [BZ #14138]
29188         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
29189         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
29190         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
29191         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
29192         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29193         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
29194         (fchown): Likewise.
29195         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
29196         (fchown): Likewise.
29197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
29198         Likewise.
29200 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29202         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
29203         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
29204         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
29205         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
29206         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
29207         Likewise.
29208         (__old_sem_post): Likewise.
29210 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
29212         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
29213         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
29214         HAVE_CLOCK_GETTIME_VSYSCALL macros.
29215         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
29216         Use INLINE_VSYSCALL macro.
29217         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
29218         __vdso_clock_gettime.
29219         * sysdeps/unix/sysv/linux/tile/init-first.c
29220         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
29221         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
29222         __vdso_clock_gettime.
29224         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
29225         to set up frame more cleanly.
29227         * sysdeps/tile/memcmp.c: New file.
29229         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
29231         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
29232         * sysdeps/tile/tilegx/strcasestr.c: New file.
29233         * sysdeps/tile/tilegx/strnlen.c: New file.
29234         * sysdeps/tile/tilegx/strstr.c: New file.
29236         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
29238 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
29240         * nptl/tst-setuid3.c: Write errors to stdout.
29242 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29244         * elf/dl-deps.c
29245         (preload): New functions broken out of _dl_map_object_deps.
29246         (_dl_map_object_deps):  Remove a nested function. Update call sites.
29248 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
29250         [BZ #14138]
29251         * sysdeps/unix/sysv/linux/execve.c: Remove file.
29252         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
29254 2014-10-01  Steve Ellcey  <sellcey@mips.com>
29256         * sysdeps/mips/strcmp.S: New.
29258 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
29260         [BZ #14138]
29261         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
29262         (linkat): Likewise.
29263         (mkdirat): Likewise.
29264         (readlinkat): Likewise.
29265         (renameat): Likewise.
29266         (symlinkat): Likewise.
29267         (unlinkat): Likewise.
29268         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
29269         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
29270         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
29271         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
29272         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
29273         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
29274         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
29276 2014-09-30  Will Newton  <will.newton@linaro.org>
29278         * math/math.h: Define long double math functions if
29279         _LIBC_TEST is defined.
29280         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
29282         * localedata/Makefile: Move assignment to tests-special
29283         into an ifdef testing run-built-tests.
29284         * timezone/Makefile: Likewise.
29286 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
29288         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
29289         with $(BASH) not $(SHELL).
29291 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
29292             Matthew LeGendre  <legendre1@llnl.gov>
29294         [BZ #17411]
29295         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
29296         l_reloc_result.
29298 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29300         * stdio-common/printf_fp.c
29301         (hack_digit): New function, broken out of ...
29302         (__printf_fp): ... local function here.  Update call sites.
29303         hack_digit now takes an additional parameter that is a pointer
29304         to a struct of the referenced locals.  Those locals moved inside
29305         the struct and references updated.
29307 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
29309         * aclocal.m4: Require autoconf 2.69.
29310         * configure: Regenerated.
29311         * sysdeps/aarch64/configure: Likewise.
29312         * sysdeps/alpha/configure: Likewise.
29313         * sysdeps/arm/armv7/configure: Likewise.
29314         * sysdeps/arm/configure: Likewise.
29315         * sysdeps/ia64/configure: Likewise.
29316         * sysdeps/mach/configure: Likewise.
29317         * sysdeps/mips/configure: Likewise.
29318         * sysdeps/s390/configure: Likewise.
29319         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
29320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
29322         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
29323         file.
29324         * sysdeps/ia64/configure.ac: Likewise.
29326 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
29328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
29329         specify symbol version for ld.so.  Do not include entry for
29330         libpthread.
29331         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29332         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29333         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29335         [BZ #14171]
29336         * Makeconfig [$(build-shared) = yes]
29337         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
29338         makefiles.
29339         [$(build-shared) = yes && $(soversions.mk-done) = t]
29340         ($(common-objpfx)gnu/lib-names.h): Remove rule.
29341         [$(build-shared) = yes && $(soversions.mk-done) = t]
29342         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
29343         to Makerules.
29344         [$(build-shared) = yes && $(soversions.mk-done) = t]
29345         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
29346         here.
29347         [$(build-shared) = yes && $(soversions.mk-done) = t]
29348         (common-generated): Don't append gnu/lib-names.h and
29349         gnu/lib-names.stmp here.
29350         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
29351         (lib-names-h-abi): New variable.
29352         [$(build-shared) = yes && $(soversions.mk-done) = t]
29353         (lib-names-stmp-abi): Likewise.
29354         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29355         abi-variants] (before-compile): Append
29356         $(common-objpfx)$(lib-names-h-abi).
29357         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29358         abi-variants] (common-generated): Append gnu/lib-names.h.
29359         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29360         abi-variants] (install-others-nosubdir): Depend on
29361         $(inst_includedir)/$(lib-names-h-abi).
29362         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29363         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
29364         [$(build-shared) = yes && $(soversions.mk-done) = t]
29365         ($(common-objpfx)$(lib-names-h-abi)): New rule.
29366         [$(build-shared) = yes && $(soversions.mk-done) = t]
29367         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
29368         [$(build-shared) = yes && $(soversions.mk-done) = t]
29369         (common-generated): Append $(lib-names-h-abi) and
29370         $(lib-names-stmp-abi).
29371         * scripts/lib-names.awk: Do not handle multi being set.
29372         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
29373         Remove variable.
29374         (abi-lp64_be-ld-soname): Likewise.
29375         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
29376         Likewise.
29377         (abi-hard-ld-soname): Likewise.
29378         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
29379         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
29380         Remove variable.
29381         (abi-o32_hard-ld-soname): Likewise.
29382         (abi-o32_soft_2008-ld-soname): Likewise.
29383         (abi-o32_hard_2008-ld-soname): Likewise.
29384         (abi-n32_soft-ld-soname): Likewise.
29385         (abi-n32_hard-ld-soname): Likewise.
29386         (abi-n32_soft_2008-ld-soname): Likewise.
29387         (abi-n32_hard_2008-ld-soname): Likewise.
29388         (abi-n64_soft-ld-soname): Likewise.
29389         (abi-n64_hard-ld-soname): Likewise.
29390         (abi-n64_soft_2008-ld-soname): Likewise.
29391         (abi-n64_hard_2008-ld-soname): Likewise.
29392         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
29393         Likewise.
29394         (abi-64-v2-ld-soname): Likewise.
29395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
29396         ld.so entries.
29397         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
29398         variable.
29399         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
29400         entry.
29401         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
29402         variable.
29403         (abi-64-ld-soname): Likewise.
29404         (abi-x32-ld-soname): Likewise.
29405         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
29406         entry.
29407         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29409 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
29411         [BZ #14138]
29412         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
29413         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
29414         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
29415         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
29416         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
29417         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
29418         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
29419         syscall entry for GLIBC_2.2 symbol version.
29420         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
29421         Likewise.
29422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29423         (setrlimit): Likewise.
29424         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
29425         Likewise.
29427 2014-09-23  Will Newton  <will.newton@linaro.org>
29429         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
29430         _LINUX_ARM_SYSDEP_H include guard too.
29431         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
29432         define.
29434 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29436         * sysdeps/unix/sysv/linux/eventfd.c:
29437         Make first argument unsigned.
29438         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
29439         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
29441 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
29443         [BZ #16852]
29444         * socket/recvmmsg.c (recvmmsg): Drop const argument.
29445         * socket/sys/socket.h: Likewise.
29446         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
29448 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29450         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
29452 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
29454         * time/tst-ftime.c: New test.
29455         * time/Makefile (tests): Add tst-ftime.
29457 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
29459         * soft-fp/extended.h: Fix comment formatting.
29460         * soft-fp/op-1.h: Likewise.
29461         * soft-fp/op-2.h: Likewise.
29462         * soft-fp/op-4.h: Likewise.
29463         * soft-fp/op-8.h: Likewise.
29464         * soft-fp/op-common.h: Likewise.
29465         * soft-fp/soft-fp.h: Likewise.
29467         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
29469 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
29471         [BZ #6652]
29472         * Makeconfig (soversions-default-setname): Remove variable.
29473         ($(common-objpfx)soversions.i): Don't pass default_setname to
29474         soversions.awk.
29475         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
29476         oldest_abi to abi-versions.awk.
29477         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
29478         * config.make.in (oldest-abi): Remove variable.
29479         * configure.ac (--enable-oldest-abi): Remove configure option.
29480         * configure: Regenerated.
29481         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
29482         text.
29483         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
29484         * scripts/soversions.awk: Do not handle default_setname variable.
29485         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
29486         variable.
29487         * sysdeps/mach/hurd/configure: Regenerated.
29488         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
29489         variable.
29490         * sysdeps/unix/sysv/linux/configure: Regenerated.
29492 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29494         * elf/Makefile (CFLAGS-interp.c): Remove.
29495         ($(elf-objpfx)runtime-linker.h): Generate header with linker
29496         path string.
29497         * elf/interp.c: Include generated runtime-linker.h
29499         * Makerules (lib%.so): Don't include $(+interp) in
29500         prerequisites.
29501         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
29502         * dlfcn/eval.c: Remove file.
29504         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
29505         macros.
29507         [BZ #17266]
29508         * misc/sys/cdefs.h: Define __extern_always_inline for clang
29509         4.2 and newer.
29511         [BZ #17370]
29512         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
29514 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29515             Jakub Jelinek  <jakub@redhat.com>
29517         [BZ #17266]
29518         * libio/stdio.h: Check definition of __fortify_function
29519         instead of __extern_always_inline to include bits/stdio2.h.
29520         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
29521         check if __extern_always_inline is defined.
29522         [__USE_MISC || __USE_XOPEN]: Likewise.
29523         [__USE_ISOC99] Likewise.
29524         * misc/sys/cdefs.h (__fortify_function): Define only if
29525         __extern_always_inline is defined.
29526         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
29527         __extern_always_inline and __extern_inline only for g++-4.3
29528         and newer or a compatible gcc.
29530 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
29532         [BZ #17371]
29533         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
29534         last change to handle zero prefix length.
29536 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29538         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
29539         _SC_REGEX_VERSION.
29541         * posix/getconf.c (vars): Add _POSIX_IPV6 and
29542         _POSIX_RAW_SOCKETS.
29544 2014-09-13  Allan McRae  <allan@archlinux.org>
29546         * po/ru.po: Update Russian translation from translation project.
29548 2014-09-12  Roland McGrath  <roland@hack.frob.com>
29550         * locale/programs/locale.c (show_locale_vars): Inline local function
29551         into its sole call site.  Clean up some style nits.
29552         (print_item): New function, broken out of ...
29553         (show_info): ... local function here.  Clean up style nits.
29555         * locale/programs/ld-ctype.c (set_one_default): New function, broken
29556         out of ...
29557         (set_class_defaults): ... local function set_default here.
29558         Define set_default as a macro locally to pass constant parameters.
29559         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
29560         rather than a shared local.
29562         * stdlib/rpmatch.c (try): New function, broken out of ...
29563         (rpmatch): ... local function here.  Also, prototypify definition.
29565 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
29567         * scripts/soversions.awk: Do not handle configuration names.
29568         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
29569         vendor and os variables to soversions.awk.
29570         * configure.ac: Do not modify gnu-* host_os.
29571         * configure: Regenerated
29572         * shlib-versions: Remove first column with configuration names.
29573         * nptl/shlib-versions: Likewise.
29574         * nptl_db/shlib-versions: Likewise.
29575         * sysdeps/hppa/shlib-versions: Likewise.
29576         * sysdeps/m68k/shlib-versions: Likewise.
29577         * sysdeps/mach/hurd/shlib-versions: Likewise.
29578         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
29579         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
29580         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
29581         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
29582         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
29583         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
29584         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
29585         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
29586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
29587         Likewise.
29588         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29589         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
29590         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
29591         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
29592         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
29593         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
29594         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29595         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
29598         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
29599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
29600         Regenerated.
29601         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
29602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
29603         Condition symbol version definitions on [HAVE_ELFV2_ABI].
29605         * shlib-versions: Remove OS-specific entries.  Moved to files in
29606         sysdeps.
29607         * sysdeps/mach/hurd/shlib-versions: New file.
29608         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
29610         * nptl/shlib-versions: Remove architecture-specific entries.
29611         Moved to files in sysdeps.
29612         * shlib-versions: Likewise.
29613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
29614         file.
29615         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29616         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
29617         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
29618         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
29620         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
29621         (UDP_NO_CHECK6_RX): Likewise.
29623 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29625         * sysdeps/posix/sysconf.c (__sysconf): Spell
29626         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
29628 2014-08-12  Florian Weimer  <fweimer@redhat.com>
29630         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
29631         loading.
29632         * iconv/Versions (__gconv_transliterate): Export for use from
29633         gconv modules.
29634         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
29635         (struct __gconv_trans_data, __gconv_trans_fct,
29636         __gconv_trans_context_fct, __gconv_trans_query_fct,
29637         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
29638         definitions.
29639         (struct __gconv_step_data): Remove __trans member.
29640         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
29641         longer hidden.  Remove unused trans_data argument.
29642         * iconv/gconv_int.h (struct trans_struct): Remove definition.
29643         (__gconv_translit_find): Remove declaration.
29644         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
29645         prototype.
29646         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
29647         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
29648         trans_data argument.  Add hidden definition.
29649         (__gconv_translit_find): Remove.
29650         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
29651         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
29652         * iconv/skeleton.c: Remove transliteration initialization.
29653         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
29654         __gconv_step_data initialization.
29655         * libio/iofwide.c (__libio_translit_): Remove.
29656         (_IO_fwide): Adjust struct __gconv_step_data initialization.
29657         * wcsmbs/btowc.c (__btowc): Likewise.
29658         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
29659         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
29660         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
29661         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
29662         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
29663         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
29664         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
29665         * wcsmbs/wctob.c (wctob): Likewise.
29667 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29669         [BZ #16194]
29670         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
29671         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
29672         register usage.
29673         * sysdeps/x86/Makefile: Adjust.
29675 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29676             Roland McGrath  <roland@hack.frob.com>
29678         * locale/weight.h: Add include guard.
29679         (findidx): Make static rather than auto; take new parameters
29680         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
29681         * locale/weightwc.h: Likewise.
29682         * posix/fnmatch_loop.c
29683         (FCT): Change type of EXTRA from int32_t to wint_t.
29684         Don't include either header inside the function.
29685         Call FINDIDX rather than findidx, and pass new arguments.
29686         #undef FINDIDX at the end of the file.
29687         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
29688         FINDIDX before including fnmatch_loop.c for the non-wide version.
29689         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
29690         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
29691         for the wide version.
29692         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
29693         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
29694         Pass new arguments to findidx.
29695         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
29696         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
29697         Don't #include it inside the function.  Pass new arguments to findidx.
29698         * posix/regex_internal.h
29699         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
29700         (re_string_elem_size_at): Don't #include it inside the function.
29701         Pass new arguments to findidx.
29702         * string/strcoll_l.c: #include WEIGHT_H at top level.
29703         (get_next_seq): Don't #include it inside the function.
29704         Pass new arguments to findidx.
29705         (get_next_seq_nocache): Likewise.
29706         * string/strxfrm_l.c: #include WEIGHT_H at top level.
29707         (STRXFRM): Don't #include it inside the function.
29708         Pass new arguments to findidx.
29710 2014-09-11  Florian Weimer  <fweimer@redhat.com>
29712         [BZ #17344]
29713         * malloc/malloc.c (unlink): Turn asserts into a call to
29714         malloc_printerr.
29716 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
29718         [BZ #17370]
29719         * libio/wfileops (do_ftell_wide): Free OUT.
29721 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
29723         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
29725 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29727         [BZ #17363]
29728         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
29729         group if the current group is empty.
29731 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29733         * benchtests/bench-memset.c (test_main): Add more test from size
29734         from 32 to 512 bytes.
29735         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29736         Add POWER8 memset object.
29737         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29738         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
29739         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
29740         implementation.
29741         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
29742         Likewise.
29743         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
29744         multiarch POWER8 memset optimization.
29745         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
29746         POWER8 memset optimization.
29748         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29749         Remove bzero multiarch objects.
29750         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
29751         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
29752         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
29753         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
29754         Remove define.
29755         [__bzero]: Redefine to specific name.
29756         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
29757         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
29758         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
29759         define.
29760         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29761         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
29763 2014-09-10  Florian Weimer  <fweimer@redhat.com>
29765         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
29766         warnings into errors.
29768         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
29769         __cxa_thread_atexit_impl prototype.
29771 2014-09-09  Steve Ellcey  <sellcey@mips.com>
29773         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
29774         Fix capitalization of error message.
29776 2014-09-09  Steve Ellcey  <sellcey@mips.com>
29778         * sysdeps/mips/preconfigure: Modify ABI tests.
29780 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
29782         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
29784 2014-09-07  Roland McGrath  <roland@hack.frob.com>
29785             Carlos O'Donell  <carlos@systemhalted.org>
29787         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
29788         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
29789         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
29790         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
29791         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
29792         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
29793         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
29794         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
29795         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
29796         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
29797         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
29798         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
29799         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
29800         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
29801         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
29802         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
29803         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
29804         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
29805         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
29806         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
29807         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
29808         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
29809         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
29810         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
29811         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
29812         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
29813         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
29814         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
29815         Deconditionalize the code that was previously under [RESET_PID].
29816         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
29817         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
29818         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
29819         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
29820         include sysdep.h.
29822 2014-09-08  Allan McRae  <allan@archlinux.org>
29824         * version.h (RELEASE): Set to "development".
29825         (VERSION): Set to "2.20.90"
29827 2014-09-07  Allan McRae  <allan@archlinux.org
29829         * version.h (RELEASE): Set to "stable".
29830         (VERSION): Set to "2.20"
29831         * include/features.h (__GLIBC_MINOR__): Set to 20.
29833         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
29834         Liebler.
29836         * po/ko.po: Update Korean translation from translation project.
29838 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
29840         [BZ #17354]
29841         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
29842         macro for handling signed relocations.
29844 2014-09-03  Florian Weimer  <fweimer@redhat.com>
29846         [BZ #17325]
29847         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
29848         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
29849         assert.
29850         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
29851         * iconvdata/ibm935.c (BODY): Likewise.
29852         * iconvdata/ibm937.c (BODY): Likewise.
29853         * iconvdata/ibm939.c (BODY): Likewise.
29854         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
29855         assert.
29856         * iconvdata/Makefile (iconv-test.out): Pass module list to test
29857         script.
29858         * iconvdata/run-iconv-test.sh: New test loop for checking for
29859         decoder crashers.
29861 2014-09-02  Khem Raj  <raj.khem@gmail.com>
29863         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
29864         libm_hidden_ver.
29866 2014-09-01  Allan McRae  <allan@archlinux.org>
29868         * po/eo.po: Update Esperanto translation from translation project.
29870         * po/ca.po: Update Catalan translation from translation project.
29872 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29874         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
29875         __proc_dostop call.
29877 2014-08-27  Mark Wielaard  <mjw@redhat.com>
29879         [BZ #17319]
29880         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
29881         to call set_thread_area instead of hand written asm.
29882         (__NR_set_thread_area): Removed define.
29883         (TLS_FLAG_WRITABLE): Likewise.
29884         (__ASSUME_SET_THREAD_AREA): Remove check.
29885         (TLS_EBX_ARG): Remove define.
29886         (TLS_LOAD_EBX): Likewise.
29888 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29890         Simplify atomicity of socket creation in bind.
29892         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
29893         looking up the name after linking the file.
29895 2014-08-27  Allan McRae  <allan@archlinux.org>
29897         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29899 2014-08-26  Florian Weimer  <fweimer@redhat.com>
29901         [BZ #17187]
29902         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
29903         trans_compare, open_translit, __gconv_translit_find):
29904         Remove module loading code.
29906 2014-08-26  Allan McRae  <allan@archlinux.org>
29908         * po/vi.po: Update Vietnamese translation from translation project.
29910         * po/uk.po: Update Ukrainian translation from translation project.
29912         * po/fr.po: Update French translation from translation project.
29914         * po/ru.po: Update Russian translation from translation project.
29916         * po/pl.po: Update Polish translation from translation project.
29918         * po/cs.po: Update Czech translation from translation project.
29920         * po/de.po: Update German translation from translation project.
29922         * po/bg.po: Update Bulgarian translation from translation project.
29924         * po/sv.po: Update Sweedish translation from translation project.
29926         * po/nl.po: Update Dutch translation from translation project.
29928         * po/es.po: Update Spanish translation from translation project.
29930 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29932         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
29934         * catgets/Makefile (CPPFLAGS-gencat): Remove.
29935         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
29936         (CPPFLAGS-iconvconfig): Likewise.
29937         * timezone/Makefile (CPPFLAGS-zic): Likewise.
29939         * include/libc-symbols.h: Remove unnecessary check for
29940         NOT_IN_libc.
29941         * nptl/pthreadP.h: Likewise.
29942         * sysdeps/aarch64/setjmp.S: Likewise.
29943         * sysdeps/alpha/setjmp.S: Likewise.
29944         * sysdeps/arm/sysdep.h: Likewise.
29945         * sysdeps/i386/setjmp.S: Likewise.
29946         * sysdeps/m68k/setjmp.c: Likewise.
29947         * sysdeps/posix/getcwd.c: Likewise.
29948         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29949         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
29950         * sysdeps/s390/s390-32/setjmp.S: Likewise.
29951         * sysdeps/s390/s390-64/setjmp.S: Likewise.
29952         * sysdeps/sh/sh3/setjmp.S: Likewise.
29953         * sysdeps/sh/sh4/setjmp.S: Likewise.
29954         * sysdeps/unix/alpha/sysdep.h: Likewise.
29955         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29956         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29957         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
29958         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29961         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29962         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29963         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29964         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29965         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29966         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29967         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29968         * sysdeps/x86_64/setjmp.S: Likewise.
29970 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
29972         [BZ #17263]
29973         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
29974         <stdint.h>.
29975         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
29976         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
29978 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29980         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
29982         [BZ #17262]
29983         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
29984         and __x86_64__ when disabling x87 inline functions.
29986 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
29988         [BZ #17259]
29989         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
29990         asm statement with __cpuid_count.
29992 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
29994         * configure.ac: Change __ehdr_start code to dereference the struct.
29995         Run readelf on the output to look for relocations.
29996         * configure: Regenerated.
29998 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
30000         [BZ #17261]
30001         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
30002         value to 0.
30003         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
30005 2014-08-12  Roland McGrath  <roland@hack.frob.com>
30007         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
30009 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
30011         [BZ #16892]
30012         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
30013         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
30015 2014-08-12  Sean Anderson  <seanga2@gmail.com>
30017         * malloc/malloc.c: Fix typo in comment.
30019 2014-08-09  Allan McRae  <allan@archlinux.org>
30021         * Regenerate libc.po.
30023 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
30025         * intl/tst-gettext2.sh: Check every lang file for creation.
30027 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30029         * sysdeps/aarch64/fpu/math_private.h
30030         (libc_feholdsetround_noex_aarch64_ctx): New function.
30032 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30034         * sysdeps/arm/armv6/strcpy.S (strcpy):
30035         Fix performance issue in misaligned cases.
30037 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30039         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
30040         Move definition from termios.h.
30041         (struct termio): Likewise.
30042         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30043         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30044         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30045         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30046         Likewise.
30047         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
30048         Move definition to ioctl-types.h
30049         (struct termio): Likewise.
30050         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30051         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30052         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30053         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30054         Likewise.
30056 2014-08-05  Richard Henderson  <rth@redhat.com>
30058         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
30059         exceptions.
30060         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
30061         Add fraiseexcpt.
30062         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
30063         Use __feraiseexcept.
30064         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
30065         Protect libm symbols with IS_IN_libm.
30067         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
30069 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
30071         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
30073 2014-08-04  Will Newton  <will.newton@linaro.org>
30075         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
30076         file.
30078 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
30080         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
30081         variants for each function.
30083 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30085         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
30086         appended ...
30087         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
30088         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
30089         appended ...
30090         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
30091         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
30092         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
30093         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
30094         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
30095         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
30096         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
30097         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
30098         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
30099         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
30100         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
30101         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
30102         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
30103         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
30104         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
30105         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
30106         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
30107         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
30108         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
30109         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
30110         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
30111         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
30112         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
30113         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
30114         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
30115         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
30116         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
30117         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
30118         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
30119         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
30120         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
30121         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
30122         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
30123         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
30124         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
30125         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
30126         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
30127         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
30128         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
30129         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
30130         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
30131         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
30132         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
30133         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
30134         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
30135         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
30136         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
30137         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
30138         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
30139         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
30140         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
30141         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
30142         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
30143         Update #include.
30144         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
30145         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
30147 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30149         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
30150         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
30151         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
30152         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
30153         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
30154         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
30156 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30158         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
30159         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
30160         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30161         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
30163 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30165         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
30166         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
30167         (__libc_vfork): Define function under this name.
30168         (__vfork): Define as an alias.
30169         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
30170         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
30172 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30174         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
30175         that was previously under [RESET_PID].
30176         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
30178 2014-08-04  Andreas Schwab  <schwab@suse.de>
30180         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
30182 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
30184         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
30185         (main): Likewise.
30187 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30189         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
30191 2014-08-01  Richard Henderon  <rth@redhat.com>
30193         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
30194         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
30195         typo in exact zero test.
30196         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30197         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30198         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30200 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30202         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
30203         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
30204         * sysdeps/arm/sysdep.h: ... here.
30205         [!__ASSEMBLER__]: Include <stdint.h>.
30207 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30209         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
30210         (HAVE_WCTYPE_H): Likewise.
30211         (HAVE_ISWCTYPE): Likewise.
30212         (ENABLE_NLS): Likewise.
30213         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
30214         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
30216         * posix/regex_internal.c: Check if DEBUG is defined and is
30217         set.
30219         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
30220         (HAVE_MBSRTOWCS): Likewise.
30221         * posix/fnmatch.c: Include string.h unconditionally.
30223 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
30225         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
30226         reversal.
30228 2014-07-31  Roland McGrath  <roland@hack.frob.com>
30230         * sysdeps/generic/safe-fatal.h: New file.
30231         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
30232         * nptl/forward.c: Include it.
30233         (__pthread_unwind): Use __safe_fatal as default action, rather
30234         than a bogus use of INTERNAL_SYSCALL that could never work.
30236         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
30237         * configure.ac (libc_cv_builtin_trap): New test.
30238         * configure: Regenerated.
30239         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
30240         (ABORT_INSTRUCTION): Define using __builtin_trap.
30242         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
30243         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
30244         * sysdeps/nptl/nptl-signals.h: New file.
30245         * nptl/pthreadP.h: Include <nptl-signals.h>.
30247 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
30249         * sysdeps/s390/s390-64/utf16-utf32-z9.c
30250         (ONE_DIRECTION): Define.
30251         * sysdeps/s390/s390-64/utf8-utf16-z9.c
30252         (ONE_DIRECTION): Define.
30253         * sysdeps/s390/s390-64/utf8-utf32-z9.c
30254         (ONE_DIRECTION): Define.
30256 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
30258         * sysdeps/s390/Makefile: Delete file.
30259         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
30260         * sysdeps/s390/__longjmp.c: Delete file.
30261         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
30262         Remove fields __flags and __reserved.
30263         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
30264         and add versioning.
30265         * sysdeps/s390/rtld-__longjmp.c: Delete file.
30266         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
30267         * sysdeps/s390/rtld-setjmp.S: Likewise.
30268         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
30269         * sysdeps/s390/s390-32/__longjmp.c: ... here.
30270         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
30271         * sysdeps/s390/s390-32/setjmp.S: ... here.
30272         Add versioning.
30273         (__sigsetjmp): Remove setting __flags field.
30274         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
30275         * sysdeps/s390/s390-64/__longjmp.c: ... here.
30276         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
30277         * sysdeps/s390/s390-64/setjmp.S: ... here.
30278         Add versioning.
30279         (__sigsetjmp): Remove setting __flags field.
30280         * sysdeps/s390/setjmp.S: Delete file.
30281         * sysdeps/s390/sigjmp.c: Likewise.
30282         * sysdeps/s390/v1-longjmp.c: Likewise.
30283         * sysdeps/s390/v1-setjmp.h: Likewise.
30284         * sysdeps/s390/v1-sigjmp.c: Likewise.
30285         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
30286         Remove v1-longjmp_chk.
30287         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
30288         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
30289         Include debug/longjmp_chk.c and add versioning.
30290         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
30291         Include nptl/pt-longjmp.c and add versioning.
30292         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
30293         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
30294         Include __longjmp.c.
30295         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
30296         Move to ...
30297         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
30298         (__getcontext): Remove setting __flags field.
30299         Add versioning.
30300         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30301         Don't restore upper high grps.
30302         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
30303         Likewise.
30304         (__swapcontext): Remove setting uc_flags field.
30305         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
30306         Delete file.
30307         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
30308         Include __longjmp.c.
30309         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
30310         Move to ...
30311         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
30312         (__getcontext): Remove setting __flags field.
30313         Add versioning.
30314         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
30315         (__swapcontext): Remove setting uc_flags field.
30316         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
30317         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
30318         Remove fields uc_high_gprs and __reserved.
30319         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
30320         New file with reverted content.
30321         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
30322         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
30323         Regenerated.
30324         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
30325         Regenerated.
30327 2014-07-31  Andreas Schwab  <schwab@suse.de>
30329         * config.h.in (HAVE_IFUNC): Define to 0.
30330         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
30331         definedness.
30333 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
30335         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30336         memmove-avx-unaligned, memcpy-avx-unaligned and
30337         mempcpy-avx-unaligned.
30338         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30339         Add tests for AVX memcpy functions.
30340         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
30341         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
30342         memcpy_chk.
30343         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
30344         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
30345         memmove_chk.
30346         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
30347         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
30348         mempcpy_chk.
30349         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
30350         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
30351         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
30353 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30355         [BZ #17213]
30356         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
30357         powerpc64le.
30359 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
30361         [BZ #16839]
30362         * manual/llio.texi: Add section about open file description locks.
30363         * manual/examples/ofdlocks.c: Example of open file description
30364         lock usage.
30365         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
30366         F_OFD_SETLK, and F_OFD_SETLKW.
30368 2014-07-23  Allan McRae  <allan@archlinux.org>
30370         * po/es.po: Update Spanish translation from translation project.
30372 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
30374         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
30376 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
30378         [BZ #17078]
30379         * sysdeps/arm/dl-machine.h (elf_machine_rela)
30380         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
30381         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
30383 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
30385         [BZ #17088]
30386         * math/fesetenv.c (__fesetenv)
30387         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
30388         * math/feupdateenv.c (__feupdateenv)
30389         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
30391         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
30392         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
30393         (__ASSUME_SOCKETCALL): Do not define.
30395         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
30396         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
30397         (__ASSUME_SOCKETCALL): Do not define.
30398         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
30399         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30400         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30401         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30402         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30403         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
30404         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30405         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30407         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
30408         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
30409         (__ASSUME_SOCKETCALL): Do not define.
30410         (__ASSUME_IPC64): Define unconditionally.
30411         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30412         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30413         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30414         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30415         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
30416         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30417         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
30418         Likewise.
30420         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
30421         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
30422         (__ASSUME_SOCKETCALL): Do not define.
30423         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
30424         (__ASSUME_FUTEX_LOCK_PI): Likewise.
30425         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30426         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
30427         (__ASSUME_REQUEUE_PI): Define unconditionally.
30428         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
30429         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
30430         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30431         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
30432         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30433         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30435         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
30436         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
30437         (__ASSUME_SOCKETCALL): Do not define.
30438         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
30439         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30440         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30441         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
30442         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30443         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30445         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
30446         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
30447         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30448         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
30449         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30450         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
30451         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30452         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
30453         (__ASSUME_GETCPU_SYSCALL): Likewise.
30455         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
30456         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
30457         cases for individual architectures.
30458         * sysdeps/gnu/configure: Regenerated.
30459         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
30460         LIBC_SLIBDIR_RTLDDIR.
30461         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
30462         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
30463         LIBC_SLIBDIR_RTLDDIR.
30464         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
30465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
30466         LIBC_SLIBDIR_RTLDDIR.
30467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30468         Regenerated.
30469         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
30470         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
30471         file.
30472         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
30473         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
30474         file.
30475         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
30476         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
30477         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
30478         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
30480         * sysdeps/aarch64/shlib-versions: Move to ...
30481         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
30482         * sysdeps/alpha/shlib-versions: Move to ...
30483         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
30484         * sysdeps/arm/shlib-versions: Move to ...
30485         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
30486         * sysdeps/hppa/shlib-versions: Move all contents except for
30487         libgcc_s entry to ...
30488         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
30489         entry from ...
30490         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
30491         * sysdeps/ia64/shlib-versions: Move to ...
30492         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
30493         entry from ...
30494         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
30495         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
30496         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
30497         * sysdeps/microblaze/shlib-versions: Move to ...
30498         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
30499         * sysdeps/mips/shlib-versions: Move to ...
30500         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
30501         entry from ...
30502         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
30503         * sysdeps/tile/shlib-versions: Move to ...
30504         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
30505         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
30506         from ...
30507         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
30508         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
30509         entry from ...
30510         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
30512 2014-07-17  Will Newton  <will.newton@linaro.org>
30514         * sysdeps/arm/bits/atomic.h
30515         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
30516         (__arch_compare_and_exchange_bool_16_int): Likewise.
30517         (__arch_compare_and_exchange_bool_64_int): Likewise.
30519         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
30520         into an #else block.
30522 2014-07-16  Roland McGrath  <roland@hack.frob.com>
30524         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
30525         just Linux configurations.  Test empirically that the compiler sets
30526         __ARM_EABI__, rather than using the tuple to decide.
30527         * sysdeps/arm/preconfigure: Regenerated.
30528         * sysdeps/unix/sysv/linux/arm/configure: File removed.
30529         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
30530         contents appended ...
30531         * sysdeps/arm/configure.ac: ... here.
30532         * sysdeps/arm/configure: Regenerated.
30534 2014-07-15  Roland McGrath  <roland@hack.frob.com>
30536         * nptl/pthread_kill.c: New file.
30537         * nptl/pthread_sigmask.c: New file.
30538         * nptl/pthread_sigqueue.c: New file.
30540         * sysdeps/nptl/lowlevellock.h: New file.
30541         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
30542         * sysdeps/nptl/lowlevellock-futex.h: New file.
30544         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
30545         Remove dead declarations.
30547 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
30549         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
30550         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
30551         config-cflags-avx2.
30552         * sysdeps/x86_64/configure.ac: Likewise.
30553         * sysdeps/i386/configure: Regenerated.
30554         * sysdeps/x86_64/configure: Likewise.
30555         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30556         memset-avx2 only if config-cflags-avx2 is yes.
30557         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30558         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
30559         defined.
30560         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
30561         only if HAVE_AVX2_SUPPORT is defined.
30562         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30564 2014-07-14  Alan Modra  <amodra@gmail.com>
30566         [BZ #17153]
30567         * elf/elf.h (DT_PPC64_NUM): Correct value.
30568         * NEWS: Add to fixed bug list.
30570 2014-07-13  Jim Meyering  <meyering@fb.com>
30572         [BZ 17150]
30573         regex: don't deref NULL upon heap allocation failure
30574         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
30575         failure in one more place.
30576         To trigger the segfault, configure grep -with-included-regex,
30577         build it, and run these commands:
30578         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
30580 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
30582         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30584 2014-07-11  Richard Henderson  <rth@redhat.com>
30586         * sysdeps/aarch64/libm-test-ulps: Update.
30588 2014-07-10  Florian Weimer  <fweimer@redhat.com>
30590         [BZ #17135]
30591         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
30592         * nptl/allocatestack.c (__nptl_setxid_error): New function.
30593         (__nptl_setxid): Initialize error member.  Call
30594         __nptl_setxid_error.
30595         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
30596         * nptl/descr.h (struct xid_command): Add error member.
30597         * nptl/tst-setuid3.c: New file.
30598         * nptl/Makefile (tests): Add it.
30600 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30602         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
30603         New define.
30604         (__lll_trylock): Use __lll_base_trylock.
30605         (__lll_cond_trylock): Likewise.
30607 2014-07-10  Roland McGrath  <roland@hack.frob.com>
30609         * nptl/pthread_create.c (start_thread): Use atomic_or and
30610         lll_futex_wake directly rather than lll_robust_dead.
30611         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
30612         (lll_robust_dead): Macro removed.
30613         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
30614         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
30615         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
30616         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30617         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30618         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
30619         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
30620         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30621         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
30622         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30623         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30624         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30625         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30626         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30627         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30629         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
30630         Use atomic_compare_and_exchange_val_acq directly rather than
30631         lll_robust_trylock.
30632         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
30633         (__lll_robust_trylock, lll_robust_trylock): Removed.
30634         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
30635         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
30636         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30637         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30638         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
30639         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
30640         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30641         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
30642         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30643         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30644         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30645         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30646         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30647         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30649 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30651         * manual/locale.texi (Locale Names): New section documenting
30652         locale name syntax.  Adjust menu and node chaining accordingly.
30653         (Choosing Locale): Reference Locale Names, Locale Categories.
30654         Mention setting LC_ALL=C.  Reflect that name syntax is now
30655         documented.
30656         (Locale Categories): New section title.  Reference Locale Names.
30657         LC_ALL is an environment variable, but not a category.
30658         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
30659         description, now in Locale Name.  Reference that section.  Locale
30660         name syntax is now documented.
30662 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30664         [BZ #17137]
30665         * locale/findlocale.c (name_present, valid_locale_name): New
30666         functions.
30667         (_nl_find_locale): Use the loc_name variable to store name
30668         candidates.  Call name_present and valid_locale_name to check and
30669         validate locale names.  Return an error if the locale is invalid.
30671 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30673         * locale/setlocale.c (setlocale): Use strdup for allocating
30674         composite name copy.
30676 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30678         Sync up with gnulib.
30679         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
30680         [!_LIBC && ENABLE_NLS]: Include gettext.h.
30681         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
30682         and _GL_ARG_NONNULL.
30683         [USE_UNLOCKED_IO]: Include unlocked-io.h.
30684         [!_LIBC]: Include code for Windows and Cygwin.
30685         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
30686         Include prototype for int strerror_r.
30687         [!_LIBC] (is_open): New function.
30688         (flush_stdout): New function.
30689         (print_errno_message): Use it.
30690         (error): Likewise.
30691         (error_at_line): Likewise.
30692         (error_tail) Add function attribute macros.  Use
30693         __builtin_expect.
30695         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
30697         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
30699         * io/ftw.c: Include sys/param.h unconditionally.
30701         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
30703         [BZ #17125]
30704         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
30705         libc_freeres_ptr.
30706         (freecache): New function to free CACHE on exit.
30708         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
30709         initialization.
30711 2014-07-09  David S. Miller  <davem@davemloft.net>
30713         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30715         * sysdeps/sparc/nptl/internaltypes.h: Delete.
30716         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
30717         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
30718         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
30719         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
30720         * sysdeps/sparc/nptl/sem_init.c: Likewise.
30721         * sysdeps/sparc/nptl/sem_post.c: Likewise.
30722         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
30723         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
30724         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
30725         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
30726         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
30727         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
30729 2014-07-09  Andreas Schwab  <schwab@suse.de>
30731         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
30732         output.
30733         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
30734         (do_test): Likewise.
30736         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30738 2014-07-09  Will Newton  <will.newton@linaro.org>
30740         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
30741         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
30742         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
30743         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
30744         * sysdeps/hppa/start.S (_start): Likewise.
30746 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
30748         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
30750         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
30751         defined.
30753 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30755         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
30756         after checking that it is non-NULL.
30758         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
30760 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30762         * sysdeps/powerpc/memmove.c: Remove file.
30763         * sysdeps/powerpc/powerpc32/power4/memcopy.h
30764         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
30765         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
30766         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
30767         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
30768         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
30769         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
30770         string memmove instead of removed powerpc one.
30772         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
30773         [weak_alias]: Fix compiler warning due trailing data.
30774         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
30775         [weak_alias]: Likewise.
30776         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
30777         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
30779         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30780         (__libc_ifunc_impl_list): Add memmove functions.
30782 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30784         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
30785         Remove code.
30786         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
30787         Likewise.
30788         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
30789         Likewise.
30790         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
30791         Likewise.
30792         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
30793         Likewise.
30794         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
30795         Likewise.
30796         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
30797         Likewise.
30798         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
30799         Likewise.
30800         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
30801         Likewise.
30802         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
30803         Likewise.
30804         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
30805         Likewise.
30806         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
30807         Likewise.
30808         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
30809         Likewise.
30810         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
30811         Likewise.
30812         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
30813         Likewise.
30814         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
30815         Likewise.
30816         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
30817         Likewise.
30819 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30821         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
30822         to avoid alignment traps in non-cacheable memory.
30823         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30825         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
30826         multiarch objects.
30827         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
30828         file: multiarch power7 memmove.
30829         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
30830         multiarch default memmove.
30831         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
30832         multiarch memove for powerpc32/power4.
30834         * string/bcopy.c: Use full path to include memmove.c.
30835         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
30836         multiarch objects.
30837         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
30838         bcopy for powerpc64.
30839         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
30840         bcopy for powerpc64.
30841         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
30842         and memmove implementations.
30843         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
30844         optimized multiarch memmove for POWER7/powerpc64.
30845         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
30846         default multiarch memmove for powerpc64.
30847         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
30848         multiarch for powerpc64.
30849         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
30850         for POWER7/powerpc64.
30851         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
30852         memmove for POWER7/powerpc64.
30854         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
30855         glibc default one.
30857         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
30858         __ELF_NATIVE_CLASS equal to 64.
30860 2014-07-07  Roland McGrath  <roland@hack.frob.com>
30862         * sysdeps/nptl/lowlevellock.h: File removed.
30864         * NEWS: NPTL is no longer an add-on!
30865         * nptl/internaltypes.h: Moved ...
30866         * sysdeps/nptl/internaltypes.h: ... here.
30867         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
30868         * sysdeps/nptl/fork.c: Likewise.
30869         * sysdeps/nptl/gai_misc.h: Likewise.
30870         * sysdeps/nptl/librt-cancellation.c: Likewise.
30871         * sysdeps/nptl/jmp-unwind.c: Likewise.
30872         * sysdeps/nptl/setxid.h: Likewise.
30873         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
30874         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
30875         * sysdeps/unix/sysv/linux/arm/Implies: New file.
30876         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
30877         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
30878         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
30879         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
30880         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
30881         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
30882         * sysdeps/unix/sysv/linux/mips/Implies: New file.
30883         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
30884         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
30885         * sysdeps/unix/sysv/linux/sh/Implies: New file.
30886         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
30887         * sysdeps/unix/sysv/linux/tile/Implies: New file.
30888         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
30889         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
30890         * nptl/Makeconfig: Moved ...
30891         * sysdeps/nptl/Makeconfig: ... here.
30892         * nptl/configure: File removed.
30893         * nptl/ANNOUNCE: File removed.
30894         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
30895         * sysdeps/unix/sysv/linux/configure: Regenerated.
30897         * nptl/Makefile (routines): Add libc_pthread_init,
30898         libc_multiple_threads, register-atfork and unregister-atfork.
30899         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
30900         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
30901         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
30902         pthread-pi-defines.sym, structsem.sym.
30903         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
30904         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
30905         [$(subdir) = nptl] (tests): Add tst-setgetname.
30906         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
30907         * sysdeps/unix/sysv/linux/sigaction.c: Just include
30908         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
30909         [!LIBC_SIGACTION]: Remove aliases.
30910         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
30911         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
30912         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
30913         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
30914         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
30915         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
30916         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30917         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30918         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
30919         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
30920         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
30921         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
30922         __libc_allocate_rtsig_private.
30923         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
30924         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
30925         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
30926         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
30927         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
30928         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
30929         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
30930         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
30931         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
30932         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
30933         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
30934         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
30935         * nptl/internaltypes.h: ... here.
30936         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
30937         * sysdeps/nptl/jmp-unwind.c: ... here.
30938         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
30939         * nptl/libc-lowlevellock.c: ... here.
30940         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
30941         * nptl/libc_multiple_threads.c: ... here.
30942         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
30943         * nptl/libc_pthread_init.c: ... here.
30944         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
30945         * nptl/lowlevelbarrier.sym: ... here.
30946         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
30947         * nptl/lowlevelcond.sym: ... here.
30948         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
30949         * nptl/lowlevellock.c: ... here.
30950         * nptl/lowlevellock.h: Moved ...
30951         * sysdeps/nptl/lowlevellock.h: ... here.
30952         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
30953         * nptl/lowlevelrobustlock.c: ... here.
30954         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
30955         * nptl/lowlevelrobustlock.sym: ... here.
30956         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
30957         * nptl/lowlevelrwlock.sym: ... here.
30958         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
30959         * nptl/pt-fork.c: ... here.
30960         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
30961         * nptl/pthread-pi-defines.sym: ... here.
30962         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
30963         * nptl/pthread_attr_getaffinity.c: ... here.
30964         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
30965         * nptl/pthread_attr_setaffinity.c: ... here.
30966         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
30967         * nptl/pthread_mutex_cond_lock.c: ... here.
30968         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
30969         Update #include.
30970         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
30971         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
30972         * nptl/pthread_once.c: ... here, replacing old file.
30973         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
30974         * nptl/pthread_yield.c: ... here.
30975         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
30976         * nptl/register-atfork.c: ... here.
30977         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
30978         * nptl/sem_post.c: ... here.
30979         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
30980         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
30981         * nptl/sem_timedwait.c: ... here.
30982         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
30983         * nptl/sem_trywait.c: ... here.
30984         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
30985         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
30986         * nptl/sem_wait.c: ... here.
30987         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
30988         * nptl/structsem.sym: ... here.
30989         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
30990         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
30991         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
30992         * nptl/unregister-atfork.c: ... here.
30993         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
30994         * nptl/unwindbuf.sym: ... here.
30995         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
30996         * sysdeps/nptl/fork.c: ... here.
30997         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
30998         * sysdeps/nptl/fork.h: ... here.
30999         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
31000         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
31001         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
31002         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
31003         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
31004         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
31005         * sysdeps/unix/sysv/linux/getpid.c: ... here.
31006         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
31007         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
31008         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
31009         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
31010         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
31011         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
31012         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
31013         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
31014         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
31015         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
31016         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
31017         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
31018         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
31019         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
31020         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
31021         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
31022         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
31023         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
31024         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
31025         * sysdeps/unix/sysv/linux/raise.c: ... here.
31026         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
31027         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
31028         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
31029         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
31030         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
31031         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
31032         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
31033         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
31034         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
31035         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
31036         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
31037         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
31038         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
31039         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
31040         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
31042 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31044         * sysdeps/generic/memcopy.h: Add comment for
31045         MEMCPY_OK_FOR_FWD_MEMMOVE.
31047 2014-07-04  Will Newton  <will.newton@linaro.org>
31049         * string/memchr.c: Merge from gnulib.
31050         [_LIBC]: Remove conditionals.
31051         (__ptr_t): Remove define.
31052         (LONG_MAX_32_BITS): Likewise.
31053         (LONG_MAX): Likewise.
31054         (MEMCHR): Use ANSI prototype and optimize algorithm.
31056         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
31058 2014-07-03  Roland McGrath  <roland@hack.frob.com>
31060         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
31061         (lll_futex_timed_wait_bitset): Fix syscall argument count.
31063         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
31064         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
31065         in a bare environment with no <stdlib.h> installed.
31066         * sysdeps/nptl/configure: Regenerated.
31068         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
31070         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
31071         AC_EGREP_CPP for kernel header checks, so they only succeed if
31072         including <linux/version.h> actually works right.
31073         * sysdeps/unix/sysv/linux/configure: Regenerated.
31075         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
31076         value so it's not diagnosed as unused.
31078         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
31079         thing) with "ifeq ($(subdir),rt)".
31081 2014-07-03  Richard Henderson  <rth@redhat.com>
31083         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
31084         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
31085         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
31087         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
31088         (math_force_eval): New.
31090         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
31091         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
31093         * sysdeps/alpha/fpu/s_round.c: Remove file.
31094         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
31096         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
31097         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
31098         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
31099         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
31100         (_dl_start, print_statistics): Likewise.
31101         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
31102         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
31104         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31105         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31106         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31107         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31108         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31109         (HP_SMALL_TIMING_AVAIL): Define.
31110         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31111         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
31112         (HP_SMALL_TIMING_AVAIL): Define.
31113         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31114         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31116         * sysdeps/aarch64/hp-timing.h: New file.
31118         * sysdeps/generic/hp-timing.h: Remove dead comment.
31119         * sysdeps/generic/hp-timing-common.h: New file.
31120         * sysdeps/alpha/hp-timing.h: Include it.
31121         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
31122         * sysdeps/i386/i686/hp-timing.h: Likewise.
31123         * sysdeps/ia64/hp-timing.h: Likewise.
31124         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31125         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31126         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31127         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31128         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
31129         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
31130         (hp_timing_t): New.
31132         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
31133         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
31134         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
31135         * elf/rtld.c (_dl_start_final): Likewise.
31136         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
31137         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31138         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31139         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31140         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31141         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31142         (HP_TIMING_DIFF_INIT): Remove.
31143         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31144         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
31145         (HP_TIMING_DIFF_INIT): Remove.
31146         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31147         * sysdeps/i386/i686/hp-timing.c: Remove file.
31148         * sysdeps/x86_64/hp-timing.c: Remove file.
31149         * sysdeps/ia64/hp-timing.c: Remove file.
31150         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
31151         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
31152         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
31153         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
31155         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
31156         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
31157         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
31158         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31159         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31160         (HP_TIMING_ACCUM): Remove.
31161         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31162         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
31163         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31165         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
31166         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
31167         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
31168         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
31169         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
31170         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31171         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
31172         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31174         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
31176 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
31178         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
31180 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31182         Sync up with gettext.
31183         * intl/loadmsgcat.c: Define O_BINARY if not defined.
31184         [_MSC_VER]: Include malloc.h
31185         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
31186         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
31187         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
31188         TEMP_FAILURE_RETRY.  Cast return of alloca.
31189         [!_LIBC] Call gl_rwlock_init.
31190         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
31192 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31194         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
31195         before checking its value.
31197 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31199         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
31201         * debug/memcpy_chk.c: Don't include pagecopy.h.
31202         * debug/mempcpy_chk.c: Likewise.
31203         * string/memcpy.c: Likewise.
31204         * string/memmove.c: Likewise.
31205         * sysdeps/powerpc/memmove.c: Likewise.
31206         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
31207         definition of PAGE_COPY_FWD_MAYBE here...
31208         * sysdeps/generic/pagecopy.h: ... from here.
31209         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
31211 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31212             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31214         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
31215         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
31216         optimizations.
31217         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31218         (__libc_ifunc_impl_list): Likewise.
31219         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
31220         multiarch strcat for PPC64.
31221         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
31222         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
31224 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31226         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
31228 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31230         * intl/loadmsgcat.c: Remove declaration of
31231         get_sysdep_segment_value.
31232         (get_sysdep_segment_value): Use ISO C style.
31233         (_nl_load_domain): Use ISO C style.  Get rid of redundant
31234         semicolon.  Fix typo and formatting in comment.
31235         (_nl_unload_domain): Use ISO C style.
31237         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
31239 2014-07-02  Will Newton  <will.newton@linaro.org>
31241         * malloc/obstack.c: Merge from gnulib master.
31242         [HAVE_CONFIG_H]: Remove conditional code.
31243         [!_LIBC]: Include config.h.
31244         [!ELIDE_CODE]: Don't include inttypes.h, include
31245         stdint.h unconditionally.
31246         (print_and_abort): Mark as _Noreturn.
31247         (_obstack_allocated_p): Mark as __attribute_pure__.
31248         (obstack_free): Rename to __obstack_free.
31249         [!__attribute__]: Remove conditional code.
31250         * malloc/obstack.h: Merge from gnulib master.
31251         [__cplusplus]: Move conditional down.
31252         [!__attribute_pure__]: Define __attribute_pure__ here
31253         if it is not already defined.
31254         (_obstack_memory_used): Mark as __attribute_pure__.
31255         [!__obstack_free]: Define as obstack_free.
31256         [__GNUC__]: Remove check for ancient NeXT gcc.
31258 2014-07-02  Will Newton  <will.newton@linaro.org>
31259             Paul Eggert  <eggert@cs.ucla.edu>
31261         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
31263 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31265         * resolv/gethnamaddr.c: Add comment warning that the file is
31266         not maintained.
31268 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
31270         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
31271         entries.
31273         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
31274         entry for aio_cancel and aio_cancel64.
31275         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
31276         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
31277         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
31278         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
31279         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
31280         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
31281         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
31282         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
31283         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
31284         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
31285         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
31286         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
31287         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
31289 2014-07-01  Roland McGrath  <roland@hack.frob.com>
31291         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
31292         * nptl/pthread_mutex_lock.c: Likewise.
31293         * nptl/pthread_mutex_timedlock.c: Likewise.
31294         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
31296 2014-07-01  Richard henderson  <rth@redhat.com>
31298         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
31299         (__isnan, __isnanl): Remove.
31300         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
31302         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31304 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
31306         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31308 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31310         * resolv/nss_dns/dns-host.c (getanswer_r)
31311         [MULTI_PTRS_ARE_ALIASES]: Remove code.
31313 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
31315         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31316         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
31317         undefine.
31318         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
31319         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
31321 2014-07-01  Roland McGrath <roland@hack.frob.com>
31323         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
31324         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
31326         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
31327         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
31329         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
31330         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
31331         ... here.
31332         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
31333         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
31335         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
31336         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
31337         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
31338         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
31340         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
31341         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
31342         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
31343         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
31344         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
31345         Moved ...
31346         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
31347         ... here.
31348         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
31349         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
31350         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
31351         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
31352         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
31353         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
31354         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
31355         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
31356         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
31357         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
31358         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
31359         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
31360         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
31361         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
31362         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
31363         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
31364         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
31365         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
31366         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
31367         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
31368         ... here.
31369         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
31370         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
31371         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
31372         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
31373         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
31374         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
31375         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
31376         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
31378 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
31380         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
31381         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
31382         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
31383         Add sysdep.
31385 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31389 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31391         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
31392         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31394         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31396         * sysdeps/arm/libm-test-ulps: Regenerated.
31398 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31399             Roland McGrath <roland@hack.frob.com>
31401         * test-skeleton.c (signal_handler): Kill the whole process group
31402         before killing the child individually.
31403         (main): Report any failure on `setpgid'.
31405 2014-06-30  Roland McGrath  <roland@hack.frob.com>
31407         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
31408         from _TLS_H to _ARM_NPTL_TLS_H.
31409         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
31410         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
31412 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31414         [BZ #16539]
31415         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
31416         (__expm1l): Return argument unchanged when small but not
31417         subnormal.
31419         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
31420         include macro name.
31421         (_FP_UNPACK_RAW_1_P): Likewise.
31422         (_FP_PACK_RAW_1): Likewise.
31423         (_FP_PACK_RAW_1_P): Likewise.
31424         (_FP_MUL_MEAT_1_wide): Likewise.
31425         (_FP_MUL_MEAT_DW_1_hard): Likewise.
31426         (_FP_MUL_MEAT_1_hard): Likewise.
31427         (_FP_DIV_MEAT_1_imm): Likewise.
31428         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
31429         (_FP_DIV_MEAT_1_udiv): Likewise.
31430         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
31431         (_FP_UNPACK_RAW_2): Likewise.
31432         (_FP_UNPACK_RAW_2_P): Likewise.
31433         (_FP_PACK_RAW_2): Likewise.
31434         (_FP_PACK_RAW_2_P): Likewise.
31435         (_FP_MUL_MEAT_DW_2_wide): Likewise.
31436         (_FP_MUL_MEAT_2_wide): Likewise.
31437         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
31438         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
31439         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
31440         (_FP_MUL_MEAT_2_gmp): Likewise.
31441         (_FP_DIV_MEAT_2_udiv): Likewise.
31442         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
31443         (_FP_FRAC_SRL_4): Likewise.
31444         (_FP_FRAC_SRST_4): Likewise.
31445         (_FP_FRAC_SRS_4): Likewise.
31446         (_FP_UNPACK_RAW_4): Likewise.
31447         (_FP_UNPACK_RAW_4_P): Likewise.
31448         (_FP_PACK_RAW_4): Likewise.
31449         (_FP_PACK_RAW_4_P): Likewise.
31450         (_FP_MUL_MEAT_DW_4_wide): Likewise.
31451         (_FP_MUL_MEAT_4_wide): Likewise.
31452         (_FP_MUL_MEAT_4_gmp): Likewise.
31453         (umul_ppppmnnn): Likewise.
31454         (_FP_DIV_MEAT_4_udiv): Likewise.
31455         (__FP_FRAC_ADD_4): Likewise.
31456         (__FP_FRAC_SUB_3): Likewise.
31457         (__FP_FRAC_SUB_4): Likewise.
31458         (__FP_FRAC_DEC_3): Likewise.
31459         (__FP_FRAC_DEC_4): Likewise.
31460         (__FP_FRAC_ADDI_4): Likewise.
31461         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
31462         (_FP_FRAC_SRL_8): Likewise.
31463         (_FP_FRAC_SRS_8): Likewise.
31465         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
31466         include macro name.
31467         (FP_UNPACK_RAW_EP): Likewise.
31468         (FP_PACK_RAW_E): Likewise.
31469         (FP_PACK_RAW_EP): Likewise.
31470         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
31471         (_FP_ISSIGNAN): Likewise.
31472         (_FP_ADD_INTERNAL): Likewise.
31473         (_FP_FMA): Likewise.
31474         (_FP_CMP): Likewise.
31475         (_FP_SQRT): Likewise.
31476         (_FP_TO_INT): Likewise.
31477         (_FP_FROM_INT): Likewise.
31478         (FP_EXTEND): Likewise.
31479         (_FP_DIV_MEAT_N_loop): Likewise.
31481 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31483         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
31484         throughout.
31486 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
31488         [BZ #17097]
31489         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
31490         result with correct sign in case of exponents that produce
31491         overflow except for X very close to 1.
31493 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
31495         mktime: merge #if/#ifdef usage from glibc
31496         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
31497         as that works with both Glibc's and Gnulib's style.
31498         See thread starting at Siddhesh Poyarekar's bug report at:
31499         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
31501 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31503         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
31504         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
31505         * sysdeps/tile/tilegx/memmove.c: Remove file.
31507 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
31509         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
31510         abi-name definition.
31511         * scripts/soversions.awk: Do not handle or generate ABI lines.
31512         * shlib-versions: Remove ABI entries.
31513         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
31514         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
31516 2014-06-27  Roland McGrath  <roland@hack.frob.com>
31518         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
31519         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
31520         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
31521         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
31522         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
31523         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
31524         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
31525         Moved ...
31526         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
31527         ... here.
31528         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
31529         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
31530         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
31531         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
31532         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
31533         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
31534         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
31535         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
31536         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
31537         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
31538         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
31539         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
31540         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
31541         Moved ...
31542         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
31543         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
31544         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
31545         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
31546         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
31547         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
31548         Moved ...
31549         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
31550         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
31551         Moved ...
31552         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
31553         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
31554         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
31555         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
31556         Moved ...
31557         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
31558         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
31559         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
31560         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
31561         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
31562         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
31563         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
31564         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
31565         Moved ...
31566         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
31567         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
31568         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
31569         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
31570         Moved ...
31571         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
31572         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
31573         Moved ...
31574         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
31575         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
31576         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
31577         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
31578         Moved ...
31579         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
31580         ... here.
31581         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
31582         Identical file removed.
31583         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
31584         Moved ...
31585         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
31586         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
31587         Identical file removed.
31588         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
31589         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
31590         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
31591         Moved ...
31592         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
31593         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
31594         Identical file removed.
31595         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
31596         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
31597         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
31598         Identical file removed.
31599         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
31600         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
31601         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
31602         Identical file removed.
31603         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
31604         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
31605         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
31606         Identical file removed.
31607         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
31608         Moved ...
31609         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
31610         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
31611         Identical file removed.
31612         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
31613         Moved ...
31614         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
31615         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
31616         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
31617         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
31618         Identical file removed.
31619         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
31620         Moved ...
31621         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
31622         ... here.
31623         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
31624         Identical file removed.
31625         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
31626         Moved ...
31627         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
31628         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
31629         Identical file removed.
31630         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
31631         Moved ...
31632         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
31633         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
31634         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
31635         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
31636         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
31637         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
31638         Moved ...
31639         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
31640         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
31641         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
31643         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
31644         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
31645         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
31646         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
31647         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
31649 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
31651         [BZ #17092]
31652         * nscd/nscd.c (monitor_child): Return exit status of child
31653         instead of return value from wait syscall.
31655 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
31657         * configure.ac (libc_commonpagesize): Remove variable.
31658         (libc_relro_required): Likewise.
31659         (libc_cv_z_relro): Remove configure test.
31660         * configure: Regenerated.
31661         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
31662         variable.
31663         (libc_relro_required): Likewise.
31664         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
31665         (libc_relro_required): Likewise.
31666         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
31667         (libc_relro_required): Likewise.
31668         * sysdeps/arm/preconfigure: Regenerated.
31669         * sysdeps/ia64/preconfigure: Remove file.
31670         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
31671         variable.
31672         (libc_relro_required): Likewise.
31674         [BZ #16561]
31675         [BZ #16562]
31676         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
31677         (__ieee754_yn): Set FE_TONEAREST mode internally and then
31678         recompute overflowing results in original rounding mode.
31679         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
31680         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
31681         recompute overflowing results in original rounding mode.
31682         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
31683         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31684         recompute overflowing results in original rounding mode.
31685         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
31686         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31687         recompute overflowing results in original rounding mode.
31688         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
31689         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31690         recompute overflowing results in original rounding mode.
31691         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
31692         (libc_feholdsetround_ctx): New macro.
31693         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
31694         * sysdeps/i386/fpu/libm-test-ulps: Update.
31695         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
31697 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31699         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
31700         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
31701         corresponding .cpsetup call.
31703 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31705         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
31706         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
31707         * sysdeps/arm/Makefile [$(subdir) = csu]
31708         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
31709         (static-only-routines): Add aeabi_read_tp here.
31710         (shared-only-routines): Add libc-aeabi_read_tp here.
31711         (CFLAGS-libc-start.c): Add -fexceptions here.
31712         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
31713         (sysdep_routines, static-only-routines, shared-only-routines):
31714         Don't add to these here.
31715         (CFLAGS-libc-start.c): Likewise.
31717         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
31718         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
31719         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
31720         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
31721         * sysdeps/arm/Makefile [$(subdir) = rt]
31722         (librt-sysdep_routines, librt-shared-only-routines):
31723         Append rt-aeabi_unwind_cpp_pr1 here.
31724         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
31725         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
31726         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
31727         (libpthread-sysdep_routines, libpthread-shared-only-routines):
31728         Append nptl-aeabi_unwind_cpp_pr1 here.
31729         (tests): Filter out tst-cleanupx4 here.
31730         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
31731         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
31732         Don't do those here.
31734 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31736         * scripts/list-sources.sh: Do not handle ports specially.
31738 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31740         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
31741         * sysdeps/arm/feupdateenv.c: Likewise.
31743         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
31745 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31747         * manual/texinfo.tex: Update to version 2014-05-05.10 with
31748         trailing whitespace removed.
31749         * scripts/config.guess: Update to version 2014-03-23.
31750         * scripts/config.sub: Update to version 2014-05-01
31751         * scripts/install-sh: Update to version 2013-12-25.23.
31752         * scripts/move-if-change: Update from gnulib.
31754 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31756         * debug/memmove_chk.c: Remove pagecopy.h include.
31758 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
31760         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
31761         identical to gnulib mktime.
31763 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31765         * configure.ac: Do not test for machine being rs6000.  Do not test
31766         for powerpc*-*soft.
31767         * configure: Regenerated.
31769         [BZ #11505]
31770         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
31771         test.
31772         * configure: Regenerated.
31773         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
31774         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
31775         Remove configure test.
31776         * sysdeps/arm/configure: Regenerated.
31777         * sysdeps/nptl/configure.ac: Do not check
31778         libc_cv_asm_cfi_directives.
31779         * sysdeps/nptl/configure: Regenerated.
31780         * sysdeps/x86_64/nptl/configure.ac: Remove file.
31781         * sysdeps/x86_64/nptl/configure: Remove generated file.
31782         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
31783         unconditional.
31784         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
31786 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31788         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
31789         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
31790         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
31791         it is defined.
31793         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
31794         instead of whether it is defined.
31795         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
31796         * sysdeps/hppa/dl-machine.h: Likewise.
31797         * sysdeps/ia64/dl-machine.h: Likewise.
31798         * sysdeps/m68k/dl-machine.h: Likewise.
31799         * sysdeps/microblaze/dl-machine.h: Likewise.
31800         * sysdeps/mips/dl-machine.: Likewise.
31801         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31802         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31803         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31804         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31805         * sysdeps/sh/dl-machine.h: Likewise.
31806         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31807         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31808         * sysdeps/tile/dl-machine.h: Likewise.
31809         * sysdeps/x86_64/dl-machine.h: Likewise.
31811         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
31812         code.
31813         (verify_persistent_db): Likewise.
31815 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31817         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
31818         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
31819         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
31820         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
31821         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31822         Moved ...
31823         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
31824         ... here.
31825         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
31826         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
31827         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
31828         Identical file removed.
31829         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
31830         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
31831         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
31832         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
31833         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
31834         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
31835         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
31836         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
31837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
31838         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
31839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31840         Moved ...
31841         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
31842         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
31843         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
31844         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
31845         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
31846         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31847         Moved ...
31848         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
31849         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
31850         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
31851         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
31852         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
31853         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31854         Identical file removed.
31855         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
31856         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
31857         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
31858         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
31859         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31860         Moved ...
31861         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
31862         ... here.
31863         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
31864         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
31865         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
31866         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
31867         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
31868         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
31869         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
31870         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
31871         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
31872         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
31873         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31874         Moved ...
31875         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
31876         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
31877         Moved ...
31878         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
31879         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
31880         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
31881         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31882         Moved ...
31883         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
31884         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
31885         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
31887         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
31888         folded into ...
31889         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
31890         * sysdeps/unix/sysv/linux/s390/Versions
31891         (libpthread: GLIBC_2.19): New version set.
31892         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
31893         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
31894         (librt: GLIBC_2.3.3): New version set.
31895         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
31896         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
31897         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
31898         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
31899         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
31900         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
31901         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
31902         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
31903         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
31904         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
31905         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
31906         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
31907         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
31908         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
31909         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
31910         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
31911         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
31912         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
31913         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
31914         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
31915         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
31916         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
31917         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
31918         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
31919         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
31920         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
31921         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
31922         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
31923         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
31924         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
31925         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
31926         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
31927         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
31928         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
31929         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
31930         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
31931         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
31932         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
31933         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
31934         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
31935         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
31936         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
31937         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
31938         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
31939         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
31941         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
31942         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
31943         (__libc_vfork): Define the function under this name.
31944         [!NOT_IN_libc] (__vfork): Make this an alias.
31945         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
31946         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
31947         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
31948         (__libc_vfork): Define the function under this name.
31949         [!NOT_IN_libc] (__vfork): Make this an alias.
31950         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
31951         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
31952         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
31953         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
31954         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
31955         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31957         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
31958         code that was previously under [RESET_PID].
31959         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
31960         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
31961         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
31963         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
31964         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
31965         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
31966         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
31967         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
31968         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
31969         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
31970         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
31971         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
31972         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
31973         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
31974         Moved ...
31975         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
31976         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
31977         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
31978         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
31979         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
31980         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
31981         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
31982         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
31983         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
31984         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
31985         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
31986         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
31987         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
31988         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
31989         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
31990         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
31991         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
31992         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
31993         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
31994         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
31995         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
31996         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
31997         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
31998         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
31999         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
32000         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
32001         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
32002         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
32003         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
32005 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32007         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
32008         that was previously under [RESET_PID].
32009         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
32011 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32013         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
32014         not undefine and redefine.
32015         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
32016         [O_CLOEXEC]: Make code unconditional.
32017         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
32018         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
32019         <kernel-features.h>.
32020         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
32021         conditional variable definition.
32022         (shm_open) [O_CLOEXEC]: Make code unconditional.
32023         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
32024         code.
32026         * configure.ac (USE_REGPARMS): Don't define here.
32027         * configure: Regenerated.
32028         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
32029         * sysdeps/i386/configure: Regenerated.
32031         * nptl/createthread.c: Don't include kernel-features.h.
32032         * nptl/pthread_cancel.c: Likewise.
32033         * nptl/pthread_condattr_setclock.c: Likewise.
32034         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
32035         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
32036         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
32037         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
32038         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
32039         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
32040         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
32041         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
32042         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
32043         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
32044         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
32045         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
32046         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
32047         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
32048         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
32049         * nscd/gai.c: Likewise.
32050         * nss/nss_db/db-open.c: Likewise.
32051         * sysdeps/generic/ldsodefs.h: Likewise.
32052         * sysdeps/sh/nptl/tls.h: Likewise.
32053         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
32054         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
32055         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
32056         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
32057         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
32058         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
32059         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
32060         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32061         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32062         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
32063         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
32064         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32065         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
32066         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
32067         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
32068         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
32069         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
32070         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
32071         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
32072         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
32073         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
32074         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
32075         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
32076         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
32077         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
32078         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
32079         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
32080         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
32081         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
32082         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
32083         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
32084         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
32085         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
32086         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32087         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32088         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
32089         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32090         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
32091         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
32092         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
32093         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32094         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
32095         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
32096         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32097         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
32098         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
32099         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
32100         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
32101         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
32102         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
32103         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
32104         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
32105         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
32106         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
32107         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
32108         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32109         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
32110         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
32111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
32113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
32114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
32115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
32116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
32117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
32118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
32119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
32122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
32123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
32124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
32125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
32126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
32131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
32132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
32133         * sysdeps/unix/sysv/linux/pread.c: Likewise.
32134         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
32135         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
32136         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
32137         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
32138         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
32139         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
32140         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
32141         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
32142         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
32143         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
32144         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
32145         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
32146         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
32147         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
32148         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
32149         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
32150         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
32151         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
32152         * sysdeps/unix/sysv/linux/system.c: Likewise.
32153         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
32154         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
32155         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32156         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32157         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32158         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
32159         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32161         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
32162         * configure: Regenerated.
32163         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
32165         * configure.ac (base_machine): Do not set specially for particular
32166         machines here.
32167         * configure: Regenerated.
32168         * sysdeps/powerpc/preconfigure: Move machine and base_machine
32169         settings from configure.ac.
32170         * sysdeps/i386/preconfigure: New file.
32171         * sysdeps/s390/preconfigure: Likewise.
32172         * sysdeps/sh/preconfigure: Likewise.
32173         * sysdeps/sparc/preconfigure: Likewise.
32175 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32177         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
32178         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
32179         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
32180         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
32181         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
32182         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
32183         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
32184         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
32185         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
32186         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
32187         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
32188         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
32189         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
32190         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
32191         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
32192         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
32193         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
32194         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
32195         * sysdeps/sparc/sparc64/Makefile: ... appended here.
32197         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
32198         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
32199         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
32200         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
32201         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
32202         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
32203         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
32204         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
32205         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
32206         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
32207         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
32208         * sysdeps/sparc/sparc32/sem_post.c: ... here.
32209         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
32210         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
32211         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
32212         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
32213         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
32214         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
32215         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
32216         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
32217         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
32218         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
32219         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
32220         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
32221         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
32222         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
32223         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
32224         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
32225         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
32226         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
32227         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
32228         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
32229         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
32230         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
32231         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
32232         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
32233         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
32234         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
32236         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
32237         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
32238         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
32239         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
32240         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32241         Moved ...
32242         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
32243         ... here.
32244         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
32245         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
32246         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
32247         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
32248         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
32249         Moved ...
32250         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
32251         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
32252         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
32253         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
32254         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
32255         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
32256         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
32257         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32258         Moved ...
32259         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
32260         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32261         Moved ...
32262         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
32263         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
32264         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
32265         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32266         Moved ...
32267         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
32268         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
32269         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
32270         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
32271         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
32272         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
32273         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
32274         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
32275         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
32276         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32277         Moved ...
32278         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
32279         ... here.
32280         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
32281         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
32282         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
32283         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
32284         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
32285         Moved ...
32286         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
32287         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
32288         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
32289         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
32290         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
32291         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
32292         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
32293         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32294         Moved ...
32295         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
32296         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32297         Moved ...
32298         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
32299         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
32300         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
32301         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32302         Moved ...
32303         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
32304         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
32305         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
32306         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
32307         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
32309 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32311         * timezone/checktab.awk: Update from tzcode 2014e.
32312         * timezone/private.h: Likewise.
32313         * timezone/tzfile.h: Likewise.
32314         * timezone/zdump.c: Likewise.
32315         * timezone/zic.c: Likewise.
32317         * sysdeps/unix/sysv/linux/kernel-features.h
32318         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
32319         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
32320         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
32321         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32322         Remove conditional code.
32324 2014-06-25  Will Newton  <will.newton@linaro.org>
32326         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
32327         (_dl_arm_cap_flags): Add HWCAP2 values.
32328         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
32329         (_DL_HWCAP_COUNT): Increase to 37.
32330         (_DL_HWCAP_LAST): New define.
32331         (_DL_HWCAP2_LAST): New define.
32332         (_dl_procinfo): Add support for printing
32333         AT_HWCAP2 entries.
32334         (_dl_string_hwcap): Use _dl_hwcap_string.
32336 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32338         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32340 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32342         * README: Do not mention ports directory.
32344         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
32345         Remove macro.
32346         * sysdeps/unix/sysv/linux/futimes.c: Do not include
32347         <kernel-features.h>.
32348         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
32349         conditional variable definition.
32350         (__futimes): Update comment.
32351         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
32352         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
32354         [BZ #16560]
32355         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
32356         arguments close to 0.
32357         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
32358         Likewise.
32359         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
32360         Likewise.
32361         * math/auto-libm-test-in: Add more tests of exp10.
32362         * math/auto-libm-test-out: Regenerated.
32363         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32365         * sysdeps/unix/sysv/linux/kernel-features.h
32366         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
32367         * sysdeps/unix/sysv/linux/readv.c: Do not include
32368         <kernel-features.h>.
32369         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32370         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32371         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32372         unconditional.
32373         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32374         conditional code.
32375         * sysdeps/unix/sysv/linux/writev.c: Do not include
32376         <kernel-features.h>.
32377         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32378         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32379         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32380         unconditional.
32381         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32382         conditional code.
32384 2014-06-25  Will Newton  <will.newton@linaro.org>
32386         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
32387         comment changes throughout the file.  Remove checks
32388         for HAVE_*_H definitions that are not required.
32389         (__gen_tempname): Call abort if an unknown kind value is
32390         passed.
32392 2014-06-25  Andreas Schwab  <schwab@suse.de>
32394         [BZ #17086]
32395         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
32396         scalbln, scalblnf, scalblnl in libc.
32398 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32400         [BZ #17086]
32401         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
32402         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
32403         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
32405 2014-06-24  Roland McGrath  <roland@hack.frob.com>
32407         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
32408         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
32409         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
32410         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
32411         Update #include.
32412         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
32413         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
32414         Update #include.
32415         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
32416         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
32417         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
32418         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
32419         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
32420         * sysdeps/x86/bits/pthreadtypes.h: ... here.
32421         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
32422         * sysdeps/x86/bits/semaphore.h: ... here.
32423         * sysdeps/x86/nptl/elide.h: Moved ...
32424         * sysdeps/x86/elide.h: ... here.
32425         * sysdeps/x86_64/nptl/Implies: File removed.
32426         * sysdeps/i386/nptl/Implies: File removed.
32428 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
32430         [BZ #16539]
32431         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
32432         return the argument for normal arguments with exponent below -64.
32433         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32434         Likewise.
32435         * math/auto-libm-test-in: Add another test of expm1.
32436         * math/auto-libm-test-out: Regenerated.
32438         [BZ #16287]
32439         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
32440         calling __erfcl for arguments at least 16.
32441         * math/auto-libm-test-in: Add more tests of erf.
32442         * math/auto-libm-test-out: Regenerated.
32444         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
32445         individual architectures.
32446         * sysdeps/unix/sysv/linux/configure: Regenerated.
32447         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
32448         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
32449         * sysdeps/unix/sysv/linux/powerpc/configure.ac
32450         (ldd_rewrite_script): Define variable.
32451         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
32453         file.
32454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
32455         generated file.
32456         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
32457         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
32458         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
32459         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
32460         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
32461         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
32462         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
32463         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
32465 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32467         [BZ #17084]
32468         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
32469         Rename member __data.d to __data.__elision_data.
32471 2014-06-24  Wilco  <wdijkstr@arm.com>
32473         * NEWS: Add 16918 to fixed bug list.
32475 2014-06-24  Wilco  <wdijkstr@arm.com>
32477         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
32479 2014-06-24  Wilco  <wdijkstr@arm.com>
32481         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
32482         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
32483         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
32484         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
32485         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
32486         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
32487         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
32488         Use _FPU_MASK_RM.
32490 2014-06-24  Wilco  <wdijkstr@arm.com>
32492         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
32494 2014-06-24  Wilco  <wdijkstr@arm.com>
32496         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
32497         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
32498         * sysdeps/arm/fesetround.c (fesetround): Remove space.
32499         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
32501 2014-06-24  Wilco  <wdijkstr@arm.com>
32503         [BZ #16918]
32504         * sysdeps/arm/feupdateenv.c (feupdateenv):
32505         Rewrite to reduce FPSCR accesses and fix return value.
32507 2014-06-24  Wilco  <wdijkstr@arm.com>
32509         * sysdeps/arm/fclrexcpt.c (feclearexcept):
32510         Optimize to avoid unnecessary FPSCR writes.
32511         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
32512         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
32513         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
32514         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
32516 2014-06-24  Wilco  <wdijkstr@arm.com>
32518         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
32519         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
32520         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
32521         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
32522         Call libc_fetestexcept_vfp.
32523         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
32524         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
32525         __SOFTFP__ ifdef so that they can be built for softfp.
32527 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32529         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
32530         argument type signed char.
32532         * Makerules (check-abi): Dump diff of symlist if the test
32533         fails.
32535 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32537         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
32538         using abort.
32540         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32541         Remove unused variable ST.
32543 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
32545         [BZ #16354]
32546         [BZ #17061]
32547         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
32548         small arguments before calling __expm1.
32549         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
32550         small arguments before calling __expm1f.
32551         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
32552         small arguments before calling __expm1l.
32553         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
32554         Likewise.
32555         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
32556         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
32557         spurious underflow for some cosh tests.
32558         * math/auto-libm-test-out: Regenerated.
32559         * sysdeps/i386/fpu/libm-test-ulps: Update.
32561         [BZ #17050]
32562         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
32563         (__ieee754_y1): Set errno if return value overflows.
32564         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
32565         (__ieee754_y1f): Set errno if return value overflows.
32566         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
32567         (__ieee754_y1l): Set errno if return value overflows.
32568         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
32569         (__ieee754_y1l): Set errno if return value overflows.
32570         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
32571         * math/auto-libm-test-out: Regenerated.
32573         * math/gen-auto-libm-tests.c: Document use of
32574         ignore-zero-inf-sign.
32575         (input_flag_type): Add value flag_ignore_zero_inf_sign.
32576         (input_flags): Add ignore-zero-inf-sign.
32577         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
32578         * math/gen-libm-test.pl (generate_testfile): Handle
32579         ignore-zero-inf-sign.
32580         * math/auto-libm-test-in: Mark some cpow tests with
32581         ignore-zero-inf-sign and some with xfail-rounding.
32582         * math/auto-libm-test-out: Regenerated.
32583         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
32584         * sysdeps/i386/fpu/libm-test-ulps: Update.
32585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32587         [BZ #16315]
32588         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
32589         overflowing or underflowing operations take place with sign of
32590         result.
32591         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32592         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
32593         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
32594         (__ieee754_pow): Recompute overflowing and underflowing results in
32595         original rounding mode.
32596         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
32597         (__powl_helper): Allow negative argument X and scale negated value
32598         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
32599         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
32600         overflowing or underflowing operations take place with sign of
32601         result.
32602         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
32603         Include <math.h>.
32604         * math/auto-libm-test-in: Add more tests of pow.
32605         * math/auto-libm-test-out: Regenerated.
32606         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
32607         (pow_tonearest_test_data): Remove.
32608         (pow_test_tonearest): Likewise.
32609         (pow_towardzero_test_data): Likewise.
32610         (pow_test_towardzero): Likewise.
32611         (pow_downward_test_data): Likewise.
32612         (pow_test_downward): Likewise.
32613         (pow_upward_test_data): Likewise.
32614         (pow_test_upward): Likewise.
32615         (main): Don't call removed functions.
32616         * sysdeps/i386/fpu/libm-test-ulps: Update.
32617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32619 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
32622         Moved ...
32623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
32624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32625         Moved ...
32626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
32627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32628         Moved ...
32629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
32630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32631         Moved ...
32632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
32633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32634         File removed.
32635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32636         File removed.
32637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
32638         File removed.
32639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
32640         File removed.
32641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
32642         File removed.
32643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
32644         File removed.
32645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
32646         File removed.
32647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32648         File removed.
32649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
32650         File removed.
32651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32652         File removed.
32653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
32654         File removed.
32655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
32656         File removed.
32657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
32658         Moved ...
32659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
32660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
32661         Moved ...
32662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
32663         ... here.
32664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
32665         Moved ...
32666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
32667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
32668         Moved ...
32669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
32670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
32671         Moved ...
32672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
32673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
32674         Moved ...
32675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
32676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
32677         Moved ...
32678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
32679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
32680         Moved ...
32681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
32682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
32683         Moved ...
32684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
32685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
32686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
32687         ... here.
32688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
32689         Moved ...
32690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
32691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
32692         Moved ...
32693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
32694         ... here.
32695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
32696         Moved ...
32697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32698         ... here.
32699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
32700         Moved ...
32701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
32702         ... here.
32703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32704         Moved ...
32705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
32706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
32707         Moved ...
32708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
32709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
32710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
32711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
32712         Moved ...
32713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
32714         ... here.
32715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32716         Moved ...
32717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
32718         ... here.
32719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
32720         Moved ...
32721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
32722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32723         Moved ...
32724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
32725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
32726         Moved ...
32727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
32728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32729         Moved ...
32730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
32731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
32732         Moved ...
32733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
32734         ... here.
32735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32736         Moved ...
32737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
32738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
32739         Moved ...
32740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
32741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32742         Moved ...
32743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
32744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
32745         Moved ...
32746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
32747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
32748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
32749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
32750         Moved ...
32751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
32752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32753         Moved ...
32754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
32755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
32756         Moved ...
32757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
32758         ... here.
32759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32760         Moved ...
32761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
32762         ... here.
32763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
32764         Moved ...
32765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
32766         ... here.
32767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32768         Moved ...
32769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
32770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
32771         Moved ...
32772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
32773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32774         Moved ...
32775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
32776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
32777         Moved ...
32778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
32779         ... here.
32780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32781         Moved ...
32782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
32783         ... here.
32784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
32785         Moved ...
32786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
32787         ... here.
32788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32789         Moved ...
32790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
32791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32792         Moved ...
32793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
32795 2014-06-23  Will Newton  <will.newton@linaro.org>
32796             Wilco  <wdijkstr@arm.com>
32798         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
32799         implementation.  Include get-rounding-mode.h.
32800         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
32801         [!libc_feholdsetround_noex_ctx]: Define
32802         libc_feholdsetround_noex_ctx.
32803         [!libc_feholdsetround_noexf_ctx]: Define
32804         libc_feholdsetround_noexf_ctx.
32805         [!libc_feholdsetround_noexl_ctx]: Define
32806         libc_feholdsetround_noexl_ctx.
32807         (libc_feholdsetround_ctx): New function.
32808         (libc_feresetround_ctx): New function.
32809         (libc_feholdsetround_noex_ctx): New function.
32810         (libc_feresetround_noex_ctx): New function.
32812 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32814         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
32815         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
32816         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
32817         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
32818         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
32819         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
32821         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
32822         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
32823         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
32824         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
32825         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
32826         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
32827         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
32828         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
32829         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
32830         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
32831         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
32832         Moved ...
32833         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
32834         ... here.
32835         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
32836         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
32837         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
32838         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
32839         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
32840         Moved ...
32841         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
32842         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
32843         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
32844         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
32845         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
32846         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
32847         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
32848         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
32849         Moved ...
32850         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
32851         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
32852         Moved ...
32853         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
32854         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
32855         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
32856         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
32857         Moved ...
32858         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
32859         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
32860         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
32861         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
32862         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
32863         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
32864         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
32865         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
32866         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
32867         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
32868         Moved ...
32869         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
32870         ... here.
32871         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
32872         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
32873         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
32874         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
32875         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
32876         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
32877         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
32878         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
32879         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
32880         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
32881         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
32882         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
32883         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
32884         Moved ...
32885         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
32886         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
32887         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
32888         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
32889         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
32890         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
32891         Moved ...
32892         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
32893         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
32894         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
32895         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
32896         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
32898         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
32899         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
32900         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
32901         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
32902         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
32903         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
32904         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
32905         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
32906         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
32907         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
32908         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
32909         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
32910         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
32911         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
32912         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
32913         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
32914         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
32915         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
32916         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
32917         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
32918         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
32919         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
32920         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
32921         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
32922         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
32923         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
32924         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
32925         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
32927 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
32929         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32930         (FALLOC_FL_COLLAPSE_RANGE): New macro.
32931         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
32932         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
32933         (IPV6_PMTUDISC_INTERFACE): Likewise.
32934         (IPV6_PMTUDISC_OMIT): Likewise.
32936 2014-06-23  Andreas Schwab  <schwab@suse.de>
32938         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
32939         Remove unused errout label.
32941 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32943         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
32944         macro: hardware supports Vector Crypto instructions.
32946 2014-06-23  Will Newton  <will.newton@linaro.org>
32948         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
32949         rather than __builtin_expect.
32951         * elf/dl-lookup.c (undefined_msg): Remove variable.
32952         (_dl_lookup_symbol_x): Replace undefined_msg with string
32953         literal.
32955         * elf/dl-lookup.c (do_lookup_unique): New function.
32956         (do_lookup_x): Move STB_GNU_UNIQUE handling code
32957         to a separate function.
32959 2014-06-23  Andreas Schwab  <schwab@suse.de>
32961         [BZ #17079]
32962         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
32963         before reading the next line.
32965 2014-06-23  Will Newton  <will.newton@linaro.org>
32967         * test-skeleton.c (signal_handler): Use printf and %m
32968         rather than perror.  Use printf rather than fprintf to
32969         stderr.  Use puts rather than fputs to stderr.
32970         (main): Likewise.
32972 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
32974         * nscd/nscd.c (thread_info_t): Remove typedef.
32975         (thread_info): Remove variable.
32977 2014-06-21  Allan McRae  <allan@archlinux.org>
32979         * NEWS: Mention CVE-2014-4043.
32981 2014-06-20  Roland McGrath  <roland@hack.frob.com>
32983         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
32984         * nptl/smp.h: ... here.
32986         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
32988         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
32989         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
32990         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
32991         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
32993         * nptl/allocatestack.c: Include <stack-aliasing.h>.
32994         * nptl/stack-aliasing.h: New file.
32995         * sysdeps/i386/i686/stack-aliasing.h: New file.
32996         * sysdeps/i386/i686/nptl/Makefile: File removed.
32997         * sysdeps/x86_64/stack-aliasing.h: New file.
32998         * sysdeps/x86_64/nptl/Makefile
32999         (CFLAGS-pthread_create.c): Variable removed.
33001         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
33002         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
33003         old file.
33004         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
33005         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
33006         old file.
33008 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
33010         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33011         (__ASSUME_SIGFRAME_V2): Remove macro.
33012         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
33013         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
33014         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
33015         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
33016         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
33017         Declare as function.  Remove conditional macro definitions.
33018         (__default_rt_sa_restorer): Likewise.
33019         (__default_sa_restorer_v1): Remove declaration.
33020         (__default_sa_restorer_v2): Likewise.
33021         (__default_rt_sa_restorer_v1): Likewise.
33022         (__default_rt_sa_restorer_v2): Likewise.
33023         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
33024         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
33025         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
33027 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33029         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
33030         (libpthread-routines): Add sysdep.
33031         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
33032         * sysdeps/unix/sysv/linux/sparc/Versions
33033         (libpthread: GLIBC_2.3.3): New version set.
33034         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
33035         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
33036         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
33037         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
33038         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
33039         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
33040         Moved ...
33041         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
33042         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
33043         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
33044         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
33045         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
33046         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
33047         * sysdeps/sparc/nptl/sem_init.c: ... here.
33048         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
33049         * sysdeps/sparc/nptl/sem_post.c: ... here.
33050         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
33051         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
33052         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
33053         * sysdeps/sparc/nptl/sem_wait.c: ... here.
33054         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
33055         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
33056         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
33057         (libpthread-routines): Add cpu_relax.
33058         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
33059         File removed.
33060         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
33061         (librt: GLIBC_2.3.3): New version set.
33062         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
33063         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
33064         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
33065         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
33066         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
33067         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
33068         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
33069         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
33070         Moved ...
33071         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
33072         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
33073         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
33074         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
33075         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
33076         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
33077         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
33078         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
33079         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
33080         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
33081         Moved ...
33082         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
33083         Update #include.
33084         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
33085         Moved ...
33086         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
33087         Update #include.
33088         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
33089         Moved ...
33090         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
33091         Update #include.
33092         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
33093         Moved ...
33094         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
33095         Update #include.
33096         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
33097         Moved ...
33098         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
33099         Update #include.
33100         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
33101         Moved ...
33102         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
33103         Update #include.
33104         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
33105         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
33106         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
33107         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
33108         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
33109         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
33110         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
33111         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
33112         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
33113         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
33114         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33115         Moved ...
33116         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
33117         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
33118         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
33119         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
33120         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
33122 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33124         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
33125         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
33126         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
33127         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
33128         * nscd/nscd.c: Likewise.
33129         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
33130         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
33131         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
33132         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
33134         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
33135         <kernel-features.h>.
33136         (init_mq_netlink): Remove conditional have_sock_cloexec
33137         definitions.  Remove code conditional on have_sock_cloexec < 0.
33138         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
33139         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
33140         * sysdeps/unix/sysv/linux/opensock.c: Do not include
33141         <kernel-features.h>.
33142         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
33143         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
33145 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
33147         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33148         Add tests for memset_chk and memset.
33150         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
33151         with AVX2_Usable.
33153 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33155         [BZ #16046]
33156         * elf/tst-dl-iter-static.c: New file.
33157         * elf/Makefile (tests-static): Add tst-dl-iter-static.
33159         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
33160         error.
33162 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33164         * sysdeps/unix/sysv/linux/kernel-features.h
33165         (__ASSUME_F_GETOWN_EX): Remove macro.
33166         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
33167         <kernel-features.h>.
33168         (miss_F_GETOWN_EX): Remove variable or macro.
33169         (do_fcntl): Do not check miss_F_GETOWN_EX.
33170         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
33172         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
33173         Remove macro.
33174         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
33175         [!__ASSUME_AT_RANDOM]: Remove conditional code.
33176         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
33178         * sysdeps/unix/sysv/linux/kernel-features.h
33179         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
33180         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
33181         [ADJ_OFFSET_SS_READ]: Make code unconditional.
33182         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
33184 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33186         [BZ #17075]
33187         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
33188         Fix calculation of the symbol's value.
33189         * sysdeps/arm/tst-armtlsdescloc.c: New file.
33190         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
33191         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
33192         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
33193         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
33194         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
33195         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
33196         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
33197         (modules-names): Add `tst-armtlsdescmod',
33198         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
33199         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
33200         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33201         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
33202         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
33203         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33204         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
33205         ($(objpfx)tst-armtlsdescloc): New dependency.
33206         ($(objpfx)tst-armtlsdescextnow): Likewise.
33207         ($(objpfx)tst-armtlsdescextlazy): Likewise.
33208         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
33209         TLS scheme support.
33210         * sysdeps/arm/configure: Regenerate.
33212 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33214         * include/fcntl.h (__atfct_seterrno): Remove prototype.
33215         (__atfct_seterrno_2): Likewise.
33216         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
33217         <kernel-features.h>.
33218         (__ASSUME_ATFCTS): Do not undefine and redefine.
33219         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
33220         (__have_atfcts): Remove conditional definition.
33221         (__fxstatat([__NR_fstatat64]: Make code unconditional.
33222         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
33223         unreachable if [__ASSUME_ATFCTS].
33224         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
33225         not undefine and redefine.
33226         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
33227         <kernel-features.h>.
33228         (faccessat) [__NR_faccessat]: Make code unconditional.
33229         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
33230         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
33231         <kernel-features.h>.
33232         (fchmodat) [__NR_fchmodat]: Make code unconditional.
33233         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33234         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
33235         <kernel-features.h>.
33236         (fchownat) [__NR_fchownat]: Make code unconditional.
33237         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
33238         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
33239         <kernel-features.h>.
33240         (futimesat) [__NR_futimesat]: Make code unconditional.
33241         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
33242         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33243         <kernel-features.h>.
33244         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33245         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33246         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33247         <kernel-features.h>.
33248         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
33249         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33250         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
33251         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33252         <kernel-features.h>.
33253         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
33254         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33255         * sysdeps/unix/sysv/linux/linkat.c: Do not include
33256         <kernel-features.h>.
33257         (linkat) [__NR_linkat]: Make code unconditional.
33258         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33259         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
33260         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
33261         <kernel-features.h>.
33262         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
33263         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33264         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
33265         <kernel-features.h>.
33266         (mkdirat) [__NR_mkdirat]: Make code unconditional.
33267         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
33268         * sysdeps/unix/sysv/linux/openat.c: Do not include
33269         <kernel-features.h>.
33270         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
33271         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
33272         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
33273         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
33274         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
33275         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
33276         <kernel-features.h>.
33277         (readlinkat) [__NR_readlinkat]: Make code unconditional.
33278         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
33279         result of INLINE_SYSCALL directly, not via int variable.
33280         * sysdeps/unix/sysv/linux/renameat.c: Do not include
33281         <kernel-features.h>.
33282         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
33283         (renameat) [__NR_renameat]: Make code unconditional.
33284         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
33285         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
33286         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
33287         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
33288         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
33289         (__ASSUME_ATFCTS): Do not undefine and redefine.
33290         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
33291         <kernel-features.h>.
33292         (symlinkat) [__NR_symlinkat]: Make code unconditional.
33293         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33294         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
33295         <kernel-features.h>.
33296         (unlinkat) [__NR_unlinkat]: Make code unconditional.
33297         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33298         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
33299         (__ASSUME_ATFCTS): Do not undefine and redefine.
33300         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33301         <kernel-features.h>.
33302         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33303         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33304         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33305         <kernel-features.h>.
33306         (__xmknodat) [__NR_mknodat]: Make code unconditional.
33307         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33309 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
33311         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
33313 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
33315         [BZ #17069]
33316         * posix/regcomp.c (parse_reg_exp): Deallocate partially
33317         constructed tree before returning error.
33318         * posix/bug-regexp36.c: Expand test case.
33320 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
33322         [BZ #6803]
33323         * math/libm-test.inc (scalbln_test_date):
33324         Add errno expectations.
33325         * math/w_scalblnf.c: New File.
33326         Add wrapper which checks for setting errno to ERANGE.
33327         Add weak_alias for corresponding scalbln function.
33328         * math/w_scalbln.c: Likewise.
33329         * math/w_scalblnl.c: Likewise.
33330         * math/Makefile (libm-calls): Add w_scalbln.
33331         * sysdeps/ieee754/flt-32/s_scalblnf.c:
33332         Remove weak_alias for corresponding scalbln function.
33333         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33334         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33335         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33336         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33337         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
33338         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33339         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
33340         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33341         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
33342         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
33343         Remove long_double_symbol for scalblnl function in libm, libc.
33344         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
33345         Add wrapper which checks for setting errno to ERANGE.
33346         Add long_double_symbol for scalblnl function in libm, libc.
33347         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
33348         Remove long_double_symbol for scalblnl in libm.
33349         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
33350         Add wrapper which checks for setting errno to ERANGE.
33351         Add long_double_symbol for scalblnl function in libm.
33352         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
33353         Do not use wrapper because of own implementation.
33355 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
33357         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
33358         3 bytes for __pad1 for x32.
33359         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
33361 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
33362             H.J. Lu  <hongjiu.lu@intel.com>
33364         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
33365         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
33366         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33367         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33368         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
33370 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
33372         [BZ #17069]
33373         * posix/regcomp.c (parse_expression): Deallocate partially
33374         constructed tree before returning error.
33375         * posix/Makefile.c (tests): Add bug-regex36.
33376         (generated): Add bug-regex36.mtrace.
33377         (tests-special): Add $(objpfx)bug-regex36-mem.out
33378         (bug-regex36-ENV): New variable.
33379         ($(objpfx)bug-regex36-mem.out): New rule.
33380         * posix/bug-regex36.c: New file.
33382 2014-06-19  Will Newton  <will.newton@linaro.org>
33384         * malloc/malloc.c (systrim): If extra is zero then return
33385         early.
33387 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33389         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
33391 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
33393         * sysdeps/aarch64/strchr.S: New file.
33395 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33397         [BZ #17022]
33398         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
33399         from arguments -2 or below.
33400         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
33401         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
33403 2014-06-18  Andreas Schwab  <schwab@suse.de>
33405         [BZ #17062]
33406         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
33407         of a bracket expr not to run off the end of the string.
33408         * posix/Makefile (tests): Add tst-fnmatch3.
33409         * posix/tst-fnmatch3.c: New file.
33411 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33413         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
33414         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33415         [$(cross-compiling) = no]: Likewise.
33416         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33417         [$(cross-compiling) = no]: Likewise.
33419 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33421         [BZ #17031]
33422         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
33423         double, adjusted for any remainder from the high double.
33424         * math/libm-test.inc (nearbyint): Add tests.
33425         (rint): Likewise.
33427 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33429         * nptl/sysdeps/powerpc/Makefile: Moved ...
33430         * sysdeps/powerpc/nptl/Makefile: ... here.
33431         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
33432         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
33433         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
33434         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
33435         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
33436         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
33437         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
33438         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
33439         * nptl/sysdeps/powerpc/tls.h: Moved ...
33440         * sysdeps/powerpc/nptl/tls.h: ... here.
33442 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
33444         [BZ #16681]
33445         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
33446         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
33447         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
33448         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
33449         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
33450         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
33451         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
33452         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
33453         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
33455 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
33457         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33459 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
33461         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
33462         defined operator.
33464         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
33465         $TIMEOUTFACTOR.
33467 2014-06-16  Florian Weimer  <fweimer@redhat.com>
33469         [BZ #17058]
33470         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
33471         non-executed part of the test.
33473 2014-06-16  Andreas Schwab  <schwab@suse.de>
33475         * string/bits/string2.h (strdup, strndup): Update feature guard.
33477 2014-06-14  David S. Miller  <davem@davemloft.net>
33479         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33481 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
33483         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
33484         that was previously under [RESET_PID].
33485         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
33487         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
33488         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
33489         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
33490         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33491         (__libc_vfork): New strong alias.
33492         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
33494 2014-06-14 Andi Kleen  <ak@linux.intel.com>
33496         * sysdeps/generic/elide.h: New file.
33498 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33500         * Makefile (installed-headers): Adjust path of pthread.h header.
33502 2014-06-13  Roland McGrath  <roland@hack.frob.com>
33504         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
33505         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
33506         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
33507         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
33509         * nptl/sysdeps/s390/Makefile: Moved ...
33510         * sysdeps/s390/nptl/Makefile: ... here.
33511         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
33512         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
33513         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
33514         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
33515         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
33516         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
33517         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
33518         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
33519         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
33520         * sysdeps/s390/nptl/pthreaddef.h: ... here.
33521         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
33522         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
33523         * nptl/sysdeps/s390/tls.h: Moved ...
33524         * sysdeps/s390/nptl/tls.h: ... here.
33526         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
33527         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
33529 2014-06-13  David S. Miller  <davem@davemloft.net>
33531         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
33532         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
33533         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
33534         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
33535         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
33536         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
33537         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
33538         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
33539         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
33540         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
33541         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
33542         Remove RESET_PID cpp guards.
33543         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
33544         Remove RESET_PID cpp guards.
33545         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
33547 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
33549         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
33550         __sp to uintptr_t.
33552 2014-06-13  Andi Kleen  <ak@linux.intel.com>
33554         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
33555         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
33556         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
33557         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
33558         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
33559         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
33560         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
33561         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
33562         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
33563         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
33564         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
33565         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
33566         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
33567         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
33568         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
33569         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
33570         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
33571         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
33572         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
33573         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
33575         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
33576         (pthread_rwlock_rdlock): Add elision.
33577         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
33578         (pthread_rwlock_wrlock): Add elision.
33579         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
33580         (pthread_rwlock_trywrlock): Add elision.
33581         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
33582         (pthread_rwlock_tryrdlock): Add elision.
33583         * nptl/pthread_rwlock_unlock.c: Include elide.h.
33584         (pthread_rwlock_tryrdlock): Add elision unlock.
33585         * nptl/sysdeps/pthread/pthread.h:
33586         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
33587         (PTHREAD_RWLOCK_INITIALIZER,
33588         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
33589         Handle new elision field.
33590         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
33591         * sysdeps/arm/nptl/bits/pthreadtypes.h
33592         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33593         * sysdeps/sh/nptl/bits/pthreadtypes.h
33594         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33595         * sysdeps/tile/nptl/bits/pthreadtypes.h
33596         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33597         * sysdeps/a/nptl/bits/pthreadtypes.h
33598         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33599         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
33600         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33601         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
33602         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33603         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
33604         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33605         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
33606         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33607         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
33608         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33609         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
33610         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33611         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
33612         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33613         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
33614         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33615         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
33616         (elision_init): Set try_xbegin to zero when no RTM.
33617         * sysdeps/x86/nptl/bits/pthreadtypes.h
33618         (pthread_rwlock_t): Change __pad1 to __rwelision.
33619         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33621 2014-06-13  Andi Kleen  <ak@linux.intel.com>
33623         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
33624         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
33625         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
33626         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
33628 2014-06-13  Meador Inge  <meadori@codesourcery.com>
33630         [BZ #16996]
33631         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
33632         that the cached result has been set before returning it.
33634 2014-06-12  Roland McGrath  <roland@hack.frob.com>
33636         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
33637         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
33638         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
33639         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
33640         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
33641         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
33643         * nptl/sysdeps/sparc/Makefile: Moved ...
33644         * sysdeps/sparc/nptl/Makefile: ... here.
33645         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
33646         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
33647         * nptl/sysdeps/sparc/tls.h: Moved ...
33648         * sysdeps/sparc/nptl/tls.h: ... here.
33649         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
33650         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
33651         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
33652         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
33653         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
33654         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
33655         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
33656         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
33657         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
33658         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
33659         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
33660         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
33661         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
33662         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
33663         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
33664         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
33665         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
33666         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
33667         Update #include.
33668         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
33669         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
33670         Update #include.
33671         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
33672         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
33673         Update #include.
33674         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
33675         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
33676         Update #include.
33678         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
33680         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
33681         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
33683         * sysdeps/pthread/posix-timer.h: Include <list.h>.
33684         (struct list_links): Type removed.
33685         (struct thread_node, struct timer_node): Replace struct list_links
33686         with struct list_head.
33687         (list_unlink_ip): Likewise.
33688         * sysdeps/pthread/timer_routines.c
33689         (timer_free_list, thread_free_list, thread_active_list): Likewise.
33690         (list_append, list_insbefore): Likewise.
33691         (list_init): Function removed.
33692         (thread_init, init_module): Use INIT_LIST_HEAD instead.
33693         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
33694         * sysdeps/pthread/Makefile: ... here, new file.
33696         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
33697         * sysdeps/nptl/Implies: ... here.
33698         * sysdeps/unix/sysv/linux/Implies: Add nptl.
33699         * nptl/sysdeps/pthread/list.h: Moved ...
33700         * include/list.h: ... here.
33701         * nptl/sysdeps/pthread/createthread.c: Moved ...
33702         * nptl/createthread.c: ... here.
33703         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
33704         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
33705         * nptl/pt-longjmp.c: ... here.
33706         * nptl/sysdeps/pthread/Makefile: Moved ...
33707         * sysdeps/nptl/Makefile: ... here.
33708         * nptl/sysdeps/pthread/Subdirs: Moved ...
33709         * sysdeps/nptl/Subdirs: ... here.
33710         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
33711         * sysdeps/nptl/aio_misc.h: ... here.
33712         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
33713         * sysdeps/nptl/bits/libc-lock.h: ... here.
33714         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
33715         * sysdeps/nptl/bits/libc-lockP.h: ... here.
33716         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
33717         * sysdeps/nptl/bits/stdio-lock.h: ... here.
33718         * nptl/sysdeps/pthread/configure: Moved ...
33719         * sysdeps/nptl/configure: ... here.
33720         * nptl/sysdeps/pthread/configure.ac: Moved ...
33721         * sysdeps/nptl/configure.ac: ... here.
33722         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
33723         * sysdeps/nptl/gai_misc.h: ... here.
33724         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
33725         * sysdeps/nptl/librt-cancellation.c: ... here.
33726         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
33727         * sysdeps/nptl/malloc-machine.h: ... here.
33728         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
33729         * sysdeps/nptl/pthread-functions.h: ... here.
33730         * nptl/sysdeps/pthread/pthread.h: Moved ...
33731         * sysdeps/nptl/pthread.h: ... here.
33732         * nptl/sysdeps/pthread/setxid.h: Moved ...
33733         * sysdeps/nptl/setxid.h: ... here.
33734         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
33735         * sysdeps/nptl/sigfillset.c: ... here.
33736         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
33737         * sysdeps/nptl/tcb-offsets.h: ... here.
33738         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
33739         * sysdeps/nptl/tst-mqueue8x.c: ... here.
33740         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
33741         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
33742         * nptl/sysdeps/pthread/allocalim.h: Moved ...
33743         * sysdeps/pthread/allocalim.h: ... here.
33744         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
33745         * sysdeps/pthread/bits/sigthread.h: ... here.
33746         * nptl/sysdeps/pthread/flockfile.c: Moved ...
33747         * sysdeps/pthread/flockfile.c: ... here.
33748         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
33749         * sysdeps/pthread/ftrylockfile.c: ... here.
33750         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
33751         * sysdeps/pthread/funlockfile.c: ... here.
33752         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
33753         * sysdeps/pthread/posix-timer.h: ... here.
33754         * nptl/sysdeps/pthread/timer_create.c: Moved ...
33755         * sysdeps/pthread/timer_create.c: ... here.
33756         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
33757         * sysdeps/pthread/timer_delete.c: ... here.
33758         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
33759         * sysdeps/pthread/timer_getoverr.c: ... here.
33760         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
33761         * sysdeps/pthread/timer_gettime.c: ... here.
33762         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
33763         * sysdeps/pthread/timer_routines.c: ... here.
33764         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
33765         * sysdeps/pthread/timer_settime.c: ... here.
33766         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
33767         * sysdeps/pthread/tst-timer.c: ... here.
33768         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
33769         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
33771         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
33772         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
33774         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
33775         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
33776         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
33777         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
33778         Update #include target.
33779         * nptl/sysdeps/i386/i686/Makefile: Moved ...
33780         * sysdeps/i386/i686/nptl/Makefile: ... here.
33781         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
33782         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
33783         Update #include target.
33784         * nptl/sysdeps/i386/i686/tls.h: Moved ...
33785         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
33786         * nptl/sysdeps/i386/Makefile: Moved ...
33787         * sysdeps/i386/nptl/Makefile: ... here.
33788         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
33789         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
33790         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
33791         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
33792         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
33793         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
33794         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
33795         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
33796         * sysdeps/i386/nptl/pthreaddef.h: ... here.
33797         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
33798         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
33799         * nptl/sysdeps/i386/tls.h: Moved ...
33800         * sysdeps/i386/nptl/tls.h: ... here.
33802         * sysdeps/sh/Makefile [$(subdir) = csu]
33803         (gen-as-const-headers): Add tcb-offsets.sym.
33804         * nptl/sysdeps/sh/Makefile: File removed.
33805         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
33806         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
33807         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
33808         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
33809         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
33810         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
33811         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
33812         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
33813         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
33814         * sysdeps/sh/nptl/pthreaddef.h: ... here.
33815         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
33816         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
33817         * nptl/sysdeps/sh/tls.h: Moved ...
33818         * sysdeps/sh/nptl/tls.h: ... here.
33819         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
33820         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
33821         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
33822         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
33823         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
33824         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
33825         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
33826         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
33827         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
33828         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
33829         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
33830         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
33831         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
33832         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
33833         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
33834         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
33835         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
33836         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
33837         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
33838         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
33839         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
33840         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
33841         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
33842         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
33843         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
33844         Moved ...
33845         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
33846         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
33847         Moved ...
33848         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
33849         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
33850         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
33851         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
33852         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
33853         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
33854         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
33855         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
33856         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
33857         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
33858         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
33859         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
33860         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
33861         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
33862         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
33863         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
33864         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
33865         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
33866         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
33868 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33870         * posix/spawn_faction_addopen.c: Include string.h.
33872 2014-06-11  Roland McGrath  <roland@hack.frob.com>
33874         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
33875         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
33876         * nptl/sysdeps/x86_64/Makefile: Moved ...
33877         * sysdeps/x86_64/nptl/Makefile: ... here.
33878         * nptl/sysdeps/x86_64/configure: Moved ...
33879         * sysdeps/x86_64/nptl/configure: ... here.
33880         * nptl/sysdeps/x86_64/configure.ac: Moved ...
33881         * sysdeps/x86_64/nptl/configure.ac: ... here.
33882         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
33883         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
33884         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
33885         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
33886         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
33887         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
33888         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
33889         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
33890         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
33891         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
33892         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
33893         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
33894         * nptl/sysdeps/x86_64/tls.h: Moved ...
33895         * sysdeps/x86_64/nptl/tls.h: ... here.
33896         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
33897         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
33898         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
33899         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
33901         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
33903 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33905         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33907 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
33909         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
33910         type.
33911         [POSIX] (off_t): Likewise.
33912         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
33913         [POSIX] (S_ISBLK): Require macro.
33914         [POSIX] (S_ISCHR): Likewise.
33915         [POSIX] (S_ISDIR): Likewise.
33916         [POSIX] (S_ISFIFO): Likewise.
33917         [POSIX] (S_ISREG): Likewise.
33918         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
33919         optional-macro.
33920         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
33921         type.
33922         [POSIX] (time_t): Likewise.
33923         [POSIX] (timer_t): Likewise.
33925 2014-06-11  Florian Weimer  <fweimer@redhat.com>
33927         [BZ #17048]
33928         * posix/spawn_int.h (struct __spawn_action): Make the path string
33929         non-const to support deallocation.
33930         * posix/spawn_faction_addopen.c
33931         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
33932         * posix/spawn_faction_destroy.c
33933         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
33934         path in all spawn_do_open actions.
33935         * posix/tst-spawn.c (do_test): Exercise the copy operation in
33936         posix_spawn_file_actions_addopen.
33938 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
33940         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
33941         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
33942         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
33943         conditional code always true.
33944         (__libc_vfork): New alias.
33946 2014-06-11  Roland McGrath  <roland@hack.frob.com>
33948         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33949         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
33951         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
33953         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33954         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
33956         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
33957         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
33959         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33960         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
33962 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33964         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
33965         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
33966         multiarch strcmp for PPC64.
33967         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
33968         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
33969         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
33970         multiarch optimizations.
33971         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33972         (__libc_ifunc_impl_list): Likewise.
33974 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33976         * benchtests/scripts/validate_benchout.py: New script.
33977         * benchtests/Makefile (bench-func): Call it.
33978         * benchtests/scripts/benchout.schema.json: New file.
33980 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
33982         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
33983         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
33984         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
33985         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
33986         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
33987         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
33988         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
33989         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
33990         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
33991         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
33992         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
33993         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
33994         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
33995         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
33996         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
33997         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
33998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
33999         Moved ...
34000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
34001         ... here.
34002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
34003         Moved ...
34004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
34005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
34006         Moved ...
34007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
34008         ... here.
34009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
34010         Moved ...
34011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
34012         ... here.
34013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
34014         Moved ...
34015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
34016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
34017         Moved ...
34018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
34019         ... here.
34020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
34021         Moved ...
34022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
34023         ... here.
34024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
34025         Moved ...
34026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
34027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
34028         Moved ...
34029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
34030         ... here.
34031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
34032         Moved ...
34033         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
34034         ... here.
34035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
34036         Moved ...
34037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
34038         ... here.
34039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
34040         Moved ...
34041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
34042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
34043         Moved ...
34044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
34045         ... here.
34046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
34047         Moved ...
34048         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
34049         ... here.
34050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
34051         Moved ...
34052         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
34053         ... here.
34054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
34055         Moved ...
34056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
34057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
34058         Moved ...
34059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
34060         ... here.
34061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
34062         Moved ...
34063         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
34064         ... here.
34065         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
34066         Moved ...
34067         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
34068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
34069         Moved ...
34070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
34071         ... here.
34072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
34073         Moved ...
34074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
34075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
34076         Moved ...
34077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
34078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
34079         Moved ...
34080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
34081         ... here.
34082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
34083         Moved ...
34084         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
34085         ... here.
34086         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
34087         Moved ...
34088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
34089         ... here.
34090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
34091         Moved ...
34092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
34093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
34094         Moved ...
34095         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
34096         ... here.
34097         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
34098         Moved ...
34099         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
34100         ... here.
34101         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
34102         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
34103         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
34104         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
34105         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
34106         Moved ...
34107         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
34108         ... here.
34109         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
34110         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
34111         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
34112         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
34113         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
34114         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
34115         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
34116         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
34117         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
34118         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
34119         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
34120         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
34121         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
34122         Moved ...
34123         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
34124         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
34125         Moved ...
34126         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
34127         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
34128         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
34129         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
34130         Moved ...
34131         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
34132         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
34133         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
34134         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
34135         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
34136         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
34137         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
34139 2014-06-10  Wilco  <wdijkstr@arm.com>
34141         * math/test-fenv-return.c: New file.
34142         * math/Makefile: Add new test test-fenv-return.
34144 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
34146         [BZ #17042]
34147         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
34148         when x - 1 is zero.
34149         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
34150         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
34151         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
34152         0.0L for an argument of 1.0L.
34153         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
34154         Likewise.
34155         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
34156         value when x - 1 is zero.
34157         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
34158         * sysdeps/i386/fpu/libm-test-ulps: Update.
34159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34161 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
34163         [BZ #15119]
34164         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
34166 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34168         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
34169         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
34171 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34173         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34174         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
34176         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34177         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
34179         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34180         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
34182         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34183         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
34185         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
34186         if not already defined.
34187         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
34188         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
34189         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
34190         (TLS_INIT_TP): Use it.
34191         (TLS_DEFINE_INIT_TP): New macro.
34192         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
34194 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
34196         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
34197         constant.
34198         [POSIX] (IXANY): Likewise.
34199         [POSIX] (OLCUC): Likewise.
34200         [POSIX || POSIX2008] (CBAUD): Do not allow.
34201         [POSIX || POSIX2008] (DEFECHO): Likewise.
34202         [POSIX || POSIX2008] (ECHOCTL): Likewise.
34203         [POSIX || POSIX2008] (ECHOKE): Likewise.
34204         [POSIX || POSIX2008] (ECHOPRT): Likewise.
34205         [POSIX || POSIX2008] (EXTA): Likewise.
34206         [POSIX || POSIX2008] (EXTB): Likewise.
34207         [POSIX || POSIX2008] (FLUSHO): Likewise.
34208         [POSIX || POSIX2008] (LOBLK): Likewise.
34209         [POSIX || POSIX2008] (PENDIN): Likewise.
34210         [POSIX || POSIX2008] (SWTCH): Likewise.
34211         [POSIX || POSIX2008] (VDISCARD): Likewise.
34212         [POSIX || POSIX2008] (VDSUSP): Likewise.
34213         [POSIX || POSIX2008] (VLNEXT): Likewise.
34214         [POSIX || POSIX2008] (VREPRINT): Likewise.
34215         [POSIX || POSIX2008] (VSTATUS): Likewise.
34216         [POSIX || POSIX2008] (VWERASE): Likewise.
34217         (B*): Change to B[0123456789]*.
34218         * conform/data/time.h-data [POSIX || UNIX98]
34219         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
34220         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34221         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
34222         [POSIX] (tm_*): Do not allow.
34224 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
34226         * Makefile (install): Don't set LANGUAGE.
34227         * Makefile.in (install): Likewise.
34228         * assert/Makefile (test-assert-ENV): Remove variable.
34229         (test-assert-perr-ENV): Likewise.
34230         * elf/Makefile (neededtest4-ENV): Likewise.
34231         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34232         [$(cross-compiling) = no]: Don't set LANGUAGE.
34233         * io/ftwtest-sh (LANG): Remove variable.
34234         * libio/Makefile (tst-widetext-ENV): Likewise.
34235         * manual/install.texi (Running make install): Don't refer to
34236         environment settings for make install.
34237         * INSTALL: Regenerated.
34238         * nptl/tst-tls6.sh: Don't set LANG.
34239         * posix/globtest.sh (LANG): Remove variable.
34240         * string/Makefile (tester-ENV): Likewise.
34241         (inl-tester-ENV): Likewise.
34242         (noinl-tester-ENV): Likewise.
34243         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34244         [$(cross-compiling) = no]: Don't set LANGUAGE.
34245         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
34246         without explicit environment settings.
34248 2014-06-06  Roland McGrath  <roland@hack.frob.com>
34250         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
34251         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
34252         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
34253         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
34255 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
34257         * crypt/crypt-private.h [DOS]: Add some includes taken from the
34258         other files in the crypt directory.
34259         * crypt/crypt.c: Remove duplicate includes.
34260         * crypt/crypt-entry.c: Likewise.
34261         * crypt/crypt_util.c: Likewise.
34263 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
34265         * Makeconfig (run-program-env): New variable.
34266         (run-program-prefix-before-env): Likewise.
34267         (run-program-prefix-after-env): Likewise.
34268         (run-program-prefix): Define in terms of new variables.
34269         (built-program-cmd-before-env): New variable.
34270         (built-program-cmd-after-env): Likewise.
34271         (built-program-cmd): Define in terms of new variables.
34272         (test-program-prefix-before-env): New variable.
34273         (test-program-prefix-after-env): Likewise.
34274         (test-program-prefix): Define in terms of new variables.
34275         (test-program-cmd-before-env): New variable.
34276         (test-program-cmd-after-env): Likewise.
34277         (test-program-cmd): Define in terms of new variables.
34278         * Rules (make-test-out): Use $(run-program-env).
34279         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
34280         (help): Do not mention environment variables.  Mention
34281         --timeoutfactor option.
34282         (timeoutfactor): New variable.
34283         (blacklist_exports): Remove function.
34284         (exports): Remove variable.
34285         (command): Do not include ${exports}.
34286         * manual/install.texi (Configuring and compiling): Do not mention
34287         test wrappers preserving environment variables.  Mention that last
34288         assignment to a variable must take precedence.
34289         * INSTALL: Regenerated.
34290         * benchtests/Makefile (run-bench): Use $(run-program-env).
34291         * catgets/Makefile ($(objpfx)test1.cat): Use
34292         $(built-program-cmd-before-env), $(run-program-env) and
34293         $(built-program-cmd-after-env).
34294         ($(objpfx)test2.cat): Do not specify environment variables
34295         explicitly.
34296         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
34297         $(run-program-env) and $(built-program-cmd-after-env).
34298         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
34299         $(run-program-env) and $(test-program-cmd-after-env).
34300         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
34301         explicitly.
34302         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
34303         run_program_env and test_program_cmd_after_env arguments.
34304         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
34305         * elf/tst-pathopt.sh: Use run_program_env argument.
34306         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
34307         $(test-wrapper-env) and $(run-program-env).
34308         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
34309         run_program_env arguments.
34310         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
34311         * intl/Makefile ($(objpfx)tst-gettext.out): Use
34312         $(test-program-prefix-before-env), $(run-program-env) and
34313         $(test-program-prefix-after-env).
34314         ($(objpfx)tst-gettext2.out): Likewise.
34315         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
34316         run_program_env and test_program_prefix_after_env arguments.
34317         * intl/tst-gettext2.sh: Likewise.
34318         * intl/tst-gettext4.sh: Do not set environment variables
34319         explicitly.
34320         * intl/tst-gettext6.sh: Likewise.
34321         * intl/tst-translit.sh: Likewise.
34322         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
34323         $(test-program-prefix-before-env), $(run-program-env) and
34324         $(test-program-prefix-after-env).
34325         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
34326         run_program_env and test_program_prefix_after_env arguments.
34327         * math/Makefile (run-regen-ulps): Use $(run-program-env).
34328         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
34329         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
34330         explicitly with each use of ${test_wrapper_env}.
34331         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
34332         $(test-program-prefix-before-env), $(run-program-env) and
34333         $(test-program-prefix-after-env).
34334         * posix/tst-getconf.sh: Do not set environment variables
34335         explicitly.
34336         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
34337         run_program_env and test_program_prefix_after_env arguments.
34338         * stdio-common/tst-printf.sh: Do not set environment variables
34339         explicitly.
34340         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
34341         $(test-program-prefix-before-env), $(run-program-env) and
34342         $(test-program-prefix-after-env).
34343         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
34344         run_program_env and test_program_prefix_after_env arguments.
34345         Split $test calls into $test_pre and $test.
34346         * timezone/Makefile (build-testdata): Use
34347         $(built-program-cmd-before-env), $(run-program-env) and
34348         $(built-program-cmd-after-env).
34350 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34352         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
34353         strlen for non SHARED builds.
34355 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34357         * nptl/allocatestack.c (check_list): Inlined function...
34358         (__reclaim_stacks): ... here.
34360 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34362         [BZ #15698]
34363         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
34364         memory overrun.
34366 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
34368         * Rules (make-test-out): Include
34369         LOCPATH=$(common-objpfx)localedata in default environment.
34370         * debug/Makefile (tst-chk1-ENV): Remove variable.
34371         (tst-chk2-ENV): Likewise.
34372         (tst-chk3-ENV): Likewise.
34373         (tst-chk4-ENV): Likewise.
34374         (tst-chk5-ENV): Likewise.
34375         (tst-chk6-ENV): Likewise.
34376         (tst-lfschk1-ENV): Likewise.
34377         (tst-lfschk2-ENV): Likewise.
34378         (tst-lfschk3-ENV): Likewise.
34379         (tst-lfschk4-ENV): Likewise.
34380         (tst-lfschk5-ENV): Likewise.
34381         (tst-lfschk6-ENV): Likewise.
34382         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
34383         (tst-iconv7-ENV): Likewise.
34384         * intl/Makefile (LOCPATH-ENV): Likewise.
34385         (tst-codeset-ENV): Likewise.
34386         (tst-gettext3-ENV): Likewise.
34387         (tst-gettext5-ENV): Likewise.
34388         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
34389         (tst-fopenloc-ENV): Likewise.
34390         (tst-fgetws-ENV): Remove variable.
34391         (tst-ungetwc1-ENV): Likewise.
34392         (tst-ungetwc2-ENV): Likewise.
34393         (bug-ungetwc2-ENV): Likewise.
34394         (tst-swscanf-ENV): Likewise.
34395         (bug-ftell-ENV): Likewise.
34396         (tst-fgetwc-ENV): Likewise.
34397         (tst-fseek-ENV): Likewise.
34398         (tst-ftell-partial-wide-ENV): Likewise.
34399         (tst-ftell-active-handler-ENV): Likewise.
34400         (tst-ftell-append-ENV): Likewise.
34401         * posix/Makefile (tst-fnmatch-ENV): Likewise.
34402         (tst-regexloc-ENV): Likewise.
34403         (bug-regex1-ENV): Likewise.
34404         (tst-regex-ENV): Likewise.
34405         (tst-regex2-ENV): Likewise.
34406         (bug-regex5-ENV): Likewise.
34407         (bug-regex6-ENV): Likewise.
34408         (bug-regex17-ENV): Likewise.
34409         (bug-regex18-ENV): Likewise.
34410         (bug-regex19-ENV): Likewise.
34411         (bug-regex20-ENV): Likewise.
34412         (bug-regex22-ENV): Likewise.
34413         (bug-regex23-ENV): Likewise.
34414         (bug-regex25-ENV): Likewise.
34415         (bug-regex26-ENV): Likewise.
34416         (bug-regex30-ENV): Likewise.
34417         (bug-regex32-ENV): Likewise.
34418         (bug-regex33-ENV): Likewise.
34419         (bug-regex34-ENV): Likewise.
34420         (bug-regex35-ENV): Likewise.
34421         (tst-rxspencer-ENV): Likewise.
34422         (tst-rxspencer-no-utf8-ENV): Likewise.
34423         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
34424         (tst-sscanf-ENV): Likewise.
34425         (tst-swprintf-ENV): Likewise.
34426         (tst-swscanf-ENV): Likewise.
34427         (test-vfprintf-ENV): Likewise.
34428         (scanf13-ENV): Likewise.
34429         (bug14-ENV): Likewise.
34430         (tst-grouping-ENV): Likewise.
34431         * stdlib/Makefile (tst-strtod-ENV): Likewise.
34432         (tst-strtod3-ENV): Likewise.
34433         (tst-strtod4-ENV): Likewise.
34434         (tst-strtod5-ENV): Likewise.
34435         (testmb2-ENV): Likewise./
34436         * string/Makefile (tst-strxfrm-ENV): Likewise.
34437         (tst-strxfrm2-ENV): Likewise.
34438         (bug-strcoll1-ENV): Likewise.
34439         (test-strcasecmp-ENV): Likewise.
34440         (test-strncasecmp-ENV): Likewise.
34441         * time/Makefile (tst-strptime-ENV): Likewise.
34442         (tst-ftime_l-ENV): Likewise.
34443         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
34444         (tst-mbrtowc-ENV): Likewise.
34445         (tst-wcrtomb-ENV): Likewise.
34446         (tst-mbrtowc2-ENV): Likewise.
34447         (tst-c16c32-1-ENV): Likewise.
34448         (tst-mbsnrtowcs-ENV): Likewise.
34450 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34452         * manual/resource.texi (How to get information about the memory
34453         subsystem?): Fix typo.
34454         Reported by Peon de la Parra Ivan <peon@keba.com>
34456 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
34458         [BZ #16882]
34459         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
34460         (pthread_spin_lock): Branch out of spin loop to proper location.
34461         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
34462         (pthread_spin_lock): Likewise.
34464         * nptl/tst-spin4.c: New test.
34465         * nptl/Makefile (tests): Add tst-spin4.
34467 2014-06-03  Andreas Schwab  <schwab@suse.de>
34469         [BZ #15946]
34470         * resolv/res_send.c (send_dg): Reload file descriptor after
34471         calling reopen.
34473 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
34475         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34477 2014-06-03  Richard Henderson  <rth@redhat.com>
34479         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
34480         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
34481         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
34482         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
34483         in the SAVE_PID block.
34484         (__libc_vfork): New alias.
34485         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
34487         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
34488         child in registers, not on the stack.  Remove RESET_PID conditionals.
34489         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
34491 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34493         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34495 2014-06-03  Wilco  <wdijkstr@arm.com>
34497         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
34498         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
34499         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34500         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
34501         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
34502         Likewise.
34504 2014-06-03  Wilco  <wdijkstr@arm.com>
34506         * sysdeps/aarch64/fpu/math_private.h
34507         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
34508         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
34509         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
34510         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34511         Fix declarations.
34513 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34515         * crypt/crypt-private.h: Include ufc-crypt.h.
34516         (__b64_from_24bit): Declare extern.
34517         * crypt/crypt_util.c(__b64_from_24bit): New function.
34518         (b64t): New static const variable.
34519         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
34520         (b64t): Remove variable.
34521         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
34522         * crypt/sha256-crypt.c: Include crypt-private.h.
34523         (b64t): Remove variable.
34524         (__sha256_crypt_r): Remove b64_from_24bit and replace
34525         with __b64_from_24bit.
34526         * crypt/sha512-crypt.c: Likewise.
34528 2014-06-02  Roland McGrath  <roland@hack.frob.com>
34530         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
34531         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
34532         Label the code __libc_vfork rather than __vfork.
34533         [!NOT_IN_libc] (vfork): Define as weak alias.
34534         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
34535         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
34536         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
34538 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34540         * malloc/malloc.c (malloc_info): Fix format specifier for
34541         n_mmaps.
34543 2014-06-02  Wilco  <wdijkstr@arm.com>
34545         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
34546         FPCR write.
34548 2014-06-02  Wilco  <wdijkstr@arm.com>
34550         [BZ #17009]
34551         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
34552         Rewrite to reduce FPCR/FPSR accesses.
34554 2014-06-01  David S. Miller  <davem@davemloft.net>
34556         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34558 2014-05-31  David S. Miller  <davem@davemloft.net>
34560         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
34561         to occur in round to nearest mode when |x| >= 2.0
34563 2014-05-30  Richard Henderson  <rth@twiddle.net>
34565         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
34566         (PSEUDO_RET_NOERRNO): Remove.
34567         (ret): Don't redefine.
34568         (ret_NOERRNO): Define in terms of ret.
34569         (ret_ERRVAL): Likewise.
34571         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
34572         use of PSEUDO_RET; perform the error check directly.
34574 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
34576         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
34577         with __int128_t.
34579 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34581         * malloc/malloc (malloc_info): Fix formatting.
34583 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34584             Roland McGrath  <roland@hack.frob.com>
34586         * malloc/malloc (malloc_info): Also print mmapped statistics.
34588 2014-05-30  Roland McGrath  <roland@hack.frob.com>
34590         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
34591         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
34593 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
34595         * malloc/malloc.c (malloc_info): Inline mi_arena.
34597 2014-05-29  Richard Henderson  <rth@twiddle.net>
34599         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
34600         Remove comma before expanding ASM_ARGS_##nr.
34601         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
34602         Make _x0 a strict output; make _x8 a strict input; adjust expansion
34603         of ASM_ARGS_##nr.
34604         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
34605         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
34606         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
34607         (ASM_ARGS_1): Add leading comma.
34609         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
34610         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
34611         to __errno_location.
34612         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
34613         Remove the expected plt for __errno_location.
34615         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34616         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
34617         call to __read_tp.
34619         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34620         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
34621         it and break it down.
34622         (DOCARGS_0, DOCARGS_1): Do nothing.
34623         (DOCARGS_2): Update to store into the new stack frame.
34624         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
34625         (UNDOCARGS_1): Update to restore from the new stack frame.
34626         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
34627         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
34629         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34630         (SINGLE_THREAD_P): New parameter for result regno.
34631         (PSEUDO): Update to match; use cbz instead of beq.
34633         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34634         Use ENTRY to define the _nocancel entry point.  Share the syscall
34635         and syscall error check paths with the cancel path.
34636         (PSEUDO_END): New.
34638         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
34639         whitespace; tabs before and after asm mnemonics.
34641 2014-05-29  Eric Wong  <normalperson@yhbt.net>
34643         [BZ #15132]
34644         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34645         Call fstat64 or stat64 internally, depending on arguments passed.
34646         Replace stat buffer argument with file descriptor argument.
34647         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
34648         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
34649         Pass fd to __internal_statvfs instead of calling fstat64.
34650         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
34651         Pass fd to __internal_statvfs64 instead of calling fstat64.
34652         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
34653         Pass -1 to __internal_statvfs instead of calling stat64.
34654         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
34655         Pass -1 to __internal_statvfs64 instead of calling stat64.
34657 2014-05-28  Roland McGrath  <roland@hack.frob.com>
34659         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
34660         that was previously under [RESET_PID].
34661         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
34663         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
34664         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
34666 2014-05-27  Roland McGrath  <roland@hack.frob.com>
34668         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
34670         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
34671         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
34673 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
34675         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
34677 2014-05-27  Andreas Schwab  <schwab@suse.de>
34679         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
34680         TLS_INIT_TP macro.
34681         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
34682         * elf/rtld.c (init_tls, dl_main): Likewise.
34683         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
34684         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
34685         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
34686         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
34687         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
34688         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
34689         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
34690         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
34691         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
34692         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
34693         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
34694         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
34695         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
34696         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
34697         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
34698         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
34699         * sysdeps/generic/tls.h: Update description.
34701 2014-05-27  Will Newton  <will.newton@linaro.org>
34703         [BZ #16990]
34704         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
34705         and restore r2 rather than just restoring.
34707 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34709         [BZ #16724]
34710         * libio/tst-ftell-append.c: New test case.
34711         * libio/Makefile (tests): Add test case.
34712         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
34713         append mode.
34714         * libio/wfileops.c (do_ftell_wide): Likewise.
34716 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34718         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34720         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
34721         ...
34722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
34723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
34724         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
34725         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
34726         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
34727         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
34728         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
34729         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
34730         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
34731         Moved ...
34732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
34733         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
34734         Moved ...
34735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
34736         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
34737         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
34738         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
34739         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
34740         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
34741         ...
34742         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
34743         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
34744         Moved ...
34745         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
34746         here.
34747         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
34748         ...
34749         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
34750         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
34751         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
34753         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
34754         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
34755         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
34756         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
34758         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
34759         merge into ...
34760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
34761         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
34762         ...
34763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
34764         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
34765         ...
34766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
34767         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
34768         Moved ...
34769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
34770         here.
34771         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
34772         Moved ...
34773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
34774         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
34775         Moved ...
34776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
34778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
34779         conditional [RESET_PID].
34780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
34781         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
34782         removed.
34783         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
34784         removed.
34786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
34787         <tcb-offsets.h>.
34788         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34789         (__libc_vfork): New strong alias.
34790         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
34791         removed.
34792         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
34793         Removed.
34795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
34796         <tcb-offsets.h>.
34797         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
34798         (__libc_vfork): New strong alias.
34799         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
34800         removed.
34801         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
34802         removed.
34804 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
34806         * malloc/malloc.c (mi_arena): New function.
34807         (malloc_info): Remove nested function mi_arena. Call non-nosted
34808         function mi_arena.
34810 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34812         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
34813         by insrwi.
34814         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
34815         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
34816         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
34817         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
34818         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
34819         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
34820         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
34822 2014-05-26  Andreas Schwab  <schwab@suse.de>
34824         [BZ #16984]
34825         * locale/programs/repertoire.c (repertoire_read): Add slash
34826         between I18NPATH element and file name.
34827         * locale/programs/locfile.c (locfile_read): Likewise.
34829 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
34831         * nptl/pthread_mutexattr_settype.c
34832         (__pthread_mutexattr_settype):
34833         Disable lock elision for PTHREAD_MUTEX_NORMAL.
34835 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
34837         * nptl/tst-mutex5 (do_test):
34838         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
34840 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34842         * benchtests/README: Document 'init' directive.
34843         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
34844         BENCH_INIT.
34845         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
34846         (parse_file): Recognize 'init' directive.
34848 2014-05-26  Kyle McMartin  <kyle@redhat.com>
34850         [BZ #16796]
34851         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
34852         alignment of struct pthread.
34854 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34856         [BZ #16878]
34857         * nscd/netgroupcache.c (addgetnetgrentX): Look for
34858         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
34859         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
34860         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
34862 2014-05-25  Richard Henderson  <rth@twiddle.net>
34864         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34865         (SINGLE_THREAD_P_PIC): Remove.
34866         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
34867         (SINGLE_THREAD_P_PIC): Remove.
34869         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
34870         branch to syscall error ...
34871         (PSEUDO): ... here.
34872         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
34873         from __local_syscall_error to .Lsyscall_error.
34874         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
34875         (SYSCALL_ERROR): Update label name.
34877         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34878         Do not use DOARGS/UNDOARGS.
34879         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
34880         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
34881         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
34882         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
34883         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
34885         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
34886         block comment.
34888         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
34889         define if !NOT_IN_libc.
34890         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
34891         define with non-default symbol versions.
34893 2014-05-23  Richard Henderson  <rth@twiddle.net>
34895         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
34896         (vfork, __vfork): Define via compat_symbol.
34898         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
34899         [!HAVE_IFUNC] (vfork_compat): Remove.
34900         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
34902 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
34904         [BZ #16978]
34905         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
34906         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
34907         variable.
34909 2014-05-23  Richard Henderson  <rth@twiddle.net>
34911         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
34912         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
34913         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
34914         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
34916         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
34917         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
34918         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
34919         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
34920         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
34921         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
34922         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
34923         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
34924         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
34925         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
34926         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
34927         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
34928         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
34929         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
34930         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
34931         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
34932         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
34933         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
34934         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
34935         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
34936         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
34937         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
34938         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
34939         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
34940         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
34941         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
34942         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
34943         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
34944         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
34945         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
34946         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
34947         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
34948         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
34949         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
34950         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
34951         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
34952         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
34953         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
34954         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
34955         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
34956         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
34957         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
34958         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
34959         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
34960         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
34961         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
34962         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
34963         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
34964         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
34965         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
34966         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
34967         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
34968         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
34969         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
34970         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
34971         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
34973         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
34974         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
34975         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
34976         before exiting on error.
34977         (__libc_vfork): New strong alias.
34978         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
34979         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
34981         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
34982         that was previously under [RESET_PID].
34983         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
34985         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
34987 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
34989         [BZ #16977]
34990         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
34991         value when x - 1 is zero.
34992         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
34993         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
34994         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
34995         0.0L for an argument of 1.0L.
34996         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
34997         Likewise.
34998         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
34999         value when x - 1 is zero.
35000         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
35001         * sysdeps/i386/fpu/libm-test-ulps: Update.
35002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35004 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
35006         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
35007         alphasort and versionsort.
35009 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35011         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
35012         macro.
35013         [copysignf]: Likewise.
35015 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35017         * crypt/md5-crypt.c: Fix formatting.
35019 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35021         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
35022         (b64_from_24bit): New function.
35024 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35026         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
35027         libc_hidden_builtin_def to ifunc.
35028         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
35029         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
35031 2014-05-21  Roland McGrath  <roland@hack.frob.com>
35033         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
35034         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
35036 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
35038         * nscd/Depend (linuxthreads): Remove.
35039         (nptl): Add.
35040         * resolv/Depend (linuxthreads): Remove.
35041         * rt/Depend (linuxthreads): Remove.
35043         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
35044         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
35045         $(common-objpfx)elf/.
35046         (link-libc-before-gnulib): Likewise.
35047         (elfobjdir): Remove variable.
35048         * Makefile (install): Use $(elf-objpfx) instead of
35049         $(common-objpfx)elf/.
35050         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
35051         $(elfobjdir)/.
35052         (link-libc-deps): Likewise.
35053         ($(common-objpfx)libc.so): Likewise.
35054         ($(common-objpfx)linkobj/libc.so): Likewise.
35055         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
35056         instead of $(common-objpfx)elf/.
35057         (symbolic-link-list): Likewise.
35058         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35059         [$(cross-compiling) = no]: Likewise.
35060         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
35061         $(elfobjdir)/.
35062         (static-gnulib-arch): Likewise.
35063         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35064         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
35065         $(common-objpfx)elf/.
35067 2014-05-21  Richard Henderson  <rth@redhat.com>
35069         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35070         (SINGLE_THREAD_P): Use the correct width load.  Fold
35071         into the ldr offset.
35073         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
35074         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
35076 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
35078         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
35079         (libgcc_s_resume): Use __attribute_used__.
35080         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
35081         Likewise.
35083 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35085         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
35086         optimization when used with float constants.
35088         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35090 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
35092         [BZ #16915]
35093         * locale/nl_langinfo_l.c: Make direct reference to every
35094         _nl_current_CATEGORY symbol.
35095         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
35096         (tests-static): Add tst-langinfo-static.
35097         (tests-special): Add tst-langinfo-static.out.
35098         ($(objpfx)tst-langinfo.out): Redirect output.
35099         ($(objpfx)tst-langinfo-static.out): New.
35100         * localedata/tst-langinfo.sh: Send output to stdout.
35101         * localedata/tst-langinfo-static.c: New file.
35103         [BZ #16965]
35104         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
35105         when the shift amount is modulo the limb size.
35107 2014-05-20  Richard Henderson  <rth@redhat.com>
35109         [BZ #16967]
35110         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
35111         Change type of sa_flags from unsigned int to int.
35113         [BZ #16966]
35114         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
35116         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
35118 2014-05-20  Will Newton  <will.newton@linaro.org>
35120         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35121         Test the return value of the system call in the nocancel case.
35123 2014-05-20  Will Newton  <will.newton@linaro.org>
35124             Yvan Roux  <yvan.roux@linaro.org>
35126         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
35127         #include of asm/ptrace.h.
35128         (PTRACE_GET_THREAD_AREA): Remove #undef.
35129         (PTRACE_GETHBPREGS): Likewise.
35130         (PTRACE_SETHBPREGS): Likewise.
35131         (struct user_regs_struct): New structure.
35132         (struct user_fpsimd_struct): New structure.
35133         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
35134         #include of asm/ptrace.h and second #include of sys/user.h.
35135         (PTRACE_GET_THREAD_AREA): Remove #undef.
35136         (PTRACE_GETHBPREGS): Likewise.
35137         (PTRACE_SETHBPREGS): Likewise.
35138         (ELF_NGREG): Use new struct user_regs_struct.
35139         (elf_fpregset_t): Use new struct user_fpsimd_struct.
35141 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35143         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
35144         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
35146 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
35148         [BZ #16958]
35149         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
35150         membar to avoid block loads/stores to overlap previous stores.
35152 2014-05-17  Richard Henderson  <rth@redhat.com>
35154         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
35155         Create the __##syscall_name##_nocancel entry point.
35156         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
35157         Remove; let the sysdep-cancel.h code create it.
35159 2014-05-17  David S. Miller  <davem@davemloft.net>
35161         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
35162         Protect with __USE_GNU.
35163         (TIOCSET_TEMPT): Likewise.
35164         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35165         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
35166         these are already provided in bits/ioctl-types.h
35168 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35170         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
35171         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
35173         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
35174         Use wait4 regardless of [__NR_waitpid].
35176 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
35178         PR libgcc/60166
35179         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
35180         (_FP_NANSIGN_Q): Set the quiet bit.
35182 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
35184         * benchtests/Makefile
35185         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
35186         not $(common-objpfx)math/libm.so.
35187         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
35188         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
35189         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
35190         $(common-objpfx)dlfcn/libdl.so.
35191         ($(objpfx)tst-audit8): Depend on $(libm), not
35192         $(common-objpfx)math/libm.so.
35193         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
35194         not $(common-objpfx)dlfcn/libdl.so.
35195         * math/Makefile
35196         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
35197         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
35198         [$(build-shared) = yes].
35199         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
35200         $(common-objpfx)nptl/libpthread.so.
35201         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
35202         $(common-objpfx)math/libm.so$(libm.so-version) or
35203         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
35204         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
35205         $(common-objpfx)dlfcn/libdl.so.
35206         * setjmp/Makefile (link-libm): Remove variable.
35207         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
35208         * stdio-common/Makefile (link-libm): Remove variable.
35209         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
35210         * stdlib/Makefile (link-libm): Remove variable.
35211         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
35212         ($(objpfx)tst-strtod-round): Likewise.
35213         ($(objpfx)tst-tininess): Likewise.
35214         ($(objpfx)tst-strtod-underflow): Likewise.
35215         ($(objpfx)tst-strtod6): Likewise.
35216         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
35217         $(libdl), not $(common-objpfx)nptl/libpthread.so and
35218         $(common-objpfx)dlfcn/libdl.so.
35220 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35222         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
35223         BSD terminal modes definitions.
35225 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35227         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
35228         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
35230         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
35231         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
35232         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
35233         Don't do #include_next.
35234         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
35235         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
35236         Don't do #include_next.
35237         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
35238         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
35239         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
35240         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
35242 2014-05-16  Allan McRae  <allan@archlinux.org>
35244         * po/sv.po: Update Swedish translation from translation project.
35246         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
35247         in sed expression.
35249 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
35251         [BZ #16917]
35252         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
35253         errno if the TIOCGPTN ioctl fails with an error different than
35254         EINVAL.
35255         * login/tst-ptsname.c: New file.
35256         * login/Makefile (tests): Add tst-ptsname.
35258         [BZ #16943]
35259         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
35260         and prlimit64.
35262 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35264         [BZ #16849]
35265         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
35266         herrno to return EAI_AGAIN.
35268 2014-05-14  Roland McGrath  <roland@hack.frob.com>
35270         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
35271         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
35272         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
35273         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
35274         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
35275         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
35276         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
35277         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
35278         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
35279         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
35280         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
35281         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
35282         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
35283         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
35284         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
35285         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
35286         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
35287         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
35288         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
35289         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
35290         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
35291         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
35292         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
35293         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
35294         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
35295         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
35296         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
35297         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
35298         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
35299         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
35300         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
35301         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
35302         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
35303         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
35304         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35305         Moved ...
35306         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
35307         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
35308         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
35309         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
35310         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
35311         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
35312         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
35313         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
35314         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
35315         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
35316         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
35317         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
35318         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
35319         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
35320         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
35321         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
35322         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
35323         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
35324         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
35325         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
35326         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
35327         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
35328         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
35329         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
35330         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
35331         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
35332         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
35333         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35334         Moved ...
35335         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
35336         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
35337         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
35338         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
35339         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
35340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
35341         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
35342         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
35343         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
35344         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
35345         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
35346         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
35347         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
35348         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
35349         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
35350         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
35351         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
35352         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
35353         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
35354         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35355         Moved ...
35356         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
35357         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
35358         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
35360         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
35361         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
35362         (libpthread-sysdep_routines): Add elision-related stuff here instead.
35363         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
35364         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
35365         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
35366         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
35367         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
35368         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
35369         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
35370         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
35371         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
35372         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
35373         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
35374         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
35375         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
35376         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
35377         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
35378         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
35379         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
35380         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
35381         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
35382         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
35383         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
35384         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
35385         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
35386         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
35387         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
35388         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
35389         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
35390         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
35392         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
35393         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
35395         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
35396         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
35397         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
35398         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
35399         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
35400         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
35401         Moved ...
35402         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
35403         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
35404         Moved ...
35405         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
35406         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
35407         Moved ...
35408         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
35409         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
35410         Moved ...
35411         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
35412         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
35413         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
35414         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
35415         Moved ...
35416         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
35417         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
35418         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
35419         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
35420         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
35421         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
35422         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
35423         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
35424         Moved ...
35425         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
35426         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35427         Moved ...
35428         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35429         ... here.
35430         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
35431         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
35432         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
35433         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
35434         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35435         Moved ...
35436         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35437         ... here.
35438         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
35439         Moved ...
35440         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
35441         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
35442         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
35443         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
35444         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
35445         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
35446         Moved ...
35447         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
35448         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
35449         Moved ...
35450         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
35451         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
35452         Moved ...
35453         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
35454         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
35455         Moved ...
35456         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
35457         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
35458         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
35459         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
35460         Moved ...
35461         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
35462         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
35463         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
35464         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
35465         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
35466         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
35467         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
35468         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
35469         Moved ...
35470         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
35471         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35472         Moved ...
35473         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35474         ... here.
35475         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
35476         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
35477         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
35478         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
35479         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35480         Moved ...
35481         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35482         ... here.
35483         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
35484         Moved ...
35485         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
35486         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
35487         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
35488         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
35489         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
35490         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
35491         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
35492         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
35493         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
35494         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
35495         Moved ...
35496         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
35497         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
35498         Moved ...
35499         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
35500         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
35501         Moved ...
35502         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
35503         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
35504         Moved ...
35505         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
35506         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
35507         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
35508         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
35509         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
35510         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
35511         Moved ...
35512         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
35513         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
35514         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
35515         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
35516         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
35517         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
35518         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
35519         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
35520         Moved ...
35521         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
35522         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35523         Moved ...
35524         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35525         ... here.
35526         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
35527         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
35528         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
35529         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
35530         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35531         Moved ...
35532         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35533         ... here.
35534         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
35535         Moved ...
35536         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
35537         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
35538         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
35539         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
35540         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
35541         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
35542         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
35543         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
35544         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
35545         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
35546         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
35548         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
35549         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
35551         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
35552         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
35554         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
35555         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
35556         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
35557         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
35558         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
35559         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
35560         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
35561         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
35562         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
35563         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
35564         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
35565         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
35566         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
35567         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
35568         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
35569         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
35570         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
35571         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
35572         Moved ...
35573         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
35574         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
35575         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
35576         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
35577         Moved ...
35578         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
35579         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
35580         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
35581         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
35582         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
35583         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
35584         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
35585         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
35586         Moved ...
35587         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
35588         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
35589         Moved ...
35590         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
35591         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
35592         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
35593         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
35594         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
35595         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
35596         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
35597         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
35598         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
35599         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
35600         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
35601         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
35602         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
35603         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
35604         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
35605         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
35606         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
35608         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
35609         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
35610         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
35611         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
35612         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
35614         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
35615         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
35616         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
35617         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
35618         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
35619         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
35620         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
35621         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
35622         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
35623         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
35625         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
35626         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
35628         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
35629         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
35630         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
35631         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
35632         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
35633         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
35634         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
35635         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
35636         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
35637         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
35638         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
35639         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
35640         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
35641         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
35642         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
35643         Update #include.
35644         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
35645         Likewise.
35646         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35647         Likewise.
35648         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35649         Likewise.
35650         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35651         Likewise.
35652         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
35653         Likewise.
35654         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
35655         Likewise.
35656         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
35657         Likewise.
35658         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
35659         Likewise.
35660         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
35661         Likewise.
35662         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
35663         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
35664         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
35665         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
35666         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
35667         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
35668         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
35669         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
35670         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
35671         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
35672         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
35673         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
35674         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
35675         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
35676         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
35678         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
35679         that was previously under [RESET_PID].
35680         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35681         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
35682         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
35684         * sysdeps/i386/nptl/Implies: New file.
35685         * sysdeps/x86_64/nptl/Implies: New file.
35686         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
35687         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
35688         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
35689         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
35691         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
35692         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35693         (__libc_vfork): New strong alias.
35694         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
35695         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
35697         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
35698         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35699         (__libc_vfork): New strong alias.
35700         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
35701         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
35703         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
35704         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35705         (__libc_vfork): New strong alias.
35706         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
35707         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
35708         * nptl/pt-vfork.c: New file.
35709         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
35710         (libpthread: GLIBC_2.20): New version set (empty).
35712 2014-05-14  Will Newton  <will.newton@linaro.org>
35714         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
35715         rather than #if.
35717 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
35719         [BZ #16564]
35720         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
35721         arguments with exponent 65 or above.
35722         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
35723         arguments 0x1p113L or above.
35724         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
35725         to arguments 0x1p107L or above.
35726         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
35727         positive arguments with exponent 65 or above.
35728         * math/auto-libm-test-in: Add more tests of log1p.
35729         * math/auto-libm-test-out: Regenerated.
35731         [BZ #16928]
35732         * math/s_cacos.c (__cacos): Ensure zero real part of result from
35733         non-finite arguments is +0.
35734         * math/s_cacosf.c (__cacosf): Likewise.
35735         * math/s_cacosl.c (__cacosl): Likewise.
35736         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
35737         * sysdeps/i386/fpu/libm-test-ulps: Update.
35738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35740         [BZ #16927]
35741         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
35742         value.
35743         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
35744         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
35745         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
35746         for explicit high bit of mantissa when testing for argument equal
35747         to 1.
35748         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
35749         * sysdeps/i386/fpu/libm-test-ulps: Update.
35750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35752         [BZ #16516]
35753         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
35754         (__erf): Scale by 16 instead of 8 in potentially underflowing
35755         case.  Ensure exception if result actually underflows.
35756         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
35757         (__erff): Scale by 16 instead of 8 in potentially underflowing
35758         case.  Ensure exception if result actually underflows.
35759         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
35760         (efx8): Remove variable.
35761         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35762         case.  Ensure exception if result actually underflows.
35763         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
35764         (efx8): Remove variable.
35765         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35766         case.  Ensure exception if result actually underflows.
35767         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
35768         (efx8): Remove variable.
35769         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35770         case.  Ensure exception if result actually underflows.
35771         * math/auto-libm-test-in: Add more tests of erf.
35772         * math/auto-libm-test-out: Regenerated.
35774 2014-05-14  Andreas Schwab  <schwab@suse.de>
35776         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
35777         Remove code conditionalized on USE___THREAD.
35779         * config.h.in (HAVE_PT_CHOWN): Define as 0.
35780         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
35781         not definedness.
35783 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
35785         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
35786         Define unconditionally.
35787         (__ASSUME_O_CLOEXEC): Likewise.
35788         (__ASSUME_SOCK_CLOEXEC): Likewise.
35789         (__ASSUME_IN_NONBLOCK): Likewise.
35790         (__ASSUME_PIPE2): Likewise.
35791         (__ASSUME_EVENTFD2): Likewise.
35792         (__ASSUME_SIGNALFD4): Likewise.
35793         (__ASSUME_DUP3): Likewise.
35794         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35795         (__ASSUME_DUP3): Do not define.
35796         (__ASSUME_EVENTFD2): Likewise.
35797         (__ASSUME_IN_NONBLOCK): Likewise.
35798         (__ASSUME_O_CLOEXEC): Likewise.
35799         (__ASSUME_PIPE2): Likewise.
35800         (__ASSUME_SIGNALFD4): Likewise.
35801         (__ASSUME_SOCK_CLOEXEC): Likewise.
35802         (__ASSUME_UTIMES): Undefine.
35803         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35804         (__ASSUME_UTIMES): Do not define.
35805         (__ASSUME_O_CLOEXEC): Likewise.
35806         (__ASSUME_SOCK_CLOEXEC): Likewise.
35807         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
35808         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
35809         0x020621].
35810         (__ASSUME_PIPE2): Likewise.
35811         (__ASSUME_EVENTFD2): Likewise.
35812         (__ASSUME_SIGNALFD4): Likewise.
35813         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
35814         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
35815         Do not define.
35816         (__ASSUME_EVENTFD2): Likewise.
35817         (__ASSUME_SIGNALFD4): Likewise.
35818         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
35819         (__ASSUME_32BITUIDS): Likewise.
35820         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35821         (__ASSUME_IPC64): Likewise.
35822         (__ASSUME_ST_INO_64_BIT): Likewise.
35823         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
35824         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
35825         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35826         (__ASSUME_UTIMES): Do not define.
35827         (__ASSUME_PSELECT): Likewise.
35828         (__ASSUME_PPOLL): Likewise.
35829         (__ASSUME_O_CLOEXEC): Likewise.
35830         (__ASSUME_SOCK_CLOEXEC): Likewise.
35831         (__ASSUME_IN_NONBLOCK): Likewise.
35832         (__ASSUME_PIPE2): Likewise.
35833         (__ASSUME_EVENTFD2): Likewise.
35834         (__ASSUME_SIGNALFD4): Likewise.
35835         (__ASSUME_DUP3): Likewise.
35836         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35837         (__ASSUME_UTIMES): Likewise.
35838         (__ASSUME_O_CLOEXEC): Likewise.
35839         (__ASSUME_SOCK_CLOEXEC): Likewise.
35840         (__ASSUME_IN_NONBLOCK): Likewise.
35841         (__ASSUME_PIPE2): Likewise.
35842         (__ASSUME_EVENTFD2): Likewise.
35843         (__ASSUME_SIGNALFD4): Likewise.
35844         (__ASSUME_DUP3): Likewise.
35845         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35846         (__ASSUME_UTIMES): Likewise.
35847         (__ASSUME_O_CLOEXEC): Likewise.
35848         (__ASSUME_SOCK_CLOEXEC): Likewise.
35849         (__ASSUME_IN_NONBLOCK): Likewise.
35850         (__ASSUME_PIPE2): Likewise.
35851         (__ASSUME_EVENTFD2): Likewise.
35852         (__ASSUME_SIGNALFD4): Likewise.
35853         (__ASSUME_DUP3): Likewise.
35854         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
35855         Likewise.
35856         (__ASSUME_UTIMES): Likewise.
35857         (__ASSUME_EVENTFD2): Likewise.
35858         (__ASSUME_SIGNALFD4): Likewise.
35859         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35860         (__ASSUME_O_CLOEXEC): Likewise.
35861         (__ASSUME_SOCK_CLOEXEC): Likewise.
35862         (__ASSUME_IN_NONBLOCK): Likewise.
35863         (__ASSUME_PIPE2): Likewise.
35864         (__ASSUME_EVENTFD2): Likewise.
35865         (__ASSUME_SIGNALFD4): Likewise.
35866         (__ASSUME_DUP3): Likewise.
35867         (__ASSUME_UTIMES): Undefine.
35869         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
35870         feclearexcept.  Remove symbol versioning code.
35871         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
35872         symbol versioning code.
35873         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
35874         symbol versioning code.
35875         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
35876         feupdateenv.  Remove symbol versioning code.
35877         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
35878         fegetexceptflag.  Remove symbol versioning code.
35879         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
35880         fesetexceptflag.  Remove symbol versioning code.
35881         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
35882         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
35883         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
35884         (__posix_fadvise64_l32): Remove prototype.
35885         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
35886         code.
35888 2014-05-13  Roland McGrath  <roland@hack.frob.com>
35890         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
35891         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
35892         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
35893         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
35895 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
35897         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
35898         current working directory
35900 2014-05-13  Roland McGrath  <roland@hack.frob.com>
35902         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
35903         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
35904         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
35905         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
35906         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
35907         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
35908         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
35909         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
35910         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
35911         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
35912         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
35913         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
35914         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
35915         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
35916         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
35917         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
35918         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
35919         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
35920         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
35921         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
35922         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
35923         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
35924         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
35925         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
35926         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
35927         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
35928         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
35929         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
35930         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
35931         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
35932         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
35933         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
35934         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
35935         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
35936         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
35937         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
35938         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
35939         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
35940         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
35941         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
35942         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
35943         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
35945         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
35946         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
35948         * sysdeps/unix/sysv/linux/arm/Makefile
35949         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
35950         Add rt-aeabi_unwind_cpp_pr1.
35951         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
35952         Add nptl-aeabi_unwind_cpp_pr1.
35953         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
35954         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
35955         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
35956         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
35957         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
35958         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
35960         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
35961         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
35962         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
35963         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
35965         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
35966         Deconditionalize the code that was previously under [RESET_PID].
35967         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
35969         * sysdeps/generic/exit-thread.h: New file.
35970         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
35971         * include/unistd.h (__exit_thread): Remove declaration.
35972         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
35973         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
35974         * csu/libc-start.c: Include <exit-thread.h>.
35975         (LIBC_START_MAIN): Pass no argument to __exit_thread.
35976         * nptl/pthread_create.c: Include <exit-thread.h>.
35977         (start_thread): Call __exit_thread in place of __exit_thread_inline.
35978         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
35979         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
35980         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
35981         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
35982         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
35983         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
35984         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
35985         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
35986         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
35987         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
35988         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
35989         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
35990         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
35991         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
35992         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
35993         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
35995 2014-05-13  Andreas Schwab  <schwab@suse.de>
35997         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
35999 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
36001         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
36002         (__ASSUME_UTIMES): Do not condition on kernel version.
36003         (__ASSUME_PSELECT): Define unconditionally.
36004         (__ASSUME_PPOLL): Likewise.
36005         (__ASSUME_ATFCTS): Likewise.
36006         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
36007         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
36008         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
36009         (__ASSUME_UTIMENSAT): Define unconditionally.
36010         (__ASSUME_PRIVATE_FUTEX): Likewise.
36011         (__ASSUME_FALLOCATE): Likewise.
36012         (__ASSUME_O_CLOEXEC): Likewise.
36013         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
36014         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
36015         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
36016         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
36017         (__ASSUME_IN_NONBLOCK): Likewise.
36018         (__ASSUME_PIPE2): Likewise.
36019         (__ASSUME_EVENTFD2): Likewise.
36020         (__ASSUME_SIGNALFD4): Likewise.
36021         (__ASSUME_DUP3): Likewise.
36022         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36023         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
36024         (__ASSUME_AT_RANDOM): Likewise.
36025         (__ASSUME_PREADV): Likewise.
36026         (__ASSUME_PWRITEV): Likewise.
36027         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
36028         (__ASSUME_F_GETOWN_EX): Define unconditionally.
36029         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
36030         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36031         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
36032         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36033         (__ASSUME_O_CLOEXEC): Define unconditionally.
36034         (__ASSUME_PSELECT): Do not undefine conditionally.
36035         (__ASSUME_PPOLL): Likewise.
36036         (__ASSUME_ATFCTS): Likewise.
36037         (__ASSUME_SET_ROBUST_LIST): Likewise.
36038         (__ASSUME_UTIMENSAT): Likewise.
36039         (__ASSUME_FDATASYNC): Define unconditionally.
36040         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36041         (__ASSUME_SIGFRAME_V2): Likewise.
36042         )__ASSUME_EVENTFD2): Likewise.
36043         (__ASSUME_SIGNALFD4): Likewise.
36044         (__ASSUME_PSELECT): Do not undefine conditionally.
36045         (__ASSUME_PPOLL): Likewise.
36046         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36047         (__ASSUME_PSELECT): Define unconditionally.
36048         (__ASSUME_PPOLL): Likewise.
36049         (__ASSUME_O_CLOEXEC): Likewise.
36050         (__ASSUME_SOCK_CLOEXEC): Likewise.
36051         (__ASSUME_IN_NONBLOCK): Likewise.
36052         (__ASSUME_PIPE2): Likewise.
36053         (__ASSUME_EVENTFD2): Likewise.
36054         (__ASSUME_SIGNALFD4): Likewise.
36055         (__ASSUME_DUP3): Likewise.
36056         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36057         (__ASSUME_O_CLOEXEC): Likewise.
36058         (__ASSUME_SOCK_CLOEXEC): Likewise.
36059         (__ASSUME_IN_NONBLOCK): Likewise.
36060         (__ASSUME_PIPE2): Likewise.
36061         (__ASSUME_EVENTFD2): Likewise.
36062         (__ASSUME_SIGNALFD4): Likewise.
36063         (__ASSUME_DUP3): Likewise.
36064         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36065         (__ASSUME_EVENTFD2): Likewise.
36066         (__ASSUME_SIGNALFD4): Likewise.
36067         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36069 2014-05-12  Andreas Schwab  <schwab@suse.de>
36071         [BZ #16932]
36072         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
36073         (_nss_nis_gethostbyname4_r): Return error if item length is larger
36074         than maximum RPC packet size.
36075         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
36076         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
36077         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
36078         (_nss_nis_getservbyport_r): Likewise.
36080 2014-05-12  Will Newton  <will.newton@linaro.org>
36082         * malloc/Makefile (tests): Add tst-mallopt.
36083         * malloc/tst-mallopt.c: New file.
36085 2014-05-09  Roland McGrath  <roland@hack.frob.com>
36087         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
36088         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
36090 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36092         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
36093         (tst-tlsmod6.so): Likewise.
36095 2014-05-09  Roland McGrath  <roland@hack.frob.com>
36097         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
36099 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
36101         [BZ #16064]
36102         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
36103         and <dl-procinfo.h>.
36104         (__fegetenv): Save SSE state in envp->__eip if supported.
36105         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
36106         envp->__eip if supported.
36107         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
36108         and <dl-procinfo.h>.
36109         (__fesetenv): Always set __eip, __cs_selector, __opcode,
36110         __data_offset and __data_selector in environment to 0.  Set SSE
36111         state if supported.
36112         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
36113         test-fenv-sse.
36114         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
36115         -mfpmath=sse.
36116         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
36118 2014-05-09  Will Newton  <will.newton@linaro.org>
36120         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
36121         and libc_relro_required for ARM.
36122         * sysdeps/arm/preconfigure: Regenerate.
36124 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
36125             Stefan Liebler  <stli@linux.vnet.ibm.com>
36127         * config.make.in (enable-lock-elision): New Makefile variable.
36128         * configure.ac: Likewise.
36129         * configure: Regenerate.
36130         * sysdeps/s390/configure.ac:
36131         Add check for gcc transactions support.
36132         * sysdeps/s390/configure: Regenerate.
36133         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
36134         Build elision files if enabled.
36135         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
36136         Add lock elision support for s390.
36137         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
36138         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
36139         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
36140         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
36141         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
36142         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
36143         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
36144         Likewise.
36145         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
36146         Likewise.
36147         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
36148         Likewise.
36149         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
36150         Likewise.
36151         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
36152         (__lll_timedlock_elision, __lll_lock_elision)
36153         (__lll_unlock_elision, __lll_trylock_elision)
36154         (lll_timedlock_elision, lll_lock_elision)
36155         (lll_unlock_elision, lll_trylock_elision): Add.
36156         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36157         (pthread_mutex_t): Add lock elision support for s390.
36159 2014-05-14  Wilco  <wdijkstr@arm.com>
36161         * sysdeps/arm/fclrexcpt.c: Cleanup.
36162         * sysdeps/arm/fedisblxcpt.c: Cleanup.
36163         * sysdeps/arm/feenablxcpt.c: Cleanup.
36164         * sysdeps/arm/fegetenv.c: Cleanup.
36165         * sysdeps/arm/fegetexcept.c: Cleanup.
36166         * sysdeps/arm/fegetround.c: Cleanup.
36167         * sysdeps/arm/feholdexcpt.c: Cleanup.
36168         * sysdeps/arm/fesetenv.c: Cleanup.
36169         * sysdeps/arm/fesetround.c: Cleanup.
36170         * sysdeps/arm/feupdateenv.c: Cleanup.
36171         * sysdeps/arm/fgetexcptflg.c: Cleanup.
36172         * sysdeps/arm/fraiseexcpt.c: Cleanup.
36173         * sysdeps/arm/fsetexcptflg.c: Cleanup.
36174         * sysdeps/arm/ftestexcept.c: Cleanup.
36175         * sysdeps/arm/get-rounding-mode.h: Cleanup.
36176         * sysdeps/arm/setfpucw.c: Cleanup.
36178 2014-05-09  Will Newton  <will.newton@linaro.org>
36180         * sysdeps/arm/armv7/strcmp.S: New file.
36181         * NEWS: Mention addition of ARMv7 optimized strcmp.
36183 2014-05-08  Roland McGrath  <roland@hack.frob.com>
36185         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
36186         look for %.ac rather than %.in.
36188         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
36189         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
36190         * sysdeps/mach/hurd/configure: Regenerated.
36191         * sysdeps/unix/sysv/linux/configure: Regenerated.
36193         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
36195 2014-05-07  Steve Ellcey  <sellcey@mips.com>
36197         [BZ# 16922]
36198         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
36199         (LONG_SUB): Ditto.
36200         (PTR_SUB): Ditto.
36202 2014-05-07  Andreas Schwab  <schwab@suse.de>
36204         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
36205         when skipping over non-matching result from nscd.
36207 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
36209         [BZ #16876]
36210         * nptl/sockperf.c (client): Check socket return value.
36212         [BZ #16877]
36213         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
36214         nscd security class.
36216 2014-05-06  Roland McGrath  <roland@hack.frob.com>
36218         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
36219         * sysdeps/arm/unwind.h: ... here.
36221 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
36223         [BZ# 16916]
36224         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
36225         Define.
36227 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36229         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
36230         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
36231         multiarch strncpy for PPC64.
36232         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
36233         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
36234         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
36235         multiarch optimizations.
36236         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36237         (__libc_ifunc_impl_list): Likewise.
36238         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
36239         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
36240         multiarch stpncpy for PPC64.
36241         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
36242         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
36244 2014-05-06  Andreas Schwab  <schwab@suse.de>
36246         [BZ #16912]
36247         * gmon/mcount.c (_MCOUNT_DECL): Use
36248         atomic_compare_and_exchange_bool_acq instead of
36249         catomic_compare_and_exchange_bool_acq.
36251 2014-05-05  Roland McGrath  <roland@hack.frob.com>
36253         * elf/Makefile (others, install-bin): Remove pldd.
36254         (pldd-modules): Variable removed.
36255         ($(objpfx)pldd): Target removed.
36256         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
36257         (others, install-bin): Append pldd here.
36258         ($(objpfx)pldd): New target.
36260         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
36261         to 0, so the first #if test emitted later doesn't see it undefined.
36262         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
36263         * sysdeps/gnu/errlist.c: Regenerated.
36265 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36267         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
36268         [libc_hidden_builtin_def]: Define to empty value.
36269         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
36270         [libc_hidden_builtin_def]: Likewise.
36271         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
36272         [libc_hidden_builtin_def]: Likewise.
36273         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
36274         [libc_hidden_builtin_def]: Likewise.
36275         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
36276         __redirect_memcpy and define ifunc as default hidden symbol.
36277         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
36278         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
36280 2014-05-04  Adam Conrad  <adconrad@0c3.net>
36282         * locale/iso-4217.def: Reintroduce XDR currency.
36284 2014-05-04  Allan McRae  <allan@archlinux.org>
36286         * po/eo.po: Update Esperanto translation from translation project.
36288 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
36290         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
36291         and FEATURE_INDEX_MAX to 1.
36292         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
36294 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36296         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
36297         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
36298         * iconvdata/big5.c (ONE_DIRECTION): Define.
36299         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
36300         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
36301         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
36302         * iconvdata/cp932.c (ONE_DIRECTION): Define.
36303         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
36304         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
36305         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
36306         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
36307         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
36308         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
36309         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
36310         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
36311         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
36312         * iconvdata/gbk.c (ONE_DIRECTION): Define.
36313         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
36314         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
36315         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
36316         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
36317         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
36318         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
36319         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
36320         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
36321         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
36322         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
36323         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
36324         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
36325         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
36326         * iconvdata/iso646.c (ONE_DIRECTION): Define.
36327         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
36328         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
36329         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
36330         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
36331         * iconvdata/johab.c (ONE_DIRECTION): Define.
36332         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
36333         * iconvdata/sjis.c (ONE_DIRECTION): Define.
36334         * iconvdata/t.61.c (ONE_DIRECTION): Define.
36335         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
36336         * iconvdata/tscii.c (ONE_DIRECTION): Define.
36337         * iconvdata/uhc.c (ONE_DIRECTION): Define.
36338         * iconvdata/unicode.c (ONE_DIRECTION): Define.
36339         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
36340         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
36341         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
36343 2014-05-01  Roland McGrath  <roland@hack.frob.com>
36345         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
36346         (_IO_JUMPS_OFFSET): Define to 0.
36348         * nptl/sysdeps/pthread/bits/libc-lock.h
36349         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
36350         (__libc_lock_define_initialized_recursive): Always define using
36351         initializer.  Modern compilers treat uninitialized (implicit zero) and
36352         explicit zero initializers the same (i.e. put the datum in bss).
36354 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36356         * nscd/nscd-client.h: Include <string.h>.
36358 2014-05-01  David S. Miller  <davem@davemloft.net>
36360         [BZ #16885]
36361         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
36362         multiple zero bytes exist at the end of a string.
36363         Reported by Aurelien Jarno <aurelien@aurel32.net>
36365         * string/test-strcmp.c (check): Add explicit test for situations where
36366         there are multiple zero bytes after the first.
36368 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36370         [BZ #16890]
36371         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
36372         when compiling wprintf.
36373         * stdio-common/tstdiomisc.c (t3): New function.
36374         (main): Call it.
36376 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36378         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
36379         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
36380         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
36381         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
36383 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36385         * stdlib/longlong.h: Updated from GCC.
36387 2014-05-01  Will Newton  <will.newton@linaro.org>
36388             Bernard Ogden  <bernie.ogden@linaro.org>
36390         * NEWS: Update fixed bug list.
36392         [BZ #15119]
36393         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
36395 2014-04-30  David S. Miller  <davem@davemloft.net>
36397         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
36398         (libc_feholdexcept_setround_sparc_ctx): New function.
36399         (libc_fesetenv_sparc_ctx): Likewise.
36400         (libc_feupdateenv_sparc_ctx): Likewise.
36401         (libc_feholdsetround_sparc_ctx): Likewise.
36402         (libc_feholdexcept_setround_ctx): Define.
36403         (libc_feholdexcept_setroundf_ctx): Likewise.
36404         (libc_feholdexcept_setroundl_ctx): Likewise.
36405         (libc_fesetenv_ctx): Likewise.
36406         (libc_fesetenvf_ctx): Likewise.
36407         (libc_fesetenvl_ctx): Likewise.
36408         (libc_feupdateenv_ctx): Likewise.
36409         (libc_feupdateenvf_ctx): Likewise.
36410         (libc_feupdateenvl_ctx): Likewise.
36411         (libc_feresetround_ctx): Likewise.
36412         (libc_feresetroundf_ctx): Likewise.
36413         (libc_feresetroundl_ctx): Likewise.
36414         (libc_feholdsetround_ctx): Likewise.
36415         (libc_feholdsetroundf_ctx): Likewise.
36416         (libc_feholdsetroundl_ctx): Likewise.
36418         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36419         with __USE_GNU instead of XOPEN cpp guards.
36421         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
36422         0.
36424         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36425         with XOPEN cpp guards.
36427 2014-04-30  Julian Brown  <julian@codesourcery.com>
36429         [BZ #16888]
36430         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
36431         handling.
36433 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
36435         [BZ #9894]
36436         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
36437         Change to 2.6.32.
36438         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
36439         * sysdeps/unix/sysv/linux/configure: Regenerated.
36440         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
36441         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
36442         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
36443         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
36444         * README: Update reference to required Linux kernel version.
36445         * manual/install.texi (Linux): Update reference to required Linux
36446         kernel headers version.
36447         * INSTALL: Regenerated.
36449         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
36450         header inclusion.
36451         [POSIX] (limits.h): Likewise.
36452         [POSIX] (math.h): Likewise.
36453         [POSIX] (sys/wait.h): Likewise.
36454         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
36455         function.
36456         [POSIX] (stddef.h): Do not allow header inclusion.
36458 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36460         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
36462 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
36464         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
36465         Return immediately after lll_futex_wake.
36467 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36469         [BZ #16791]
36470         * nscd/nscd-client.h (datahead_init_common): Initialize entire
36471         structure.
36472         (datahead_init_pos): Call datahead_init_common early.
36473         (datahead_init_neg): Likewise.
36475         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
36476         datahead_init_neg): New functions.
36477         * nscd/aicache.c (addhstaiX): Use them.
36478         * nscd/grpcache.c (cache_addgr): Likewise.
36479         * nscd/hstcache.c (cache_addhst): Likewise.
36480         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36481         * nscd/netgroupcache.c (do_notfound): Likewise.
36482         (addgetnetgrentX): Likewise.
36483         (addinnetgrX): Likewise.
36484         * nscd/pwdcache.c (cache_addpw): Likewise.
36485         * nscd/servicescache.c (cache_addserv): Likewise.
36487 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36488             Atsushi Onoe  <atsushi@onoe.org>
36490         [BZ #14308]
36491         [BZ #12994]
36492         [BZ #13651]
36493         * resolv/res_query.c (__libc_res_nsearch): Return if at least
36494         one response is valid.
36495         * resolv/res_send.c (send_dg): Check for validity of other
36496         response if the current response is a referral.
36498 2014-04-29  Steve Ellcey  <sellcey@mips.com>
36500         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
36502 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
36504         [BZ #16823]
36505         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
36506         Always divide by positive zero when computing -Inf result.
36507         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
36508         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
36510 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36512         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
36513         FPSCR if value do not change.
36514         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36515         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
36516         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
36517         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
36518         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
36519         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
36520         function.
36522 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
36524         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
36525         * sysdeps/unix/sysv/linux/hppa: Move directory from
36526         ports/systeps/unix/sysv/linux/hppa.
36527         * README: Update listing for hppa-*-linux-gnu.
36529 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
36531         [BZ #16754]
36532         * manual/stdio.texi (Hook functions): Fix types of stream hook
36533         functions.
36534         [BZ #16854]
36535         * socket/sys/socket.h: Fix typo in comment.
36537 2014-04-28  Wilco  <wdijkstr@arm.com>
36539         * sysdeps/arm/fenv_private.h: New file.
36540         * sysdeps/arm/math_private.h: New file.
36541         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
36543 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
36545         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
36546         with __int128_t.
36547         (La_x86_64_retval): Likewise.
36549 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
36551         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
36552         fpsr if value didn't change.
36553         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
36554         to fpcr if value didn't change.
36555         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
36556         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
36557         fpsr or fpcr if value didn't change.
36558         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36559         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
36560         fpcr if value didn't change.
36561         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
36562         to fpsr if value didn't change.
36564 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36566         * nptl/tst-sem3.c: Use test-skeleton.c
36567         (main): Rename to do_test.  Use return instead of
36568         exit.
36569         * nptl/tst-sem4.c: Use test-skeleton.c
36570         (main): Rename to do_test.
36572 2014-04-22  David S. Miller  <davem@davemloft.net>
36574         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
36575         (struct sigaction): New struct member __glibc_reserved0, change
36576         type of sa_flags to int.
36578 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
36580         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
36581         (COUNT_LEADING_ZEROS_0): Define for AArch64.
36583 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36585         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
36586         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
36588 2014-04-22  Will Newton  <will.newton@linaro.org>
36589             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
36591         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
36592         (__longjmp): Add longjmp and longjmp_target SystemTap
36593         probes.
36594         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
36595         (__sigsetjmp): Add setjmp SystemTap probe.
36597 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
36599         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
36600         match manual order.
36602 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36604         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
36606         * sysdeps/powerpc/fpu/fenv_private.h
36607         (libc_feholdexcept_setroundl_ctx): Define to
36608         libc_feholdexcept_setround_ppc_ctx.
36609         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
36610         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
36611         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
36612         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
36614 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
36616         * sysdeps/aarch64/math-tests.h: New file.
36618 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
36620         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
36621         New.
36622         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36623         Check and set bit_AVX2_Usable.
36624         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
36625         macro.
36626         (bit_AVX2): Likewise.
36627         (index_AVX2_Usable): Likewise.
36628         (CPUID_AVX2): Likewise.
36629         (HAS_AVX2): Likewise.
36631 2014-04-17  Will Newton  <will.newton@linaro.org>
36633         * manual/setjmp.texi (System V contexts): Add note that
36634         calling setcontext on a context created by a call to a
36635         signal handler is undefined.  Update text to note that
36636         setcontext from a signal handler is possible but not
36637         recommended.
36639         [BZ #16629]
36640         * stdlib/tst-setcontext.c: Include signal.h.
36641         (main): Check that the signal stack before and
36642         after swapcontext is the same.
36644         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
36645         Re-implement to restore registers in user code and avoid
36646         rt_sigreturn system call.
36648 2014-04-17  Wilco  <wdijkstr@arm.com>
36650         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
36651         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
36652         * math/test-fenv.c: Skip exception trap tests on targets which only
36653         support non-stop mode.
36655 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
36656             Wilco Dijkstra  <wilco.dijkstra@arm.com>
36658         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
36659         (libc_feholdsetround_aarch64_ctx)
36660         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
36661         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
36662         (libc_feresetround_ctx, libc_feresetroundf_ctx)
36663         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
36664         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
36665         (libc_feresetround_noexl_ctx): Define.
36667 2014-04-16  Richard Henderson  <rth@redhat.com>
36669         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
36671         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
36672         unwind tables.
36674         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
36675         const from the non-libc, non-ldso copy.
36677         * sysdeps/alpha/libm-test-ulps: Regenerate.
36679 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
36680             Wilco Dijkstra  <wilco.dijkstra@arm.com>
36682         * sysdeps/aarch64/fpu/math_private.h: New file.
36684 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36686         * sysdeps/aarch64/libm-test-ulps: Regenerate.
36688 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
36690         [BZ #16275]
36691         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
36692         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
36693         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
36694         Intel MPX bound registers before _dl_profile_fixup.
36695         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
36696         registers after _dl_profile_fixup.  Save and restore bound
36697         registers bnd0/bnd1 when calling _dl_call_pltexit.
36698         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
36699         (LR_BND_OFFSET): Likewise.
36700         (LRV_BND0_OFFSET): Likewise.
36701         (LRV_BND1_OFFSET): Likewise.
36703 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36705         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
36706         to...
36707         * sysdeps/mach/hurd/i386/tls.h: ... here.
36708         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
36709         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
36710         fields.
36712 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36714         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
36716 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36718         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36720 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36722         [BZ #14770]
36723         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
36724         * sysdeps/s390/configure: Regenerate.
36726         [BZ #16824]
36727         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
36728         Set round-to-nearest internally to reduce error accumulation.
36730 2014-04-16  Alan Modra  <amodra@gmail.com>
36732         [BZ #16740]
36733         [BZ #16619]
36734         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
36735         * math/libm-test.inc (frexp_test_data): Add tests.
36736         * NEWS: Update fixed bug list.
36738 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36740         * benchtests/Makefile: Depend on libraries in build directory.
36741         (bench-math): Separate out math tests.
36742         (bench-pthread): Separate out pthread tests.
36743         (bench): Include math and pthread tests.
36745 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
36747         [BZ #16831]
36748         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
36749         _dl_debug_initialize.
36751         * configure.ac: Remove SELinux header check.
36752         * configure: Regenerate.
36753         * nscd/selinux.c (perms): Array of const char* to permission names.
36754         (nscd_request_avc_has_perm): Call security_deny_unknown to find
36755         default policy. Call string_to_security_class and string_to_av_perm to
36756         translate strings. Enforce default policy and call avs_has_perm with
36757         results of translated strings.
36759 2014-04-13  David S. Miller  <davem@davemloft.net>
36761         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36763 2014-04-12  Allan McRae  <allan@archlinux.org>
36765         [BZ #16838]
36766         * manual/string.texi (Collation Functions): Fix qsort argument
36767         order in example.
36768         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36770 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
36772         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
36773         Make the test a no-op if there are no exceptions defined.
36775 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
36777         * elf/Makefile (tests): make tst-dlopen-aout conditional on
36778         enable-hardcoded-path-in-tests
36780 2014-04-11  Will Newton  <will.newton@linaro.org>
36782         * benchtests/Makefile (extra-objs): Add json-lib.o.
36783         (bench-func): Tidy up JSON output.
36784         * benchtests/bench-skeleton.c: Include json-lib.h.
36785         (main): Use JSON library functions to do output of
36786         benchmark results.
36787         * benchtests/bench-timing-type.c (main): Output the
36788         timing type simply, leaving formatting to the user.
36789         * benchtests/json-lib.c: New file.
36790         * benchtests/json-lib.h: Likewise.
36792 2014-04-11  Torvald Riegel  <triegel@redhat.com>
36794         [BZ #15215]
36795         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
36796         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
36797         memory barriers.  Add comments.
36798         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
36799         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
36800         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
36801         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
36802         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
36803         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
36805 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36807         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
36808         * sysdeps/s390/s390-64/configure.ac: ... this ...
36809         * sysdeps/s390/configure.ac: ... to here.
36810         * sysdeps/s390/s390-32/configure: Delete file.
36811         * sysdeps/s390/s390-64/configure: Delete file.
36812         * sysdeps/s390/configure: Regenerate.
36814 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
36816         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
36818 2014-04-11  Will Newton  <will.newton@linaro.org>
36820         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
36821         to zero if it is not defined elsewhere.  (mtrim): Test
36822         the value of MALLOC_DEBUG with #if rather than #ifdef.
36824 2014-04-10 Torvald Riegel  <triegel@redhat.com>
36826         * benchtests/pthread_once-inputs: New file.
36827         * benchtests/pthread_once-source.c: New file.
36828         * benchtests/README: Update documentation.
36830 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
36831             H.J. Lu  <hongjiu.lu@intel.com>
36833         [BZ #16275]
36834         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
36835         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
36836         * sysdeps/x86_64/configure: Regenerated.
36837         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
36838         macro.
36839         (REGISTER_SAVE_RAX): Likewise.
36840         (REGISTER_SAVE_RCX): Likewise.
36841         (REGISTER_SAVE_RDX): Likewise.
36842         (REGISTER_SAVE_RSI): Likewise.
36843         (REGISTER_SAVE_RDI): Likewise.
36844         (REGISTER_SAVE_R8): Likewise.
36845         (REGISTER_SAVE_R9): Likewise.
36846         (REGISTER_SAVE_BND0): Likewise.
36847         (REGISTER_SAVE_BND1): Likewise.
36848         (REGISTER_SAVE_BND2): Likewise.
36849         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
36850         bound registers when calling _dl_fixup.
36852 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36854         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
36855         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
36856         of its definition.
36857         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
36858         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
36859         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
36860         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
36861         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
36862         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
36863         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
36865 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
36867         [BZ #15514]
36868         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
36869         pathconf(_PC_NAME_MAX).
36871 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36873         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
36874         Remove macro usage.
36875         (__PTHREAD_SPINS): Move definition to ...
36876         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36877         (__PTHREAD_SPINS): ... here.
36878         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36879         (__PTHREAD_SPIN): Likewise.
36880         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
36881         (__PTHREAD_SPIN): Likewise.
36882         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
36883         (__PTHREAD_SPIN): Likewise.
36884         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
36885         (__PTHREAD_SPIN): Likewise.
36886         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
36887         (__PTHREAD_SPIN): Likewise.
36888         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
36889         (__PTHREAD_SPIN): Likewise.
36890         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
36891         (__PTHREAD_SPIN): Likewise.
36892         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
36893         (__PTHREAD_SPIN): Likewise.
36894         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
36895         (__PTHREAD_SPIN): Likewise.
36896         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
36897         (__PTHREAD_SPIN): Likewise.
36898         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
36899         (__PTHREAD_SPIN): Likewise.
36900         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
36901         (__PTHREAD_SPIN): Likewise.
36903         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
36904         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
36905         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
36906         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
36907         imply folder.
36908         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
36909         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
36910         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
36911         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
36912         correct imply path.
36913         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
36914         strlen symbol for non multi-arch builds.
36915         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
36916         missing hidden_def and weak_alias.
36918 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
36920         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
36922 2014-04-07  Will Newton  <will.newton@linaro.org>
36924         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
36925         and contents.  [!_LIBC] Remove #ifndef and contents.
36926         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
36927         * string/memccpy.c (__memccpy): Use ANSI prototype.
36928         * string/memfrob.c (memfrob): Likewise.
36929         * string/strcoll.c (STRCOLL): Likewise.
36930         * string/strlen.c (strlen): Likewise.
36931         * string/strtok.c (STRTOK): Likewise.
36932         * string/strcat.c: Remove unused #include of memcopy.h.
36933         (strcat): Use ANSI prototype.
36934         * string/strchr.c: Remove unused #include of memcopy.h.
36935         (strchr): Use ANSI prototype.
36936         * string/strcmp.c: Remove unused #include of memcopy.h.
36937         (strcmp): Use ANSI prototype.
36938         * string/strcpy.c: Remove unused #include of memcopy.h.
36939         (strcpy): Use ANSI prototype.
36941 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36943         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
36944         * config.make.in (config-extra-cppflags): Set it from
36945         libc_extra_cppflags.
36946         * configure.ac (libc_extra_cflags): Make it accumulate over
36947         configure fragments.
36948         (libc_extra_cppflags): New flag.
36949         * configure. Regenerate.
36950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
36951         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
36952         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
36953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
36955         [BZ #16815]
36956         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
36957         result for FE_DOWNWARD rounding mode.
36958         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
36959         Likewise.
36960         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36962 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
36964         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
36965         in function argument name.
36967 2014-04-03  David Svoboda  <svoboda@cert.org>
36969         [BZ #5666]
36970         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
36971         explicitly.
36973 2014-04-03  Roland McGrath  <roland@hack.frob.com>
36975         * elf/dl-unmap-segments.h: New file.
36976         * sysdeps/generic/ldsodefs.h
36977         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
36978         * elf/dl-close.c: Include <dl-unmap-segments.h>.
36979         * elf/dl-fptr.c: Likewise.
36980         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
36981         * sysdeps/aarch64/tlsdesc.c: Likewise.
36982         * sysdeps/arm/tlsdesc.c: Likewise.
36983         * sysdeps/i386/tlsdesc.c: Likewise.
36984         * sysdeps/tile/dl-runtime.c: Likewise.
36985         * sysdeps/x86_64/tlsdesc.c: Likewise.
36986         * elf/dl-load.h: New file.
36987         * elf/dl-load.c: Include it.
36988         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
36989         Macros moved to dl-load.h.
36990         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
36991         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
36992         Use _dl_unmap_segments in place of __munmap.
36993         Break out segment-mapping loop into ...
36994         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
36996 2014-04-03  Will Newton  <will.newton@linaro.org>
36998         * elf/dl-lookup.c (do_lookup_x): Remove comment
36999         referring to nested function and move variable
37000         declarations down to before first use.
37002 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
37004         [BZ #16799]
37005         [BZ #16800]
37006         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
37007         with 0 numerator.
37008         * math/s_catanf.c (__catanf): Likewise.
37009         * math/s_catanh.c (__catanh): Likewise.
37010         * math/s_catanhf.c (__catanhf): Likewise.
37011         * math/s_catanhl.c (__catanhl): Likewise.
37012         * math/s_catanl.c (__catanl): Likewise.
37013         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
37014         by positive zero when computing -Inf result.
37015         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
37016         (catanh_test): Likewise.
37017         * sysdeps/i386/fpu/libm-test-ulps: Update.
37018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37020         [BZ #16789]
37021         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
37022         instead of using underflowing value in computing result.
37023         * math/s_clog10.c (__clog10): Likewise.
37024         * math/s_clog10f.c (__clog10f): Likewise.
37025         * math/s_clog10l.c (__clog10l): Likewise.
37026         * math/s_clogf.c (__clogf): Likewise.
37027         * math/s_clogl.c (__clogl): Likewise.
37028         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
37029         (clog10_test): Likewise.
37030         * sysdeps/i386/fpu/libm-test-ulps: Update.
37031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37033 2014-04-02  Alan Modra  <amodra@gmail.com>
37035         [BZ #16739]
37036         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
37037         output when value is near a power of two.  Use int64_t for lx and
37038         remove casts.  Use decimal rather than hex exponent constants.
37039         Don't use long double multiplication when double will suffice.
37040         * math/libm-test.inc (nextafter_test_data): Add tests.
37041         * NEWS: Add 16739 and 16786 to bug list.
37043         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
37045         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
37047 2014-04-01  Will Newton  <will.newton@linaro.org>
37049         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
37050         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
37052 2014-04-01  Florian Weimer  <fweimer@redhat.com>
37054         [BZ #13347]
37055         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
37056         * nptl/tst-setuid2.c: New file.
37057         * nptl/Makefile (xtests): Add tst-setuid2.
37059 2014-04-01  Alan Modra  <amodra@gmail.com>
37061         [BZ #16786]
37062         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
37064 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
37066         [BZ #6803]
37067         [BZ #6804]
37068         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
37069         set errno as appropriate.
37070         * math/w_scalbf.c (__scalbf): Likewise.
37071         * math/w_scalbl.c (__scalbl): Likewise.
37072         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
37073         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
37074         * math/libm-test.inc (scalb_test_data): Add errno expectations.
37075         Add more NaN tests.
37077         [BZ #16349]
37078         * math/w_atan2.c: Include <errno.h>.
37079         (__atan2): Set errno for result underflowing to zero.
37080         * math/w_atan2f.c: Include <errno.h>.
37081         (__atan2f): Set errno for result underflowing to zero.
37082         * math/w_atan2l.c: Include <errno.h>.
37083         (__atan2l): Set errno for result underflowing to zero.
37084         * math/auto-libm-test-in: Don't allow missing errno for some atan2
37085         tests.
37086         * math/auto-libm-test-out: Regenerated.
37088 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37090         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
37091         Encode instruction correctly in little endian.
37092         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
37093         Likewise.
37094         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
37095         Likewise.
37096         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
37097         Likewise.
37098         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
37099         Likewise.
37101 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
37103         [BZ #9894]
37104         * sysdeps/unix/sysv/linux/kernel-features.h
37105         [__sparc__ && !__arch64__ && !__sparc_v9__]
37106         (__ASSUME_SET_ROBUST_LIST): Do not define.
37107         [__sparc__ && !__arch64__ && !__sparc_v9__]
37108         (__ASSUME_FUTEX_LOCK_PI): Likewise.
37109         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
37110         Likewise.
37111         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37112         (__ASSUME_FUTEX_LOCK_PI): Undefine.
37113         (__ASSUME_REQUEUE_PI): Likewise.
37114         (__ASSUME_SET_ROBUST_LIST): Likewise.
37115         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37116         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
37117         Undefine.
37118         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37119         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
37120         Likewise.
37121         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
37122         Likewise.
37123         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
37124         Likewise.
37125         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37126         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
37127         Undefine.
37128         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
37129         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
37130         Likewise.
37132         [BZ #16648]
37133         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37134         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
37135         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
37137 2014-03-31  Will Newton  <will.newton@linaro.org>
37139         * benchtests/Makefile (bench): Add ffs and ffsll to list
37140         of tests.
37141         * benchtests/ffs-inputs: New file.
37142         * benchtests/ffsll-inputs: Likewise.
37144 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
37146         [BZ #16770]
37147         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
37148         too large before casting to int.
37149         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
37150         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
37151         * math/libm-test.inc (scalb_test_data): Add more tests.
37153 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37155         * benchtests/Makefile (DETAILED_OPT): New make option.
37156         (bench-func): Run benchmark program with -d if DETAILED_OPT is
37157         set.
37158         * benchtests/bench-skeleton.c: Include stdbool.h.
37159         (main): Store and print timings per input.
37160         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
37161         member to each argument value.
37162         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
37163         (_print_arg_data): Initialize per-input timing to 0.
37165         * benchtests/Makefile (timing-type): New binary.
37166         (bench-clean): Also remove bench-timing-type.
37167         (bench): New target for timing-type.
37168         (bench-func): Print output in JSON format.
37169         * benchtests/bench-skeleton.c (main): Print output in JSON
37170         format.
37171         * benchtests/bench-timing-type.c: New file.
37172         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
37173         (TIMING_PRINT_STATS): Remove.
37174         * benchtests/scripts/bench.py (_print_arg_data): Store variant
37175         name separately.
37177         * benchtests/bench-modf.c: Remove.
37178         * benchtests/modf-inputs: New inputs file.
37180 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
37182         [BZ #16362]
37183         * math/s_clog10.c (M_PI_LOG10E): New macro.
37184         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
37185         imaginary parts are 0.
37186         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
37187         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
37188         imaginary parts are 0.
37189         * math/s_clog10l.c (M_PI_LOG10El): New macro.
37190         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
37191         imaginary parts are 0.
37192         * math/libm-test.inc (clog10_test_data): Update expected results
37193         for when real and imaginary parts are 0.
37195 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
37197         * elf/dl-load.c: Finish conversion of __builtin_expect into
37198         __glibc_{un}likely.
37200 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
37202         [BZ #16348]
37203         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
37204         1+x for argument with exponent below -67.
37205         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
37206         Likewise.
37207         * math/auto-libm-test-in: Add more tests of exp.
37208         * math/auto-libm-test-out: Regenerated.
37210 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37212         [BZ #16759]
37213         * inet/getnetgrent_r.c (get_nonempty_val): New function.
37214         (nscd_getnetgrent): Use it.
37216         [BZ #16760]
37217         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
37218         of stpcpy.
37220 2014-03-27  Andi Kleen  <ak@linux.intel.com>
37222         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
37223         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37224         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37225         (lll_robust_unlock): Remove out of line section. Use cfi
37226         intrinsics.
37227         (LLL_STUB_UNWIND_INFO*): Remove.
37228         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
37229         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37230         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37231         (lll_robust_unlock): Remove out of line section. Use cfi
37232         intrinsics.
37233         (LLL_STUB_UNWIND_INFO*): Remove.
37235 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37237         [BZ #16758]
37238         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
37239         blank values.
37241 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
37243         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
37245 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
37247         [BZ #16198]
37248         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
37249         fnstenv.
37250         * math/test-fenv-preserve.c: New file.
37251         * math/Makefile (tests): Add test-fenv-preserve.
37253 2014-03-26  Will Newton <will.newton@linaro.org>
37255         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
37257 2014-03-25  Roland McGrath  <roland@hack.frob.com>
37259         * scripts/versionlist.awk: Partition the version sets and emit all
37260         GLIBC_* (sorted) before all others (sorted).
37262 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37264         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
37265         GLIBC_2.2.5 version.
37267 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37269         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
37270         calls.
37272         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
37273         previous change.
37275         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37277 2014-03-25  Andreas Schwab  <schwab@suse.de>
37279         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
37280         label to be used after in6ailist is initialized.
37282 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37284         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37285         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37287 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37289         [BZ #16357]
37290         [BZ #16599]
37291         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
37292         min_plus_half.
37293         (fp_formats): Update initializers.
37294         (init_fp_formats): Initialize new field.
37295         (output_for_one_input_case): Allow underflow for results up to
37296         min_plus_half.
37297         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
37298         * math/auto-libm-test-in: Don't mark some underflows from asin and
37299         atanh as spurious.
37300         * math/auto-libm-test-out: Regenerated.
37301         * sysdeps/i386/fpu/libm-test-ulps: Update.
37302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37304 2014-03-25  Andreas Schwab  <schwab@suse.de>
37306         * libio/Makefile (tst-ftell-partial-wide-ENV)
37307         (tst-ftell-active-handler-ENV): Define.
37309 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
37311         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
37313 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37315         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
37317 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37319         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
37320         * sysdeps/x86_64/fpu/multiarch/e_exp.c
37321         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
37323 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37325         [BZ #16634]
37326         * elf/dl-load.c (open_verify): Add mode parameter.
37327         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
37328         (open_path): Change from boolean 'secure' to complete flag 'mode'
37329         (_dl_map_object): Adjust.
37330         * elf/Makefile (tests): Add tst-dlopen-aout.
37331         * elf/tst-dlopen-aout.c: New test.
37333 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
37335         [BZ #16714]
37336         * sysdeps/unix/sysv/linux/s390/bits/stat.h
37337         (struct stat): Rename member pad0 to __glibc_reserved0.
37339         [BZ #16712]
37340         * sysdeps/s390/s390-32/bits/wordsize.h
37341         (__WORDSIZE32_SIZE_ULONG): New define.
37342         * sysdeps/s390/s390-64/bits/wordsize.h
37343         (__WORDSIZE32_SIZE_ULONG): Likewise.
37344         * sysdeps/generic/stdint.h (SIZE_MAX):
37345         Define as UL if __WORDSIZE32_SIZE_ULONG.
37347         [BZ #16713]
37348         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37349         (__glibc_reserved0): New variable.
37350         (sa_flags): Change type to int.
37352         * posix/Makefile (before-compile): Use += before-compile instead
37353         of a :=.
37355         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37356         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37358 2014-03-20  Andreas Schwab  <schwab@suse.de>
37360         [BZ #16743]
37361         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
37362         non-matching result from nscd.
37364 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37366         * scripts/bench.py: Moved to ...
37367         * benchtests/scripts/bench.py: ... here.
37368         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
37370 2014-03-24  Andreas Schwab  <schwab@suse.de>
37372         [BZ #16002]
37373         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
37374         alloca_account and account alloca use for struct in6ailist.
37376 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37378         [BZ #16284]
37379         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
37380         rounding mode to recompute results that overflow to infinity or
37381         underflow to zero.
37382         * math/auto-libm-test-in: Don't mark tests as expected to fail for
37383         bug 16284.
37384         * math/auto-libm-test-out: Regenerated.
37385         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
37386         (ccosh_test): Likewise.
37387         (csin_test_data): Use plus_oflow.
37388         (csin_test): Use ALL_RM_TEST.
37389         (csinh_test_data): Use plus_oflow.
37390         (csinh_test): Use ALL_RM_TEST.
37391         * sysdeps/i386/fpu/libm-test-ulps: Update.
37392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37394 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
37396         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
37397         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
37398         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
37400         [BZ #16731]
37401         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
37402         when x - 1 is zero.
37403         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
37404         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
37405         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
37406         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
37407         argument is 1.
37408         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
37409         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
37410         zero.
37411         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
37412         * sysdeps/i386/fpu/libm-test-ulps: Update.
37413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37415 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37417         * scripts/bench.pl: Remove file.
37418         * scripts/bench.py: New benchmark script.
37419         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
37420         * benchtests/README: Mention python dependency.
37421         * scripts/pylintrc: New file.
37422         * scripts/pylint: New file.
37424         * bits/mathdef.h: Use #ifdef instead of #if.
37425         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
37426         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37427         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
37428         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37429         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
37430         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37432 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37433             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37435         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
37436         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
37437         and strpbrk-ppc64 objects.
37438         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37439         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
37440         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
37441         multiarch strpbrk for POWER7.
37442         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
37443         multiarch strpbrk for PPC64.
37444         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
37445         ifunc selector.
37446         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
37447         strpbrk for POWER7.
37449 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37451         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
37452         (atan_test): Likewise.
37453         (atanh_test_data): Use NO_TEST_INLINE for two tests.
37454         (atanh_test): Use ALL_RM_TEST.
37455         (atan2_test_data): Likewise.
37456         (cabs_test): Likewise.
37457         (cacosh_test): Likewise.
37458         (carg_test): Likewise.
37459         (casin_test): Likewise.
37460         (casinh_test): Likewise.
37461         (cbrt_test): Likewise.
37462         (csqrt_test): Likewise.
37463         (erf_test): Likewise.
37464         (erfc_test): Likewise.
37465         (pow10_test): Likewise.
37466         (exp2_test): Likewise.
37467         (hypot_test): Likewise.
37468         (j0_test): Likewise.
37469         (j1_test): Likewise.
37470         (lgamma_test): Likewise.
37471         (gamma_test): Likewise.
37472         (sincos_test): Likewise.
37473         (tanh_test): Likewise.
37474         (y0_test): Likewise.
37475         (y1_test): Likewise.
37476         * sysdeps/i386/fpu/libm-test-ulps: Update.
37477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37479 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37481         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
37482         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
37483         and strcspn-ppc64 objects.
37484         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37485         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
37486         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
37487         multiarch strcspn for POWER7.
37488         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
37489         multiarch strcspn for PPC64.
37490         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
37491         ifunc selector.
37492         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
37493         strcspn for POWER7.
37495 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37497         * math/gen-libm-test.pl (generate_testfile): Expect only function
37498         name as argument to AUTO_TESTS_* and pass results for all rounding
37499         modes to parse_args.
37500         (parse_auto_input): Separate inputs of automatic tests from
37501         outputs before storing in %auto_tests.
37502         * math/libm-test.inc (acos_test_data): Update call to
37503         AUTO_TESTS_f_f.
37504         (acos_test): Use ALL_RM_TEST.
37505         (acos_tonearest_test_data): Remove.
37506         (acos_test_tonearest): Likewise.
37507         (acos_towardzero_test_data): Likewise.
37508         (acos_test_towardzero): Likewise.
37509         (acos_downward_test_data): Likewise.
37510         (acos_test_downward): Likewise.
37511         (acos_upward_test_data): Likewise.
37512         (acos_test_upward): Likewise.
37513         (acosh_test_data): Update call to AUTO_TESTS_f_f.
37514         (asin_test_data): Likewise.
37515         (asin_test): Use ALL_RM_TEST.
37516         (asin_tonearest_test_data): Remove.
37517         (asin_test_tonearest): Likewise.
37518         (asin_towardzero_test_data): Likewise.
37519         (asin_test_towardzero): Likewise.
37520         (asin_downward_test_data): Likewise.
37521         (asin_test_downward): Likewise.
37522         (asin_upward_test_data): Likewise.
37523         (asin_test_upward): Likewise.
37524         (asinh_test_data): Update call to AUTO_TESTS_f_f.
37525         (atan_test_data): Likewise.
37526         (atanh_test_data): Likewise.
37527         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
37528         (cabs_test_data): Update call to AUTO_TESTS_c_f.
37529         (carg_test_data): Likewise.
37530         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
37531         (ccos_test_data): Update call to AUTO_TESTS_c_c.
37532         (ccosh_test_data): Likewise.
37533         (cexp_test_data): Likewise.
37534         (clog_test_data): Likewise.
37535         (clog10_test_data): Likewise.
37536         (cos_test_data): Update call to AUTO_TESTS_f_f.
37537         (cos_test): Use ALL_RM_TEST.
37538         (cos_tonearest_test_data): Remove.
37539         (cos_test_tonearest): Likewise.
37540         (cos_towardzero_test_data): Likewise.
37541         (cos_test_towardzero): Likewise.
37542         (cos_downward_test_data): Likewise.
37543         (cos_test_downward): Likewise.
37544         (cos_upward_test_data): Likewise.
37545         (cos_test_upward): Likewise.
37546         (cosh_test_data): Update call to AUTO_TESTS_f_f.
37547         (cosh_test): Use ALL_RM_TEST.
37548         (cosh_tonearest_test_data): Remove.
37549         (cosh_test_tonearest): Likewise.
37550         (cosh_towardzero_test_data): Likewise.
37551         (cosh_test_towardzero): Likewise.
37552         (cosh_downward_test_data): Likewise.
37553         (cosh_test_downward): Likewise.
37554         (cosh_upward_test_data): Likewise.
37555         (cosh_test_upward): Likewise.
37556         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
37557         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
37558         (ctan_test_data): Likewise.
37559         (ctan_test): Use ALL_RM_TEST.
37560         (ctan_tonearest_test_data): Remove.
37561         (ctan_test_tonearest): Likewise.
37562         (ctan_towardzero_test_data): Likewise.
37563         (ctan_test_towardzero): Likewise.
37564         (ctan_downward_test_data): Likewise.
37565         (ctan_test_downward): Likewise.
37566         (ctan_upward_test_data): Likewise.
37567         (ctan_test_upward): Likewise.
37568         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
37569         (ctanh_test): Use ALL_RM_TEST.
37570         (ctanh_tonearest_test_data): Remove.
37571         (ctanh_test_tonearest): Likewise.
37572         (ctanh_towardzero_test_data): Likewise.
37573         (ctanh_test_towardzero): Likewise.
37574         (ctanh_downward_test_data): Likewise.
37575         (ctanh_test_downward): Likewise.
37576         (ctanh_upward_test_data): Likewise.
37577         (ctanh_test_upward): Likewise.
37578         (erf_test_data): Update call to AUTO_TESTS_f_f.
37579         (erfc_test_data): Likewise.
37580         (exp_test_data): Likewise.
37581         (exp_test): Use ALL_RM_TEST.
37582         (exp_tonearest_test_data): Remove.
37583         (exp_test_tonearest): Likewise.
37584         (exp_towardzero_test_data): Likewise.
37585         (exp_test_towardzero): Likewise.
37586         (exp_downward_test_data): Likewise.
37587         (exp_test_downward): Likewise.
37588         (exp_upward_test_data): Likewise.
37589         (exp_test_upward): Likewise.
37590         (exp10_test_data): Update call to AUTO_TESTS_f_f.
37591         (exp10_test): Use ALL_RM_TEST.
37592         (exp10_tonearest_test_data): Remove.
37593         (exp10_test_tonearest): Likewise.
37594         (exp10_towardzero_test_data): Likewise.
37595         (exp10_test_towardzero): Likewise.
37596         (exp10_downward_test_data): Likewise.
37597         (exp10_test_downward): Likewise.
37598         (exp10_upward_test_data): Likewise.
37599         (exp10_test_upward): Likewise.
37600         (exp2_test_data): Update call to AUTO_TESTS_f_f.
37601         (expm1_test_data): Likewise.
37602         (expm1_test): Use ALL_RM_TEST.
37603         (expm1_tonearest_test_data): Remove.
37604         (expm1_test_tonearest): Likewise.
37605         (expm1_towardzero_test_data): Likewise.
37606         (expm1_test_towardzero): Likewise.
37607         (expm1_downward_test_data): Likewise.
37608         (expm1_test_downward): Likewise.
37609         (expm1_upward_test_data): Likewise.
37610         (expm1_test_upward): Likewise.
37611         (fma_test_data): Update call to AUTO_TESTS_fff_f.
37612         (fma_test): Use ALL_RM_TEST.
37613         (fma_towardzero_test_data): Remove.
37614         (fma_test_towardzero): Likewise.
37615         (fma_downward_test_data): Likewise.
37616         (fma_test_downward): Likewise.
37617         (fma_upward_test_data): Likewise.
37618         (fma_test_upward): Likewise.
37619         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
37620         (j0_test_data): Update call to AUTO_TESTS_f_f.
37621         (j1_test_data): Likewise.
37622         (jn_test_data): Update call to AUTO_TESTS_if_f.
37623         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
37624         (log_test_data): Update call to AUTO_TESTS_f_f.
37625         (log10_test_data): Likewise.
37626         (log1p_test_data): Likewise.
37627         (log2_test_data): Likewise.
37628         (pow_test_data): Update call to AUTO_TESTS_ff_f.
37629         (pow_tonearest_test_data): Likewise.
37630         (sin_test_data): Update call to AUTO_TESTS_f_f.
37631         (sin_test): Use ALL_RM_TEST.
37632         (sin_tonearest_test_data): Remove.
37633         (sin_test_tonearest): Likewise.
37634         (sin_towardzero_test_data): Likewise.
37635         (sin_test_towardzero): Likewise.
37636         (sin_downward_test_data): Likewise.
37637         (sin_test_downward): Likewise.
37638         (sin_upward_test_data): Likewise.
37639         (sin_test_upward): Likewise.
37640         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
37641         (sinh_test_data): Update call to AUTO_TESTS_f_f.
37642         (sinh_test): Use ALL_RM_TEST.
37643         (sinh_tonearest_test_data): Remove.
37644         (sinh_test_tonearest): Likewise.
37645         (sinh_towardzero_test_data): Likewise.
37646         (sinh_test_towardzero): Likewise.
37647         (sinh_downward_test_data): Likewise.
37648         (sinh_test_downward): Likewise.
37649         (sinh_upward_test_data): Likewise.
37650         (sinh_test_upward): Likewise.
37651         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
37652         (sqrt_test): Use ALL_RM_TEST.
37653         (sqrt_tonearest_test_data): Remove.
37654         (sqrt_test_tonearest): Likewise.
37655         (sqrt_towardzero_test_data): Likewise.
37656         (sqrt_test_towardzero): Likewise.
37657         (sqrt_downward_test_data): Likewise.
37658         (sqrt_test_downward): Likewise.
37659         (sqrt_upward_test_data): Likewise.
37660         (sqrt_test_upward): Likewise.
37661         (tan_test_data): Update call to AUTO_TESTS_f_f.
37662         (tan_test): Use ALL_RM_TEST.
37663         (tan_tonearest_test_data): Remove.
37664         (tan_test_tonearest): Likewise.
37665         (tan_towardzero_test_data): Likewise.
37666         (tan_test_towardzero): Likewise.
37667         (tan_downward_test_data): Likewise.
37668         (tan_test_downward): Likewise.
37669         (tan_upward_test_data): Likewise.
37670         (tan_test_upward): Likewise.
37671         (tanh_test_data): Update call to AUTO_TESTS_f_f.
37672         (tgamma_test_data): Likewise.
37673         (y0_test_data): Likewise.
37674         (y1_test_data): Likewise.
37675         (yn_test_data): Update call to AUTO_TESTS_if_f.
37676         (main): Do not call removed functions.
37678 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
37680         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
37681         (ldexp_test_data): Remove.
37682         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
37683         scalbn_test_data.
37684         (scalb_test): Use ALL_RM_TEST.
37686 2014-03-19  Andreas Schwab  <schwab@suse.de>
37688         * nscd/nscd.service: Also invalidate netgroup cache on reload.
37690 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
37692         [BZ #16649]
37693         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37694         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
37695         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
37696         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37697         (__ASSUME_PREADV): Undefine.
37698         (__ASSUME_PWRITEV): Likewise.
37700 2014-03-18  Roland McGrath  <roland@hack.frob.com>
37702         * bits/mman-linux.h: Add comment about non-Linux use.
37703         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
37704         bits/mman-linux.h resting place.
37706         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
37707         * bits/mman-linux.h: ... here.
37709 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37711         * conform/conformtest.pl: Add standard definition when calling C
37712         preprocessor on data files.
37713         (checknamespace): Remove unused variable.
37715 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
37717         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
37718         minus_oflow, plus_uflow and minus_uflow in expected results.
37719         * math/libm-test.inc (scalbn_test_data): Add more tests of
37720         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
37721         minus_uflow.
37722         (scalbn_test): Use ALL_RM_TEST.
37723         (scalbln_test_data): Add more tests of negative arguments.  Use
37724         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
37725         (scalbln_test): Use ALL_RM_TEST.
37727 2014-03-18  Roland McGrath  <roland@hack.frob.com>
37729         * scripts/abilist.awk: Ignore symbols marked with .hidden.
37731 2014-03-18  Will Newton  <will.newton@linaro.org>
37733         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
37734         inaccurate comment.
37736 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
37738         * Makerules [!subdir] (check-abi): Exit with error status if a
37739         test failed.
37741 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
37743         * math/libm-test.inc (nearbyint_test_data): Include all tests used
37744         for rint.  Include results for all rounding modes.
37745         (nearbyint_test): Use ALL_RM_TEST.
37746         (rint_test_data): Include all tests used for nearbyint.
37748 2014-03-17  Will Newton  <will.newton@linaro.org>
37750         * nptl/sysdeps/pthread/pthread.h: Revert previous
37751         change.
37753         * sysdeps/generic/ldsodefs.h: Revert previous
37754         change.
37756         * libio/genops.c: Revert previous change.
37757         * libio/libioP.h: Likewise.
37758         * stdio-common/vfprintf.c: Likewise.
37760         * sysdeps/generic/math_private.h: Revert previous
37761         change.
37763         * sysdeps/generic/math_private.h: Check whether
37764         HAVE_RM_CTX is defined with #ifdef rather
37765         than #if.
37767         * argp/argp-fmtstream.h: Check whether
37768         __STRICT_ANSI__ is defined with #ifdef rather
37769         than #if.
37770         * argp/argp.h: Likewise.
37772         * libio/genops.c: Check whether
37773         _IO_JUMPS_OFFSET is defined with #ifdef rather
37774         than #if.
37775         * libio/libioP.h: Likewise.
37776         * stdio-common/vfprintf.c: Likewise.
37778         * sysdeps/generic/ldsodefs.h: Check whether
37779         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
37780         than #if.
37782         * nptl/sysdeps/pthread/pthread.h: Check
37783         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
37784         its value.
37786 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37788         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
37789         setting O_APPEND.
37790         * libio/tst-ftell-active-handler.c (do_append_test): Add a
37791         test case.
37793         [BZ #16680]
37794         * libio/fileops.c (_IO_file_open): Seek to end of file but
37795         don't cache the offset.
37796         (get_file_offset): Remove function.
37797         (do_ftell): Use cached offset when available.
37798         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
37799         don't cache the offset.
37800         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
37801         case.
37802         (do_one_test): Call it.
37803         (do_ftell_test): Fix up expected old offset for a+ mode.
37804         * libio/wfileops.c (do_ftell_wide): Used cached offset when
37805         available.
37807         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
37808         up test status with function return status.
37809         (do_write_test): Likewise.
37810         (do_append_test): Likewise.
37812         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
37813         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
37814         Remove.
37816 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
37818         * math/gen-libm-test.pl (parse_args): Handle results specified for
37819         each rounding mode separately.
37820         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
37821         tests and results from lrint_tonearest_test_data,
37822         lrint_towardzero_test_data, lrint_downward_test_data and
37823         lrint_upward_test_data.
37824         (lrint_test): Use ALL_RM_TEST.
37825         (lrint_tonearest_test_data): Remove.
37826         (lrint_test_tonearest): Likewise.
37827         (lrint_towardzero_test_data): Likewise.
37828         (lrint_test_towardzero): Likewise.
37829         (lrint_downward_test_data): Likewise.
37830         (lrint_test_downward): Likewise.
37831         (lrint_upward_test_data): Likewise.
37832         (lrint_test_upward): Likewise.
37833         (llrint_test_data): Merge in per-rounding-mode tests and results
37834         from llrint_tonearest_test_data, llrint_towardzero_test_data,
37835         llrint_downward_test_data and llrint_upward_test_data.
37836         (llrint_test): Use ALL_RM_TEST.
37837         (llrint_tonearest_test_data): Remove.
37838         (llrint_test_tonearest): Likewise.
37839         (llrint_towardzero_test_data): Likewise.
37840         (llrint_test_towardzero): Likewise.
37841         (llrint_downward_test_data): Likewise.
37842         (llrint_test_downward): Likewise.
37843         (llrint_upward_test_data): Likewise.
37844         (llrint_test_upward): Likewise.
37845         (rint_test_data): Merge in per-rounding-mode tests and results
37846         from rint_tonearest_test_data, rint_towardzero_test_data,
37847         rint_downward_test_data and rint_upward_test_data.  Add
37848         per-rounding-mode results for tests not in those arrays.
37849         (rint_test): Use ALL_RM_TEST.
37850         (rint_tonearest_test_data): Remove.
37851         (rint_test_tonearest): Likewise.
37852         (rint_towardzero_test_data): Likewise.
37853         (rint_test_towardzero): Likewise.
37854         (rint_downward_test_data): Likewise.
37855         (rint_test_downward): Likewise.
37856         (rint_upward_test_data): Likewise.
37857         (rint_test_upward): Likewise.
37858         (main): Don't call removed functions.
37860 2014-03-14  Roland McGrath  <roland@hack.frob.com>
37862         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
37863         "Compiled on ..." crapola.  It is anti-useful.
37865 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
37867         * scripts/evaluate-test.sh: Handle fourth argument to determine
37868         whether test run should stop on failure.
37869         * Makeconfig (stop-on-test-failure): New variable.
37870         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
37871         $(stop-on-test-failure).
37872         * Makefile (tests): Give a summary of results from testing and
37873         exit with failure status if they include an ERROR or FAIL.
37874         (xtests): Likewise.
37875         * manual/install.texi (Configuring and compiling): Mention
37876         stop-on-test-failure=y.
37877         * INSTALL: Regenerated.
37879 2014-03-14  Roland McGrath  <roland@hack.frob.com>
37881         * scripts/versionlist.awk: New file.
37882         * Makerules [$(build-shared) = yes]
37883         (postclean-generated): Add Versions.def, not Versions.def.v and
37884         Versions.def.v.i.
37885         ($(common-objpfx)Versions.def.v.i): Target removed.
37886         ($(common-objpfx)Versions.def): New target.
37887         ($(common-objpfx)Versions.all): Depend on that rather that
37888         $(common-objpfx)Versions.def.v.
37889         * Versions.def: File removed.
37891         * Makeconfig (+gccwarn): Add -Wundef.
37892         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
37893         a dl-sysdep.h breaking its contract.
37894         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
37895         * include/stackinfo.h: New file.
37896         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
37897         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
37898         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
37899         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
37900         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
37901         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
37902         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37903         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37904         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37905         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37906         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37907         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
37908         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37909         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37910         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37912 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37914         [BZ #16707]
37915         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
37916         implementation.
37917         * math/libm-test.inc (round_test_data): Add more tests.
37919         [BZ #16706]
37920         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
37921         implementation.
37922         * math/libm-test.inc (nearbyint_test_data): Add more tests.
37924         [BZ #16701]
37925         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
37926         implementation.
37927         * math/libm-test.inc (ceil_test_data): Add more tests.
37929         * math/libm-test.inc (trunc_test_data): Add more tests related to
37930         BZ#16414.
37932 2014-03-14  Roland McGrath  <roland@hack.frob.com>
37934         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
37935         with #if rather than #ifdef.
37936         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
37938 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
37940         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
37941         first.  Disable AVX-512 GCC support if assembler doesn't support
37942         it.
37943         * sysdeps/x86_64/configure: Regenerated.
37945 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
37947         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
37948         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
37949         (__old_pthread_attr_setstack): Likewise.
37950         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
37951         [!_STACK_GROWS_DOWN]: Likewise.
37953 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
37955         * config.make.in (have-bash2): Delete.
37956         * configure.ac (libc_cv_have_bash2): Delete.
37957         * configure: Regenerate.
37958         * elf/Makefile (common-ldd-rewrite): Rename to ...
37959         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
37960         (sh-ldd-rewrite): Delete.
37961         (bash-ldd-rewrite): Delete.
37962         (have-bash2): Delete checks.
37963         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
37964         ldd-rewrite.
37966         * config.make.in (have-ksh): Delete.
37967         (KSH): Delete.
37968         * configure.ac (libc_cv_have_ksh): Delete.
37969         * configure: Regenerate.
37971         * elf/Makefile: Delete $(have-ksh) check.
37972         ($(objpfx)sotruss): Change KSH to BASH.
37973         * elf/sotruss.ksh: Rename to ...
37974         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
37975         function style to match POSIX.  Drop ksh vim mode setting.
37977         * manual/time.texi (Specifying the Time Zone with TZ): Change
37978         Tuesday to Thursday.
37980         * debug/tst-longjmp_chk2.c: Update header comment.
37981         (stackoverflow_handler): Add comment.  Call assert on pass value.
37983 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
37985         [BZ #16194]
37986         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
37987         (HAVE_AVX512_ASM_SUPPORT): Likewise.
37988         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
37989         (La_x86_64_vector): Add zmm.
37990         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
37991         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
37992         ($(objpfx)tst-audit10): New target.
37993         ($(objpfx)tst-audit10.out): Likewise.
37994         (tst-audit10-ENV): New.
37995         (AVX512-CFLAGS): Likewise.
37996         (CFLAGS-tst-audit10.c): Likewise.
37997         (CFLAGS-tst-auditmod10a.c): Likewise.
37998         (CFLAGS-tst-auditmod10b.c): Likewise.
37999         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
38000         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
38001         * sysdeps/x86_64/configure: Regenerated.
38002         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
38003         AVX-512 zmm register support.
38004         (_dl_x86_64_save_sse): Likewise.
38005         (_dl_x86_64_restore_sse): Likewise.
38006         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
38007         size vector registers.
38008         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
38009         (ZMM_SIZE): Likewise.
38010         * sysdeps/x86_64/tst-audit10.c: New file.
38011         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
38012         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
38014 2014-03-13  Roland McGrath  <roland@hack.frob.com>
38016         * configure.ac (HAVE_EHDR_START): New check.
38017         * configure: Regenerated.
38018         * config.h.in (HAVE_EHDR_START): New #undef.
38019         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
38020         assuming the lowest-addressed segment maps the start of the file.
38022 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
38024         * INSTALL: Regenerated.
38026 2014-03-13  Will Newton  <will.newton@linaro.org>
38028         * manual/setjmp.texi (System V contexts): Improve
38029         clarity and grammar of documentation.
38031 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
38033         [BZ #16381]
38034         * elf/Makefile (tests): Add tst-pie2.
38035         (tests-pie): Add tst-pie2.
38036         * elf/tst-pie2.c: New file.
38037         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
38038         for ET_EXEC.
38039         * elf/rtld.c (map_doit): Load executable as lt_executable.
38040         (dl_main): Likewise.
38042 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
38044         [BZ #16642]
38045         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38046         (__ASSUME_PSELECT): Undefine.
38048 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38050         [BZ #16689]
38051         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
38052         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
38053         static build.
38054         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
38055         selector for static builds.
38057 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38059         [BZ #16695]
38060         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
38061         key in the buffer.
38063 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38065         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
38066         IFUNC selector for static builds.
38068 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
38070         * sysdeps/mips/math_private.h [__mips_hard_float]
38071         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
38072         libc_feresetround_mips_ctx.
38073         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
38074         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
38075         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
38077         [BZ #16677]
38078         * math/s_nextafter.c (__nextafter): Do not return value from
38079         overflowing computation.
38080         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38081         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
38082         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38083         Likewise.
38084         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
38085         Likewise.
38086         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38087         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
38089 2014-03-11  Roland McGrath  <roland@hack.frob.com>
38091         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
38092         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
38093         Move sfi_sp use from the load-multiple (that no longer sets sp) to
38094         the new mov targetting sp.
38096 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38098         [BZ #16683]
38099         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
38100         Define it for static builds as well.
38101         (NO_BZERO_IMPL): Likewise.
38103 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38105         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
38106         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
38107         multiarch strspn for PPC64.
38108         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
38109         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
38110         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38111         (__libc_ifunc_impl_list): Likewise.
38112         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
38113         multiarch optimizations
38114         * string/strspn.c (strspn): Using macro to redefine symbol name.
38116 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38117             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38119         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
38120         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
38121         multiarch strncat for PPC64.
38122         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
38123         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
38124         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38125         (__libc_ifunc_impl_list): Likewise.
38126         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
38127         multiarch optimizations
38129 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38131         [BZ #16639]
38132         * nscd/nscd.service: Make service type forking.
38134 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38136         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
38137         sign in non default rounding modes.
38138         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
38140 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
38142         * math/libm-test.inc (ALL_RM_TEST): New macro.
38143         (ceil_test): Use ALL_RM_TEST.
38144         (cimag_test): Likewise.
38145         (conj_test): Likewise.
38146         (copysign_test): Likewise.
38147         (cproj_test): Likewise.
38148         (creal_test): Likewise.
38149         (fabs_test): Likewise.
38150         (floor_test): Likewise.
38151         (fmax_test): Likewise.
38152         (fmin_test): Likewise.
38153         (fmod_test): Likewise.
38154         (fpclassify_test): Likewise.
38155         (frexp_test): Likewise.
38156         (ilogb_test): Likewise.
38157         (isfinite_test): Likewise.
38158         (finite_test): Likewise.
38159         (isgreater_test): Likewise.
38160         (isgreaterequal_test): Likewise.
38161         (isinf_test): Likewise.
38162         (isless_test): Likewise.
38163         (islessequal_test): Likewise.
38164         (islessgreater_test): Likewise.
38165         (isnan_test): Likewise.
38166         (isnormal_test): Likewise.
38167         (issignaling_test): Likewise.
38168         (isunordered_test): Likewise.
38169         (logb_test): Likewise.
38170         (logb_downward_test_data): Remove.
38171         (logb_test_downward): Likewise.
38172         (lround_test): Use ALL_RM_TEST.
38173         (llround_test): Likewise.
38174         (modf_test): Likewise.
38175         (nexttoward_test): Likewise.
38176         (remainder_test): Likewise.
38177         (drem_test): Likewise.
38178         (remainder_tonearest_test_data): Likewise.
38179         (remainder_test_tonearest): Likewise.
38180         (drem_test_tonearest): Likewise.
38181         (remainder_towardzero_test_data): Likewise.
38182         (remainder_test_towardzero): Likewise.
38183         (drem_test_towardzero): Likewise.
38184         (remainder_downward_test_data): Likewise.
38185         (remainder_test_downward): Likewise.
38186         (drem_test_downward): Likewise.
38187         (remainder_upward_test_data): Likewise.
38188         (remainder_test_upward): Likewise.
38189         (drem_test_upward): Likewise.
38190         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
38191         (round_test): Use ALL_RM_TEST.
38192         (signbit_test): Likewise.
38193         (trunc_test): Likewise.
38194         (significand_test): Likewise.
38195         (main): Don't call removed functions.
38197 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38199         [BZ #16674]
38200         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
38201         || __USE_XOPEN2K8].
38202         (ILL_ILLOPN): Likewise.
38203         (ILL_ILLADR): Likewise.
38204         (ILL_ILLTRP): Likewise.
38205         (ILL_PRVOPC): Likewise.
38206         (ILL_PRVREG): Likewise.
38207         (ILL_COPROC): Likewise.
38208         (ILL_BADSTK): Likewise.
38209         (FPE_INTDIV): Likewise.
38210         (FPE_INTOVF): Likewise.
38211         (FPE_FLTDIV): Likewise.
38212         (FPE_FLTOVF): Likewise.
38213         (FPE_FLTUND): Likewise.
38214         (FPE_FLTRES): Likewise.
38215         (FPE_FLTINV): Likewise.
38216         (FPE_FLTSUB): Likewise.
38217         (SEGV_MAPERR): Likewise.
38218         (SEGV_ACCERR): Likewise.
38219         (BUS_ADRALN): Likewise.
38220         (BUS_ADRERR): Likewise.
38221         (BUS_OBJERR): Likewise.
38222         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38223         (TRAP_TRACE): Likewise.
38224         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38225         __USE_XOPEN2K8].
38226         (CLD_KILLED): Likewise.
38227         (CLD_DUMPED): Likewise.
38228         (CLD_TRAPPED): Likewise.
38229         (CLD_STOPPED): Likewise.
38230         (CLD_CONTINUED): Likewise.
38231         (POLL_IN): Likewise.
38232         (POLL_OUT): Likewise.
38233         (POLL_MSG): Likewise.
38234         (POLL_ERR): Likewise.
38235         (POLL_PRI): Likewise.
38236         (POLL_HUP): Likewise.
38237         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
38238         Likewise.
38239         (ILL_ILLOPN): Likewise.
38240         (ILL_ILLADR): Likewise.
38241         (ILL_ILLTRP): Likewise.
38242         (ILL_PRVOPC): Likewise.
38243         (ILL_PRVREG): Likewise.
38244         (ILL_COPROC): Likewise.
38245         (ILL_BADSTK): Likewise.
38246         (FPE_INTDIV): Likewise.
38247         (FPE_INTOVF): Likewise.
38248         (FPE_FLTDIV): Likewise.
38249         (FPE_FLTOVF): Likewise.
38250         (FPE_FLTUND): Likewise.
38251         (FPE_FLTRES): Likewise.
38252         (FPE_FLTINV): Likewise.
38253         (FPE_FLTSUB): Likewise.
38254         (SEGV_MAPERR): Likewise.
38255         (SEGV_ACCERR): Likewise.
38256         (BUS_ADRALN): Likewise.
38257         (BUS_ADRERR): Likewise.
38258         (BUS_OBJERR): Likewise.
38259         (BUS_MCEERR_AR): Likewise.
38260         (BUS_MCEERR_AO): Likewise.
38261         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38262         (TRAP_TRACE): Likewise.
38263         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38264         __USE_XOPEN2K8].
38265         (CLD_KILLED): Likewise.
38266         (CLD_DUMPED): Likewise.
38267         (CLD_TRAPPED): Likewise.
38268         (CLD_STOPPED): Likewise.
38269         (CLD_CONTINUED): Likewise.
38270         (POLL_IN): Likewise.
38271         (POLL_OUT): Likewise.
38272         (POLL_MSG): Likewise.
38273         (POLL_ERR): Likewise.
38274         (POLL_PRI): Likewise.
38275         (POLL_HUP): Likewise.
38276         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
38277         (ILL_ILLOPN): Likewise.
38278         (ILL_ILLADR): Likewise.
38279         (ILL_ILLTRP): Likewise.
38280         (ILL_PRVOPC): Likewise.
38281         (ILL_PRVREG): Likewise.
38282         (ILL_COPROC): Likewise.
38283         (ILL_BADSTK): Likewise.
38284         (FPE_INTDIV): Likewise.
38285         (FPE_INTOVF): Likewise.
38286         (FPE_FLTDIV): Likewise.
38287         (FPE_FLTOVF): Likewise.
38288         (FPE_FLTUND): Likewise.
38289         (FPE_FLTRES): Likewise.
38290         (FPE_FLTINV): Likewise.
38291         (FPE_FLTSUB): Likewise.
38292         (SEGV_MAPERR): Likewise.
38293         (SEGV_ACCERR): Likewise.
38294         (BUS_ADRALN): Likewise.
38295         (BUS_ADRERR): Likewise.
38296         (BUS_OBJERR): Likewise.
38297         (BUS_MCEERR_AR): Likewise.
38298         (BUS_MCEERR_AO): Likewise.
38299         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38300         (TRAP_TRACE): Likewise.
38301         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38302         __USE_XOPEN2K8].
38303         (CLD_KILLED): Likewise.
38304         (CLD_DUMPED): Likewise.
38305         (CLD_TRAPPED): Likewise.
38306         (CLD_STOPPED): Likewise.
38307         (CLD_CONTINUED): Likewise.
38308         (POLL_IN): Likewise.
38309         (POLL_OUT): Likewise.
38310         (POLL_MSG): Likewise.
38311         (POLL_ERR): Likewise.
38312         (POLL_PRI): Likewise.
38313         (POLL_HUP): Likewise.
38314         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
38315         Likewise.
38316         (ILL_ILLOPN): Likewise.
38317         (ILL_ILLADR): Likewise.
38318         (ILL_ILLTRP): Likewise.
38319         (ILL_PRVOPC): Likewise.
38320         (ILL_PRVREG): Likewise.
38321         (ILL_COPROC): Likewise.
38322         (ILL_BADSTK): Likewise.
38323         (ILL_BADIADDR): Likewise.
38324         (ILL_BREAK): Likewise.
38325         (FPE_INTDIV): Likewise.
38326         (FPE_INTOVF): Likewise.
38327         (FPE_FLTDIV): Likewise.
38328         (FPE_FLTOVF): Likewise.
38329         (FPE_FLTUND): Likewise.
38330         (FPE_FLTRES): Likewise.
38331         (FPE_FLTINV): Likewise.
38332         (FPE_FLTSUB): Likewise.
38333         (FPE_DECOVF): Likewise.
38334         (FPE_DECDIV): Likewise.
38335         (FPE_DECERR): Likewise.
38336         (FPE_INVASC): Likewise.
38337         (FPE_INVDEC): Likewise.
38338         (SEGV_MAPERR): Likewise.
38339         (SEGV_ACCERR): Likewise.
38340         (SEGV_PSTKOVF): Likewise.
38341         (BUS_ADRALN): Likewise.
38342         (BUS_ADRERR): Likewise.
38343         (BUS_OBJERR): Likewise.
38344         (BUS_MCEERR_AR): Likewise.
38345         (BUS_MCEERR_AO): Likewise.
38346         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38347         (TRAP_TRACE): Likewise.
38348         (TRAP_BRANCH): Likewise.
38349         (TRAP_HWBKPT): 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/mips/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         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
38402         (ILL_ILLOPN): Likewise.
38403         (ILL_ILLADR): Likewise.
38404         (ILL_ILLTRP): Likewise.
38405         (ILL_PRVOPC): Likewise.
38406         (ILL_PRVREG): Likewise.
38407         (ILL_COPROC): Likewise.
38408         (ILL_BADSTK): Likewise.
38409         (FPE_INTDIV): Likewise.
38410         (FPE_INTOVF): Likewise.
38411         (FPE_FLTDIV): Likewise.
38412         (FPE_FLTOVF): Likewise.
38413         (FPE_FLTUND): Likewise.
38414         (FPE_FLTRES): Likewise.
38415         (FPE_FLTINV): Likewise.
38416         (FPE_FLTSUB): Likewise.
38417         (SEGV_MAPERR): Likewise.
38418         (SEGV_ACCERR): Likewise.
38419         (BUS_ADRALN): Likewise.
38420         (BUS_ADRERR): Likewise.
38421         (BUS_OBJERR): Likewise.
38422         (BUS_MCEERR_AR): Likewise.
38423         (BUS_MCEERR_AO): Likewise.
38424         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38425         (TRAP_TRACE): Likewise.
38426         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38427         __USE_XOPEN2K8].
38428         (CLD_KILLED): Likewise.
38429         (CLD_DUMPED): Likewise.
38430         (CLD_TRAPPED): Likewise.
38431         (CLD_STOPPED): Likewise.
38432         (CLD_CONTINUED): Likewise.
38433         (POLL_IN): Likewise.
38434         (POLL_OUT): Likewise.
38435         (POLL_MSG): Likewise.
38436         (POLL_ERR): Likewise.
38437         (POLL_PRI): Likewise.
38438         (POLL_HUP): Likewise.
38439         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
38440         (ILL_ILLOPN): Likewise.
38441         (ILL_ILLADR): Likewise.
38442         (ILL_ILLTRP): Likewise.
38443         (ILL_PRVOPC): Likewise.
38444         (ILL_PRVREG): Likewise.
38445         (ILL_COPROC): Likewise.
38446         (ILL_BADSTK): Likewise.
38447         (FPE_INTDIV): Likewise.
38448         (FPE_INTOVF): Likewise.
38449         (FPE_FLTDIV): Likewise.
38450         (FPE_FLTOVF): Likewise.
38451         (FPE_FLTUND): Likewise.
38452         (FPE_FLTRES): Likewise.
38453         (FPE_FLTINV): Likewise.
38454         (FPE_FLTSUB): Likewise.
38455         (SEGV_MAPERR): Likewise.
38456         (SEGV_ACCERR): Likewise.
38457         (BUS_ADRALN): Likewise.
38458         (BUS_ADRERR): Likewise.
38459         (BUS_OBJERR): Likewise.
38460         (BUS_MCEERR_AR): Likewise.
38461         (BUS_MCEERR_AO): Likewise.
38462         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38463         (TRAP_TRACE): Likewise.
38464         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38465         __USE_XOPEN2K8].
38466         (CLD_KILLED): Likewise.
38467         (CLD_DUMPED): Likewise.
38468         (CLD_TRAPPED): Likewise.
38469         (CLD_STOPPED): Likewise.
38470         (CLD_CONTINUED): Likewise.
38471         (POLL_IN): Likewise.
38472         (POLL_OUT): Likewise.
38473         (POLL_MSG): Likewise.
38474         (POLL_ERR): Likewise.
38475         (POLL_PRI): Likewise.
38476         (POLL_HUP): Likewise.
38477         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
38478         (ILL_ILLOPN): Likewise.
38479         (ILL_ILLADR): Likewise.
38480         (ILL_ILLTRP): Likewise.
38481         (ILL_PRVOPC): Likewise.
38482         (ILL_PRVREG): Likewise.
38483         (ILL_COPROC): Likewise.
38484         (ILL_BADSTK): Likewise.
38485         (ILL_DBLFLT): Likewise.
38486         (ILL_HARDWALL): Likewise.
38487         (FPE_INTDIV): Likewise.
38488         (FPE_INTOVF): Likewise.
38489         (FPE_FLTDIV): Likewise.
38490         (FPE_FLTOVF): Likewise.
38491         (FPE_FLTUND): Likewise.
38492         (FPE_FLTRES): Likewise.
38493         (FPE_FLTINV): Likewise.
38494         (FPE_FLTSUB): Likewise.
38495         (SEGV_MAPERR): Likewise.
38496         (SEGV_ACCERR): Likewise.
38497         (BUS_ADRALN): Likewise.
38498         (BUS_ADRERR): Likewise.
38499         (BUS_OBJERR): Likewise.
38500         (BUS_MCEERR_AR): Likewise.
38501         (BUS_MCEERR_AO): Likewise.
38502         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38503         (TRAP_TRACE): Likewise.
38504         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38505         __USE_XOPEN2K8].
38506         (CLD_KILLED): Likewise.
38507         (CLD_DUMPED): Likewise.
38508         (CLD_TRAPPED): Likewise.
38509         (CLD_STOPPED): Likewise.
38510         (CLD_CONTINUED): Likewise.
38511         (POLL_IN): Likewise.
38512         (POLL_OUT): Likewise.
38513         (POLL_MSG): Likewise.
38514         (POLL_ERR): Likewise.
38515         (POLL_PRI): Likewise.
38516         (POLL_HUP): Likewise.
38517         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
38518         (ILL_ILLOPN): Likewise.
38519         (ILL_ILLADR): Likewise.
38520         (ILL_ILLTRP): Likewise.
38521         (ILL_PRVOPC): Likewise.
38522         (ILL_PRVREG): Likewise.
38523         (ILL_COPROC): Likewise.
38524         (ILL_BADSTK): Likewise.
38525         (FPE_INTDIV): Likewise.
38526         (FPE_INTOVF): Likewise.
38527         (FPE_FLTDIV): Likewise.
38528         (FPE_FLTOVF): Likewise.
38529         (FPE_FLTUND): Likewise.
38530         (FPE_FLTRES): Likewise.
38531         (FPE_FLTINV): Likewise.
38532         (FPE_FLTSUB): Likewise.
38533         (SEGV_MAPERR): Likewise.
38534         (SEGV_ACCERR): Likewise.
38535         (BUS_ADRALN): Likewise.
38536         (BUS_ADRERR): Likewise.
38537         (BUS_OBJERR): Likewise.
38538         (BUS_MCEERR_AR): Likewise.
38539         (BUS_MCEERR_AO): Likewise.
38540         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38541         (TRAP_TRACE): Likewise.
38542         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38543         __USE_XOPEN2K8].
38544         (CLD_KILLED): Likewise.
38545         (CLD_DUMPED): Likewise.
38546         (CLD_TRAPPED): Likewise.
38547         (CLD_STOPPED): Likewise.
38548         (CLD_CONTINUED): Likewise.
38549         (POLL_IN): Likewise.
38550         (POLL_OUT): Likewise.
38551         (POLL_MSG): Likewise.
38552         (POLL_ERR): Likewise.
38553         (POLL_PRI): Likewise.
38554         (POLL_HUP): Likewise.
38555         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
38556         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
38558         [BZ #16670]
38559         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
38560         before #include of <time.h>.
38561         [!__USE_XOPEN2K] (__need_timespec): Likewise.
38562         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
38563         (test-xfail-UNIX98/sched.h/conform): Likewise.
38565 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38567         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
38568         error absence of trapping exception support.
38569         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
38571 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38573         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
38574         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
38575         * timezone/Makefile (testdata): Move definition above include of
38576         Rules.
38577         (test-zones): New variable.
38578         (tests-special): Add zone files.
38579         (build-testdata): Use $(evaluate-test).
38581         * elf/Makefile (tests-special): Rename tests to end with .out.
38582         ($(objpfx)noload-mem): Likewise.
38583         ($(objpfx)tst-leaks1-mem): Likewise.
38584         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
38585         * iconv/Makefile (xtests-special): Change test-iconvconfig to
38586         $(objpfx)test-iconvconfig.out.
38587         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
38588         set -e inside subshell and redirect output to file.
38589         * iconvdata/Makefile (generated): Rename tests to end with .out.
38590         Correct type.
38591         (tests-special): Rename tests to end with .out.
38592         ($(objpfx)mtrace-tst-loading): Likewise.
38593         * intl/Makefile (generated): Likewise.
38594         (tests-special): Likewise.
38595         ($(objpfx)mtrace-tst-gettext): Likewise.
38596         * misc/Makefile (generated): Likewise.
38597         (tests-special): Likewise.
38598         ($(objpfx)tst-error1-mem): Likewise.
38599         * nptl/Makefile (tests-special): Likewise.
38600         ($(objpfx)tst-stack3-mem): Likewise.
38601         (generated): Likewise.
38602         * posix/Makefile (generated): Likewise.
38603         (tests-special): Likewise.
38604         (xtests-special): Likewise.
38605         ($(objpfx)tst-fnmatch-mem): Likewise.
38606         ($(objpfx)bug-regex2-mem): Likewise.
38607         ($(objpfx)bug-regex14-mem): Likewise.
38608         ($(objpfx)bug-regex21-mem): Likewise.
38609         ($(objpfx)bug-regex31-mem): Likewise.
38610         ($(objpfx)tst-vfork3-mem): Likewise.
38611         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
38612         ($(objpfx)tst-pcre-mem): Likewise.
38613         ($(objpfx)tst-boost-mem): Likewise.
38614         ($(objpfx)bug-ga2-mem): Likewise.
38615         ($(objpfx)bug-glob2-mem): Likewise.
38616         * resolv/Makefile (generate): Likewise.
38617         (tests-special): Likewise.
38618         (xtests-special): Likewise.
38619         (generated): Likewise.
38620         ($(objpfx)mtrace-tst-leaks): Likewise.
38621         ($(objpfx)mtrace-tst-leaks2): Likewise.
38623         * scripts/merge-test-results.sh: New file.
38624         * Makefile (tests-special-notdir): New variable.
38625         (tests): Run merge-test-results.sh.
38626         (xtests): Likewise.
38627         * Rules (tests-special-notdir): New variable.
38628         (xtests-special-notdir): Likewise.
38629         (tests): Run merge-test-results.sh
38630         (xtests): Likewise.
38632         * Makeconfig (test-xfail-name): New variable.
38633         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
38634         compute variable name for expected failures.
38635         * conform/Makefile (conformtest-headers-data): New variable.
38636         (conformtest-standards): Likewise.
38637         (conformtest-headers-ISO): Likewise.
38638         (conformtest-headers-ISO99): Likewise.
38639         (conformtest-headers-ISO11): Likewise.
38640         (conformtest-headers-POSIX): Likewise.
38641         (conformtest-headers-XPG3): Likewise.
38642         (conformtest-headers-XPG4): Likewise.
38643         (conformtest-headers-UNIX98): Likewise.
38644         (conformtest-headers-XOPEN2K): Likewise.
38645         (conformtest-headers-POSIX2008): Likewise.
38646         (conformtest-headers-XOPEN2K8): Likewise.
38647         (conformtest-header-list-base): Likewise.
38648         (conformtest-header-list-tests): Likewise.
38649         (conformtest-header-base): Likewise.
38650         (conformtest-header-tests): Likewise.
38651         (tests-special): Add $(conformtest-header-list-tests).  If
38652         [$(fast-check) && !$(cross-compiling)], add
38653         $(conformtest-header-tests) instead of
38654         $(objpfx)run-conformtest.out.
38655         (generated): Add $(conformtest-header-list-base).  If
38656         [$(fast-check) && !$(cross-compiling)], add
38657         $(conformtest-header-base).  Remove previous setting.
38658         ($(conformtest-header-list-tests)): New target.
38659         (test-xfail-run-conformtest): Remove variable.
38660         ($(objpfx)run-conformtest.out): Remove target.
38661         (test-xfail-ISO11/complex.h/conform): New variable.
38662         (test-xfail-ISO11/stdalign.h/conform): Likewise.
38663         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
38664         (test-xfail-XPG3/varargs.h/conform): Likewise.
38665         (test-xfail-XPG4/varargs.h/conform): Likewise.
38666         (test-xfail-UNIX98/varargs.h/conform): Likewise.
38667         (test-xfail-XPG4/ndbm.h/conform): Likewise.
38668         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
38669         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
38670         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
38671         (test-xfail-XPG3/fcntl.h/conform): Likewise.
38672         (test-xfail-XPG3/ftw.h/conform): Likewise.
38673         (test-xfail-XPG3/grp.h/conform): Likewise.
38674         (test-xfail-XPG3/langinfo.h/conform): Likewise.
38675         (test-xfail-XPG3/limits.h/conform): Likewise.
38676         (test-xfail-XPG3/pwd.h/conform): Likewise.
38677         (test-xfail-XPG3/search.h/conform): Likewise.
38678         (test-xfail-XPG3/signal.h/conform): Likewise.
38679         (test-xfail-XPG3/stdio.h/conform): Likewise.
38680         (test-xfail-XPG3/stdlib.h/conform): Likewise.
38681         (test-xfail-XPG3/string.h/conform): Likewise.
38682         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
38683         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
38684         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
38685         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
38686         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
38687         (test-xfail-XPG3/sys/types.h/conform): Likewise.
38688         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
38689         (test-xfail-XPG3/termios.h/conform): Likewise.
38690         (test-xfail-XPG3/time.h/conform): Likewise.
38691         (test-xfail-XPG3/unistd.h/conform): Likewise.
38692         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
38693         (test-xfail-XPG4/fcntl.h/conform): Likewise.
38694         (test-xfail-XPG4/langinfo.h/conform): Likewise.
38695         (test-xfail-XPG4/netdb.h/conform): Likewise.
38696         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
38697         (test-xfail-XPG4/signal.h/conform): Likewise.
38698         (test-xfail-XPG4/stdio.h/conform): Likewise.
38699         (test-xfail-XPG4/stdlib.h/conform): Likewise.
38700         (test-xfail-XPG4/stropts.h/conform): Likewise.
38701         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
38702         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
38703         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
38704         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
38705         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
38706         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
38707         (test-xfail-XPG4/sys/time.h/conform): Likewise.
38708         (test-xfail-XPG4/sys/types.h/conform): Likewise.
38709         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
38710         (test-xfail-XPG4/termios.h/conform): Likewise.
38711         (test-xfail-XPG4/ucontext.h/conform): Likewise.
38712         (test-xfail-XPG4/unistd.h/conform): Likewise.
38713         (test-xfail-XPG4/utmpx.h/conform): Likewise.
38714         (test-xfail-POSIX/sched.h/conform): Likewise.
38715         (test-xfail-POSIX/signal.h/conform): Likewise.
38716         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
38717         (test-xfail-POSIX/tar.h/conform): Likewise.
38718         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
38719         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
38720         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
38721         (test-xfail-UNIX98/netdb.h/conform): Likewise.
38722         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
38723         (test-xfail-UNIX98/sched.h/conform): Likewise.
38724         (test-xfail-UNIX98/signal.h/conform): Likewise.
38725         (test-xfail-UNIX98/stdio.h/conform): Likewise.
38726         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
38727         (test-xfail-UNIX98/stropts.h/conform): Likewise.
38728         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
38729         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
38730         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
38731         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
38732         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
38733         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
38734         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
38735         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
38736         (test-xfail-UNIX98/unistd.h/conform): Likewise.
38737         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
38738         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
38739         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
38740         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
38741         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
38742         (test-xfail-XOPEN2K/math.h/conform): Likewise.
38743         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
38744         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
38745         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
38746         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
38747         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
38748         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
38749         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
38750         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
38751         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
38752         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
38753         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
38754         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
38755         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
38756         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
38757         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
38758         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
38759         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
38760         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
38761         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
38762         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
38763         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
38764         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
38765         (test-xfail-POSIX2008/signal.h/conform): Likewise.
38766         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
38767         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
38768         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
38769         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
38770         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
38771         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
38772         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
38773         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
38774         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
38775         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
38776         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
38777         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
38778         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
38779         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
38780         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
38781         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
38782         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
38783         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
38784         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
38785         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
38786         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
38787         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
38788         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
38789         (conformtest-cc-flags): Likewise.
38790         ($(conformtest-header-tests): New target.
38791         * conform/check-header-lists.sh: New file.
38792         * conform/run-conformtest.sh: Remove.
38794         * conform/conformtest.pl: Allow ' and \ in values given for
38795         constants.
38796         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
38797         inclusion.
38798         [POSIX] (sys/types.h): Likewise.
38799         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
38800         inclusion.
38801         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
38802         inclusion.
38803         * conform/data/signal.h-data (SIGIO): Remove expectation.
38804         [XPG3] (SIGBUS): Do not expect.
38805         [POSIX || XPG3] (SIGPOLL): Likewise.
38806         [POSIX || XPG3] (SIGPROF): Likewise.
38807         [POSIX || XPG3] (SIGSYS): Likewise.
38808         [XPG3] (SIGTRAP): Likewise.
38809         [POSIX || XPG3] (SIGURG): Likewise.
38810         [POSIX || XPG3] (SIGVTALRM): Likewise.
38811         [POSIX || XPG3] (SIGXCPU): Likewise.
38812         [POSIX || XPG3] (SIGXFSZ): Likewise.
38813         [POSIX] (SA_SIGINFO): Expect.
38814         [XPG3] (siginfo_t): Do not expect type or contents.
38815         [POSIX] (si_pid): Do not expect element.
38816         [POSIX] (si_uid): Likewise.
38817         [POSIX] (si_addr): Likewise.
38818         [POSIX] (si_status): Likewise.
38819         [POSIX] (si_band): Likewise.
38820         [XPG4] (si_value): Likewise.
38821         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
38822         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
38823         [POSIX || XPG3] (ILL_ILLADR): Likewise.
38824         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
38825         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
38826         [POSIX || XPG3] (ILL_PRVREG): Likewise.
38827         [POSIX || XPG3] (ILL_COPROC): Likewise.
38828         [POSIX || XPG3] (ILL_BADSTK): Likewise.
38829         [POSIX || XPG3] (FPE_INTDIV): Likewise.
38830         [POSIX || XPG3] (FPE_INTOVF): Likewise.
38831         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
38832         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
38833         [POSIX || XPG3] (FPE_FLTUND): Likewise.
38834         [POSIX || XPG3] (FPE_FLTRES): Likewise.
38835         [POSIX || XPG3] (FPE_FLTINV): Likewise.
38836         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
38837         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
38838         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
38839         [POSIX || XPG3] (BUS_ADRALN): Likewise.
38840         [POSIX || XPG3] (BUS_ADRERR): Likewise.
38841         [POSIX || XPG3] (BUS_OBJERR): Likewise.
38842         [POSIX || XPG3] (CLD_EXITED): Likewise.
38843         [POSIX || XPG3] (CLD_KILLED): Likewise.
38844         [POSIX || XPG3] (CLD_DUMPED): Likewise.
38845         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
38846         [POSIX || XPG3] (CLD_STOPPED): Likewise.
38847         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
38848         [POSIX || XPG3] (POLL_IN): Likewise.
38849         [POSIX || XPG3] (POLL_OUT): Likewise.
38850         [POSIX || XPG3] (POLL_MSG): Likewise.
38851         [POSIX || XPG3] (POLL_ERR): Likewise.
38852         [POSIX || XPG3] (POLL_PRI): Likewise.
38853         [POSIX || XPG3] (POLL_HUP): Likewise.
38854         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
38855         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
38856         (SIG*): Do not allow.
38857         [XPG3] (si_*): Likewise.
38858         [XPG3] (SI_*): Likewise.
38859         [XPG3 || XPG4] (sigev_*): Likewise.
38860         [XPG3 || XPG4] (SIGEV_*): Likewise.
38861         [XPG3 || XPG4] (sival_*): Likewise.
38862         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
38863         [POSIX || XPG3] (BUS_*): Likewise.
38864         [POSIX || XPG3] (CLD_*): Likewise.
38865         [POSIX || XPG3] (FPE_*): Likewise.
38866         [POSIX || XPG3] (ILL_*): Likewise.
38867         [POSIX || XPG3] (POLL_*): Likewise.
38868         [POSIX || XPG3] (SEGV_*): Likewise.
38869         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
38870         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
38871         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
38872         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
38873         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
38874         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
38875         Specify type and value.
38876         (TVERSLEN): Likewise.
38877         (REGTYPE): Likewise.
38878         (AREGTYPE): Likewise.
38879         (LNKTYPE): Likewise.
38880         (SYMTYPE): Likewise.
38881         (CHRTYPE): Likewise.
38882         (BLKTYPE): Likewise.
38883         (DIRTYPE): Likewise.
38884         (FIFOTYPE): Likewise.
38885         (CONTTYPE): Likewise.
38886         (TSUID): Likewise.
38887         (TSGID): Likewise.
38888         (TSVTX): Likewise.
38889         (TUREAD): Likewise.
38890         (TUWRITE): Likewise.
38891         (TUEXEC): Likewise.
38892         (TGREAD): Likewise.
38893         (TGWRITE): Likewise.
38894         (TGEXEC): Likewise.
38895         (TOREAD): Likewise.
38896         (TOWRITE): Likewise.
38897         (TOEXEC): Likewise.
38898         [POSIX] (TSVTX): Expect constant.
38900 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
38902         * Makefile (tests): Change dependencies to ....
38903         (tests-special): ... additions to this variable.
38904         (tests): Depend on $(tests-special).
38905         * Makerules (check-abi-list): New variable.
38906         (check-abi): Depend on $(check-abi-list).
38907         [$(subdir) = elf] (tests-special): Add
38908         $(objpfx)check-abi-libc.out.
38909         [$(build-shared) = yes && subdir] (tests-special): Add
38910         $(check-abi-list).
38911         [$(build-shared) = yes && subdir] (tests): Do not depend on
38912         check-abi.
38913         * Rules (tests): Depend on $(tests-special).
38914         (xtests): Depend on $(xtests-special).
38915         * catgets/Makefile (tests): Change dependencies to ....
38916         (tests-special): ... additions to this variable.
38917         * conform/Makefile (tests): Change dependencies to ....
38918         (tests-special): ... additions to this variable.
38919         * elf/Makefile (tests): Change dependencies to ....
38920         (tests-special): ... additions to this variable.
38921         * grp/Makefile (tests): Change dependencies to ....
38922         (tests-special): ... additions to this variable.
38923         * iconv/Makefile (xtests): Change dependencies to ....
38924         (xtests-special): ... additions to this variable.
38925         * iconvdata/Makefile (tests): Change dependencies to ....
38926         (tests-special): ... additions to this variable.
38927         * intl/Makefile (tests): Change dependencies to ....
38928         (tests-special): ... additions to this variable.  Also add
38929         $(objpfx)tst-gettext.out.
38930         * io/Makefile (tests): Change dependencies to ....
38931         (tests-special): ... additions to this variable.
38932         * libio/Makefile (tests): Change dependencies to ....
38933         (tests-special): ... additions to this variable.
38934         * malloc/Makefile (tests): Change dependencies to ....
38935         (tests-special): ... additions to this variable.
38936         * misc/Makefile (tests): Change dependencies to ....
38937         (tests-special): ... additions to this variable.
38938         * nptl/Makefile (tests): Change dependencies to ....
38939         (tests-special): ... additions to this variable.
38940         * nptl_db/Makefile (tests): Change dependencies to ....
38941         (tests-special): ... additions to this variable.
38942         * posix/Makefile (tests): Change dependencies to ....
38943         (tests-special): ... additions to this variable.
38944         (xtests): Change dependencies to ....
38945         (xtests-special): ... additions to this variable.
38946         * resolv/Makefile (tests): Change dependencies to ....
38947         (tests-special): ... additions to this variable.
38948         (xtests): Change dependencies to ....
38949         (xtests-special): ... additions to this variable.
38950         * stdio-common/Makefile (tests): Change dependencies to ....
38951         (tests-special): ... additions to this variable.
38952         (do-tst-unbputc): Remove target.
38953         (do-tst-printf): Likewise.
38954         * stdlib/Makefile (tests): Change dependencies to ....
38955         (tests-special): ... additions to this variable.
38956         * string/Makefile (tests): Change dependencies to ....
38957         (tests-special): ... additions to this variable.
38958         * sysdeps/x86/Makefile (tests): Change dependencies to ....
38959         (tests-special): ... additions to this variable.
38961         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
38962         whole file.
38963         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
38964         whole file.
38965         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
38966         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
38968         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
38969         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
38970         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
38971         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
38972         * conform/data/libgen.h-data [XPG3]: Likewise.
38973         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
38974         * conform/data/ndbm.h-data [XPG3]: Likewise.
38975         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
38976         * conform/data/netdb.h-data [XPG3]: Likewise.
38977         * conform/data/netinet/in.h-data [XPG3]: Likewise.
38978         * conform/data/poll.h-data [XPG3]: Likewise.
38979         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
38980         * conform/data/strings.h-data [XPG3]: Likewise.
38981         * conform/data/stropts.h-data [XPG3]: Likewise.
38982         * conform/data/sys/mman.h-data [XPG3]: Likewise.
38983         * conform/data/sys/resource.h-data [XPG3]: Likewise.
38984         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
38985         Likewise.
38986         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
38987         * conform/data/sys/time.h-data [XPG3]: Likewise.
38988         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
38989         * conform/data/sys/uio.h-data [XPG3]: Likewise.
38990         * conform/data/sys/un.h-data [XPG3]: Likewise.
38991         * conform/data/syslog.h-data [XPG3]: Likewise.
38992         * conform/data/ucontext.h-data [XPG3]: Likewise.
38993         * conform/data/utmpx.h-data [XPG3]: Likewise.
38994         * conform/data/varargs.h-data [UNIX98]: Enable file.
38996         * manual/Makefile (INSTALL_INFO): Remove variable setting.
38998         * math/libm-test.inc (struct test_f_f_data): Move expected results
38999         into structure for each rounding mode.
39000         (struct test_ff_f_data): Likewise.
39001         (struct test_ff_f_data_nexttoward): Likewise.
39002         (struct test_fi_f_data): Likewise.
39003         (struct test_fl_f_data): Likewise.
39004         (struct test_if_f_data): Likewise.
39005         (struct test_fff_f_data): Likewise.
39006         (struct test_c_f_data): Likewise.
39007         (struct test_f_f1_data): Likewise.
39008         (struct test_fF_f1_data): Likewise.
39009         (struct test_ffI_f1_data): Likewise.
39010         (struct test_c_c_data): Likewise.
39011         (struct test_cc_c_data): Likewise.
39012         (struct test_f_i_data): Likewise.
39013         (struct test_ff_i_data): Likewise.
39014         (struct test_f_l_data): Likewise.
39015         (struct test_f_L_data): Likewise.
39016         (struct test_fFF_11_data): Likewise.
39017         (RM_): New macro.
39018         (RM_FE_DOWNWARD): Likewise.
39019         (RM_FE_TONEAREST): Likewise.
39020         (RM_FE_TOWARDZERO): Likewise.
39021         (RM_FE_UPWARD): Likewise.
39022         (RUN_TEST_LOOP_f_f): Update references to expected results.
39023         (RUN_TEST_LOOP_2_f): Likewise.
39024         (RUN_TEST_LOOP_fff_f): Likewise.
39025         (RUN_TEST_LOOP_c_f): Likewise.
39026         (RUN_TEST_LOOP_f_f1): Likewise.
39027         (RUN_TEST_LOOP_fF_f1): Likewise.
39028         (RUN_TEST_LOOP_fI_f1): Likewise.
39029         (RUN_TEST_LOOP_ffI_f1): Likewise.
39030         (RUN_TEST_LOOP_c_c): Likewise.
39031         (RUN_TEST_LOOP_cc_c): Likewise.
39032         (RUN_TEST_LOOP_f_i): Likewise.
39033         (RUN_TEST_LOOP_f_i_tg): Likewise.
39034         (RUN_TEST_LOOP_ff_i_tg): Likewise.
39035         (RUN_TEST_LOOP_f_b): Likewise.
39036         (RUN_TEST_LOOP_f_b_tg): Likewise.
39037         (RUN_TEST_LOOP_f_l): Likewise.
39038         (RUN_TEST_LOOP_f_L): Likewise.
39039         (RUN_TEST_LOOP_fFF_11): Likewise.
39040         * math/gen-libm-test.pl (parse_args): Output four copies of
39041         expected results for each test.
39043         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39044         (__ASSUME_UTIMES): Remove.
39045         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39046         (__ASSUME_UTIMES): Likewise.
39048         * math/gen-auto-libm-tests.c: Update comment on output format.
39049         (output_for_one_input_case): Generate before-rounding and
39050         after-rounding information as conditions on output flags not
39051         floating-point format.
39052         * math/auto-libm-test-out: Regenerated.
39053         * math/gen-libm-test.pl (cond_value): New function.
39054         (or_cond_value): Use cond_value.
39055         (generate_testfile): Handle conditional exceptions.
39057 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
39059         * math/libm-test.inc (max_valid_error): New variable.
39060         (init_max_error): Take new argument specifying whether function
39061         results are exactly determined.  Set max_valid_error and bound
39062         other variables for errors based on this argument.
39063         (set_max_error): Do not record results above max_valid_error.
39064         (check_float_internal): Only accept errors of up to 0.5ulps if
39065         also at most max_valid_error.
39066         (START): Take new argument EXACT and pass it to init_max_error.
39067         (acos_test): Update call to START.
39068         (acos_test_tonearest): Likewise.
39069         (acos_test_towardzero): Likewise.
39070         (acos_test_downward): Likewise.
39071         (acos_test_upward): Likewise.
39072         (acosh_test): Likewise.
39073         (asin_test): Likewise.
39074         (asin_test_tonearest): Likewise.
39075         (asin_test_towardzero): Likewise.
39076         (asin_test_downward): Likewise.
39077         (asin_test_upward): Likewise.
39078         (asinh_test): Likewise.
39079         (atan_test): Likewise.
39080         (atanh_test): Likewise.
39081         (atan2_test): Likewise.
39082         (cabs_test): Likewise.
39083         (cacos_test): Likewise.
39084         (cacosh_test): Likewise.
39085         (carg_test): Likewise.
39086         (casin_test): Likewise.
39087         (casinh_test): Likewise.
39088         (catan_test): Likewise.
39089         (catanh_test): Likewise.
39090         (cbrt_test): Likewise.
39091         (ccos_test): Likewise.
39092         (ccosh_test): Likewise.
39093         (ceil_test): Likewise.
39094         (cexp_test): Likewise.
39095         (cimag_test): Likewise.
39096         (clog_test): Likewise.
39097         (clog10_test): Likewise.
39098         (conj_test): Likewise.
39099         (copysign_test): Likewise.
39100         (cos_test): Likewise.
39101         (cos_test_tonearest): Likewise.
39102         (cos_test_towardzero): Likewise.
39103         (cos_test_downward): Likewise.
39104         (cos_test_upward): Likewise.
39105         (cosh_test): Likewise.
39106         (cosh_test_tonearest): Likewise.
39107         (cosh_test_towardzero): Likewise.
39108         (cosh_test_downward): Likewise.
39109         (cosh_test_upward): Likewise.
39110         (cpow_test): Likewise.
39111         (cproj_test): Likewise.
39112         (creal_test): Likewise.
39113         (csin_test): Likewise.
39114         (csinh_test): Likewise.
39115         (csqrt_test): Likewise.
39116         (ctan_test): Likewise.
39117         (ctan_test_tonearest): Likewise.
39118         (ctan_test_towardzero): Likewise.
39119         (ctan_test_downward): Likewise.
39120         (ctan_test_upward): Likewise.
39121         (ctanh_test): Likewise.
39122         (ctanh_test_tonearest): Likewise.
39123         (ctanh_test_towardzero): Likewise.
39124         (ctanh_test_downward): Likewise.
39125         (ctanh_test_upward): Likewise.
39126         (erf_test): Likewise.
39127         (erfc_test): Likewise.
39128         (exp_test): Likewise.
39129         (exp_test_tonearest): Likewise.
39130         (exp_test_towardzero): Likewise.
39131         (exp_test_downward): Likewise.
39132         (exp_test_upward): Likewise.
39133         (exp10_test): Likewise.
39134         (exp10_test_tonearest): Likewise.
39135         (exp10_test_towardzero): Likewise.
39136         (exp10_test_downward): Likewise.
39137         (exp10_test_upward): Likewise.
39138         (pow10_test): Likewise.
39139         (exp2_test): Likewise.
39140         (expm1_test): Likewise.
39141         (expm1_test_tonearest): Likewise.
39142         (expm1_test_towardzero): Likewise.
39143         (expm1_test_downward): Likewise.
39144         (expm1_test_upward): Likewise.
39145         (fabs_test): Likewise.
39146         (fdim_test): Likewise.
39147         (floor_test): Likewise.
39148         (fma_test): Likewise.
39149         (fma_test_towardzero): Likewise.
39150         (fma_test_downward): Likewise.
39151         (fma_test_upward): Likewise.
39152         (fmax_test): Likewise.
39153         (fmin_test): Likewise.
39154         (fmod_test): Likewise.
39155         (fpclassify_test): Likewise.
39156         (frexp_test): Likewise.
39157         (hypot_test): Likewise.
39158         (ilogb_test): Likewise.
39159         (isfinite_test): Likewise.
39160         (finite_test): Likewise.
39161         (isgreater_test): Likewise.
39162         (isgreaterequal_test): Likewise.
39163         (isinf_test): Likewise.
39164         (isless_test): Likewise.
39165         (islessequal_test): Likewise.
39166         (islessgreater_test): Likewise.
39167         (isnan_test): Likewise.
39168         (isnormal_test): Likewise.
39169         (issignaling_test): Likewise.
39170         (isunordered_test): Likewise.
39171         (j0_test): Likewise.
39172         (j1_test): Likewise.
39173         (jn_test): Likewise.
39174         (ldexp_test): Likewise.
39175         (lgamma_test): Likewise.
39176         (gamma_test): Likewise.
39177         (lrint_test): Likewise.
39178         (lrint_test_tonearest): Likewise.
39179         (lrint_test_towardzero): Likewise.
39180         (lrint_test_downward): Likewise.
39181         (lrint_test_upward): Likewise.
39182         (llrint_test): Likewise.
39183         (llrint_test_tonearest): Likewise.
39184         (llrint_test_towardzero): Likewise.
39185         (llrint_test_downward): Likewise.
39186         (llrint_test_upward): Likewise.
39187         (log_test): Likewise.
39188         (log10_test): Likewise.
39189         (log1p_test): Likewise.
39190         (log2_test): Likewise.
39191         (logb_test): Likewise.
39192         (logb_test_downward): Likewise.
39193         (lround_test): Likewise.
39194         (llround_test): Likewise.
39195         (modf_test): Likewise.
39196         (nearbyint_test): Likewise.
39197         (nextafter_test): Likewise.
39198         (nexttoward_test): Likewise.
39199         (pow_test): Likewise.
39200         (pow_test_tonearest): Likewise.
39201         (pow_test_towardzero): Likewise.
39202         (pow_test_downward): Likewise.
39203         (pow_test_upward): Likewise.
39204         (remainder_test): Likewise.
39205         (drem_test): Likewise.
39206         (remainder_test_tonearest): Likewise.
39207         (drem_test_tonearest): Likewise.
39208         (remainder_test_towardzero): Likewise.
39209         (drem_test_towardzero): Likewise.
39210         (remainder_test_downward): Likewise.
39211         (drem_test_downward): Likewise.
39212         (remainder_test_upward): Likewise.
39213         (drem_test_upward): Likewise.
39214         (remquo_test): Likewise.
39215         (rint_test): Likewise.
39216         (rint_test_tonearest): Likewise.
39217         (rint_test_towardzero): Likewise.
39218         (rint_test_downward): Likewise.
39219         (rint_test_upward): Likewise.
39220         (round_test): Likewise.
39221         (scalb_test): Likewise.
39222         (scalbn_test): Likewise.
39223         (scalbln_test): Likewise.
39224         (signbit_test): Likewise.
39225         (sin_test): Likewise.
39226         (sin_test_tonearest): Likewise.
39227         (sin_test_towardzero): Likewise.
39228         (sin_test_downward): Likewise.
39229         (sin_test_upward): Likewise.
39230         (sincos_test): Likewise.
39231         (sinh_test): Likewise.
39232         (sinh_test_tonearest): Likewise.
39233         (sinh_test_towardzero): Likewise.
39234         (sinh_test_downward): Likewise.
39235         (sinh_test_upward): Likewise.
39236         (sqrt_test): Likewise.
39237         (sqrt_test_tonearest): Likewise.
39238         (sqrt_test_towardzero): Likewise.
39239         (sqrt_test_downward): Likewise.
39240         (sqrt_test_upward): Likewise.
39241         (tan_test): Likewise.
39242         (tan_test_tonearest): Likewise.
39243         (tan_test_towardzero): Likewise.
39244         (tan_test_downward): Likewise.
39245         (tan_test_upward): Likewise.
39246         (tanh_test): Likewise.
39247         (tgamma_test): Likewise.
39248         (trunc_test): Likewise.
39249         (y0_test): Likewise.
39250         (y1_test): Likewise.
39251         (yn_test): Likewise.
39252         (significand_test): Likewise.
39254         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
39255         individual tests in comment.
39256         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
39257         (prev_max_error): New variable.
39258         (prev_real_max_error): Likewise.
39259         (prev_imag_max_error): Likewise.
39260         (compare_ulp_data): Don't refer to test names in comment.
39261         (find_test_ulps): Remove function.
39262         (find_function_ulps): Likewise.
39263         (find_complex_function_ulps): Likewise.
39264         (init_max_error): Take function name as argument.  Look up ulps
39265         for that function.
39266         (print_ulps): Remove function.
39267         (print_max_error): Use prev_max_error instead of calling
39268         find_function_ulps.
39269         (print_complex_max_error): Use prev_real_max_error and
39270         prev_imag_max_error instead of calling find_complex_function_ulps.
39271         (check_float_internal): Take max_ulp parameter instead of calling
39272         find_test_ulps.  Don't call print_ulps.
39273         (check_float): Update call to check_float_internal.
39274         (check_complex): Update calls to check_float_internal.
39275         (START): Pass argument to init_max_error.
39276         * math/gen-libm-test.pl (%results): Don't include "kind"
39277         information.
39278         (parse_ulps): Don't handle ulps of individual tests.
39279         (print_ulps_file): Likewise.
39280         (output_ulps): Likewise.
39281         * math/README.libm-test: Update.
39282         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
39283         individual tests.
39284         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
39285         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
39286         * sysdeps/arm/libm-test-ulps: Likewise.
39287         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
39288         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
39289         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
39290         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
39291         * sysdeps/microblaze/libm-test-ulps: Likewise.
39292         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
39293         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
39294         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39295         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
39296         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39297         * sysdeps/sh/libm-test-ulps: Likewise.
39298         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39299         * sysdeps/tile/libm-test-ulps: Likewise.
39300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39302 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
39304         * math/libm-test.inc (print_complex_max_error): Check separately
39305         whether real and imaginary errors are within allowed range and
39306         pass 0 to print_complex_function_ulps instead of value within
39307         allowed range.
39309 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39311         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
39312         formatting.
39313         (get_handles_fopen): Likewise.
39314         (do_write_test): Likewise.
39316         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
39318         * libio/fileops.c (do_ftell): Use cached offset when
39319         available.
39320         * libio/iofwide.c (do_ftell_wide): Likewise.
39321         * libio/iofdopen.c (_IO_new_fdopen): Don't use
39322         _IO_file_attach.
39323         * libio/wfileops.c (_IO_fwide): Don't cache offset.
39325         [BZ #16532]
39326         * libio/libioP.h (get_file_offset): New function.
39327         * libio/fileops.c (get_file_offset): Likewise.
39328         (do_ftell): Likewise.
39329         (_IO_new_file_seekoff): Split out ftell logic.
39330         * libio/wfileops.c (do_ftell_wide): Likewise.
39331         (_IO_wfile_seekoff): Split out ftell logic.
39332         * libio/tst-ftell-active-handler.c: New test case.
39333         * libio/Makefile (tests): Add it.
39335 2014-03-03  Roland McGrath  <roland@hack.frob.com>
39337         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
39338         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
39340 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39342         [BZ #16639]
39343         * nscd/connections.c (nscd_init): Call do_exit.
39344         (start_threads): Call do_exit and notify_parent.
39345         (begin_drop_privileges): Call do_exit.
39346         (finish_drop_privileges): Likewise.
39347         * nscd/selinux.c (preserve_capabilities): Likewise.
39348         (install_real_capabilities): Likewise.
39349         (nscd_selinux_enabled): Likewise.
39350         (avc_create_thread): Likewise.
39351         (avc_alloc_lock): Likewise.
39352         (nscd_avc_init): Likewise.
39353         * nscd/nscd.c (parent_fd): New static variable.
39354         (main): Create a pipe between parent and child processes.
39355         Skip closing parent_fd.
39356         (monitor_child): New function.
39357         (do_exit): Likewise.
39358         (notify_parent): Likewise.
39359         * nscd/nscd.h (notify_parent): Likewise.
39360         (do_exit): Likewise.
39362 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
39364         * malloc/malloc.c (__libc_calloc): Revert last change.
39366 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39368         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39370 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39372         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
39373         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
39374         implementation.
39375         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39376         (__libc_ifunc_impl_list): Likewise.
39377         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
39378         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
39379         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
39380         * string/strrchr.c: Define STRRCHR.
39382 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
39384         * benchtest/bench-strtok.c (simple_strtok): Delete.
39385         (strtok_string): Use as benchmark.
39386         * string/strtok (STRTOK): New macro.
39388 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
39390         * manual/threads.texi: Add header and standard comments to all
39391         functions.
39393         * elf/dl-lookup.c (check_match): New function.
39394         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
39395         (do_lookup_x): Remove nested function check_match. Use non-nested
39396         function check_match.
39398 2014-02-28  Roland McGrath  <roland@hack.frob.com>
39400         * csu/Makefile (generated, before-compile): Use += rather than =.
39401         * catgets/Makefile (generated, generated-dirs): Likewise.
39402         * debug/Makefile (generated): Likewise.
39403         * dlfcn/Makefile (generated): Likewise.
39404         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
39405         * iconvdata/Makefile (before-compile, generated): Likewise.
39406         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
39407         * libio/Makefile (generated): Likewise.
39408         * malloc/Makefile (generated): Likewise.
39409         * manual/Makefile (generated, generated-dirs): Likewise.
39410         * misc/Makefile (generated): Likewise.
39411         * posix/Makefile (generated): Likewise.
39412         * resolv/Makefile (generated): Likewise.
39413         * sunrpc/Makefile (generated, generated-dirs): Likewise.
39414         * timezone/Makefile (generated, generated-dirs): Likewise.
39416         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
39418 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39420         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
39421         power8 implementation.
39422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
39423         file: POWER8 llround ifunc implementation.
39424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
39425         (__lllround): Add POWER8 implementation.
39426         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
39427         POWER8 llround implementation.
39429         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
39430         power8 implementation.
39431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
39432         file: POWER8 llrint ifunc implementation.
39433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
39434         Add POWER8 implementation.
39435         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
39436         POWER8 llrint implementation.
39438         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
39439         power8 implementation.
39440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
39441         file: POWER8 finite ifunc implementation.
39442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
39443         Add POWER8 implementation.
39444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
39445         Likewise.
39446         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
39447         POWER8 finite implementation.
39448         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
39450         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
39451         power8 implementation.
39452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
39453         file: POWER8 isinf ifunc implementation.
39454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
39455         POWER8 implementation.
39456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
39457         Likewise.
39458         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
39459         isinf implementation.
39460         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
39462         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
39463         (INIT_ARCH): Add hwcap2 initialization.
39464         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39465         power8 implementation.
39466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
39467         file: POWER8 isnan ifunc implementation.
39468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
39469         POWER8 implementation.
39470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
39471         Likewise.
39472         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
39473         isnan implementation.
39474         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
39476 2014-02-27  Joey Ye  <joey.ye@arm.com>
39478         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
39479         (_FP_NANFRAC_Q): Set to zero.
39481 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39483         [BZ #16623]
39484         * math/auto-libm-test-in: New test inputs.
39485         * math/auto-libm-test-out: Regenerate.
39486         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
39487         and DA.
39488         (__cos): Likewise.
39489         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
39491 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
39493         * scripts/evaluate-test.sh: Take new argument indicating whether
39494         failure is expected.
39495         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
39496         indicating whether failure is expected.
39497         * conform/Makefile (test-xfail-run-conformtest): New variable.
39498         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
39499         level.
39500         * posix/Makefile (test-xfail-annexc): New variable.
39501         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
39503 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
39505         * argp/Makefile: Include Makeconfig immediately after defining
39506         subdir.
39507         * assert/Makefile: Likewise.
39508         * benchtests/Makefile: Likewise.
39509         * catgets/Makefile: Likewise.
39510         * conform/Makefile: Likewise.
39511         * crypt/Makefile: Likewise.
39512         * csu/Makefile: Likewise.
39513         (all): Remove target.
39514         * ctype/Makefile: Include Makeconfig immediately after defining
39515         subdir.
39516         * debug/Makefile: Likewise.
39517         * dirent/Makefile: Likewise.
39518         * dlfcn/Makefile: Likewise.
39519         * gmon/Makefile: Likewise.
39520         * gnulib/Makefile: Likewise.
39521         * grp/Makefile: Likewise.
39522         * gshadow/Makefile: Likewise.
39523         * hesiod/Makefile: Likewise.
39524         * hurd/Makefile: Likewise.
39525         (all): Remove target.
39526         * iconvdata/Makefile: Include Makeconfig immediately after
39527         defining subdir.
39528         * inet/Makefile: Likewise.
39529         * intl/Makefile: Likewise.
39530         * io/Makefile: Likewise.
39531         * libio/Makefile: Likewise.
39532         (all): Remove target.
39533         * locale/Makefile: Include Makeconfig immediately after defining
39534         subdir.
39535         * login/Makefile: Likewise.
39536         * mach/Makefile: Likewise.
39537         (all): Remove target.
39538         * malloc/Makefile: Include Makeconfig immediately after defining
39539         subdir.
39540         (all): Remove target.
39541         * manual/Makefile: Include Makeconfig immediately after defining
39542         subdir.
39543         * math/Makefile: Likewise.
39544         * misc/Makefile: Likewise.
39545         * nis/Makefile: Likewise.
39546         * nss/Makefile: Likewise.
39547         * po/Makefile: Likewise.
39548         (all): Remove target.
39549         * posix/Makefile: Include Makeconfig immediately after defining
39550         subdir.
39551         * pwd/Makefile: Likewise.
39552         * resolv/Makefile: Likewise.
39553         * resource/Makefile: Likewise.
39554         * rt/Makefile: Likewise.
39555         * setjmp/Makefile: Likewise.
39556         * shadow/Makefile: Likewise.
39557         * signal/Makefile: Likewise.
39558         * socket/Makefile: Likewise.
39559         * soft-fp/Makefile: Likewise.
39560         * stdio-common/Makefile: Likewise.
39561         * stdlib/Makefile: Likewise.
39562         * streams/Makefile: Likewise.
39563         * string/Makefile: Likewise.
39564         * sunrpc/Makefile: Likewise.
39565         (all): Remove target.
39566         * sysvipc/Makefile: Include Makeconfig immediately after defining
39567         subdir.
39568         * termios/Makefile: Likewise.
39569         * time/Makefile: Likewise.
39570         * timezone/Makefile: Likewise.
39571         (all): Remove target.
39572         * wcsmbs/Makefile: Include Makeconfig immediately after defining
39573         subdir.
39574         * wctype/Makefile: Likewise.
39576 2014-02-26  Steve Ellcey  <sellcey@mips.com>
39578         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
39579         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
39580         (libc_feholdexcept_setround_mips): Ditto.
39581         (libc_feholdsetround): New.
39582         (libc_feholdsetroundf): New.
39583         (libc_feholdsetroundl): New.
39584         (libc_feupdateenv_test_mips): New.
39585         (libc_feupdateenv_test): New.
39586         (libc_feupdateenv_testf): New.
39587         (libc_feupdateenv_testl): New.
39588         (libc_feresetround): New.
39589         (libc_feresetroundf): New.
39590         (libc_feresetroundl): New.
39591         (libc_fetestexcept_mips): New.
39592         (libc_fetestexcept): New.
39593         (libc_fetestexceptf): New.
39594         (libc_fetestexceptl): New.
39595         (HAVE_RM_CTX): New.
39596         (libc_feholdexcept_setround_mips_ctx): New.
39597         (libc_feholdexcept_setround_ctx): New.
39598         (libc_feholdexcept_setroundf_ctx): New.
39599         (libc_feholdexcept_setroundl_ctx): New.
39600         (libc_fesetenv_mips_ctx): New.
39601         (libc_fesetenv_ctx): New.
39602         (libc_fesetenv_ctxf): New.
39603         (libc_fesetenv_ctxl): New.
39604         (libc_feupdateenv_mips_ctx): New.
39605         (libc_feupdateenv_ctx): New.
39606         (libc_feupdateenvf_ctx): New.
39607         (libc_feupdateenvl_ctx): New.
39608         (libc_feholdsetround_mips_ctx): New.
39609         (libc_feholdsetround_ctx): New.
39610         (libc_feholdsetroundf_ctx): New.
39611         (libc_feholdsetroundl_ctx): New.
39612         (libc_feresetround_mips_ctx): New.
39613         (libc_feresetround_ctx): New.
39614         (libc_feresetroundf_ctx): New.
39615         (libc_feresetroundl_ctx): New.
39617 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
39619         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
39621         * manual/ipc.texi: New file.
39622         * manual/Makefile (chapters): Add ipc.
39623         * manual/job.texi: Add "Inter-Process Communication" to next.
39624         * manual/process.texi: Add "Inter-Process Communication" to prev.
39626 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39628         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39630 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
39632         * malloc/malloc.c (__libc_calloc): Simplify implementation.
39634         * manual/arith.texi: Fix spaces after sentences.
39635         * manual/charset.texi: Likewise.
39636         * manual/errno.texi: Likewise.
39637         * manual/install.texi: Likewise.
39638         * manual/llio.texi: Likewise.
39639         * manual/locale.texi: Likewise.
39640         * manual/maint.texi: Likewise.
39641         * manual/math.texi: Likewise.
39642         * manual/memory.texi: Likewise.
39643         * manual/message.texi: Likewise.
39644         * manual/probes.texi: Likewise.
39645         * manual/resource.texi: Likewise.
39646         * manual/signal.texi: Likewise.
39647         * manual/socket.texi: Likewise.
39648         * manual/stdio.texi: Likewise.
39649         * manual/string.texi: Likewise.
39650         * manual/time.texi: Likewise.
39651         * manual/users.texi: Likewise.
39653 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
39655         [BZ #16632]
39656         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
39657         _DEFAULT_SOURCE is defined.
39659 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
39660             Carlos O'Donell  <carlos@redhat.com>
39662         [BZ #16613]
39663         * elf/dl-tls.c (_dl_count_modids): New function.
39664         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
39665         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
39666         audit library and increment generation counter.
39667         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
39668         * elf/tst-audit9.c: New file.
39669         * elf/tst-auditmod9a.c: New file.
39670         * elf/tst-auditmod9b.c: New file.
39671         * elf/Makefile: Add rules to build and run tst-audit9.
39673 2014-02-25  Florian Weimer  <fweimer@redhat.com>
39675         [BZ #15347]
39676         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
39678 2014-02-25  Will Newton  <will.newton@linaro.org>
39680         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
39681         (__longjmp): Restore sp and lr before restoring callee
39682         saved registers.  Add longjmp and longjmp_target
39683         SystemTap probe point.
39684         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
39685         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
39686         Define to zero to match jmpbuf layout.
39687         * sysdeps/arm/setjmp.S: Include stap-probe.h.
39688         (__sigsetjmp): Save sp and lr before saving callee
39689         saved registers.  Add setjmp SystemTap probe point.
39691 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
39693         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39695 2014-02-24  Andreas Schwab  <schwab@suse.de>
39697         [BZ #15804]
39698         * elf/pldd.c (wait_for_ptrace_stop): New function.
39699         (main): Call it after attaching.
39701 2014-02-22  Roland McGrath  <roland@hack.frob.com>
39703         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
39704         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
39705         Versions files is now verboten.
39706         * hurd/Versions (libc: GLIBC_2.0):
39707         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
39708         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
39709         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
39710         * mach/Versions: Likewise.
39712         * csu/Versions: Remove unused %include.
39713         * resolv/Versions: Likewise.
39715 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
39717         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
39718         ($(objpfx)check-local-headers.out): Likewise.
39719         ($(objpfx)begin-end-check.out): Likewise.
39720         * Makerules (check-abi-%.out): Likewise.
39721         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
39722         ($(objpfx)test2.cat): Likewise.
39723         ($(objpfx)de/libc.cat): Likewise.
39724         ($(objpfx)test-gencat.out): Likewise.
39725         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
39726         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
39727         ($(objpfx)noload-mem): Likewise.
39728         ($(objpfx)tst-pathopt.out): Likewise.
39729         ($(objpfx)tst-rtld-load-self.out): Likewise.
39730         ($(objpfx)tst-array1-cmp.out): Likewise.
39731         ($(objpfx)tst-array1-static-cmp.out): Likewise.
39732         ($(objpfx)tst-array2-cmp.out): Likewise.
39733         ($(objpfx)tst-array3-cmp.out): Likewise.
39734         ($(objpfx)tst-array4-cmp.out): Likewise.
39735         ($(objpfx)tst-array5-cmp.out): Likewise.
39736         ($(objpfx)tst-array5-static-cmp.out): Likewise.
39737         ($(objpfx)check-textrel.out): Likewise.
39738         ($(objpfx)check-execstack.out): Likewise.
39739         ($(objpfx)check-localplt.out): Likewise.
39740         ($(objpfx)order2-cmp.out): Likewise.
39741         ($(objpfx)tst-leaks1-mem): Likewise.
39742         ($(objpfx)tst-leaks1-static-mem): Likewise.
39743         ($(objpfx)tst-initorder-cmp.out): Likewise.
39744         ($(objpfx)tst-initorder2-cmp.out): Likewise.
39745         ($(objpfx)tst-unused-dep.out): Likewise.
39746         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
39747         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
39748         * iconv/Makefile (test-iconvconfig): Likewise.
39749         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
39750         ($(objpfx)iconv-test.out): Likewise.
39751         ($(objpfx)tst-tables.out): Likewise.
39752         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
39753         ($(objpfx)tst-gettext.out): Likewise.
39754         ($(objpfx)tst-translit.out): Likewise.
39755         ($(objpfx)tst-gettext2.out): Likewise.
39756         ($(objpfx)tst-gettext4.out): Likewise.
39757         ($(objpfx)tst-gettext6.out): Likewise.
39758         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
39759         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
39760         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
39761         ($(objpfx)tst-fopenloc-mem.out): Likewise.
39762         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
39763         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
39764         * posix/Makefile ($(objpfx)globtest.out): Likewise.
39765         ($(objpfx)wordexp-tst.out): Likewise.
39766         ($(objpfx)annexc.out): Likewise.
39767         ($(objpfx)tst-fnmatch-mem): Likewise.
39768         ($(objpfx)bug-regex2-mem): Likewise.
39769         ($(objpfx)bug-regex14-mem): Likewise.
39770         ($(objpfx)bug-regex21-mem): Likewise.
39771         ($(objpfx)bug-regex31-mem): Likewise.
39772         ($(objpfx)tst-vfork3-mem): Likewise.
39773         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
39774         ($(objpfx)tst-pcre-mem): Likewise.
39775         ($(objpfx)tst-boost-mem): Likewise.
39776         ($(objpfx)tst-getconf.out): Likewise.
39777         ($(objpfx)bug-ga2-mem): Likewise.
39778         ($(objpfx)bug-glob2-mem): Likewise.
39779         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
39780         ($(objpfx)mtrace-tst-leaks2): Likewise.
39781         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
39782         ($(objpfx)tst-printf.out): Likewise.
39783         ($(objpfx)tst-setvbuf1.out): Likewise.
39784         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
39785         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
39786         ($(objpfx)tst-fmtmsg.out): Likewise.
39787         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
39788         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
39790         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
39791         * bits/sigaction.h [__USE_MISC]: Likewise.
39792         * bits/waitstatus.h: Update #endif comments.
39793         * ctype/ctype.h: Likewise.
39794         * dirent/dirent.h: Likewise.
39795         [__USE_MISC]: Remove redundant conditionals.
39796         * grp/grp.h: Update #endif comments.
39797         [__USE_GNU]: Remove redundant conditionals.
39798         [__USE_MISC]: Likewise.
39799         * inet/netinet/in.h [__USE_GNU]: Likewise.
39800         * io/sys/stat.h [__USE_MISC]: Likewise.
39801         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
39802         * libio/bits/stdio.h: Update #endif comments.
39803         [__USE_MISC]: Remove redundant conditionals.
39804         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
39805         * libio/stdio.h: Update #endif comments.
39806         [__USE_MISC]: Remove redundant conditionals.
39807         * math/bits/math-finite.h [__USE_MISC]: Likewise.
39808         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
39809         * math/math.h: Update #else and #endif comments.
39810         [__USE_MISC]: Remove redundant conditionals.
39811         * misc/sys/uio.h: Update #endif comments.
39812         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
39813         * posix/glob.h [__USE_MISC]: Likewise.
39814         * posix/sys/types.h: Update #endif comments.
39815         [__USE_MISC]: Remove redundant conditionals.
39816         * posix/sys/wait.h: Update #endif comments.
39817         [__USE_MISC]: Remove redundant conditionals.
39818         * posix/unistd.h: Update #endif comments.
39819         [__USE_MISC]: Remove redundant conditionals.
39820         * pwd/pwd.h [__USE_GNU]: Likewise.
39821         [__USE_MISC]: Likewise.
39822         * resolv/netdb.h [__USE_GNU]: Likewise.
39823         * signal/signal.h: Update #endif comments.
39824         [__USE_MISC]: Remove redundant conditionals.
39825         * stdlib/stdlib.h: Update #else and #endif comments.
39826         [__USE_MISC]: Remove redundant conditionals.
39827         [__USE_GNU]: Likewise.
39828         * string/bits/string2.h [__USE_MISC]: Likewise.
39829         * string/string.h: Update #endif comments.
39830         [__USE_MISC]: Remove redundant conditionals.
39831         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
39832         Likewise.
39833         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
39834         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
39835         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
39836         Likewise.
39837         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
39838         Likewise.
39839         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
39840         comments.
39841         [__USE_MISC]: Remove redundant conditionals.
39842         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
39843         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
39844         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
39845         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
39846         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
39847         Likewise.
39848         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
39849         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
39850         Likewise.
39851         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
39852         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
39853         Likewise.
39854         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
39855         Likewise.
39856         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
39857         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
39858         Likewise.
39859         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
39860         Likewise.
39861         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
39862         * sysdeps/x86/bits/string.h: Update #endif comments.
39863         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
39864         conditionals.
39865         * time/sys/time.h: Update #endif comments.
39866         * time/time.h: Likewise.
39867         [__USE_MISC]: Remove redundant conditionals.
39869 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
39871         [BZ #16600]
39872         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
39874 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
39876         * Versions.def (librt): Add GLIBC_2.17.
39878 2014-02-21  Adam Conrad  <adconrad@0c3.net>
39880         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
39881         synonym for _SYS_AUXV_H to allow direct inclusion.
39882         * sysdeps/sparc/bits/hwcap.h: Likewise.
39883         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
39884         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
39885         * sysdeps/sparc/sysdep.h: Likewise.
39887 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39889         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
39891 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39893         * benchtests/bench-strrchr.c: Print length instead of position.
39895 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
39897         [BZ #16611]
39898         * sysdeps/unix/sysv/linux/kernel-features.h
39899         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
39900         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
39901         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
39902         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
39903         Likewise.
39904         [__i386__ || __powerpc__ || __sh__ || __sparc__]
39905         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39906         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
39907         (__ASSUME_SENDMMSG): Define instead of using previous
39908         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
39909         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39910         (__ASSUME_SENDMMSG_SYSCALL): Define.
39911         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39912         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
39913         Likewise.
39914         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39915         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39916         Likewise.
39917         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39918         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39919         Likewise.
39920         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
39921         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
39922         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
39923         [__ASSUME_SENDMMSG]: Change conditionals to
39924         [__ASSUME_SENDMMSG_SOCKETCALL].
39925         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39926         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
39927         Define.
39928         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39929         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
39930         Likewise.
39931         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
39932         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
39933         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
39934         [!__ASSUME_SENDMMSG]: Change conditional to
39935         [!__ASSUME_SENDMMSG_SOCKETCALL].
39936         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39937         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39938         Define.
39940         [BZ #16610]
39941         * sysdeps/unix/sysv/linux/kernel-features.h
39942         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
39943         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
39944         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
39945         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
39946         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39947         [__i386__ || __sparc__]
39948         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39949         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
39950         (__ASSUME_RECVMMSG): Define instead of using previous
39951         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
39952         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39953         (__ASSUME_RECVMMSG_SYSCALL): Define.
39954         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39955         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39956         Likewise.
39957         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39958         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39959         Likewise.
39960         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39961         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39962         Likewise.
39963         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
39964         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
39965         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
39966         [__ASSUME_RECVMMSG]: Change condition to
39967         [__ASSUME_RECVMMSG_SOCKETCALL].
39968         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39969         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39970         Define.
39971         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39972         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39973         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39974         Likewise.
39975         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
39976         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
39977         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
39978         [!__ASSUME_RECVMMSG]: Change condition to
39979         [!__ASSUME_RECVMMSG_SOCKETCALL].
39980         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39981         (__ASSUME_RECVMMSG_SYSCALL): Define.
39983         [BZ #16609]
39984         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
39985         __powerpc__ || __s390__ || __sh__ || __sparc__]
39986         (__ASSUME_SOCKETCALL): Define.
39987         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
39988         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
39989         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
39990         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
39991         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39992         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
39993         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
39994         (__ASSUME_ACCEPT4): Define instead of using previous
39995         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
39996         __powerpc__ || __sparc__ || __s390__)] condition.
39997         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39998         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
39999         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
40000         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40001         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40002         [!__ASSUME_ACCEPT4]: Change condition to
40003         [!__ASSUME_ACCEPT4_SOCKETCALL].
40004         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40005         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
40006         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
40007         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40008         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
40009         __ASSUME_ACCEPT4_SYSCALL.
40010         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
40011         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
40012         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40013         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
40014         __ASSUME_ACCEPT4_SYSCALL.
40015         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
40016         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40017         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40018         [__ASSUME_ACCEPT4]: Change condition to
40019         [__ASSUME_ACCEPT4_SOCKETCALL].
40020         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40021         (__ASSUME_SOCKETCALL): Define.
40022         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
40023         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40024         (__ASSUME_SOCKETCALL): Define.
40025         (__ASSUME_ACCEPT4): Remove.
40026         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
40027         Define.
40028         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40029         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
40030         Likewise.
40031         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40032         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40034         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
40035         macro.
40036         (HWCAP_ARM_LPAE): Likewise.
40037         (HWCAP_ARM_EVTSTRM): Likewise.
40038         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
40039         Add vpfd32, lpae and evtstrm.
40040         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
40041         Increase to 22.
40043 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
40045         * math/auto-libm-test-in: Add tests of clog10.
40046         * math/auto-libm-test-out: Regenerated.
40047         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
40048         * sysdeps/i386/fpu/libm-test-ulps: Update.
40049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40051 2014-02-18  Andreas Schwab  <schwab@suse.de>
40053         [BZ #16574]
40054         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
40055         Store non-zero if the second buffer was newly allocated.
40056         (send_dg): Likewise.
40057         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
40058         to send_vc and send_dg.
40059         (res_nsend): Pass NULL for ansp2_malloced.
40060         * resolv/res_query.c (__libc_res_nquery): Add parameter
40061         answerp2_malloced and pass it down to __libc_res_nsend.
40062         (res_nquery): Pass additional NULL to __libc_res_nquery.
40063         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
40064         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
40065         second answer buffer if answerp2_malloced was set.
40066         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
40067         (__libc_res_nquerydomain): Add parameter
40068         answerp2_malloced and pass it down to __libc_res_nquery.
40069         (res_nquerydomain): Pass additional NULL to
40070         __libc_res_nquerydomain.
40071         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
40072         additional NULL to __libc_res_nsend and __libc_res_nquery.
40073         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
40074         additional NULL to __libc_res_nsearch.
40075         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
40076         parameter of __libc_res_nsearch to check for separately allocated
40077         second buffer.
40078         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
40079         __libc_res_nquery.
40080         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
40081         additional NULL to __libc_res_nquery.
40082         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
40083         __libc_res_nsearch.
40084         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
40085         * include/resolv.h: Update prototypes of __libc_res_nquery,
40086         __libc_res_nsearch, __libc_res_nsend.
40088 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
40090         * math/auto-libm-test-in: Add tests of fma.
40091         * math/auto-libm-test-out: Regenerated.
40092         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
40093         (fma_towardzero_test_data): Likewise.
40094         (fma_downward_test_data): Likewise.
40095         (fma_upward_test_data): Likewise.
40096         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
40097         mpc_mode.
40098         (rounding_modes): Add values for new field.
40099         (func_calc_method): Add value mpfr_fff_f.
40100         (func_calc_desc): Add mpfr_fff_f union field.
40101         (test_function): Add field exact_args.
40102         (FUNC): Add macro argument EXACT_ARGS.
40103         (FUNC_mpfr_f_f): Update call to FUNC.
40104         (FUNC_mpfr_f_f): Likewise.
40105         (FUNC_mpfr_ff_f): Likewise.
40106         (FUNC_mpfr_if_f): Likewise.
40107         (FUNC_mpc_c_f): Likewise.
40108         (FUNC_mpc_c_c): Likewise.
40109         (test_functions): Add fma.  Update calls to FUNC.
40110         (handle_input_arg): Add argument exact_args.
40111         (add_test): Update call to handle_input_arg.
40112         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
40113         (output_for_one_input_case): Update call to calc_generic_results.
40114         Recalculate exact zero results in each rounding mode.
40116         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
40117         non-negative before setting low bit.
40118         * math/auto-libm-test-in: Mark one asin test possibly having
40119         spurious underflow.
40120         * math/auto-libm-test-out: Regenerated.
40121         * sysdeps/i386/fpu/libm-test-ulps: Update.
40122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40124 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
40126         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
40127         * sysdeps/unix/sysv/linux/microblaze: Move directory from
40128         ports/sysdeps/unix/sysv/linux/microblaze.
40129         * README: Add missing listing for microblaze*-*-linux-gnu.
40131 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
40133         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
40134         duplicate code
40136 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
40138         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
40139         * sysdeps/unix/sysv/linux/ia64: Move directory from
40140         ports/sysdeps/unix/sysv/linux/ia64.
40141         * README: Update listing for ia64-*-linux-gnu.
40143 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
40144             Joseph Myers  <joseph@codesourcery.com>
40146         * Makeconfig (test-name): New variable.
40147         (evaluate-test): Likewise.
40148         * Makerules (do-test-clean): Remove .test-result files.
40149         (common-mostlyclean): Likewise.
40150         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
40151         * scripts/evaluate-test.sh: New file.
40153 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
40155         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
40156         separate $(objpfx)tst-fopenloc-cmp.out and
40157         $(objpfx)tst-fopenloc-mem.out targets.
40158         (tests): Update dependencies.
40159         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
40160         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
40161         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
40162         (tst-rxspencer-no-utf8-ARGS): New variable.
40163         (tst-rxspencer-no-utf8-ENV): Likewise.
40164         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
40165         instead of $(objpfx)tst-rxspencer-mem.
40166         ($(objpfx)tst-rxspencer-mem): Change target to
40167         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
40168         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
40169         * posix/tst-rxspencer-no-utf8.c: New file.
40171         * elf/Makefile ($(objpfx)order.out): Remove rule.
40172         [$(run-built-tests) = yes] (tests): Depend on
40173         $(objpfx)order-cmp.out.
40174         ($(objpfx)order-cmp.out): New rule.
40175         [$(run-built-tests) = yes] (tests): Depend on
40176         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
40177         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
40178         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
40179         $(objpfx)tst-array5-static-cmp.out.
40180         ($(objpfx)tst-array1.out): Remove rule.
40181         ($(objpfx)tst-array1-cmp.out): New rule.
40182         ($(objpfx)tst-array1-static.out): Remove rule.
40183         ($(objpfx)tst-array1-static-cmp.out): New rule.
40184         ($(objpfx)tst-array2.out): Remove rule.
40185         ($(objpfx)tst-array2-cmp.out): New rule.
40186         ($(objpfx)tst-array3.out): Remove rule.
40187         ($(objpfx)tst-array3-cmp.out): New rule.
40188         ($(objpfx)tst-array4.out): Remove rule.
40189         ($(objpfx)tst-array4-cmp.out): New rule.
40190         ($(objpfx)tst-array5.out): Remove rule.
40191         ($(objpfx)tst-array5-cmp.out): New rule.
40192         ($(objpfx)tst-array5-static.out): Remove rule.
40193         ($(objpfx)tst-array5-static-cmp.out): New rule.
40194         [$(run-built-tests) = yes] (tests): Depend on
40195         $(objpfx)order2-cmp.out.
40196         ($(objpfx)order2.out): Remove rule.
40197         ($(objpfx)order2-cmp.out): New rule.
40198         ($(objpfx)tst-initorder.out): Remove rule.
40199         [$(run-built-tests) = yes] (tests): Depend on
40200         $(objpfx)tst-initorder-cmp.out.
40201         ($(objpfx)tst-initorder-cmp.out): New rule.
40202         ($(objpfx)tst-initorder2.out): Remove rule.
40203         [$(run-built-tests) = yes] (tests): Depend on
40204         $(objpfx)tst-initorder2-cmp.out.
40205         ($(objpfx)tst-initorder2-cmp.out): New rule.
40206         [$(run-built-tests) = yes] (tests): Depend on
40207         $(objpfx)tst-unused-dep-cmp.out.
40208         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
40209         ($(objpfx)tst-unused-dep-cmp.out): New rule.
40210         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
40211         on $(objpfx)tst-setvbuf1-cmp.out.
40212         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
40213         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
40214         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
40215         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
40216         ($(objpfx)tst-svc.out): Remove rule.
40217         ($(objpfx)tst-svc-cmp.out): New rule.
40219 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
40221         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
40222         * ctype/ctype.h [__USE_MISC]: Likewise.
40223         * dirent/dirent.h [__USE_MISC]: Likewise.
40224         * grp/grp.h [__USE_MISC]: Likewise.
40225         * io/fcntl.h [__USE_MISC]: Likewise.
40226         * io/sys/stat.h [__USE_MISC]: Likewise.
40227         * libio/stdio.h [__USE_MISC]: Likewise.
40228         * posix/unistd.h [__USE_MISC]: Likewise.
40229         * pwd/pwd.h [__USE_MISC]: Likewise.
40230         * stdlib.h [__USE_MISC]: Likewise.
40231         * string/bits/string2.h [__USE_MISC]: Likewise.
40232         * string/string.h [__USE_MISC]: Likewise.
40233         * time/time.h [__USE_MISC]: Likewise.
40235 2014-02-13  Andreas Schwab  <schwab@suse.de>
40237         [BZ #16574]
40238         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
40239         second answer buffer if it was separately allocated.
40241 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
40243         * sysdeps/mips/math-tests.h: Include <features.h>.
40244         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40245         (ROUNDING_TESTS_long_double): Do not define.
40246         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40247         (EXCEPTION_TESTS_long_double): Likewise.
40248         * sysdeps/mips/mips64/libm-test-ulps: Update.
40250         * include/features.h (__USE_BSD): Remove macro definitions.
40251         (__USE_SVID): Likewise.
40252         (_BSD_SOURCE): Likewise.
40253         (_SVID_SOURCE): Likewise.
40254         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
40255         from definition of _DEFAULT_SOURCE.
40256         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
40257         [_DEFAULT_SOURCE].
40258         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
40259         * bits/mman.h [__USE_BSD]: Likewise.
40260         * bits/termios.h [__USE_BSD]: Likewise.
40261         * bits/waitstatus.h [__USE_BSD]: Likewise.
40262         * ctype/ctype.h [__USE_SVID]: Likewise.
40263         * dirent/dirent.h [__USE_BSD]: Likewise.
40264         * grp/grp.h [__USE_SVID]: Likewise.
40265         [__USE_BSD]: Likewise.
40266         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
40267         * io/fcntl.h [__USE_BSD]: Likewise.
40268         * io/ftw.h [__USE_BSD]: Likewise.
40269         * io/sys/stat.h [__USE_BSD]: Likewise.
40270         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
40271         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
40272         * libio/stdio.h [__USE_SVID]: Likewise.
40273         [__USE_BSD]: Likewise.
40274         * math/math.h [__USE_SVID]: Likewise.
40275         [__USE_BSD]: Likewise.
40276         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
40277         * misc/bits/syslog.h [__USE_BSD]: Likewise.
40278         * misc/search.h [__USE_SVID]: Likewise.
40279         * misc/sys/mman.h [__USE_BSD]: Likewise.
40280         * misc/sys/syslog.h [__USE_BSD]: Likewise.
40281         * misc/sys/uio.h [__USE_BSD]: Likewise.
40282         * posix/bits/unistd.h [__USE_BSD]: Likewise.
40283         * posix/glob.h [__USE_BSD]: Likewise.
40284         * posix/regex.h [__USE_BSD]: Likewise.
40285         * posix/sys/types.h [__USE_BSD]: Likewise.
40286         [__USE_SVID]: Likewise.
40287         * posix/sys/utsname.h [__USE_SVID]: Likewise.
40288         * posix/sys/wait.h [__USE_BSD]: Likewise.
40289         [__USE_SVID]: Likewise.
40290         * posix/unistd.h [__USE_BSD]: Likewise.
40291         [__USE_SVID]: Likewise.
40292         * pwd/pwd.h [__USE_SVID]: Likewise.
40293         * resolv/netdb.h [__USE_BSD]: Likewise.
40294         * setjmp/setjmp.h [__USE_BSD]: Likewise.
40295         * signal/signal.h [__USE_BSD]: Likewise.
40296         [__USE_SVID]: Likewise.
40297         * socket/sys/socket.h [__USE_BSD]: Likewise.
40298         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
40299         * stdlib/stdlib.h [__USE_BSD]: Likewise.
40300         [__USE_SVID]: Likewise.
40301         * string/bits/string2.h [__USE_BSD]: Likewise.
40302         [__USE_SVID]: Likewise.
40303         * string/bits/string3.h [__USE_BSD]: Likewise.
40304         * string/endian.h [__USE_BSD]: Likewise.
40305         * string/string.h [__USE_SVID]: Likewise.
40306         [__USE_BSD]: Likewise.
40307         * string/strings.h [__USE_BSD]: Likewise.
40308         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
40309         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
40310         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
40311         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
40312         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
40313         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
40314         Likewise.
40315         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
40316         Likewise.
40317         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
40318         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
40319         Likewise.
40320         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
40321         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
40322         Likewise.
40323         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
40324         Likewise.
40325         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
40326         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
40327         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
40328         Likewise.
40329         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
40330         Likewise.
40331         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
40332         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
40333         * termios/termios.h [__USE_BSD]: Likewise.
40334         * time/sys/time.h [__USE_BSD]: Likewise.
40335         * time/time.h [__USE_BSD]: Likewise.
40336         [__USE_SVID]: Likewise.
40338         * Makefile (subdir_targets): Remove subdir_lint.out.
40340         * stdio-common/Makefile (do-tst-unbputc): Remove target.
40341         (do-tst-printf): Likewise.
40342         (tests): Depend directly on $(objpfx)tst-unbputc.out and
40343         $(objpfx)tst-printf.out.
40345         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
40347         * Makerules (check-abi-%): Change target to
40348         $(objpfx)check-abi-%.out.
40349         (check-abi target): Update dependencies.
40350         (check-abi-pattern variable): Redirect output of diff to $@.
40351         (check-abi variable): Likewise.
40352         * elf/Makefile (check-abi): Update dependencies.
40354         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
40355         unused.
40356         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
40357         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
40358         subnormal range.
40359         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
40360         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
40361         value has largest subnormal exponent.
40362         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
40363         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
40364         * sysdeps/aarch64/soft-fp/sfp-machine.h
40365         (_FP_TININESS_AFTER_ROUNDING): New macro.
40366         * sysdeps/alpha/soft-fp/sfp-machine.h
40367         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40368         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40369         Likewise.
40370         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
40371         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40372         * sysdeps/mips/soft-fp/sfp-machine.h
40373         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40374         * sysdeps/powerpc/soft-fp/sfp-machine.h
40375         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40376         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40377         Likewise.
40378         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40379         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40380         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40381         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40382         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40383         Likewise.
40385 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
40387         [BZ #16545]
40388         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
40389         model 1.
40391 2014-02-12  Richard Henderson  <rth@redhat.com>
40393         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
40394         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
40395         * sysdeps/unix/sysv/linux/alpha: Move directory from
40396         ports/sysdeps/unix/sysv/linux/alpha.
40397         * README: Update listing for alpha-*-linux-gnu.
40399 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
40401         * include/features.h: Update comment documenting feature test
40402         macros.
40403         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
40404         _DEFAULT_SOURCE.
40405         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
40406         (_SVID_SOURCE): Likewise.
40407         (_DEFAULT_SOURCE): Update description of default features.
40408         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
40409         with _GNU_SOURCE.
40410         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
40411         (S_ISVTX): Likewise.
40412         * manual/math.texi (Mathematical Constants): Likewise.
40413         * manual/signal.texi (Interrupted Primitives): Likewise.
40414         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
40415         * math/test-matherr.c (_SVID_SOURCE): Do not define.
40416         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
40417         Don't refer to _SVID_SOURCE in warning text.
40419         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40421         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
40422         already defined.
40423         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
40424         * sysdeps/mips/dl-lookup.c: Remove.
40425         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
40427 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40429         [BZ #16447]
40430         * math/auto-libm-test-in: Add testcase for expl.
40431         * math/auto-libm-test-out: Regenerate.
40432         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
40433         calculation of unsafe.
40434         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
40436 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40438         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
40439         * sysdeps/unix/sysv/linux/aarch64: Move directory from
40440         ports/sysdeps/unix/sysv/linux/aarch64.
40441         * README: Update listing for aarch64*-*-linux-gnu.
40443 2014-02-11  Will Newton  <will.newton@linaro.org>
40445         * manual/probes.texi (Mathematical Function Probes): Use
40446         "triggered" instead of "hit".
40448         * manual/probes.texi (Internal Probes): Add documentation
40449         of setjmp, longjmp and longjmp_target probes.
40451         * include/stap-probe.h: Add comment about probe argument
40452         format.
40454         * malloc/mtrace.c (attribute_hidden): Remove unused macro
40455         definition.  (tr_where, tr_freehook, tr_mallochook,
40456         tr_reallochook, tr_memalignhook): Use ANSI protoype.
40458 2014-02-11  David S. Miller  <davem@davemloft.net>
40460         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
40461         processing int_tests.
40463 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
40465         * sysdeps/mips: Move directory from ports/sysdeps/mips.
40466         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
40467         * sysdeps/unix/sysv/linux/mips: Move directory from
40468         ports/sysdeps/unix/sysv/linux/mips.
40469         * README: Update listing for mips-*-linux-gnu and
40470         mips64-*-linux-gnu.
40472 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
40474         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
40475         * sysdeps/unix/sysv/linux/m68k: Move directory from
40476         ports/sysdeps/unix/sysv/linux/m68k.
40477         * README: Update listing for m68k-*-linux-gnu.
40479 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
40481         * sysdeps/tile: Move directory from ports/sysdeps/tile.
40482         * sysdeps/unix/sysv/linux/generic: Move directory from
40483         ports/sysdeps/unix/sysv/linux/generic.
40484         * sysdeps/unix/sysv/linux/tile: Move directory from
40485         ports/sysdeps/unix/sysv/linux/tile.
40486         * README: Update listing for tile*-*-linux-gnu.
40488 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
40490         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
40491         __builtin_expect.
40492         * benchtests/bench-memmem.c (simple_memmem): Likewise.
40493         * catgets/open_catalog.c (__open_catalog): Likewise.
40494         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
40495         * debug/confstr_chk.c: Likewise.
40496         * debug/fread_chk.c (__fread_chk): Likewise.
40497         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
40498         * debug/getgroups_chk.c: Likewise.
40499         * debug/mbsnrtowcs_chk.c: Likewise.
40500         * debug/mbsrtowcs_chk.c: Likewise.
40501         * debug/mbstowcs_chk.c: Likewise.
40502         * debug/memcpy_chk.c: Likewise.
40503         * debug/memmove_chk.c: Likewise.
40504         * debug/mempcpy_chk.c: Likewise.
40505         * debug/memset_chk.c: Likewise.
40506         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
40507         * debug/strcat_chk.c (__strcat_chk): Likewise.
40508         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
40509         * debug/strncat_chk.c (__strncat_chk): Likewise.
40510         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
40511         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
40512         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
40513         * debug/wcpncpy_chk.c: Likewise.
40514         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
40515         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
40516         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
40517         * debug/wcsncpy_chk.c: Likewise.
40518         * debug/wcsnrtombs_chk.c: Likewise.
40519         * debug/wcsrtombs_chk.c: Likewise.
40520         * debug/wcstombs_chk.c: Likewise.
40521         * debug/wmemcpy_chk.c: Likewise.
40522         * debug/wmemmove_chk.c: Likewise.
40523         * debug/wmempcpy_chk.c: Likewise.
40524         * debug/wmemset_chk.c: Likewise.
40525         * dirent/scandirat.c (SCANDIRAT): Likewise.
40526         * dlfcn/dladdr1.c (dladdr1): Likewise.
40527         * dlfcn/dladdr.c (dladdr): Likewise.
40528         * dlfcn/dlclose.c (dlclose_doit): Likewise.
40529         * dlfcn/dlerror.c (__dlerror): Likewise.
40530         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
40531         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
40532         * dlfcn/dlopen.c (dlopen_doit): Likewise.
40533         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
40534         * dlfcn/dlsym.c (dlsym_doit): Likewise.
40535         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
40536         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
40537         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
40538         Likewise.
40539         * elf/dl-conflict.c: Likewise.
40540         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
40541         * elf/dl-dst.h: Likewise.
40542         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
40543         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
40544         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
40545         * elf/dl-init.c (call_init, _dl_init): Likewise.
40546         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
40547         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
40548         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
40549         Likewise.
40550         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
40551         Likewise.
40552         * elf/dl-minimal.c (__libc_memalign): Likewise.
40553         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
40554         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
40555         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
40556         * elf/dl-sym.c (do_sym): Likewise.
40557         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
40558         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
40559         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
40560         * elf/dl-writev.h (_dl_writev): Likewise.
40561         * elf/ldconfig.c (search_dir): Likewise.
40562         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
40563         (dl_main): Likewise.
40564         * elf/setup-vdso.h (setup_vdso): Likewise.
40565         * grp/compat-initgroups.c (compat_call): Likewise.
40566         * grp/fgetgrent.c (fgetgrent): Likewise.
40567         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
40568         * grp/putgrent.c (putgrent): Likewise.
40569         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
40570         Likewise.
40571         * hurd/hurdinit.c: Likewise.
40572         * iconvdata/8bit-gap.c (struct): Likewise.
40573         * iconvdata/ansi_x3.110.c : Likewise.
40574         * iconvdata/big5.c : Likewise.
40575         * iconvdata/big5hkscs.c : Likewise.
40576         * iconvdata/cp1255.c: Likewise.
40577         * iconvdata/cp1258.c : Likewise.
40578         * iconvdata/cp932.c : Likewise.
40579         * iconvdata/euc-cn.c: Likewise.
40580         * iconvdata/euc-jisx0213.c : Likewise.
40581         * iconvdata/euc-jp.c: Likewise.
40582         * iconvdata/euc-jp-ms.c : Likewise.
40583         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
40584         * iconvdata/gb18030.c : Likewise.
40585         * iconvdata/gbbig5.c (const): Likewise.
40586         * iconvdata/gbgbk.c: Likewise.
40587         * iconvdata/gbk.c : Likewise.
40588         * iconvdata/ibm1364.c : Likewise.
40589         * iconvdata/ibm930.c : Likewise.
40590         * iconvdata/ibm932.c: Likewise.
40591         * iconvdata/ibm933.c : Likewise.
40592         * iconvdata/ibm935.c : Likewise.
40593         * iconvdata/ibm937.c : Likewise.
40594         * iconvdata/ibm939.c : Likewise.
40595         * iconvdata/ibm943.c: Likewise.
40596         * iconvdata/iso_11548-1.c: Likewise.
40597         * iconvdata/iso-2022-cn.c : Likewise.
40598         * iconvdata/iso-2022-cn-ext.c : Likewise.
40599         * iconvdata/iso-2022-jp-3.c: Likewise.
40600         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
40601         * iconvdata/iso-2022-kr.c : Likewise.
40602         * iconvdata/iso646.c (gconv_end): Likewise.
40603         * iconvdata/iso_6937-2.c : Likewise.
40604         * iconvdata/iso_6937.c : Likewise.
40605         * iconvdata/iso8859-1.c: Likewise.
40606         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
40607         * iconvdata/shift_jisx0213.c : Likewise.
40608         * iconvdata/sjis.c : Likewise.
40609         * iconvdata/t.61.c : Likewise.
40610         * iconvdata/tcvn5712-1.c : Likewise.
40611         * iconvdata/tscii.c: Likewise.
40612         * iconvdata/uhc.c : Likewise.
40613         * iconvdata/unicode.c (gconv_end): Likewise.
40614         * iconvdata/utf-16.c (gconv_end): Likewise.
40615         * iconvdata/utf-32.c (gconv_end): Likewise.
40616         * iconvdata/utf-7.c (base64): Likewise.
40617         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
40618         * iconv/gconv_close.c (__gconv_close): Likewise.
40619         * iconv/gconv_open.c (__gconv_open): Likewise.
40620         * iconv/gconv_simple.c (internal_ucs4_loop_single)
40621         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
40622         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
40623         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
40624         (ucs4le_internal_loop_single): Likewise.
40625         * iconv/iconv.c (iconv): Likewise.
40626         * iconv/iconv_close.c: Likewise.
40627         * iconv/loop.c (SINGLE): Likewise.
40628         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
40629         * include/atomic.h: Likewise.
40630         * inet/inet6_option.c (option_alloc): Likewise.
40631         * intl/bindtextdom.c (set_binding_values): Likewise.
40632         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
40633         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
40634         * intl/localealias.c (read_alias_file): Likewise.
40635         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
40636         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
40637         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
40638         * libio/fmemopen.c (fmemopen): Likewise.
40639         * libio/iofgets.c (_IO_fgets): Likewise.
40640         * libio/iofgets_u.c (fgets_unlocked): Likewise.
40641         * libio/iofgetws.c (fgetws): Likewise.
40642         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
40643         * libio/iogetdelim.c (_IO_getdelim): Likewise.
40644         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
40645         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
40646         * locale/findlocale.c (_nl_find_locale): Likewise.
40647         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
40648         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
40649         Likewise.
40650         * locale/setlocale.c (setlocale): Likewise.
40651         * login/programs/pt_chown.c (main): Likewise.
40652         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
40653         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
40654         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
40655         (mmap, mmap64, mremap, munmap): Likewise.
40656         * math/e_exp2l.c: Likewise.
40657         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
40658         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
40659         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
40660         * math/s_catan.c (__catan): Likewise.
40661         * math/s_catanf.c (__catanf): Likewise.
40662         * math/s_catanh.c (__catanh): Likewise.
40663         * math/s_catanhf.c (__catanhf): Likewise.
40664         * math/s_catanhl.c (__catanhl): Likewise.
40665         * math/s_catanl.c (__catanl): Likewise.
40666         * math/s_ccosh.c (__ccosh): Likewise.
40667         * math/s_ccoshf.c (__ccoshf): Likewise.
40668         * math/s_ccoshl.c (__ccoshl): Likewise.
40669         * math/s_cexp.c (__cexp): Likewise.
40670         * math/s_cexpf.c (__cexpf): Likewise.
40671         * math/s_cexpl.c (__cexpl): Likewise.
40672         * math/s_clog10.c (__clog10): Likewise.
40673         * math/s_clog10f.c (__clog10f): Likewise.
40674         * math/s_clog10l.c (__clog10l): Likewise.
40675         * math/s_clog.c (__clog): Likewise.
40676         * math/s_clogf.c (__clogf): Likewise.
40677         * math/s_clogl.c (__clogl): Likewise.
40678         * math/s_csin.c (__csin): Likewise.
40679         * math/s_csinf.c (__csinf): Likewise.
40680         * math/s_csinh.c (__csinh): Likewise.
40681         * math/s_csinhf.c (__csinhf): Likewise.
40682         * math/s_csinhl.c (__csinhl): Likewise.
40683         * math/s_csinl.c (__csinl): Likewise.
40684         * math/s_csqrt.c (__csqrt): Likewise.
40685         * math/s_csqrtf.c (__csqrtf): Likewise.
40686         * math/s_csqrtl.c (__csqrtl): Likewise.
40687         * math/s_ctan.c (__ctan): Likewise.
40688         * math/s_ctanf.c (__ctanf): Likewise.
40689         * math/s_ctanh.c (__ctanh): Likewise.
40690         * math/s_ctanhf.c (__ctanhf): Likewise.
40691         * math/s_ctanhl.c (__ctanhl): Likewise.
40692         * math/s_ctanl.c (__ctanl): Likewise.
40693         * math/w_pow.c: Likewise.
40694         * math/w_powf.c: Likewise.
40695         * math/w_powl.c: Likewise.
40696         * math/w_scalb.c (sysv_scalb): Likewise.
40697         * math/w_scalbf.c (sysv_scalbf): Likewise.
40698         * math/w_scalbl.c (sysv_scalbl): Likewise.
40699         * misc/error.c (error_tail): Likewise.
40700         * misc/pselect.c (__pselect): Likewise.
40701         * nis/nis_callback.c (__nis_create_callback): Likewise.
40702         * nis/nis_call.c (__nisfind_server): Likewise.
40703         * nis/nis_creategroup.c (nis_creategroup): Likewise.
40704         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
40705         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
40706         * nis/nis_getservlist.c (nis_getservlist): Likewise.
40707         * nis/nis_lookup.c (nis_lookup): Likewise.
40708         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
40709         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
40710         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
40711         * nis/nis_xdr.c (xdr_endpoint): Likewise.
40712         * nis/nss_compat/compat-grp.c (getgrent_next_file)
40713         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
40714         * nis/nss_compat/compat-initgroups.c (add_group)
40715         (internal_getgrent_r): Likewise.
40716         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
40717         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
40718         * nis/nss_compat/compat-spwd.c (getspent_next_file)
40719         (internal_getspnam_r): Likewise.
40720         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
40721         (_nss_nis_getaliasbyname_r): Likewise.
40722         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
40723         (_nss_nis_getntohost_r): Likewise.
40724         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
40725         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
40726         (_nss_nis_getgrgid_r): Likewise.
40727         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
40728         (internal_nis_gethostent_r, internal_gethostbyname2_r)
40729         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
40730         (_nss_nis_gethostbyname4_r): Likewise.
40731         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
40732         (initgroups_netid): Likewise.
40733         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
40734         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
40735         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
40736         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
40737         (_nss_nis_getprotobynumber_r): Likewise.
40738         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
40739         (_nss_nis_getsecretkey): Likewise.
40740         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
40741         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
40742         (_nss_nis_getpwuid_r): Likewise.
40743         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
40744         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
40745         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
40746         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
40747         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
40748         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
40749         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
40750         Likewise.
40751         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
40752         (_nss_nisplus_getntohost_r): Likewise.
40753         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
40754         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
40755         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
40756         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
40757         Likewise.
40758         * nis/nss_nisplus/nisplus-initgroups.c
40759         (_nss_nisplus_initgroups_dyn): Likewise.
40760         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
40761         (_nss_nisplus_getnetbyaddr_r): Likewise.
40762         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
40763         (_nss_nisplus_getprotobynumber_r): Likewise.
40764         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
40765         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
40766         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
40767         Likewise.
40768         * nis/nss_nisplus/nisplus-service.c
40769         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
40770         (_nss_nisplus_getservbyport_r): Likewise.
40771         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
40772         (_nss_nisplus_getspnam_r): Likewise.
40773         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
40774         Likewise.
40775         * nscd/aicache.c (addhstaiX): Likewise.
40776         * nscd/cache.c (cache_search, prune_cache): Likewise.
40777         * nscd/connections.c (register_traced_file, send_ro_fd)
40778         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
40779         (main_loop_epoll): Likewise.
40780         * nscd/grpcache.c (addgrbyX): Likewise.
40781         * nscd/hstcache.c (addhstbyX): Likewise.
40782         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40783         * nscd/mem.c (gc, mempool_alloc): Likewise.
40784         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
40785         (addinnetgrX): Likewise.
40786         * nscd/nscd-client.h (__nscd_acquire_maplock)
40787         (__nscd_drop_map_ref): Likewise.
40788         * nscd/nscd_getai.c (__nscd_getai): Likewise.
40789         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
40790         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
40791         Likewise.
40792         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
40793         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40794         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
40795         (__nscd_get_map_ref): Likewise.
40796         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
40797         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
40798         Likewise.
40799         * nscd/pwdcache.c (addpwbyX): Likewise.
40800         * nscd/selinux.c (preserve_capabilities): Likewise.
40801         * nscd/servicescache.c (addservbyX): Likewise.
40802         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
40803         * posix/fnmatch.c (fnmatch): Likewise.
40804         * posix/getopt.c (_getopt_internal_r): Likewise.
40805         * posix/glob.c (glob, glob_in_dir): Likewise.
40806         * posix/wordexp.c (exec_comm_child): Likewise.
40807         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
40808         (getanswer_r, gaih_getanswer_slice): Likewise.
40809         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
40810         * resolv/res_init.c: Likewise.
40811         * resolv/res_mkquery.c (res_nmkquery): Likewise.
40812         * resolv/res_query.c (__libc_res_nquery): Likewise.
40813         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
40814         Likewise.
40815         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
40816         * stdio-common/perror.c (perror): Likewise.
40817         * stdio-common/printf_fp.c (___printf_fp): Likewise.
40818         * stdio-common/tmpnam.c (tmpnam): Likewise.
40819         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
40820         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
40821         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
40822         Likewise.
40823         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
40824         * stdlib/putenv.c (putenv): Likewise.
40825         * stdlib/setenv.c (__add_to_environ): Likewise.
40826         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
40827         * stdlib/strtol_l.c (INTERNAL): Likewise.
40828         * string/memmem.c (memmem): Likewise.
40829         * string/strerror.c (strerror): Likewise.
40830         * string/strnlen.c (__strnlen): Likewise.
40831         * string/test-memmem.c (simple_memmem): Likewise.
40832         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
40833         * sunrpc/pm_getport.c (__get_socket): Likewise.
40834         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
40835         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
40836         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
40837         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
40838         Likewise.
40839         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
40840         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
40841         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
40842         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
40843         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
40844         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
40845         Likewise.
40846         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
40847         Likewise.
40848         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
40849         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
40850         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
40851         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
40852         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
40853         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
40854         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
40855         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
40856         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
40857         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
40858         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40859         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
40860         Likewise.
40861         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
40862         Likewise.
40863         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
40864         Likewise.
40865         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
40866         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40867         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
40868         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
40869         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
40870         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
40871         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40872         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
40873         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
40874         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
40875         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
40876         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40877         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
40878         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
40879         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40880         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
40881         Likewise.
40882         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
40883         Likewise.
40884         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
40885         Likewise.
40886         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
40887         Likewise.
40888         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40889         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40890         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
40891         Likewise.
40892         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
40893         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
40894         * sysdeps/posix/opendir.c (__opendirat): Likewise.
40895         * sysdeps/posix/sleep.c: Likewise.
40896         * sysdeps/posix/tempname.c: Likewise.
40897         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
40898         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
40899         Likewise.
40900         * sysdeps/powerpc/powerpc32/dl-machine.h
40901         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
40902         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
40903         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
40904         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
40905         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
40906         Likewise.
40907         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
40908         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
40909         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
40910         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
40911         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
40912         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
40913         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
40914         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
40915         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40916         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
40917         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
40918         (elf_machine_lazy_rel): Likewise.
40919         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40920         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
40921         (elf_machine_lazy_rel): Likewise.
40922         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
40923         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
40924         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
40925         * sysdeps/unix/grantpt.c (grantpt): Likewise.
40926         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
40927         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
40928         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
40929         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40930         Likewise.
40931         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
40932         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
40933         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
40934         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
40935         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
40936         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
40937         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
40938         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
40939         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
40940         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
40941         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
40942         Likewise.
40943         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
40944         (__posix_fallocate64_l64): Likewise.
40945         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
40946         (posix_fallocate): Likewise.
40947         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
40948         Likewise.
40949         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40950         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
40951         (getifaddrs_internal): Likewise.
40952         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
40953         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
40954         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
40955         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
40956         * sysdeps/unix/sysv/linux/posix_fallocate64.c
40957         (__posix_fallocate64_l64): Likewise.
40958         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
40959         Likewise.
40960         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
40961         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
40962         (__get_clockfreq): Likewise.
40963         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
40964         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
40965         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
40966         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40967         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40968         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
40969         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
40970         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
40971         Likewise.
40972         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
40973         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
40974         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
40975         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
40976         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
40977         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
40978         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
40979         Likewise.
40980         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40981         (posix_fallocate): Likewise.
40982         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40983         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
40984         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
40985         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
40986         (elf_machine_rela, elf_machine_rela_relative)
40987         (elf_machine_lazy_rel): Likewise.
40988         * time/asctime.c (asctime_internal): Likewise.
40989         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
40990         * time/tzset.c (__tzset_parse_tz): Likewise.
40991         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
40992         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
40993         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
40994         * wcsmbs/wcsmbsload.h: Likewise.
40996         [BZ #15894]
40997         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
40999         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
41000         (arena_get2): Remove THREAD_STATS conditionals.
41001         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
41002         (__malloc_stats, int): Likewise.
41004 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
41006         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
41007         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
41009         * manual/setjmp.texi: Fix typos/grammar errors.
41011         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
41012         Only return early when n is <= 0.  Delete unused return statement.
41014         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
41015         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
41016         * debug/tst-longjmp_chk3.c: New file.
41018         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
41019         (test_main): Replace code with set_fortify_handler call.
41020         * debug/test-strcpy_chk.c: Likewise.
41021         * debug/tst-chk1.c: Likewise.
41022         * debug/tst-longjmp_chk.c: Likewise.
41023         * test-skeleton.c: Include fcntl.h & paths.h
41024         (set_fortify_handler): Define.
41026         * debug/tst-longjmp_chk.c: Add header comment and include
41027         ../test-skeleton.c.
41028         (do_test): Mark static.
41029         (TEST_FUNCTION): Define.
41031         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
41032         (IP_PMTUDISC_INTERFACE): Likewise.
41033         (IP_MULTICAST_IF): Likewise.
41034         (IP_MULTICAST_TTL): Likewise.
41035         (IP_MULTICAST_LOOP): Likewise.
41036         (IP_ADD_MEMBERSHIP): Likewise.
41037         (IP_DROP_MEMBERSHIP): Likewise.
41038         (IP_UNBLOCK_SOURCE): Likewise.
41039         (IP_BLOCK_SOURCE): Likewise.
41040         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
41041         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
41042         (IP_MSFILTER): Likewise.
41043         (MCAST_JOIN_GROUP): Likewise.
41044         (MCAST_BLOCK_SOURCE): Likewise.
41045         (MCAST_UNBLOCK_SOURCE): Likewise.
41046         (MCAST_LEAVE_GROUP): Likewise.
41047         (MCAST_JOIN_SOURCE_GROUP): Likewise.
41048         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
41049         (MCAST_MSFILTER): Likewise.
41050         (IP_MULTICAST_ALL): Likewise.
41051         (IP_UNICAST_IF): Likewise.
41053         * timezone/Makefile: Delete $(have-ksh) check.
41054         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
41055         * timezone/tzselect.ksh: Add +x mode bits.
41057         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
41058         (ANON_INODE_FS_MAGIC): Likewise.
41059         (BDEVFS_MAGIC): Likewise.
41060         (BINFMTFS_MAGIC): Likewise.
41061         (BTRFS_TEST_MAGIC): Likewise.
41062         (CRAMFS_MAGIC_WEND): Likewise.
41063         (DEBUGFS_MAGIC): Likewise.
41064         (ECRYPTFS_SUPER_MAGIC): Likewise.
41065         (EXT3_SUPER_MAGIC): Likewise.
41066         (EXT4_SUPER_MAGIC): Likewise.
41067         (FUTEXFS_SUPER_MAGIC): Likewise.
41068         (HOSTFS_SUPER_MAGIC): Likewise.
41069         (HUGETLBFS_MAGIC): Likewise.
41070         (MINIX3_SUPER_MAGIC): Likewise.
41071         (MTD_INODE_FS_MAGIC): Likewise.
41072         (NILFS_SUPER_MAGIC): Likewise.
41073         (OPENPROM_SUPER_MAGIC): Likewise.
41074         (PIPEFS_MAGIC): Likewise.
41075         (PSTOREFS_MAGIC): Likewise.
41076         (QNX6_SUPER_MAGIC): Likewise.
41077         (RAMFS_MAGIC): Likewise.
41078         (REISERFS_SUPER_MAGIC_STRING): Likewise.
41079         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
41080         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
41081         (SECURITYFS_MAGIC): Likewise.
41082         (SELINUX_MAGIC): Likewise.
41083         (SMACK_MAGIC): Likewise.
41084         (SOCKFS_MAGIC): Likewise.
41085         (SQUASHFS_MAGIC): Likewise.
41086         (STACK_END_MAGIC): Likewise.
41087         (TMPFS_MAGIC): Likewise.
41088         (USBDEVICE_SUPER_MAGIC): Likewise.
41089         (V9FS_MAGIC): Likewise.
41090         (XENFS_SUPER_MAGIC): Likewise.
41091         (CRAMFS_MAGIC): Fix typo in comment.
41092         (EXT2_SUPER_MAGIC): Update comment.
41093         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
41095 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
41097         * sysdeps/arm: Move directory from ports/sysdeps/arm.
41098         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
41099         * sysdeps/unix/sysv/linux/arm: Move directory from
41100         ports/sysdeps/unix/sysv/linux/arm.
41101         * README: Update listing for arm-*-linux-gnueabi.
41103         * README: Remove mention of am33.
41105 2014-02-07  Roland McGrath  <roland@hack.frob.com>
41107         * bits/sigset.h (__sigemptyset): Use a statement expression rather
41108         than the comma operator, to avoid "rhs of comma has no effect"
41109         compiler warnings.
41110         (__sigfillset, __sigandset, __sigorset): Likewise.
41111         * include/signal.h (__sigemptyset): Likewise.
41112         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
41114 2014-02-07  Allan McRae  <allan@archlinux.org>
41116         * version.h (RELEASE): Set to "development".
41117         (VERSION): Set to "2.19.90"
41118         * NEWS: Add 2.20 section.
41120 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
41122         [BZ #16529]
41123         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
41125 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41127         * manual/contrib.texi: Update entry for Carlos O'Donell,
41128         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
41130 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
41132         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
41134         * sysdeps/unix/sysv/linux/kernel-features.h
41135         [__LINUX_KERNEL_VERSION >= 0x020621]
41136         (__ASSUME_PROC_PID_TASK_COMM): Define.
41138 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41140         [BZ #16398]
41141         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
41142         conversion when destination buffer does not have enough space.
41143         * libio/tst-ftell-partial-wide.c: New test case.
41144         * libio/Makefile (tests): Add tst-ftell-partial-wide.
41146         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
41147         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
41148         Leonard and Allan McRae.
41150 2014-02-04  David S. Miller  <davem@davemloft.net>
41152         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
41153         32-bit.
41155 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
41158         New file
41159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
41160         New file
41161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
41162         New file.
41163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
41164         New file.
41165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
41166         New file.
41167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
41168         New file.
41169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
41170         New file.
41171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
41172         New file.
41173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
41174         New file.
41175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
41176         New file.
41177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
41178         New file.
41179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
41180         New file.
41181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
41182         New file.
41184 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41186         * nptl/shlib-versions: Change powerpc*le start to 2.17.
41187         * shlib-versions: Likewise.
41189 2014-02-04  Roland McGrath  <roland@hack.frob.com>
41190             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41192         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
41193         (abilist-pattern): New variable, set to %-le.abilist.
41195         * Makerules (abilist-pattern): New variable.
41196         (vpath): Use $(abilist-pattern) in place of %.abilist.
41197         (check-abi-% pattern rule): Likewise.
41198         (check-abi, update-abi): Likewise.
41200 2014-02-04  Eric Wong  <normalperson@yhbt.net>
41202         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41204 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
41206         * manual/startup.texi: Add next, previous, and top entries for
41207         the `Program Arguments' and `Environment Variables' nodes.
41209 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
41211         * manual/macros.texi: Add comments before MTASC-safety macros.
41213         * manual/users.texi: Document MTASC-safety properties.
41215         * manual/threads.texi (pthread_key_create, pthread_key_delete)
41216         (pthread_getspecific, pthread_setspecific): Format with
41217         @deftypefun, and add @safety note.
41218         * manual/signal.texi: Move comments that analyze the above
41219         functions to their home place.
41221 2014-02-03  Allan McRae  <allan@archlinux.org>
41223         * po/sl.po: Update Slovenian translation from translation project.
41225 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
41227         * manual/time.texi (timegm): Add missing blank after @c.
41228         Reported by Joseph Myers <joseph@codesourcery.com>.
41230 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
41232         * manual/check-safety.sh: New.
41233         * manual/Makefile ($(objpfx)stamp-summary): Run it.
41235         * manual/terminal.texi: Document MTASC-safety properties.
41237         * manual/filesys.texi: Document MTASC-safety properties.
41239         * manual/errno.texi: Document MTASC-safety properties.
41241         * manual/intro.texi: Document safety identifiers and
41242         conditionals.
41244         * manual/string.texi (wcstok): Fix prototype.
41245         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
41247         * manual/time.texi: Document MTASC-safety properties.
41249         * manual/string.texi: Document MTASC-safety properties.
41251         * manual/threads.texi: Document MTASC-safety properties.
41253         * manual/stdio.texi: Document MTASC-safety properties.
41255         * manual/syslog.texi: Document MTASC-safety properties.
41257         * manual/sysinfo.texi: Document MTASC-safety properties.
41259         * manual/startup.texi: Document MTASC-safety properties.
41261         * manual/socket.texi: Document MTASC-safety properties.
41263         * manual/signal.texi: Document MTASC-safety properties.
41265 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
41267         * manual/setjmp.texi: Document MTASC-safety properties.
41269         * manual/search.texi: Document MTASC-safety properties.
41271         * manual/resource.texi: Document MTASC-safety properties.
41273         * manual/process.texi: Document MTASC-safety properties.
41275         * manual/platform.texi: Document MTASC-safety properties.
41277         * manual/pipe.texi: Document MTASC-safety properties.
41279         * manual/pattern.texi: Document MTASC-safety properties.
41281         * manual/message.texi: Document MTASC-safety properties.
41283         [BZ #12751]
41284         * manual/memory.texi: Document MTASC-safety properties.
41286         * manual/math.texi: Document MTASC-safety properties.
41288         * manual/locale.texi: Document MTASC-safety properties.
41290         * manual/llio.texi: Document MTASC-safety properties.
41292         * manual/libdl.texi: New.
41294         * manual/lang.texi: Document MTASC-safety properties.
41296         * manual/job.texi: Document MTASC-safety properties.
41298         * manual/getopt.texi: Document MTASC-safety properties.
41300         * manual/ctype.texi: Document MTASC-safety properties.
41302 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
41304         [BZ #16046]
41305         * csu/libc-tls.c (static_map): Remove variable.
41306         (__libc_setup_tls): Use main executable's link map for TLS data.
41307         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
41308         casing for LM_ID_BASE and GL(dl_nns).
41309         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
41310         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
41311         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
41312         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
41313         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
41314         member.
41315         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
41316         l_phnum members.
41318 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
41320         * manual/debug.texi: Document MTASC-safety properties.
41322 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
41324         [BZ #16510]
41325         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
41326         of __x86_64__ when disabling x87 inline functions.
41328 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
41330         * manual/charset.texi: Document MTASC-safety properties.
41332         * manual/crypt.texi: Document MTASC-safety properties.
41334         * manual/conf.texi: Document MTASC-safety properties.
41336         * manual/arith.texi: Document MTASC-safety properties.
41338         * manual/argp.texi: Document MTASC-safety properties.
41340         * manual/macros.texi: Introduce macros to document multi
41341         thread, asynchronous signal and asynchronous cancellation
41342         safety properties.
41343         * manual/intro.texi: Introduce the properties themselves.
41345 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41347         * sysdeps/sh/sh4/Makefile: New file.
41349 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
41351         * math/gen-libm-test.pl ($srcdir): New variable.
41352         ($auto_input): Use it.
41354 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41356         [BZ #16506]
41357         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
41358         access beyond array bounds when parsing netgroups file.
41360         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
41361         the old buffer before realloc.
41363 2014-01-27  Allan McRae  <allan@archlinux.org>
41365         * po/fr.po: Update French translation from translation project.
41367 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41369         * sysdeps/sh/libm-test-ulps: Regenerate.
41371 2014-01-24  David S. Miller  <davem@davemloft.net>
41373         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
41375 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41377         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
41378         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
41380 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41382         [BZ #16474]
41383         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
41384         string pointers after reallocation.
41386 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41388         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
41389         __SH4A__ instead of __SH_FPU_ANY__.
41391 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41393         * sysdeps/sh/fpu_control.h: New file.
41394         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
41395         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
41396         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
41397         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
41398         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
41399         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
41400         * sysdeps/sh/sys/ucontext.h: Remove.
41401         * sysdeps/sh/sys: Remove directory.
41403 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41405         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
41406         s390/sys/ucontext.h.
41407         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
41408         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
41410 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
41412         [BZ #15605]
41413         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
41415 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41417         [BZ#16431]
41418         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
41419         Adjust the vDSO correctly for internal calls.
41420         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
41422 2014-01-20  Allan McRae  <allan@archlinux.org>
41424         * po/ca.po: Update Catalan translation from translation project.
41426 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
41428         * sysdeps/s390/sotruss-lib.c: New file.
41430 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41432         [BZ#16430]
41433         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
41434         (__GI___gettimeofday): Alias for a different internal symbol to avoid
41435         local calls issues by not having a PLT stub required for IFUNC calls.
41436         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
41438 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
41440         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
41441         * math/test-fpucw-static.c: Likewise.
41443 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41445         [BZ #16453]
41446         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
41448 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41450         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
41451         implementation for powerpc.
41453 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
41455         [BZ #14782]
41456         * sysdeps/posix/system.c (__libc_system): Do not enable
41457         asynchronous cancellation.
41459 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41461         [BZ #16427]
41462         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
41463         handling only for numbers special also in the IEEE case.
41465 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41467         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41469 2014-01-11  Allan McRae  <allan@archlinux.org>
41471         * po/bg.po: Update Bulgarian translation from translation project.
41473         * po/de.po: Update German translation from translation project.
41475 2014-01-10  Roland McGrath  <roland@hack.frob.com>
41477         * sysdeps/generic/gcc-compat.h: New file.
41479 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41481         * benchtests/asin-inputs: Correct slow inputs.
41482         * benchtests/acos-inputs: Likewise.
41484 2014-01-10  Allan McRae  <allan@archlinux.org>
41486         * po:sv.po: Update Swedish translation from translation project.
41488         * po/vi.po: Update Vietnamese translation from translation project.
41490         * po/eo.po: Update Esperanto translation from translation project.
41492         * po/cs.po: Update Czech translation from translation project.
41494         * po/nl.po: Update Dutch translation from translation project.
41496         * po/pl.po: Update Polish translation from translation project.
41498         * po/ru.po: Update Russian translation from translation project.
41500         * po/uk.po: Update Ukrainian translation from translation project.
41502 2014-01-08  Brooks Moses  <bmoses@google.com>
41504         * elf/dl-load.c: Fix comment typo.
41506 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
41508         * po/header.pot: Rename to...
41509         * po/pot.header: ... this.
41510         * po/Makefile: Use pot.header.
41512 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
41513             Maxim Kuvyrkov  <maxim@kugelworks.com>
41515         [BZ #16394]
41516         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
41517         SRC and DEST against LEN.
41519 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41521         [BZ #16414]
41522         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
41523         implementation.
41524         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
41526 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41528         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41530 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
41532         [BZ #16408]
41533         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
41534         for large positive arguments.
41536 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
41538         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41540         * math/auto-libm-test-in: Mark various tests with
41541         xfail-rounding:ldbl-128ibm.
41542         * math/auto-libm-test-out: Regenerated.
41544         [BZ #16407]
41545         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
41546         Increase overflow threshold.
41548 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
41550         [BZ #14286]
41551         * stdio-common/vfprintf.c: Check for integer overflow.
41553 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41555         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
41556         the first argument and return value of __tls_get_addr_internal.
41558 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41560         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
41561         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
41563 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41565         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
41566         * sysdeps/s390/rtld-global-offsets.sym: New file.
41567         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
41568         GLIBC_2.19 symbol.
41569         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
41570         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
41571         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
41572         ... this.
41573         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
41574         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
41575         ... this.
41576         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41577         Regenerate.
41578         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41579         Regenerate.
41580         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
41581         halfs of GPRs for high_gprs contexts.
41582         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
41583         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
41584         field.
41585         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
41586         uc_flags field.
41587         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
41588         64 bit versions:
41589         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
41590         for high GPRs (uc_high_gprs) and for future extensions
41591         (__reserved).
41592         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
41593         for future extensions (__reserved).
41594         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
41595         64 bit versions:
41596         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
41597         SC_HIGHGPRS offset definition.
41598         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
41599         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
41601         * Versions.def: Add GLIBC_2.19 for libpthread.
41602         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
41603         siglongjmp for libpthread with GLIBC_2.19 symver.
41604         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
41605         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
41606         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
41607         * sysdeps/s390/__longjmp.c: New file.
41608         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
41609         * sysdeps/s390/longjmp.c: New file.
41610         * sysdeps/s390/setjmp.S: New file.
41611         * sysdeps/s390/sigjmp.S: New file.
41612         * sysdeps/s390/v1-longjmp.c: New file.
41613         * sysdeps/s390/v1-setjmp.h: New file.
41614         * sysdeps/s390/v1-sigjmp.c: New file.
41615         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
41616         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
41617         GLIBC_2.19 version.
41618         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
41619         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
41620         versioned symbols for ____longjmp_chk.
41621         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
41622         Likewise.
41623         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41624         Regenerate.
41625         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41626         Regenerate.
41627         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41628         Regenerate.
41629         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41630         Regenerate.
41631         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
41632         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
41633         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
41634         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
41635         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
41636         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
41637         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
41638         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
41639         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
41640         * sysdeps/s390/rtld-__longjmp.c: New file.
41641         * sysdeps/s390/rtld-setjmp.S: New file.
41643 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
41645         [BZ #16400]
41646         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
41647         Return -__logl (x) for small positive arguments without evaluating
41648         a polynomial.
41650 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
41652         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
41653         Rename to ...
41654         (__ptrace_peeksiginfo_args): ... this.
41655         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41656         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41657         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41659 2014-01-06  Allan McRae  <allan@archlinux.org>
41661         * inet/netinet/in.h: Fix typo in comment.
41663 2014-01-05  Andreas Jaeger  <aj@suse.de>
41665         * sysdeps/i386/fpu/libm-test-ulps: Update.
41667 2014-01-05  Allan McRae  <allan@archlinux.org>
41669         * po/libc.pot: Regenerated.
41671         * malloc/memusagestat.c: Fix gettext call formatting.
41673 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
41675         * nscd/nscd.c: Improve usage() output.
41677 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
41679         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
41680         * sysdeps/unix/sysv/linux/configure: Regenerated.
41681         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
41682         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
41684 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
41686         [BZ #16390]
41687         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
41688         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
41690 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41692         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
41693         extra tokens at end of #undef directive.
41694         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
41695         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
41696         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
41698 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
41700         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41702         * math/auto-libm-test-in: Mark various tests with
41703         xfail-rounding:ldbl-128ibm.
41704         * math/auto-libm-test-out: Regenerated.
41706 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
41708         [BZ #16386]
41709         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
41710         numbers with subnormal high part when calculating exponent.
41712         [BZ #16385]
41713         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
41714         fabs.
41716         [BZ #16384]
41717         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
41718         M_LN2l.
41719         (__ieee754_acoshl): Use __log1pl not __log1p.
41721 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
41723         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
41724         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
41725         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
41726         (grow_heap, heap_trim, _int_new_arena, get_free_list)
41727         (reused_arena, arena_get2): Convert to GNU style.
41728         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
41729         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
41730         (memalign_check, __malloc_set_state): Likewise.
41731         * malloc/mallocbug.c (main): Likewise.
41732         * malloc/malloc.c (__malloc_assert, malloc_init_state)
41733         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
41734         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
41735         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
41736         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
41737         (__posix_memalign, malloc_info): Likewise.
41738         * malloc/malloc.h: Likewise.
41739         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
41740         (mallochook, memalignhook, reallochook, mabort): Likewise.
41741         * malloc/mcheck.h: Likewise.
41742         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
41743         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
41744         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
41745         * malloc/morecore.c (__default_morecore): Likewise.
41746         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
41747         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
41748         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
41749         (print_and_abort): Likewise.
41750         * malloc/obstack.h: Likewise.
41751         * malloc/set-freeres.c (__libc_freeres): Likewise.
41752         * malloc/tst-mallocstate.c (main): Likewise.
41753         * malloc/tst-mtrace.c (main): Likewise.
41754         * malloc/tst-realloc.c (do_test): Likewise.
41756 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41758         [BZ #16366]
41759         * nscd/netgroupcache.c (do_notfound): New function.
41760         (addgetnetgrentX): Use it.
41762         [BZ # 16365]
41763         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
41764         NSS_STATUS_NOTFOUND.
41766 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
41768         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
41769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41771 2014-01-01  Allan McRae  <allan@archlinux.org>
41773         * scripts/update-copyrights: Update configure input file suffix.
41775         * NEWS: Update copyright year.
41776         * catgets/gencat.c: Likewise.
41777         * csu/version.c: Likewise.
41778         * debug/catchsegv.sh: Likewise.
41779         * debug/pcprofiledump.c: Likewise.
41780         * debug/xtrace.sh: Likewise.
41781         * elf/ldconfig.c: Likewise.
41782         * elf/ldd.bash.in: Likewise.
41783         * elf/pldd.c: Likewise.
41784         * elf/sotruss.ksh: Likewise.
41785         * elf/sprof.c: Likewise.
41786         * iconv/iconv_prog.c: Likewise.
41787         * iconv/iconvconfig.c: Likewise.
41788         * locale/programs/locale.c: Likewise.
41789         * locale/programs/localedef.c: Likewise.
41790         * login/programs/pt_chown.c: Likewise.
41791         * malloc/memusage.sh: Likewise.
41792         * malloc/memusagestat.c: Likewise.
41793         * malloc/mtrace.pl: Likewise.
41794         * manual/libc.texinfo: Likewise.
41795         * nscd/nscd.c: Likewise.
41796         * nss/getent.c: Likewise.
41797         * nss/makedb.c: Likewise.
41798         * posix/getconf.c: Likewise.
41799         * scripts/test-installation.pl: Likewise.
41801         * All files with FSF copyright notices: Update copyright dates
41802         using scripts/update-copyrights.
41803         * intl/plural.c: Regenerated.
41804         * locale/programs/charmap-kw.h: Likewise.
41805         * locale/programs/locfile-kw.h: Likewise.
41807 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
41809         * sysdeps/unix/sysv/linux/configure: Regenerated.
41810         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
41811         the linux/fanotify.h header.
41812         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
41813         HAVE_LINUX_FANOTIFY_H is defined.
41815 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41817         * benchtests/cos-inputs: New inputs.
41818         * benchtests/sin-inputs: Likewise.
41820         * benchtests/atan-inputs: New inputs. Fix name of multiple
41821         precision fallback inputs.
41823         * benchtests/atanh-inputs: New inputs.
41824         * benchtests/tanh-inputs: Likewise.
41826         * benchtests/acosh-inputs: New inputs.
41827         * benchtests/asinh-inputs: Likewise.
41829         * benchtests/cosh-inputs: New inputs.
41830         * benchtests/sinh-inputs: Likewise.
41832         * benchtests/acos-inputs: Add more inputs.
41833         * benchtests/asin-inputs: Likewise.
41835 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
41837         [BZ #16375]
41838         * manual/arith.texi: Fix spelling.
41839         * manual/charset.texi: Likewise.
41840         * manual/errno.texi: Likewise.
41841         * manual/filesys.texi: Likewise.
41842         * manual/lang.texi: Likewise.
41843         * manual/llio.texi: Likewise.
41844         * manual/locale.texi: Likewise.
41845         * manual/message.texi: Likewise.
41846         * manual/resource.texi: Likewise.
41847         * manual/search.texi: Likewise.
41848         * manual/setjmp.texi: Likewise.
41849         * manual/stdio.texi: Likewise.
41850         * manual/string.texi: Likewise.
41851         * manual/sysinfo.texi: Likewise.
41852         * manual/time.texi: Likewise.
41854 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
41856         * po/sl.po: New file.
41858 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
41860         * .gitignore: Add core/.gdbinit/.gdb_history.
41862 2013-12-27  Allan McRae  <allan@archlinux.org>
41864         [BZ #16369]
41865         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
41866         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
41868 2013-12-24  Brooks Moses  <bmoses@google.com>
41870         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
41871         all compilers that claim C++98 compliance, not just GCC.
41872         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
41873         Likewise.
41875 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
41877         * NEWS: Restore accidentally deleted bug-fix entries.
41879 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
41880             Ondřej Bílka  <neleai@seznam.cz>
41882         [BZ #15073]
41883         * malloc/malloc.c (_int_free): Perform sanity check only if we
41884         have_lock.
41886 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
41888         [BZ #12986]
41889         * manual/stdio.texi (String Input Conversions): Clarify that character
41890         classes are not supported.
41892 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41894         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41896 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
41898         [BZ #16337]
41899         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
41900         Calculate results for small negative arguments directly rather
41901         than using reflection formula with special underflow handling.
41903         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
41904         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
41905         sysdeps/unix/bsd/bsd4.4/syscalls.list.
41906         (fchflags): Likewise.
41907         (revoke): Likewise.
41908         (setlogin): Likewise.
41909         (sigaltstack): Likewise.
41910         (wait4): Likewise.
41911         (sigblock): Remove.
41912         (sigsetmask): Likewise.
41913         (wait3): Likewise.
41914         (waitpid): Likewise.
41915         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
41916         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
41917         file.
41918         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
41919         * sysdeps/unix/bsd/Makefile: ... here.
41920         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
41921         * sysdeps/unix/bsd/Versions: ... here.
41922         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
41923         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
41924         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
41925         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
41926         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
41927         * sysdeps/unix/bsd/sigblock.c: ... here.
41928         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
41929         * sysdeps/unix/bsd/sigsetmask.c: ... here.
41930         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
41931         * sysdeps/unix/bsd/sigvec.c: ... here.
41932         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
41933         * sysdeps/unix/bsd/tcdrain.c: ... here.
41934         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
41935         * sysdeps/unix/bsd/tcgetattr.c: ... here.
41936         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
41937         * sysdeps/unix/bsd/tcsetattr.c: ... here.
41938         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
41939         * sysdeps/unix/bsd/wait.c: ... here.
41940         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
41941         * sysdeps/unix/bsd/wait3.c: ... here.
41942         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
41943         * sysdeps/unix/bsd/waitpid.c: ... here.
41945 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
41947         [BZ #16356]
41948         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
41949         round-to-nearest for [!USE_AS_EXPM1L].
41950         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
41951         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
41952         more tests of exp and exp10.  Expect some exp10 tests to miss
41953         exceptions or fail in directed rounding modes.
41954         * math/auto-libm-test-out: Regenerated.
41955         * math/libm-test.inc (exp10_tonearest_test_data): New array.
41956         (exp10_test_tonearest): New function.
41957         (exp10_towardzero_test_data): New array.
41958         (exp10_test_towardzero): New function.
41959         (exp10_downward_test_data): New array.
41960         (exp10_test_downward): New function.
41961         (exp10_upward_test_data): New array.
41962         (exp10_test_upward): New function.
41963         (main): Call the new functions.
41964         * sysdeps/i386/fpu/libm-test-ulps: Update.
41965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41967 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
41969         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
41970         asinh, atan, atan2, atanh, cbrt, cos and cosh.
41971         * math/auto-libm-test-out: Regenerated.
41972         * math/libm-test.inc (acosh_test_data): Add more tests.
41973         (atanh_test_data): Likewise.
41974         (ceil_test_data): Likewise.
41975         (copysign_test_data): Likewise.
41976         * sysdeps/i386/fpu/libm-test-ulps: Update.
41977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41979         * timezone/checktab.awk: Update from tzcode 2013i.
41980         * timezone/private.h: Likewise.
41981         * timezone/scheck.c: Likewise.
41982         * timezone/tzfile.h: Likewise.
41983         * timezone/tzselect.ksh: Likewise.
41984         * timezone/zdump.c: Likewise.
41985         * timezone/zic.c: Likewise.
41987         * math/auto-libm-test-in: Add tests of cpow.
41988         * math/auto-libm-test-out: Regenerated.
41989         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
41990         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41991         mpc_cc_c.
41992         (func_calc_desc): Add mpc_cc_c union field.
41993         (test_functions): Add cpow.
41994         (special_fill_2pi): New function.
41995         (special_real_inputs): Add 2pi.
41996         (calc_generic_results): Handle mpc_cc_c.
41997         * sysdeps/i386/fpu/libm-test-ulps: Update.
41998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42000         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
42001         csqrt, ctan and ctanh.
42002         * math/auto-libm-test-out: Regenerated.
42003         * math/libm-test.inc (TEST_COND_x86_64): New macro.
42004         (TEST_COND_x86): Likewise.
42005         (ccos_test_data): Use AUTO_TESTS_c_c.
42006         (ccosh_test_data): Likewise.
42007         (cexp_test_data): Likewise.
42008         (clog_test_data): Likewise.
42009         (csqrt_test_data): Likewise.
42010         (ctan_test_data): Likewise.
42011         (ctan_tonearest_test_data): Likewise.
42012         (ctan_towardzero_test_data): Likewise.
42013         (ctan_downward_test_data): Likewise.
42014         (ctan_upward_test_data): Likewise.
42015         (ctanh_test_data): Likewise.
42016         (ctanh_tonearest_test_data): Likewise.
42017         (ctanh_towardzero_test_data): Likewise.
42018         (ctanh_downward_test_data): Likewise.
42019         (ctanh_upward_test_data): Likewise.
42020         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42021         mpc_c_c.
42022         (func_calc_desc): Add mpc_c_c union field.
42023         (FUNC_mpc_c_c): New macro.
42024         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
42025         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
42026         ctanh.
42027         (special_fill_min_subnorm_p120): New function.
42028         (special_real_inputs): Add min_subnorm_p120.
42029         (calc_generic_results): Handle mpc_c_c.
42030         * sysdeps/i386/fpu/libm-test-ulps: Update.
42031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42033 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42035         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
42036         (do_sin_slow): New functions.
42037         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
42038         (cslow2, csloww1, csloww2): Use the new functions.
42040         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
42041         Use M to change sign of result instead of X.  Assume X is
42042         positive.
42043         (csloww1): Likewise.
42044         (__sin): Adjust.
42045         (__cos): Adjust.
42047         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
42048         arguments A and DA.
42049         (__sin): Adjust.
42050         (__cos): Likewise.
42052         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
42053         (__cos): Likewise.
42054         (sloww1): Don't adjust sign of DX.
42055         (csloww1): Likewise.
42056         (sloww2): Use X directly and don't adjust sign of DX.
42057         (csloww2): Likewise.
42059 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42061         * math/auto-libm-test-in: Add tests of cabs and carg.
42062         * math/auto-libm-test-out: Regenerated.
42063         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
42064         (carg_test_data): Likewise.
42065         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42066         mpc_c_f.
42067         (func_calc_desc): Add mpc_c_f union field.
42068         (test_functions): Add cabs and carg.
42069         (calc_generic_results): Handle mpc_c_f.
42071         * sysdeps/powerpc/powerpc32/libgcc-compat.S
42072         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
42073         as a macro and a compat symbol.
42074         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
42075         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
42076         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
42077         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
42078         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
42079         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
42080         not use .hidden.
42081         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
42082         Likewise.
42083         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
42084         Likewise.
42085         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
42086         Likewise.
42087         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
42088         Likewise.
42089         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
42090         Likewise.
42091         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
42092         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
42093         from GLIBC_2.3.2.
42095 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42097         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42099 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42101         * manual/texinfo.tex: Update to version 2013-11-26.10 with
42102         trailing whitespace removed.
42103         * scripts/config.guess: Update to version 2013-11-29.
42104         * scripts/config.sub: Update to version 2013-10-01.
42106         * math/auto-libm-test-in: Add tests of sincos.
42107         * math/auto-libm-test-out: Regenerated.
42108         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
42109         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42110         mpfr_f_11.
42111         (func_calc_desc): Add mpfr_f_11 union field.
42112         (test_functions): Add sincos.
42113         (calc_generic_results): Handle mpfr_f_11.
42114         * sysdeps/i386/fpu/libm-test-ulps: Update.
42115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42117 2013-12-19  Andreas Schwab  <schwab@suse.de>
42119         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
42120         CALL_MCOUNT.
42121         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
42122         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
42123         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
42125 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42127         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
42128         * sysdeps/i386/fpu/libm-test-ulps: Update.
42129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42131         [BZ #16293]
42132         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
42133         round-to-nearest mode when using frndint.
42134         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
42135         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
42136         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
42137         Likewise.
42138         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
42139         sinh test to fail.
42140         * math/auto-libm-test-out: Regenerated.
42141         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
42142         (TEST_COND_x86): Likewise.
42143         (expm1_tonearest_test_data): New array.
42144         (expm1_test_tonearest): New function.
42145         (expm1_towardzero_test_data): New array.
42146         (expm1_test_towardzero): New function.
42147         (expm1_downward_test_data): New array.
42148         (expm1_test_downward): New function.
42149         (expm1_upward_test_data): New array.
42150         (expm1_test_upward): New function.
42151         (main): Run the new test functions.
42152         * sysdeps/i386/fpu/libm-test-ulps: Update.
42153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42155         * include/features.h: Update comment documenting feature test
42156         macros.  Mention _DEFAULT_SOURCE in comment.
42157         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
42158         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
42159         _BSD_SOURCE and _SVID_SOURCE.
42160         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
42161         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
42162         !_SVID_SOURCE]: Likewise.
42163         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42164         (__USE_POSIX_IMPLICITLY): Define.
42165         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42166         (_POSIX_SOURCE): Undefine and redefine.
42167         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42168         (_POSIX_C_SOURCE): Likewise.
42169         * manual/creature.texi (_DEFAULT_SOURCE): Document.
42170         (Feature Test Macros): Update documentation of default features.
42172 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42174         * benchtests/Makefile: Add bench-strtok.
42175         * benchtests/bench-strtok.c: New file: strtok benchtest.
42177 2013-12-19  Allan McRae  <allan@archlinux.org>
42179         * manual/install.texi: Suppress menu for plain text output.
42180         * INSTALL: Regenerated.
42182 2013-12-18  Brooks Moses  <bmoses@google.com>
42184         [BZ #15846]
42185         * misc/getauxval.c: Include errno.h.
42186         (__getauxval): Set errno to ENOENT if the requested type is not
42187         found.
42188         * misc/sys/auxv.h (getauxval): Document that it may set errno;
42189         don't declare with __attribute_const__.
42190         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
42191         * manual/startup.texi: Document that getauxval sets errno.
42193 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42195         * math/auto-libm-test-in: Add tests of jn and yn.
42196         * math/auto-libm-test-out: Regenerated.
42197         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
42198         (yn_test_data): Likewise.
42199         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42200         mpfr_if_f.
42201         (func_calc_desc): Add mpfr_if_f union field.
42202         (FUNC_mpfr_if_f): New macro.
42203         (test_functions): Add jn and yn.
42204         (calc_generic_results): Assert type of second input for
42205         mpfr_ff_f.  Handle mpfr_if_f.
42206         (output_for_one_input_case): Disable all checking for arguments
42207         fitting floating-point types in case of an integer argument.
42208         * sysdeps/i386/fpu/libm-test-ulps: Update.
42209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42212         Don't expect fegetround reference in libm.so.
42214 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42216         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
42217         $(config-cflags-nofma).
42219 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42221         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
42222         * math/auto-libm-test-out: Regenerated.
42224         [BZ #16338]
42225         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
42226         to determine exponent and adjust argument to have exponent of -1.
42227         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
42228         log2.
42229         * math/auto-libm-test-out: Regenerated.
42230         * sysdeps/i386/fpu/libm-test-ulps: Update.
42231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42233 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
42235         * manual/probes.texi: Remove cases when per-thread arenas are
42236         disabled.
42238 2013-12-18  Andreas Schwab  <schwab@suse.de>
42240         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
42241         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
42242         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
42243         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
42244         * sysdeps/i386/i686/multiarch/Makefile: Update.
42245         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
42247 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42249         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
42250         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
42252 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
42254         [BZ #15968]
42255         Support TZ transition times < 00:00:00.
42256         This is needed for version-3 tz-format files; it supports time
42257         stamps past 2037 for America/Godthab (the only entry in the tz
42258         database for which this change is relevant).
42259         * manual/time.texi (TZ Variable): Document transition times
42260         from -167:59:59 through -00:00:01.
42261         * time/tzset.c (tz_rule): Time of day is now signed.
42262         (__tzset_parse_tz): Parse negative time of day.
42264         Document TZ transition times >= 25:00:00.
42265         * manual/time.texi (TZ Variable): Document transition times from
42266         25:00:00 through 167:59:59.  These are already supported, and this
42267         support will help with version-3 tz-format files.
42269         * manual/time.texi (TZ Variable): Modernize North America example
42270         to reflect current (i.e., 2007-and-later) daylight saving rules.
42272         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
42274 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42276         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
42277         * sysdeps/unix/bsd/bits/stat.h: Likewise.
42278         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
42279         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42280         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
42281         * sysdeps/unix/bsd/bsdstat.h: Likewise.
42282         * sysdeps/unix/bsd/clock.c: Likewise.
42283         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
42284         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
42285         * sysdeps/unix/bsd/init-posix.c: Likewise.
42286         * sysdeps/unix/bsd/poll.c: Likewise.
42287         * sysdeps/unix/bsd/ptsname.c: Likewise.
42288         * sysdeps/unix/bsd/seekdir.c: Likewise.
42289         * sysdeps/unix/bsd/setegid.c: Likewise.
42290         * sysdeps/unix/bsd/seteuid.c: Likewise.
42291         * sysdeps/unix/bsd/setgid.c: Likewise.
42292         * sysdeps/unix/bsd/setrgid.c: Likewise.
42293         * sysdeps/unix/bsd/setruid.c: Likewise.
42294         * sysdeps/unix/bsd/setsid.c: Likewise.
42295         * sysdeps/unix/bsd/setuid.c: Likewise.
42296         * sysdeps/unix/bsd/sigaction.c: Likewise.
42297         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
42298         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
42299         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
42300         * sysdeps/unix/bsd/telldir.c: Likewise.
42301         * sysdeps/unix/bsd/times.c: Likewise.
42302         * sysdeps/unix/bsd/usleep.c: Likewise.
42304         * misc/Makefile (install-lib): Remove libbsd-compat.a.
42305         ($(objpfx)libbsd-compat.a): Remove rule.
42307         * include/features.h (__FAVOR_BSD): Do not define.
42308         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
42309         features conflicting with POSIX.
42310         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
42311         (_BSD_SOURCE): Remove description of not being a subset of other
42312         feature test macros.
42313         * manual/job.texi (getpgrp): Do not document BSD version.
42314         (getpgid): Do not document by reference to BSD getpgrp.
42315         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
42316         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
42317         * signal/signal.h [__FAVOR_BSD]: Likewise.
42318         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
42319         instead of making contents conditional on [__FAVOR_BSD].
42320         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
42322 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42324         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42326 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42328         [BZ #16314]
42329         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
42330         values below 2**-450, not 2**-500.
42331         * math/auto-libm-test-in: Don't allow spurious underflow from
42332         hypot.
42333         * math/auto-libm-test-out: Regenerated.
42335         [BZ #16316]
42336         [BZ #16330]
42337         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
42338         values of ha and hb and sort them after adjusting subnormal
42339         arguments.
42340         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
42341         Likewise.
42342         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
42343         values of ea and eb and sort them after adjusting subnormal
42344         arguments.
42345         * math/auto-libm-test-in: Do not expect some hypot tests of
42346         subnormals to fail.  Add more hypot tests.
42347         * math/auto-libm-test-out: Regenerated.
42349 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42351         [BZ #13304]
42352         * sysdeps/sh/s_fma.c: New file.
42353         * sysdeps/sh/s_fmaf.c: New file.
42354         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
42355         version.
42356         * sysdeps/sh/Implies: Add sh/soft-fp.
42358 2013-12-16  Roland McGrath  <roland@hack.frob.com>
42360         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
42361         level of indirection to members `objname', `errstring', `malloced'.
42362         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
42363         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
42364         it as the __longjmp argument (just pass 1 instead).
42365         (_dl_catch_error): Initialize C with argument pointers and address of
42366         volatile local ERRCODE rather than copying values out of C at return.
42368 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
42370         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
42371         * math/auto-libm-test-out: Regenerated.
42372         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
42373         (hypot_test_data): Likewise.
42374         (pow_test_data): Likewise.
42375         (pow_tonearest_test_data): Likewise.
42376         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42377         mpfr_ff_f.
42378         (func_calc_desc): Add mpfr_ff_f union field.
42379         (FUNC_mpfr_ff_f): New macro.
42380         (test_functions): Add atan2, hypot and pow.
42381         (special_fill_min): New function.
42382         (special_fill_minus_min): Likewise.
42383         (special_fill_min_subnorm): Likewise.
42384         (special_fill_minus_min_subnorm): Likewise.
42385         (special_real_inputs): Add min, -min, min_subnorm and
42386         -min_subnorm.
42387         (calc_generic_results): Handle mpfr_ff_f.
42388         * sysdeps/i386/fpu/libm-test-ulps: Update.
42389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42391 2013-12-16  Will Newton  <will.newton@linaro.org>
42393         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
42394         (Aligned Memory Blocks): Add documentation for aligned_alloc
42395         and suggest it as an alternative to posix_memalign.
42396         (Hooks for Malloc): Document __memalign_hook is also called
42397         for aligned_alloc.  (Summary of Malloc): Add summary for
42398         aligned alloc.  Document __memalign_hook is also called
42399         for aligned_alloc.
42401 2013-12-16  Will Newton  <will.newton@linaro.org>
42403         * manual/memory.texi (Malloc Examples): Clarify default
42404         alignment documentation.  Suggest posix_memalign rather
42405         than memalign or valloc.
42406         (Aligned Memory Blocks): Remove suggestion to use memalign
42407         or valloc.  Remove obsolete comment about BSD.
42408         Document memalign errno values and mark the function obsolete.
42409         Document posix_memalign returned error codes.  Mark valloc
42410         as obsolete.  (Hooks for Malloc): __memalign_hook is also
42411         called for posix_memalign and valloc.
42412         (Summary of Malloc): Add posix_memalign to function summary.
42413         __memalign_hook is also called for posix_memalign and valloc.
42415 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42417         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
42418         TAYLOR_SIN.
42419         (__sin): Adjust.
42420         (__cos): Likewise.
42421         (sloww): Use mynumber union.  Expand ternary operator into
42422         if-else statements.
42423         (cslow): use mynumber union.
42425 2013-12-16  Allan McRae  <allan@archlinux.org>
42427         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
42428         * configure: Regenerated.
42430         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
42432         [BZ #14120]
42433         * configure.ac: Added --enable-maintainer-mode. Check for
42434         autoconf when enabled.
42435         * configure: Regenerated.
42437         * nscd/nscd.service: New file.
42438         * nscd/nscd.tmpfiles: New file.
42440 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
42442         [BZ #12100]
42443         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
42444         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
42445         * sysdeps/x86_64/multiarch/strstr.c: ... here.
42446         (strstr): Add __strstr_sse2_unaligned ifunc.
42447         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
42448         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
42449         (strcasestr): Remove __strcasestr_sse42 ifunc.
42450         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
42451         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
42452         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
42454 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42456         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
42457         * sysdeps/sh/bits/fenv.h: ... here.
42458         * sysdeps/sh/sh4/fpu/bits: Remove directory.
42460 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42462         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
42464         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
42465         hypotf multiarch implementations.
42466         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
42467         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
42468         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
42469         multiarch hypot for PPC64.
42470         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
42471         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
42472         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
42473         multiarch hypotf for PPC64.
42475         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
42476         modff multiarch implementations.
42477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
42478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
42479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
42480         multiarch modf for PPC64.
42481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
42482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
42483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
42484         multiarch modff for PPC64.
42486         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
42487         and logl multiarch implementations.
42488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
42489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
42490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
42491         multiarch logb for PPC64.
42492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
42493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
42494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
42495         multiarch logb for PPC64.
42496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
42497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
42498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
42499         multiarch logb for PPC64.
42501         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
42502         isinff multiarch implementation.
42503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
42504         file.
42505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
42506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
42507         multiarch isinf for PPC64.
42508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
42509         file.
42510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
42511         multiarch isinff for PPC64.
42513         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
42514         finitef multiarch implementation.
42515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
42516         file.
42517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
42518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
42519         multiarch finite for PPC64.
42520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
42521         file.
42522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
42523         multiarch finitef for PPC64.
42525         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
42526         lrint multiarch implementation.
42527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
42528         file.
42529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
42530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
42531         multiarch llrint for PPC64.
42532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
42533         multiarch lrint for PPC64.
42535         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
42536         copysignf multiarch implementation.
42537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
42538         file.
42539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
42540         file.
42541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
42542         multiarch copysign for PPC64.
42543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
42544         multiarch copysignf for PPC64.
42546         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
42547         multiarch implementation.
42548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
42549         file.
42550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
42551         file.
42552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
42553         file.
42554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
42555         file.
42556         multiarch llround for PPC64.
42557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
42558         multiarch trunc for PPC64.
42559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
42560         multiarch truncf for PPC64.
42562         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
42563         multiarch implementation.
42564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
42565         file.
42566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
42567         file.
42568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
42569         file.
42570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
42571         file.
42572         multiarch llround for PPC64.
42573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
42574         multiarch round for PPC64.
42575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
42576         multiarch roundf for PPC64.
42578         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
42579         multiarch implementation.
42580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
42581         file.
42582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
42583         file.
42584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
42585         file.
42586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
42587         file.
42588         multiarch llround for PPC64.
42589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
42590         multiarch floor for PPC64.
42591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
42592         multiarch floorf for PPC64.
42594         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
42595         multiarch implementation.
42596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
42597         file.
42598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
42599         file.
42600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
42601         file.
42602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
42603         file.
42604         multiarch llround for PPC64.
42605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
42606         multiarch ceil for PPC64.
42607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
42608         multiarch ceilf for PPC64.
42610         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
42611         multiarch implementation.
42612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
42613         file.
42614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
42615         file.
42616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
42617         file.
42618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
42619         multiarch llround for PPC64.
42620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
42621         multiarch lround for PPC64.
42623         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
42624         multiarch implementation.
42625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
42626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
42627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
42628         file.
42629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
42630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
42631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
42632         multiarch isnan for PPC64.
42633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
42634         multiarch isnanf for PPC64.
42636         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
42637         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
42638         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
42639         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
42640         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
42641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
42643         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
42644         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42645         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42646         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42648         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
42649         multiarch implementations.
42650         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42651         (__libc_ifunc_impl_list): Likewise.
42652         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
42653         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
42654         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
42655         multiarch stpcpy for PPC64.
42657         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
42658         multiarch implementations.
42659         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42660         (__libc_ifunc_impl_list): Likewise.
42661         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
42662         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
42663         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
42664         multiarch strcpy for PPC64.
42666         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
42667         redefine function name.
42668         (_wordcopy_fwd_dest_aligned): Likewise.
42669         (_wordcopy_bwd_aligned): Likewise.
42670         (_wordcopy_bwd_dest_aligned): Likewise.
42671         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
42672         multiarch implementations.
42673         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42674         (__libc_ifunc_impl_list): Likewise.
42675         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
42676         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
42677         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
42678         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
42679         multiarch wcscpy for PPC64.
42681         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
42682         multiarch implementations.
42683         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42684         (__libc_ifunc_impl_list): Likewise.
42685         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
42686         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
42687         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
42688         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
42689         multiarch wcscpy for PPC64.
42691         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
42692         multiarch implementations.
42693         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42694         (__libc_ifunc_impl_list): Likewise.
42695         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
42696         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
42697         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
42698         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
42699         multiarch wcsrchr for PPC64.
42701         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
42702         multiarch implementations.
42703         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42704         (__libc_ifunc_impl_list): Likewise.
42705         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
42706         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
42707         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
42708         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
42709         multiarch wcschr for PPC64.
42711         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
42712         multiarch implementations.
42713         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42714         (__libc_ifunc_impl_list): Likewise.
42715         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
42716         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
42717         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
42718         multiarch strchrnul for PPC64.
42720         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
42721         implementations.
42722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42723         (__libc_ifunc_impl_list): Likewise.
42724         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
42725         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
42726         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
42727         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
42728         strchr for PPC64.
42730         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
42731         implementations.
42732         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42733         (__libc_ifunc_impl_list): Likewise.
42734         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
42735         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
42736         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
42737         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
42738         strncmp for PPC64.
42740         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
42741         multiarch implementations.
42742         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42743         (__libc_ifunc_impl_list): Likewise.
42744         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
42745         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
42746         strncasecmp for PPC64.
42747         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
42748         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
42749         multiarch strncasecmp_l for PPC64.
42751         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
42752         multiarch implementations.
42753         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42754         (__libc_ifunc_impl_list): Likewise.
42755         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
42756         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
42757         multiarch strcasecmp for PPC64.
42758         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
42759         file.
42760         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
42761         multiarch strcasecmp_l for PPC64.
42763         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
42764         implementations.
42765         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42766         (__libc_ifunc_impl_list): Likewise.
42767         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
42768         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
42769         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
42770         strnlen for PPC64.
42772         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
42773         implementations.
42774         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42775         (__libc_ifunc_impl_list): Likewise.
42776         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
42777         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
42778         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
42779         strlen for PPC64.
42781         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
42782         implementations.
42783         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42784         (__libc_ifunc_impl_list): Likewise.
42785         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
42786         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
42787         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
42788         rawmemrchr for PPC64.
42790         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
42791         implementation.
42792         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42793         (__libc_ifunc_impl_list): Likewise.
42794         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
42795         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
42796         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
42797         memrchr for PPC64.
42799         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
42800         implementation.
42801         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42802         (__libc_ifunc_impl_list): Likewise.
42803         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
42804         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
42805         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
42806         memchr for PPC64.
42808         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
42809         implementation.
42810         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42811         (__libc_ifunc_impl_list): Likewise.
42812         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
42813         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
42814         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
42815         mempcpy for PPC64.
42817         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
42818         avoid cretion of __bzero symbol.
42819         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
42820         Likewise.
42821         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
42822         Likewise.
42823         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
42824         Likewise.
42825         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
42826         multiarch implementations.
42827         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42828         (__libc_ifunc_impl_list): Likewise.
42829         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
42830         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
42831         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
42832         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
42833         bzero for PPC32.
42834         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
42835         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
42836         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
42837         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
42838         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
42839         memset for PPC64.
42840         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
42842         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
42843         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
42844         implementations.
42845         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42846         (__libc_ifunc_impl_list): Likewise.
42847         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
42848         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
42849         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
42850         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
42851         memcmp for PPC64.
42853         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
42854         multiarch for POWER/PPC64.
42855         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
42856         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
42857         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
42858         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
42859         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
42860         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
42861         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
42862         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
42863         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
42864         memcpy for PPC64.
42866         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
42867         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
42868         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
42869         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
42870         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
42871         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
42872         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
42873         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
42874         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
42875         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
42876         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
42877         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
42878         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
42879         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
42880         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
42881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
42882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
42883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
42884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
42885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
42886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
42887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
42889 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42891         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
42893 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42895         * benchtests/Makefile (bench): Add exp2 and log2.
42896         (LDLIBS-bench-exp2): Add -lm.
42897         (LDLIBS-bench-log2): Likewise.
42898         * benchtests/exp2-inputs: New inputs file.
42899         * benchtests/log2-inputs: New inputs file.
42900         * benchtests/log-inputs: Add new inputs.
42901         * benchtests/tan-inputs: Likewise.
42903 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42905         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
42906         definition...
42907         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
42908         (csloww2): ... from here.
42910         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
42911         instead of structures.
42912         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
42913         (POLYNOMIAL): Likewise.
42914         (TAYLOR_SLOW): Likewise.
42915         (__sin): Likewise.
42916         (__cos): Likewise.
42917         (slow1): Likewise.
42918         (slow2): Likewise.
42919         (sloww): Likewise.
42920         (sloww1); Likewise.
42921         (sloww2): Likewise.
42922         (bsloww1): Likewise.
42923         (bsloww2): Likewise.
42924         (cslow2): Likewise.
42925         (csloww): Likewise.
42926         (csloww1): Likewise.
42927         (csloww2): Likewise.
42929 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
42931         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
42932         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
42933         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
42934         * malloc/hooks.c (realloc_check): Likewise.
42936         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
42937         * malloc/arena.c: Remove PER_THREAD conditional.
42938         [!PER_THREAD]: Remove code.
42939         (ptmalloc_unlock_all2): Likewise.
42940         (ptmalloc_init): Likewise.
42941         (_int_new_arena): Likewise.
42942         (arena_get2): Likewise.
42943         * malloc/hooks.c (__malloc_get_state): Likewise.
42944         (__malloc_set_state): Likewise.
42945         * malloc/malloc.c: Likewise.
42946         (struct malloc_state): Likewise.
42947         (struct malloc_par): Likewise.
42948         (__libc_realloc): Likewise.
42949         (__libc_mallopt): Likewise.
42951 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42953         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
42955 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
42957         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
42958         macro to a function.  Check for zero perturb_byte.
42959         (_int_malloc, _int_free): Remove zero perturb_byte checks.
42961         * malloc/malloc.c: (force_reg): Remove.
42962         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
42963         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
42964         force_reg by atomic_forced_read.
42965         * malloc/arena.c (ptmalloc_init): Likewise.
42966         * malloc/hooks.c (top_check): Likewise.
42968 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42970         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42972 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
42974         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42976 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
42978         * math/auto-libm-test-in: Add tests of lgamma.
42979         * math/auto-libm-test-out: Regenerated.
42980         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
42981         (M_LOG_2_SQRT_PIl): Likewise.
42982         (lgamma_test_data): Use AUTO_TESTS_f_f1.
42983         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42984         mpfr_f_f1.
42985         (func_calc_desc): Add mpfr_f_f1 union field.
42986         (ARGS1): New macro.
42987         (ARGS2): Likewise.
42988         (ARGS3): Likewise.
42989         (ARGS4): Likewise.
42990         (RET1): Likewise.
42991         (RET2): Likewise.
42992         (CALC): Likewise.
42993         (FUNC): Likewise.
42994         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
42995         (test_functions): Add lgamma.
42996         (calc_generic_results): Handle mpfr_f_f1.
42997         * sysdeps/i386/fpu/libm-test-ulps: Update.
42998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43000 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43002         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
43003         __mpn_add_n for PowerPC64/POWER7.
43004         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
43005         __mpn_sub_n for PowerPC64/POWER7.
43007         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
43008         __mpn_addmul_1 for PowerPC64.
43009         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
43010         __mpn_submul_1 for PowerPC64.
43011         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
43012         for PowerPC64.
43013         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
43014         for PowerPC64.
43016 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
43018         [BZ #15089]
43019         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
43021 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43023         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
43025         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
43026         add multiarch folders.
43027         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
43028         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
43029         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
43030         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
43031         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
43032         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
43033         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
43034         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
43035         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
43036         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
43037         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
43038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
43039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
43040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
43041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
43042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
43043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
43045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43046         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
43047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
43048         New file.
43049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
43050         New file.
43051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
43052         multiarch __ieee754_hypot for PowerPC32.
43053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
43054         New file.
43055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
43056         New file.
43057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
43058         multiarch __ieee754_hypotf for PowerPC32.
43060         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
43061         long_double_symbol only if __logbl is defined.
43062         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
43063         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
43064         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
43065         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
43066         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
43067         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
43068         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
43069         path for implementation.
43070         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
43071         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
43072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
43073         logb, and logbl multiarch implementations for PowerPC32.
43074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
43075         file.
43076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
43077         file.
43078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
43079         multiarch logb for PowerPC32.
43080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
43081         file.
43082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
43083         file.
43084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
43085         multiarch logbf for PowerPC32.
43086         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
43087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
43088         file.
43089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
43090         multiarch logbl implementation for PowerPC32.
43092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
43093         and modff multiarch implementations.
43094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
43095         New file.
43096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
43097         New file.
43098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
43099         multiarch modf for PowerPC32.
43100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
43101         New file.
43102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
43103         New file.
43104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
43105         multiarch modff for PowerPC32.
43107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
43108         and lrintf multiarch implementations.
43109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
43110         New file.
43111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
43112         New file.
43113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
43114         multiarch lrint for PowerPC32.
43115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
43116         file: multiarch lrintf for PowerPC32.
43118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
43119         and lroundf multiarch implementations.
43120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
43121         New file.
43122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
43123         New file.
43124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
43125         New file.
43126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
43127         multiarch lround for PowerPC32.
43128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
43129         file: multiarch lroundf for PowerPC32.
43131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43132         copysign and copysignf multiarch implementations.
43133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
43134         New file.
43135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
43136         New file.
43137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
43138         file: multiarch copysign for PowerPC32.
43139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
43140         file: multiarch copysignf for PowerPC32.
43142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
43143         and truncf multiarch implementations.
43144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
43145         New file.
43146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
43147         file.
43148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
43149         multiarch trunc for PowerPC32.
43150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
43151         New file.
43152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
43153         New file.
43154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
43155         multiarch truncf for PowerPC32.
43157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
43158         and roundf multiarch implementations.
43159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
43160         New file.
43161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
43162         file.
43163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
43164         multiarch round for PowerPC32.
43165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
43166         New file.
43167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
43168         New file.
43169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
43170         multiarch roundf for PowerPC32.
43172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
43173         and floorf multiarch implementations.
43174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
43175         New file.
43176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
43177         file.
43178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
43179         multiarch floor for PowerPC32.
43180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
43181         New file.
43182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
43183         New file.
43184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
43185         multiarch floorf for PowerPC32.
43187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
43188         and ceilf multiarch implementations.
43189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
43190         New file.
43191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
43192         file.
43193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
43194         multiarch ceil for PowerPC32.
43195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
43196         New file.
43197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
43198         file.
43199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
43200         multiarch ceilf for PowerPC32.
43202         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
43203         is defined.
43204         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
43205         FINITEF is defined.
43206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
43207         and finitef multiarch implementations.
43208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
43209         New file.
43210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
43211         file.
43212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
43213         multiarch finite for PowerPC32.
43214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
43215         New file.
43216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
43217         file: multiarch finitef for PowerPC32.
43219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
43220         and isinff multiarch implementations.
43221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
43222         file.
43223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
43224         file.
43225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
43226         multiarch isinf for PowerPC32.
43227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
43228         New file.
43229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
43230         multiarch isinff for PowerPC32.
43232         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
43233         alias when __isnan is defined.
43234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
43235         and isnanf multiarch implementations.
43236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
43237         file.
43238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
43239         file.
43240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
43241         file.
43242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
43243         file.
43244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
43245         multiarch isnan for PowerPC32.
43246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
43247         New file.
43248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
43249         New file.
43250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
43251         multiarch isnanf for PowerPC32.
43253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
43254         and sqrtf multiarch implementations.
43255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
43256         file.
43257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
43258         file.
43259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
43260         multiarch sqrt for PowerPC32.
43261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
43262         file.
43263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
43264         file.
43265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
43266         multiarch sqrtf for PowerPC32.
43268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
43269         and llroundf multiarch implementations.
43270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
43271         New file.
43272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
43273         New file.
43274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
43275         New file.
43276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
43277         file: multiarch llround for PowerPC32.
43278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
43279         file: multiarch llroundf for PowerPC32.
43281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
43282         multiarch PowerPC32 fpu implementations.
43283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
43284         New file.
43285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
43286         New file.
43287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
43288         multiarch llrint for PowerPC32.
43289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
43290         New file.
43291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
43292         New file.
43293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
43294         file.
43296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
43298         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
43299         file.
43300         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
43301         file.
43302         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
43303         file.
43304         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
43305         multiarch wordcopy for PPC32.
43306         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43307         wordcopy objects.
43308         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43309         (__libc_ifunc_impl_list): Likewise.
43310         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
43311         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
43312         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
43313         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
43314         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
43315         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
43317         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
43318         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
43319         file.
43320         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
43321         file.
43322         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
43323         file.
43324         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
43325         multiarch wcscpy for PPC32.
43326         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43327         multiarch objects.
43328         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43329         (__libc_ifunc_impl_list): Likewise.
43330         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43331         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43332         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
43333         sysdeps/powerpc/power6/wcscpy.c.
43335         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
43336         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
43337         file.
43338         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
43339         file.
43340         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
43341         file.
43342         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
43343         multiarch wcsrchr for PPC32.
43344         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43345         multiarch objects.
43346         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43347         (__libc_ifunc_impl_list): Likewise.
43348         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43349         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43350         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
43351         sysdeps/powerpc/power6/wcsrchr.c.
43353         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
43354         file.
43355         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
43356         file.
43357         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
43358         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
43359         multiarch wcschr for PPc32.
43360         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43361         multiarch objects.
43362         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43363         (__libc_ifunc_impl_list): Likewise.
43364         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
43365         * sysdeps/powerpc/power6/wcschr.c: ... to here.
43366         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
43367         sysdeps/powerpc/power6/wcschr.c.
43369         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
43370         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
43371         file.
43372         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
43373         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
43374         file: multiarch strchr for PPC32.
43375         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
43376         multiarch objects.
43377         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43378         (__libc_ifunc_impl_list): Likewise.
43380         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
43381         name.
43382         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
43383         file.
43384         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
43385         file.
43386         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
43387         multiarch strchrnul for PPC32.
43388         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
43389         multiarch objects.
43390         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43391         (__libc_ifunc_impl_list): Likewise.
43393         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
43394         file.
43395         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
43396         multiarch strncasecmp for PPC32.
43397         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
43398         file.
43399         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
43400         multiarch strncasecmp_l for PPC32.
43401         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
43402         strncasecmp multiarch objects.
43403         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43404         (__libc_ifunc_impl_list): Likewise.
43406         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
43407         file.
43408         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
43409         multiarch strncasecmp for PPC32.
43410         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
43411         New file.
43412         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
43413         multiarch strcasecmp_l for PPC32.
43414         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
43415         multiarch objects.
43416         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43417         (__libc_ifunc_impl_list): Likewise.
43419         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
43420         file.
43421         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
43422         file.
43423         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
43424         multiarch strncmp for PPC32.
43425         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
43426         multiarch objects.
43427         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43428         (__libc_ifunc_impl_list): Likewise.
43430         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
43431         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
43432         file.
43433         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
43434         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
43435         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
43436         multiarch objects.
43437         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43438         (__libc_ifunc_impl_list): Likewise.
43440         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
43441         file.
43442         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
43443         file.
43444         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
43445         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
43446         multiarch objects.
43447         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43448         (__libc_ifunc_impl_list): Likewise.
43450         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
43451         file.
43452         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
43453         file.
43454         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
43455         multiarch rawmemchr for PPC32.
43456         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
43457         multiarch objects.
43458         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43459         (__libc_ifunc_impl_list): Likewise.
43461         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
43462         file.
43463         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
43464         file.
43465         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
43466         file: memrchr multiarch for PPC32.
43467         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
43468         multiarch objects.
43469         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43470         (__libc_ifunc_impl_list): Likewise.
43472         * string/memchr.c (__memchr): Using macro to redefine symbol name.
43473         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
43474         file.
43475         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
43476         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
43477         multiarch memchr for PPC32.
43478         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
43479         multiarch objects.
43480         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43481         (__libc_ifunc_impl_list): Likewise.
43483         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
43484         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
43485         file.
43486         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
43487         file.
43488         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
43489         file: multiarch mempcpy for PPC32.
43490         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
43491         multiarch objects.
43492         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43493         (__libc_ifunc_impl_list): Likewise.
43495         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
43496         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
43497         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
43498         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
43499         multiarch bzero for PPC32.
43500         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
43501         file.
43502         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
43503         file.
43504         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
43505         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
43506         file: multiarch memset for PPC32.
43507         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
43508         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
43509         memset multiarch objects.
43510         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43511         (__libc_ifunc_impl_list): Likewise.
43513         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
43514         file.
43515         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
43516         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
43517         memcmp for PPC32.
43518         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
43519         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
43520         multiarch objects.
43521         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43522         (__libc_ifunc_impl_list): Likewise.
43524         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
43525         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
43526         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
43527         file.
43528         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
43529         file.
43530         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
43531         file.
43532         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
43533         multiarch memcpy for PPC32.
43534         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
43535         multiarch objects.
43536         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43537         (__libc_ifunc_impl_list): Likewise.
43539         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
43540         support multiarch for POWER/PPC32.
43541         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
43542         Likewise.
43543         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
43545         Implies file to make multiarch folder appers before the fpu and
43546         default folder for power4 configuration.
43548 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43550         * scripts/bench.pl: Append volatile keyword to type.
43552 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43554         * sysdeps/sh/sotruss-lib.c: New file.
43555         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
43557 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43559         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43561 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
43563         [BZ #6810]
43564         * math/w_tgamma.c: Include <errno.h>.
43565         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
43566         * math/w_tgammaf.c: Include <errno.h>.
43567         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
43568         * math/w_tgammal.c: Include <errno.h>.
43569         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
43570         * math/auto-libm-test-in: Do not allow missing errno on tgamma
43571         underflow.  Add more tgamma tests.
43572         * math/auto-libm-test-out: Regenerated.
43573         * sysdeps/i386/fpu/libm-test-ulps: Update.
43574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43576         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
43577         sin, sinh, tan, tanh, tgamma, y0 and y1.
43578         * math/auto-libm-test-out: Regenerated.
43579         * math/libm-test.inc (TEST_COND_x86_64): New macro.
43580         (TEST_COND_x86): Likewise.
43581         (M_E2l): Remove macro.
43582         (M_E3l): Likewise.
43583         (M_2_SQRT_PIl): Likewise.
43584         (M_SQRT_PIl): Likewise.
43585         (M_1_DIV_El): Likewise.
43586         (log_test_data): Use AUTO_TESTS_f_f.
43587         (log10_test_data): Likewise.
43588         (log1p_test_data): Likewise.
43589         (log2_test_data): Likewise.
43590         (sin_test_data): Likewise.
43591         (sin_tonearest_test_data): Likewise.
43592         (sin_towardzero_test_data): Likewise.
43593         (sin_downward_test_data): Likewise.
43594         (sin_upward_test_data): Likewise.
43595         (sinh_test_data): Likewise.
43596         (sinh_tonearest_test_data): Likewise.
43597         (sinh_towardzero_test_data): Likewise.
43598         (sinh_downward_test_data): Likewise.
43599         (sinh_upward_test_data): Likewise.
43600         (tan_test_data): Likewise.
43601         (tan_tonearest_test_data): Likewise.
43602         (tan_towardzero_test_data): Likewise.
43603         (tan_downward_test_data): Likewise.
43604         (tan_upward_test_data): Likewise.
43605         (tanh_test_data): Likewise.
43606         (tgamma_test_data): Likewise.
43607         (y0_test_data): Likewise.
43608         (y1_test_data): Likewise.
43609         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
43610         (special_real_inputs): Add pi/4.
43611         * sysdeps/i386/fpu/libm-test-ulps: Update.
43612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43614 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43616         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
43617         "longjmp_target" static probes.
43618         (__longjmp): Rename to __longjmp_symbol.
43619         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43620         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
43621         on which longjmp to generate.
43622         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43623         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
43624         probe.
43625         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43626         (__sigjmp_save): Rename to __sigjmp_save_symbol.
43627         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43628         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
43629         and __sigjmp_save_symbol based on which sigsetjmp to generated.
43630         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
43632         __longjmp_symbol based on which __longjmp to generate.
43633         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
43634         probe.
43635         (setjmp): Rename to setjmp_symbol.
43636         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43637         (_setjmp): Rename to _setjmp_symbol.
43638         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43639         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
43640         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
43641         which setjmp to generate.
43642         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
43643         "longjmp_target" static probes.
43645 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43647         * benchtests/README: Add note about output arguments.
43648         * benchtests/bench-sincos.c: Remove file.
43649         * benchtests/sincos-inputs: New file.
43650         * scripts/bench.pl: Identify output arguments and define
43651         static variables for them.
43653         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
43655         [BZ #15941]
43656         * Makefile (INSTALL): Add install-plain.texi as the primary
43657         dependency.
43658         * manual/install-plain.texi: New file.
43659         * manual/install.texi: Include node directive only for
43660         non-plaintext output.
43662 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
43664         * stdlib/longlong.h: Update from GCC.
43666         [BZ #6807]
43667         [BZ #15901]
43668         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
43669         * math/w_j0f.c (y0f): Likewise.
43670         * math/w_j0l.c (__y0l): Likewise.
43671         * math/w_j1.c (y1): Likewise.
43672         * math/w_j1f.c (y1f): Likewise.
43673         * math/w_j1l.c (__y1l): Likewise.
43674         * math/w_jn.c (yn): Likewise.
43675         * math/w_jnf.c (ynf): Likewise.
43676         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
43677         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
43678         value for Bessel function domain errors outside _SVID_ mode.
43679         Adjust sign of return value for yn (negative integer, 0).
43680         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
43681         by zero in return for negative x and set sign appropriately for
43682         negative n.
43683         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
43684         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43685         * math/libm-test.inc (y0_test_data): Add more tests and adjust
43686         expectations in error cases.
43687         (y1_test_data): Likewise.
43688         (yn_test_data): Likewise.
43689         * sysdeps/i386/fpu/libm-test-ulps: Update.
43690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43692 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43694         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
43695         "64" to "64-v1".  Add "64-v2".
43696         (abi-64-options): Rename to ...
43697         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
43698         (abi-64-condition): Rename to ...
43699         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
43700         (abi-64-ld-soname): Rename to ...
43701         (abi-64-v1-ld-soname): ... this.
43702         (abi-64-v2-options): Define.
43703         (abi-64-v2-condition): Likewise.
43704         (abi-64-v2-ld-soname): Likewise.
43705         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
43706         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
43707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
43708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
43709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
43711 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43712             Alan Modra  <amodra@gmail.com>
43714         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
43715         New versions for use with the ELFv2 ABI.
43716         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
43717         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
43718         declaration.
43719         (struct La_ppc64v2_retval): Likewise.
43720         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
43721         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
43722         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
43723         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
43724         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
43725         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43726         Do not save or restore CR.
43727         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
43728         (_dl_profile_resolve): Do no save or restore CR.  Support extended
43729         return values for ELFv2 ABI.  Fix location of FPR return registers.
43730         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
43731         updated values for _CALL_ELF == 2.
43732         (La_regs, La_retval, int_retval): Likewise.
43734 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43736         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
43737         (FRAME_MIN_SIZE_PARM): Likewise.
43738         (FRAME_BACKCHAIN): Likewise.
43739         (FRAME_CR_SAVE): Likewise.
43740         (FRAME_LR_SAVE): Likewise.
43741         (FRAME_TOC_SAVE): Likewise.
43742         (FRAME_PARM_SAVE): Likewise.
43743         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
43744         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
43745         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
43746         (call_mcount_parm_offset): New macro.
43747         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
43748         (PROF): Use symbolic stack frame offsets.
43749         (TAIL_CALL_SYSCALL_ERROR): Likewise.
43750         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
43751         Redefine in terms of FRAME_MIN_SIZE.
43752         (_dl_runtime_resolve): Use symbolic stack frame offsets.
43753         (_dl_profile_resolve): Likewise.  Update comment.
43754         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
43755         symbols stack frame offsets.
43756         (__sigsetjmp): Likewise.
43757         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
43758         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
43759         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
43760         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
43762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
43763         (FRAME_BACKCHAIN): Remove.
43764         (FRAME_CR_SAVE): Likewise.
43765         (FRAME_LR_SAVE): Likewise.
43766         (FRAME_COMPILER_DW): Likewise.
43767         (FRAME_LINKER_DW): Likewise.
43768         (FRAME_TOC_SAVE): Likewise.
43769         (FRAME_PARM_SAVE): Likewise.
43770         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
43771         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
43772         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
43773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
43774         (CHECK_SP): Use symbolic stack frame offsets.
43775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
43776         zone" instead of caller's parameter save area for temp storage.
43777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43778         Likewise.  Also, use symbolic stack frame offsets.
43779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
43780         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
43781         our own stack frame instead of the caller's.
43782         (__socket): Use symbolic stack frame offsets.
43784 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43785             Alan Modra  <amodra@gmail.com>
43787         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
43788         Define.
43789         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
43790         (PPC64_LOCAL_ENTRY_OFFSET): Define.
43791         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
43792         New function.
43793         (elf_machine_fixup_plt): Call it.
43794         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
43795         reloc arguments.
43796         (elf_machine_rela): Update call to elf_machine_plt_conflict.
43797         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
43798         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
43799         r2 before calling target.
43801 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43802             Alan Modra  <amodra@gmail.com>
43804         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
43805         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
43806         versions of macros to support ELFv2 ABI.
43807         (LOCALENTRY): New macro.
43808         (ENTRY, EALIGN): Use it.
43809         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
43810         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
43811         fall through into ENTRY entry point.
43812         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
43813         Only define if _CALL_ELF != 2.
43815         (elf_machine_matches_host): Verify ABI version matches.
43816         (RTLD_START): Use LOCALENTRY.
43817         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
43818         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
43819         (PLT_ENTRY_WORDS): New macro.
43820         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
43821         (elf_machine_runtime_setup): Support ELFv2 ABI.
43822         (elf_machine_fixup_plt): Likewise.
43823         (elf_machine_plt_conflict): Likewise.
43824         (resolve_ifunc): Likewise.
43825         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
43826         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
43827         Likewise.
43828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
43829         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
43830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43831         (makecontext): Support ELFv2 ABI.
43832         * elf/elf.h (EF_PPC64_ABI): Define.
43834 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43836         * sysdeps/powerpc/powerpc64/sysdep.h
43837         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
43838         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
43839         (ENTRY) [ASSEMBLER]: ... but instead here ...
43840         (EALIGN) [ASSEMBLER]: ... and here.
43841         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
43842         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
43843         (ENTRY_2) [!ASSEMBLER]: Use it.
43844         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
43845         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
43846         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
43847         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
43848         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
43849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
43850         Use PPC64_LOAD_FUNCPTR.
43852         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
43854 2013-12-04  Alan Modra  <amodra@gmail.com>
43856         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
43857         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
43858         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
43859         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
43861         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
43862         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
43863         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
43864         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
43865         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
43866         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
43868 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43871         (__makecontext): Fix incorrect CFI when backtracing out of
43872         context created via makecontext.
43873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
43874         (__setcontext): Fix incorrect CFI during switch to new context.
43875         (__novec_setcontext): Likewise.
43877 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
43879         [BZ #4772]
43880         * time/strptime_l.c (__strptime_internal): Allow modifiers
43881         in strptime.
43882         * time/tst-strptime.c (day_tests): Add testcase.
43884 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43886         * scripts/bench.pl: Skip over blank lines.
43888 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
43890         [BZ #926]
43891         * manual/time.texi (Calendar Time): Clarify what timezone functions
43892         use.
43894 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43896         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43898 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
43900         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
43901         implementation.
43902         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
43903         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
43904         * debug/memset_chk.c (__memset_chk): Likewise.
43905         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
43906         * debug/strncpy_chk.c: Likewise.
43908 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
43910         [BZ #15268]
43911         [BZ #15425]
43912         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
43913         (__ieee754_exp): For possibly underflowing results, check size of
43914         result and force underflow exception if required.
43915         * math/auto-libm-test-in: Add more tests of exp.
43916         * math/auto-libm-test-out: Regenerated.
43917         * sysdeps/i386/fpu/libm-test-ulps: Update.
43918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43920         [BZ #16283]
43921         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
43922         * math/w_exp2f.c (__exp2f): Likewise.
43923         * math/w_exp2l.c (__exp2l): Likewise.
43924         * math/auto-libm-test-in: Do not allow missing errno on exp2
43925         underflow.
43926         * math/auto-libm-test-out: Regenerated.
43928 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
43930         [BZ #16274]
43931         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
43932         handle filename validation.
43933         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
43934         (do_open): Delete.
43936 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
43938         [BZ #6786]
43939         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
43940         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
43941         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
43942         <float.h>.
43943         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
43944         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
43945         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43946         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
43947         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43948         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
43949         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43950         * math/auto-libm-test-in: Don't allow missing errno from erfc.
43951         Add more erfc tests.
43952         * math/auto-libm-test-out: Regenerated.
43953         * sysdeps/i386/fpu/libm-test-ulps: Update.
43954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43956         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
43957         exp2, expm1, j0 and j1.
43958         * math/auto-libm-test-out: Regenerated.
43959         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
43960         (erfc_test_data): Likewise.
43961         (exp_test_data): Likewise.
43962         (exp_tonearest_test_data): Likewise.
43963         (exp_towardzero_test_data): Likewise.
43964         (exp_downward_test_data): Likewise.
43965         (exp_upward_test_data): Likewise.
43966         (exp10_test_data): Likewise.
43967         (exp2_test_data): Likewise.
43968         (expm1_test_data): Likewise.
43969         (j0_test_data): Likewise.
43970         (j1_test_data): Likewise.
43971         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
43972         (input_flag_type): Add flag_xfail_rounding.
43973         (input_flags): Add xfail-rounding.
43974         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
43975         (output_for_one_input_case): Handle flag_xfail_rounding.
43976         * sysdeps/i386/fpu/libm-test-ulps: Update.
43977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43979 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
43981         [BZ #16289]
43982         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
43983         division by 0.
43985 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43987         [BZ #16195]
43988         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
43989         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
43990         (STAP_PROBE0): New macro.
43991         (STAP_PROBE1): Likewise.
43992         (STAP_PROBE2): Likewise.
43993         (STAP_PROBE3): Likewise.
43994         (STAP_PROBE4): Likewise.
43996 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
43998         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
44000 2013-12-02  Steve Ellcey  <sellcey@mips.com>
44002         * benchtests/Makefile (bench): Add sqrt.
44003         (LDLIBS-bench-sqrt): New.
44004         * benchtests/sqrt-input: New.
44006 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
44008         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
44009         (GAIH_EAI): Likewise.
44010         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
44011         (gaih_inet): Likewise.
44012         (getaddrinfo): Don't use GAIH_EAI.
44014         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
44015         (struct gaih): Remove definition.
44017 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44019         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
44020         Use HERRNOP directly.
44022 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44026 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
44028         * math/gen-auto-libm-tests.c (test_functions): Add more
44029         single-argument functions.
44030         (special_fill_pi_2): New function.
44031         (special_fill_minus_pi_2): Likewise.
44032         (special_fill_pi_6): Likewise.
44033         (special_fill_minus_pi_6): Likewise.
44034         (special_fill_pi_3): Likewise.
44035         (special_fill_2pi_3): Likewise.
44036         (special_fill_e): Likewise.
44037         (special_fill_1_e): Likewise.
44038         (special_fill_e_minus_1): Likewise.
44039         (special_real_inputs): Add more special inputs.
44040         (output_for_one_input_case): Do not require ERANGE on underflow to
44041         zero if round-to-nearest result does not underflow to zero, unless
44042         exact results required.
44043         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
44044         atan, atanh, cbrt, cos and cosh.
44045         * math/auto-libm-test-out: Regenerated.
44046         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
44047         (acos_tonearest_test_data): Likewise.
44048         (acos_towardzero_test_data): Likewise.
44049         (acos_downward_test_data): Likewise.
44050         (acos_upward_test_data): Likewise.
44051         (acosh_test_data): Likewise.
44052         (asin_test_data): Likewise.
44053         (asin_tonearest_test_data): Likewise.
44054         (asin_towardzero_test_data): Likewise.
44055         (asin_upward_test_data): Likewise.
44056         (asinh_test_data): Likewise.
44057         (atan_test_data): Likewise.
44058         (atanh_test_data): Likewise.
44059         (cbrt_test_data): Likewise.
44060         (cos_test_data): Likewise.
44061         (cos_tonearest_test_data): Likewise.
44062         (cos_towardzero_test_data): Likewise.
44063         (cos_downward_test_data): Likewise.
44064         (cos_upward_test_data): Likewise.
44065         (cosh_test_data): Likewise.
44066         (cosh_tonearest_test_data): Likewise.
44067         (cosh_towardzero_test_data): Likewise.
44068         (cosh_downward_test_data): Likewise.
44069         (cosh_upward_test_data): Likewise.
44070         * sysdeps/i386/fpu/libm-test-ulps: Update.
44071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44073 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
44075         [BZ #6787]
44076         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
44077         * math/w_exp10f.c (__exp10f): Likewise.
44078         * math/w_exp10l.c (__exp10l): Likewise.
44079         * math/libm-test.inc (exp10_test_data): Add more tests and expect
44080         errno settings in existing tests.
44082         [BZ #14032]
44083         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
44084         precision control set to double precision.
44085         * sysdeps/i386/fpu/w_sqrt.c: New file.
44086         * math/auto-libm-test-in: Add more tests.
44087         * math/auto-libm-test-out: Update.
44089         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
44090         (sqrt_test_tonearest): New function.
44091         (sqrt_towardzero_test_data): New variable.
44092         (sqrt_test_towardzero): New function.
44093         (sqrt_downward_test_data): New variable.
44094         (sqrt_test_downward): New function.
44095         (sqrt_upward_test_data): New variable.
44096         (sqrt_test_upward): New function.
44097         (main): Call the new functions.
44099         * math/gen-auto-libm-tests.c: New file.
44100         * math/auto-libm-test-in: Likewise.
44101         * math/auto-libm-test-out: New generated file.
44102         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
44103         variables.
44104         (%beautify): Add generated representations of zero.
44105         (top level): Set $auto_input and call parse_auto_input.
44106         (beautify): Remove trailing "f" from hex float constants.
44107         (parse_args): Handle XFAIL_TEST.
44108         (convert_condition): New function.
44109         (or_value): Likewise.
44110         (or_cond_value): Likewise.
44111         (generate_testfile): Handle AUTO_TESTS_* lines.
44112         (parse_auto_input): New function.
44113         * math/libm-test.inc (XFAIL_TEST): New macro.
44114         (ERRNO_UNCHANGED): Update value.
44115         (ERRNO_EDOM): Likewise.
44116         (ERRNO_ERANGE): Likewise.
44117         (IGNORE_RESULT): Likewise.
44118         (TEST_COND_flt_32): New macro.
44119         (TEST_COND_dbl_64): Likewise.
44120         (TEST_COND_ldbl_96_intel): Likewise.
44121         (TEST_COND_ldbl_96_m68k): Likewise.
44122         (TEST_COND_ldbl_128): Likewise.
44123         (TEST_COND_ldbl_128ibm): Likewise.
44124         (TEST_COND_long32): Likewise.
44125         (TEST_COND_long64): Likewise.
44126         (TEST_COND_before_rounding): Likewise.
44127         (TEST_COND_after_rounding): Likewise.
44128         (enable_test): Handle XFAIL_TEST flag.
44129         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
44130         with finite results.
44131         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
44132         auto-libm-test-out.
44134 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44135             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44137         [BZ #16214]
44138         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
44139         __tls_get_addr_internal instead of __tls_get_offset in order to
44140         avoid GOT pointer dependency.  Make rtld export
44141         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
44142         __tls_get_addr since we are a __tls_get_offset platform.
44143         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
44144         GOT pointer being set up before.
44145         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
44147 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
44149         * manual/math.texi (Errors in Math Functions): Document accuracy
44150         goals.
44152         [BZ #15004]
44153         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
44154         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
44155         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44156         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44157         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44158         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44159         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44160         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44161         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44162         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44163         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44164         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44165         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44166         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44167         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44168         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44170         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
44171         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
44172         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
44173         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
44174         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
44175         Likewise.
44176         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
44177         Likewise.
44178         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
44179         Likewise.
44180         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
44181         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
44182         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
44183         atomic-feupdateenv and flt-rounds.
44184         * sysdeps/powerpc/nofpu/Versions (libc): Add
44185         __atomic_feholdexcept, __atomic_feclearexcept,
44186         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
44187         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
44188         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
44189         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
44190         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
44191         here.
44192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
44193         Update.
44195         * manual/arith.texi (FP Exceptions): Document that exceptions may
44196         not be raised when matherr is used.
44197         (Math Error Reporting): Document overflow in directed rounding
44198         modes.  Document that errno may not be set when finite values are
44199         returned on overflow.  Document intent to set errno on underflow
44200         only for underflow to zero.
44202         [BZ #16271]
44203         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
44204         round-to-nearest then adjust result for other rounding modes.
44205         * include/fenv.h (fegetround): Use libm_hidden_proto.
44206         * math/fegetround.c (fegetround): Use libm_hidden_def.
44207         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
44208         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
44209         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44210         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
44211         Likewise.
44212         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
44213         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44214         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
44215         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
44217 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44219         [BZ #16077]
44220         * nss/Versions (libnss_files): Add
44221         _nss_files_gethostbyname3_r.
44222         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
44223         New function.
44224         (HOST_DB_LOOKUP): Remove macro.
44225         (_nss_files_gethostbyname_r): Implement function without the
44226         HOST_DB_LOOKUP macro.
44227         (_nss_files_gethostbyname2_r): Likewise.
44229 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
44231         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
44233 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
44235         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
44236         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
44237         warning.
44239 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44241         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
44242         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
44243         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
44244         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
44245         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
44246         __fe_nomask_env_priv and attribute_hidden.
44247         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
44248         (libc_feupdateenv_test_ppc): Likewise.
44249         (libc_feresetround_ppc): Likewise.
44250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44251         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
44252         compat_symbol macro.
44253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44254         (__fe_nomask_env): Likewise.
44255         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
44257 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44259         * string/Makefile: Remove ifunc tests.
44260         * string/test-string.h: Define TEST_IFUNC.
44261         * string/test-bcopy-ifunc.c: Remove.
44262         * string/test-bzero-ifunc.c: Likewise.
44263         * string/test-memccpy-ifunc.c: Likewise.
44264         * string/test-memchr-ifunc.c: Likewise.
44265         * string/test-memcmp-ifunc.c: Likewise.
44266         * string/test-memcpy-ifunc.c: Likewise.
44267         * string/test-memmem-ifunc.c: Likewise.
44268         * string/test-memmove-ifunc.c: Likewise.
44269         * string/test-mempcpy-ifunc.c: Likewise.
44270         * string/test-memrchr-ifunc.c: Likewise.
44271         * string/test-memset-ifunc.c: Likewise.
44272         * string/test-rawmemchr-ifunc.c: Likewise.
44273         * string/test-stpcpy-ifunc.c: Likewise.
44274         * string/test-stpncpy-ifunc.c: Likewise.
44275         * string/test-strcasecmp-ifunc.c: Likewise.
44276         * string/test-strcasestr-ifunc.c: Likewise.
44277         * string/test-strcat-ifunc.c: Likewise.
44278         * string/test-strchr-ifunc.c: Likewise.
44279         * string/test-strchrnul-ifunc.c: Likewise.
44280         * string/test-strcmp-ifunc.c: Likewise.
44281         * string/test-strcpy-ifunc.c: Likewise.
44282         * string/test-strcspn-ifunc.c: Likewise.
44283         * string/test-strlen-ifunc.c: Likewise.
44284         * string/test-strncasecmp-ifunc.c: Likewise.
44285         * string/test-strncat-ifunc.c: Likewise.
44286         * string/test-strncmp-ifunc.c: Likewise.
44287         * string/test-strncpy-ifunc.c: Likewise.
44288         * string/test-strnlen-ifunc.c: Likewise.
44289         * string/test-strpbrk-ifunc.c: Likewise.
44290         * string/test-strrchr-ifunc.c: Likewise.
44291         * string/test-strspn-ifunc.c: Likewise.
44292         * string/test-strstr-ifunc.c: Likewise.
44294 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44296         * benchtests/Makefile: Remove ifunc tests.
44297         * benchtests/bench-string.h: Define TEST_IFUNC.
44298         * benchtests/bench-bcopy-ifunc.c: Remove.
44299         * benchtests/bench-bzero-ifunc.c: Likewise.
44300         * benchtests/bench-memccpy-ifunc.c: Likewise.
44301         * benchtests/bench-memchr-ifunc.c: Likewise.
44302         * benchtests/bench-memcmp-ifunc.c: Likewise.
44303         * benchtests/bench-memcpy-ifunc.c: Likewise.
44304         * benchtests/bench-memmem-ifunc.c: Likewise.
44305         * benchtests/bench-memmove-ifunc.c: Likewise.
44306         * benchtests/bench-mempcpy-ifunc.c: Likewise.
44307         * benchtests/bench-memrchr-ifunc.c: Likewise.
44308         * benchtests/bench-memset-ifunc.c: Likewise.
44309         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
44310         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
44311         * benchtests/bench-stpcpy-ifunc.c: Likewise.
44312         * benchtests/bench-stpncpy-ifunc.c: Likewise.
44313         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
44314         * benchtests/bench-strcasestr-ifunc.c: Likewise.
44315         * benchtests/bench-strcat-ifunc.c: Likewise.
44316         * benchtests/bench-strchr-ifunc.c: Likewise.
44317         * benchtests/bench-strchrnul-ifunc.c: Likewise.
44318         * benchtests/bench-strcmp-ifunc.c: Likewise.
44319         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
44320         * benchtests/bench-strcpy-ifunc.c: Likewise.
44321         * benchtests/bench-strcspn-ifunc.c: Likewise.
44322         * benchtests/bench-strlen-ifunc.c: Likewise.
44323         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
44324         * benchtests/bench-strncat-ifunc.c: Likewise.
44325         * benchtests/bench-strncmp-ifunc.c: Likewise.
44326         * benchtests/bench-strncpy-ifunc.c: Likewise.
44327         * benchtests/bench-strnlen-ifunc.c: Likewise.
44328         * benchtests/bench-strpbrk-ifunc.c: Likewise.
44329         * benchtests/bench-strrchr-ifunc.c: Likewise.
44330         * benchtests/bench-strsep-ifunc.c: Likewise.
44331         * benchtests/bench-strspn-ifunc.c: Likewise.
44332         * benchtests/bench-strstr-ifunc.c: Likewise.
44334 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44336         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
44338 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44340         * resolv/netdb.h: Use __glibc_reserved instead __unused.
44341         * rt/aio.h: Likewise.
44342         * sysdeps/gnu/bits/utmp.h: Likewise.
44343         * sysdeps/gnu/bits/utmpx.h: Likewise.
44344         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
44345         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
44346         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
44347         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
44348         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
44349         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
44350         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
44351         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
44352         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
44353         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
44354         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
44355         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
44356         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
44357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
44358         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
44359         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
44360         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
44361         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
44362         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
44363         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
44364         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
44365         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
44366         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
44367         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44368         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
44369         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44370         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
44371         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
44372         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
44373         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
44374         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
44375         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
44376         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
44377         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
44378         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
44379         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
44380         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
44381         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
44382         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
44383         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
44384         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
44385         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
44387 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
44389         [BZ #16245]
44390         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
44391         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
44393 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
44395         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
44396         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
44397         Likewise.
44399 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44401         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
44402         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
44403         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
44404         (__fesetround): Remove define.
44405         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
44406         rounding and exceptions handling.
44407         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
44408         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
44409         (__fe_nomask_env): Likewise.
44410         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
44411         __fegetround instead of fegetround.
44412         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
44413         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
44415 2013-11-21  Roland McGrath  <roland@hack.frob.com>
44417         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
44418         it's there.
44420         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
44422 2013-11-21  Meador Inge  <meadori@codesourcery.com>
44424         [BZ #11157]
44425         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
44426         (encrypt_r): Likewise.
44427         * malloc/obstack.h (obstack_free): Likewise.
44428         * posix/unistd.h (encrypt): Likewise.
44430 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
44432         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
44433         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
44434         DL_CALL_DT_FINI() that call the functions directly.
44435         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
44436         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
44437         * elf/dl-fini.c: Likewise.
44439 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
44441         * malloc/hooks.c (memalign_check): Add alignment rounding.
44442         * malloc/malloc.c (_mid_memalign): New function.
44443         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
44444         Implement by calling _mid_memalign.
44445         * manual/probes.texi (Memory Allocation Probes): Remove
44446         memory_valloc_retry and memory_pvalloc_retry.
44448 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44450         * locale/programs/locarchive.c (open_archive): Add const
44451         qualifier to ARCHIVEFNAME and copy default fname to
44452         DEFAULT_FNAME.
44454         [BZ #15601]
44455         * libio/tst-widetext.input: Rename Oriya to Odia.
44456         * locale/iso-639.def: Likewise.
44458         * manual/probes.texi (Mathematical Function Probes): Add
44459         documentation for sin, cos, asin and acos probes.
44460         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
44461         (__sin32): Add slowasin probe.
44462         (__cos32): Add slowacos probe.
44463         (__mpsin): Add slowsin probe.
44464         (__mpcos): Add slowcos probe.
44466 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
44468         [BZ #15483]
44469         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
44470         thread-local __sim_exceptions_thread and global
44471         __sim_exceptions_global.
44472         (__sim_disabled_exceptions): Change to thread-local
44473         __sim_disabled_exceptions_thread and global
44474         __sim_disabled_exceptions_global.
44475         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44476         and global __sim_round_mode_global.
44477         (__simulate_exceptions): Use thread-local floating-point state and
44478         set global state from it as needed.
44479         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
44480         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
44481         __sim_round_mode_thread.
44482         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
44483         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
44484         and global __sim_exceptions_global.
44485         (__sim_disabled_exceptions): Change to thread-local
44486         __sim_disabled_exceptions_thread and global
44487         __sim_disabled_exceptions_global.
44488         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44489         and global __sim_round_mode_global.
44490         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
44491         (SIM_SET_GLOBAL): Likewise.
44492         * sysdeps/powerpc/soft-fp/sfp-machine.h
44493         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
44494         __sim_round_mode_thread.
44495         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
44496         __sim_disabled_exceptions_thread.
44497         (__sim_exceptions): Change to __sim_exceptions_thread.
44498         (__sim_disabled_exceptions): Change to
44499         __sim_disabled_exceptions_thread.
44500         (__sim_round_mode): Change to __sim_round_mode_thread.
44501         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
44502         thread-local floating-point state and set global state from it as
44503         needed.
44504         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
44505         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
44506         (__sim_disabled_exceptions): Remove extern declaration.
44507         (feenableexcept): Use thread-local floating-point state and set
44508         global state from it as needed.
44509         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
44510         extern declaration.
44511         (__sim_disabled_exceptions): Likewise.
44512         (__sim_round_mode): Likewise.
44513         (__fegetenv): Use thread-local floating-point state.
44514         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
44515         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44516         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
44517         floating-point state and set global state from it as needed.
44518         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
44519         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
44520         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
44521         Likewise.
44522         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
44523         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
44524         Likewise.
44525         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
44526         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
44527         Use __sim_round_mode_thread.
44528         * math/test-fenv-tls.c: New file.
44529         * math/Makefile (tests): Add test-fenv-tls.
44530         ($(objpfx)test-fenv-tls): Depend on
44531         $(common-objpfx)nptl/libpthread.so.
44533 2013-11-19  Andreas Schwab  <schwab@suse.de>
44535         * locale/programs/locale.c (show_info): Decode wordarray elements.
44536         * locale/categories.def (LC_MONETARY): Add element for
44537         _NL_MONETARY_CRNCYSTR.
44538         * locale/C-monetary.c (conversion_rate): New variable.
44539         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
44540         element.
44542 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
44544         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
44545         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
44547 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44549         * elf/Makefile (tst-auxv): New test.
44550         * elf/tst-auxv.c: New
44551         * elf/rtld.c (dl_main): Adjust AT_EXECFN
44553 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
44555         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
44556         (hidden_proto): Caller changed.
44557         (hidden_tls_proto): New macro.
44558         (libc_hidden_tls_proto): Likewise.
44559         (rtld_hidden_tls_proto): Likewise.
44560         (libm_hidden_tls_proto): Likewise.
44561         (libresolv_hidden_tls_proto): Likewise.
44562         (librt_hidden_tls_proto): Likewise.
44563         (libdl_hidden_tls_proto): Likewise.
44564         (libnss_files_hidden_tls_proto): Likewise.
44565         (libnsl_hidden_tls_proto): Likewise.
44566         (libnss_nisplus_hidden_tls_proto): Likewise.
44567         (libutil_hidden_tls_proto): Likewise.
44569 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
44571         [BZ #10253]
44572         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
44573         (decompose_rpath): Defer expansion to fillin_rpath.
44574         (_dl_init_paths): Pass linkmap to fillin_rpath.
44576 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
44578         * benchtests/Makefile: Add strsep.
44579         * benchtests/bench-strsep.c: New file: strsep benchtest.
44580         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
44582 2013-11-18  Andreas Schwab  <schwab@suse.de>
44584         * locale/programs/locale.c (show_info) [case byte]: Check for
44585         '\377' instead of '\177'.
44586         * locale/C-monetary.c (not_available): Always use "\377".
44587         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
44588         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
44589         detect unavailable sign_posn locale elements.
44590         * locale/localeconv.c (__localeconv): For grouping and
44591         mon_grouping handle "\177" and "\377" like no grouping.
44592         (INT_ELEM): New macro.  Use it to set all numeric members.
44593         * locale/programs/ld-monetary.c (monetary_read)
44594         <tok_mon_grouping>: Normalize single -1 to the empty string.
44595         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
44596         Likewise.
44598 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
44600         [BZ #16055]
44601         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
44602         when we match (nil).
44603         * stdio-common/tst-sscanf.c (struct test): Add testcase.
44605 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
44607         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
44608         (NO_TEST_INLINE): Update value.
44609         (ERRNO_UNCHANGED): Likewise.
44610         (ERRNO_EDOM): Likewise.
44611         (ERRNO_ERANGE): Likewise.
44612         (IGNORE_RESULT): Likewise.
44613         (check_float_internal): Check signs of NaN results if
44614         TEST_NAN_SIGN used.
44615         (check_complex): Pass TEST_NAN_SIGN flag through to second
44616         check_float_internal call.
44617         (copysign_test_data): Add tests with quiet NaNs as second
44618         argument.  Use TEST_NAN_SIGN.
44619         (fabs_test_data): Add test of negative quiet NaN argument.  Use
44620         TEST_NAN_SIGN.
44621         (signbit_test_data): Add tests of quiet NaN argument.
44622         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
44624         * math/gen-libm-test.pl (show_exceptions): Take extra argument
44625         $ignore_result.
44626         (parse_args): Handle function results specified as IGNORE.
44627         * math/libm-test.inc (IGNORE_RESULT): New macro.
44628         (check_float_internal): Do not check numerical result if flag
44629         IGNORE_RESULT set.
44630         (check_complex): Pass through IGNORE_RESULT to second
44631         check_float_internal call.
44632         (check_int): Do not check numerical result if flag IGNORE_RESULT
44633         set.
44634         (check_long): Likewise.
44635         (check_bool): Likewise.
44636         (check_longlong): Likewise.
44637         (lrint_test_data): Add tests of infinite and NaN arguments.
44638         (lrint_tonearest_test_data): Likewise.
44639         (lrint_towardzero_test_data): Likewise.
44640         (lrint_downward_test_data): Likewise.
44641         (lrint_upward_test_data): Likewise.
44642         (llrint_test_data): Likewise.
44643         (llrint_tonearest_test_data): Likewise.
44644         (llrint_towardzero_test_data): Likewise.
44645         (llrint_downward_test_data): Likewise.
44646         (llrint_upward_test_data): Likewise.
44647         (lround_test_data): Likewise.
44648         (llround_test_data): Likewise.
44650         * math/libm-test.inc (NO_TEST_INLINE): New macro.
44651         (ERRNO_UNCHANGED): Update value.
44652         (ERRNO_EDOM): Likewise.
44653         (ERRNO_ERANGE): Likewise.
44654         (NO_TEST_INLINE_FLOAT): New macro.
44655         (NO_TEST_INLINE_DOUBLE): Likewise.
44656         (enable_test): New function.
44657         (RUN_TEST_f_f): Check enable_test before running test.
44658         (RUN_TEST_2_f): Likewise.
44659         (RUN_TEST_fff_f): Likewise.
44660         (RUN_TEST_c_f): Likewise.
44661         (RUN_TEST_f_f1): Likewise.
44662         (RUN_TEST_fF_f1): Likewise.
44663         (RUN_TEST_fI_f1): Likewise.
44664         (RUN_TEST_ffI_f1): Likewise.
44665         (RUN_TEST_c_c): Likewise.
44666         (RUN_TEST_cc_c): Likewise.
44667         (RUN_TEST_f_i): Likewise.
44668         (RUN_TEST_f_i_tg): Likewise.
44669         (RUN_TEST_ff_i_tg): Likewise.
44670         (RUN_TEST_f_b): Likewise.
44671         (RUN_TEST_f_b_tg): Likewise.
44672         (RUN_TEST_f_l): Likewise.
44673         (RUN_TEST_f_L): Likewise.
44674         (RUN_TEST_fFF_11): Likewise.
44675         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
44676         conditionals.
44677         (cosh_test_data): Likewise.
44678         (exp_test_data): Likewise.
44679         (expm1_test_data): Likewise.
44680         (hypot_test_data): Likewise.
44681         (pow_test_data): Likewise.
44682         (sinh_test_data): Likewise.
44683         (tanh_test_data): Likewise.
44684         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
44685         flags argument.
44687         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
44688         tests with quiet NaN input and output.
44689         (acosh_test_data): Likewise.
44690         (asin_test_data): Likewise.
44691         (asinh_test_data): Likewise.
44692         (atan_test_data): Likewise.
44693         (atanh_test_data): Likewise.
44694         (atan2_test_data): Likewise.
44695         (cbrt_test_data): Likewise.
44696         (cos_test_data): Likewise.
44697         (cosh_test_data): Likewise.
44698         (erf_test_data): Likewise.
44699         (erfc_test_data): Likewise.
44700         (exp_test_data): Likewise.
44701         (exp10_test_data): Likewise.
44702         (exp2_test_data): Likewise.
44703         (expm1_test_data): Likewise.
44704         (hypot_test_data): Likewise.
44705         (j0_test_data): Likewise.
44706         (j1_test_data): Likewise.
44707         (jn_test_data): Likewise.
44708         (lgamma_test_data): Likewise.
44709         (log_test_data): Likewise.
44710         (log10_test_data): Likewise.
44711         (log1p_test_data): Likewise.
44712         (log2_test_data): Likewise.
44713         (pow_test_data): Likewise.
44714         (scalb_test_data): Likewise.
44715         (sin_test_data): Likewise.
44716         (sincos_test_data): Likewise.
44717         (sinh_test_data): Likewise.
44718         (tan_test_data): Likewise.
44719         (tanh_test_data): Likewise.
44720         (tgamma_test_data): Likewise.
44721         (y0_test_data): Likewise.
44722         (y1_test_data): Likewise.
44723         (yn_test_data): Likewise.
44725         [BZ #16167]
44726         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
44727         argument being NaN and avoid computations with second argument in
44728         that case.
44729         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44730         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
44731         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44733 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
44735         * locale/iso-639.def: Add Chitwani Tharu (the).
44737 2013-11-14  Andreas Schwab  <schwab@suse.de>
44739         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
44740         word instead of empty string.
44742 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44745         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
44746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44747         (__fe_nomask_env): Likewise.
44749 2013-11-13  Steve Ellcey  <sellcey@mips.com>
44751         * benchtests/bench-timing.h: Include time.h.
44753 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
44755         [BZ #15997]
44756         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
44757         to 3.4.0 for x32.
44758         * sysdeps/unix/sysv/linux/configure: Regenerated.
44760 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
44762         [BZ #16151]
44763         * stdlib/strtod_l.c (round_and_return): Do not consider
44764         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
44765         exponent one less than half the least subnormal exponent.
44766         * stdlib/test-strtod-round-data: Add more tests.
44767         * stdlib/tst-strtod-round.c (tests): Regenerated.
44769 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44771         [BZ #14143]
44772         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
44773         (__fe_mask_env): Likewise.
44774         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
44775         libm_hidden_proto and add function prototype.
44776         (__fe_mask_env): Add function prototype.
44777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44778         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
44779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44780         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
44781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44782         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
44784 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44786         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
44787         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
44789 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44791         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
44792         of htab_find_slot().
44794 2013-11-11  David S. Miller  <davem@davemloft.net>
44796         [BZ #16150]
44797         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
44798         symbol in the non-vis3 case in static builds.
44799         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
44800         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
44801         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
44802         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
44804 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
44806         [BZ #387]
44807         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
44808         it is empty.
44810 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44812         * benchtests/Makefile: Add bench-strtod.
44813         * benchtests/bench-strtod.c: New file: strtod benchtest
44815 2013-11-11  Andreas Schwab  <schwab@suse.de>
44817         [BZ #16153]
44818         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
44819         terminating NUL in key length.
44821 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44823         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44824         Add artificial ODP entry for vDSO symbol for PPC64.
44825         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
44826         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
44828 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
44830         [BZ #15374]
44831         * nss/getent.c (services_keys): Recognize services starting with digit.
44833 2013-11-06  David S. Miller  <davem@davemloft.net>
44835         [BZ #15985]
44836         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
44837         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
44839 2013-11-06  Will Newton  <will.newton@linaro.org>
44841         * manual/memory.texi (Malloc Examples): Remove register
44842         keyword from examples.
44844 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
44846         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
44848 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
44850         [BZ #6981]
44851         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
44852         depending on [__GCC_IEC_559 > 0].
44853         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
44854         depending on [__GCC_IEC_559_COMPLEX > 0].
44856 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
44858         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
44859         to iso-639.def.
44861 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
44863         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
44865 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
44867         [BZ #16112]
44868         * malloc/malloc (malloc_info): Do not handle first bin as
44869         special case.
44871 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
44873         * locale/iso-639.def: Add Central Nahuatl (nhn).
44875 2013-11-01  Bruno Haible  <bruno@clisp.org>
44877         [BZ #7003]
44878         * manual/math.texi (BSD Random): Specify range upper bound as
44879         in POSIX.
44881 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
44883         * locale/iso-639.def: Add Meadow Mari (mhr).
44885 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
44887         [BZ #14752], [BZ #15763]
44888         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
44889         Validate name.
44890         * rt/tst_shm.c: Add test for escaping directory.
44892 2013-10-31  Andreas Schwab  <schwab@suse.de>
44894         [BZ #15917]
44895         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
44896         followed by 'x' as part of digit sequence.
44897         * stdio-common/tst-sscanf.c (double_tests2): New tests.
44899 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
44901         [BZ #16037]
44902         * configure.ac: allow GNU Make 4.0 and greater.
44903         * configure: Regenerated.
44905 2013-10-30  Will Newton  <will.newton@linaro.org>
44907         [BZ #16038]
44908         * malloc/hooks.c (memalign_check): Limit alignment to the
44909         maximum representable power of two.
44910         * malloc/malloc.c (__libc_memalign): Likewise.
44911         * malloc/tst-memalign.c (do_test): Add test for very
44912         large alignment values.
44913         * malloc/tst-posix_memalign.c (do_test): Likewise.
44915 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
44917         [BZ #11087]
44918         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
44919         (munmap_chunk): Likewise.
44920         (mremap_chunk): Likewise.
44922 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
44924         [BZ #15799]
44925         * stdlib/div.c (div): Remove obsolete code.
44926         * stdlib/ldiv.c (ldiv): Likewise.
44927         * stdlib/lldiv.c (lldiv): Likewise.
44929 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44931         [BZ #16071]
44932         * nss/nss_files/files-XXX.c (get_contents_ret): New
44933         enumerator.
44934         (get_contents): New function.
44935         (internal_getent): Use it.  Expand size of LINEBUFLEN.
44937 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
44939         * configure.in: Moved to ...
44940         * configure.ac: ... here. Change reference to configure.in
44941         to configure.ac.
44942         * sysdeps/arm/preconfigure.ac: ... here.
44943         configure.in to configure.ac.
44944         * sysdeps/gnu/configure.in: Moved to ...
44945         * sysdeps/gnu/configure.ac: ... here.
44946         * sysdeps/i386/configure.in: Moved to ...
44947         * sysdeps/i386/configure.ac: ... here.
44948         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
44949         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
44950         * sysdeps/mach/configure.in: Moved to ...
44951         * sysdeps/mach/configure.ac: ... here.
44952         * sysdeps/mach/hurd/configure.in: Moved to ...
44953         * sysdeps/mach/hurd/configure.ac: ... here.
44954         * sysdeps/powerpc/configure.in: Moved to ...
44955         * sysdeps/powerpc/configure.ac: ... here.
44956         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
44957         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
44958         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
44959         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
44960         * sysdeps/s390/s390-32/configure.in: Moved to ...
44961         * sysdeps/s390/s390-32/configure.ac: ... here.
44962         * sysdeps/s390/s390-64/configure.in: Moved to ...
44963         * sysdeps/s390/s390-64/configure.ac: ... here.
44964         * sysdeps/sh/configure.in: Moved to ...
44965         * sysdeps/sh/configure.ac: ... here.
44966         * sysdeps/sparc/configure.in: Moved to ...
44967         * sysdeps/sparc/configure.ac: ... here.
44968         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
44969         * sysdeps/unix/sysv/linux/configure.ac: ... here.
44970         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
44971         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
44972         * sysdeps/x86_64/configure.in: Moved to ...
44973         * sysdeps/x86_64/configure.ac: ... here.
44974         * sysdeps/x86_64/preconfigure.in: Moved to ...
44975         * sysdeps/x86_64/preconfigure.ac: ... here.
44976         * aclocal.m4: Change reference to configure.in to configure.ac.
44977         * config.h.in: Likewise.
44978         * manual/install.texi: Likewise.
44979         * manual/maint.texi: Likewise.
44980         * Makefile: Likewise.
44981         * malloc/Makefile: Likewise.
44982         * nscd/Makefile: Likewise.
44983         * Makeconfig: Change reference to configure.in and
44984         preconfigure.in to configure.ac and preconfigure.ac
44985         respectively.
44986         * INSTALL: Regenerated.
44987         * configure: Likewise.
44988         * sysdeps/gnu/configure: Likewise.
44989         * sysdeps/i386/configure: Likewise.
44990         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
44991         * sysdeps/mach/configure: Likewise.
44992         * sysdeps/mach/hurd/configure: Likewise.
44993         * sysdeps/powerpc/configure: Likewise.
44994         * sysdeps/powerpc/powerpc32/configure: Likewise.
44995         * sysdeps/powerpc/powerpc64/configure: Likewise.
44996         * sysdeps/s390/s390-32/configure: Likewise.
44997         * sysdeps/s390/s390-64/configure: Likewise.
44998         * sysdeps/sh/configure: Likewise.
44999         * sysdeps/sparc/configure: Likewise.
45000         * sysdeps/unix/sysv/linux/configure: Likewise.
45001         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
45002         * sysdeps/x86_64/configure: Likewise.
45003         * sysdeps/x86_64/preconfigure: Likewise.
45005 2013-10-29  Andreas Schwab  <schwab@suse.de>
45007         * stdio-common/Makefile (tst-swscanf-ENV): Define.
45009 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45011         * benchtests/pow-inputs: Add new inputs.
45013         * benchtests/exp-inputs: Add new inputs.
45015         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
45016         conditional check for return value.
45017         (__cos32): Likewise.
45019 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45021         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
45022         to provide a boost for large inputs with word alignment.
45023         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
45024         implementation based on optimized PPC64 strcpy.
45025         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
45026         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
45027         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
45028         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
45030 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45032         [BZ #2801]
45033         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
45035 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45037         [BZ #14876]
45038         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
45039         * time/tst-strptime.c (day_tests): Add testcase.
45041 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45043         [BZ #14029]
45044         * manual/pattern.texi: Acknowledge that fnmatch can fail.
45046 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
45048         [BZ #16074]
45049         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
45050         MAP_FAILED on error.
45052 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45054         [BZ #16072]
45055         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
45056         heap for large requests.
45058 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
45060         [BZ #9954]
45061         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
45062         result if the result has no associated interface.
45063         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
45064         interface for all 127.X.Y.Z addresses.
45066 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
45068         * locale/iso-639.def: Add Ligurian (lij)
45070 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
45072         [BZ #15825]
45073         * sunrpc/rpc_main.c: Document rpcgen -5.
45075 2013-10-19  Michael Stahl  <mstahl@redhat.com>
45077         * elf/rtld.c (do_preload): Print the reason why preloading failed.
45079 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
45081         [BZ #10278]
45082         * posix/glob.c: Match only directories when trailing slash is present.
45083         * posix/tst-gnuglob.c (my_opendir): Do not open files.
45084         (main): Add testcase.
45086 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
45088         [BZ #15670]
45089         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
45091 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
45093         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
45094         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
45095         AUTH_DES and cindex for FIPS 140-2.
45096         (DES Encryption): Add cindex FIPS 46-3.
45098         * locale/locarchive.h (struct locarhandle): Add fname.
45099         * locale/programs/localedef.c (main): Pass ARGV[remaining]
45100         if an optional argument was specified to --list-archive,
45101         otherwise NULL.
45102         * locale/programs/locarchive.c (show_archive_content): Take new
45103         argument fname and pass it via ah.fname to open_archive.
45104         * locale/programs/localedef.h: Update decl.
45105         (open_archive): If AH->fname is non-null, open that file
45106         rather than the default file name, and don't ignore ENOENT.
45107         (create_archive): Set AH.fname to NULL.
45108         (delete_locales_from_archive): Likewise.
45109         (add_locales_to_archive): Likewise.
45110         * locale/programs/locfile.c (write_all_categories): Likewise.
45112 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
45113             Aldy Hernandez  <aldyh@redhat.com>
45115         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
45116         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
45117         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
45118         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
45119         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
45120         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
45121         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
45122         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
45123         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
45124         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
45125         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
45126         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
45127         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
45128         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
45129         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
45130         Likewise.
45131         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
45132         Likewise.
45133         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
45134         Likewise.
45135         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
45136         Likewise.
45137         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
45138         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
45139         Likewise.
45140         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
45141         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
45142         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
45143         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
45144         Likewise.
45145         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
45146         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
45147         * sysdeps/powerpc/preconfigure: Likewise.
45148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
45149         Likewise.
45150         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
45151         Replace contents of file by #include of <fenv_libc.h>.
45152         * sysdeps/powerpc/soft-fp/sfp-machine.h
45153         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
45154         and <sys/prctl.h>.
45155         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
45156         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
45157         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
45158         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
45159         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
45160         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
45161         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
45162         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
45163         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
45164         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
45165         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
45166         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
45167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45168         Allow copysignl PLT reference to be missing.
45170 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
45171             Joseph Myers  <joseph@codesourcery.com
45173         [BZ #15948]
45174         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
45175         single character.
45176         (add_to_tablewc): Assert sequence of wide characters is nonempty.
45178 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45180         * elf/tst-tls-dlinfo.c: Don't include tls.h.
45181         * elf/tst-tls1.c: Likewise.
45182         * elf/tst-tls10.h: Likewise.
45183         * elf/tst-tls14.c: Likewise.
45184         * elf/tst-tls2.c: Likewise.
45185         * elf/tst-tls3.c: Likewise.
45186         * elf/tst-tls4.c: Likewise.
45187         * elf/tst-tls5.c: Likewise.
45188         * elf/tst-tls6.c: Likewise.
45189         * elf/tst-tls7.c: Likewise.
45190         * elf/tst-tls8.c: Likewise.
45191         * elf/tst-tls9.c: Likewise.
45192         * elf/tst-tlsmod1.c: Likewise.
45193         * elf/tst-tlsmod13.c: Likewise.
45194         * elf/tst-tlsmod13a.c: Likewise.
45195         * elf/tst-tlsmod14a.c: Likewise.
45196         * elf/tst-tlsmod16a.c: Likewise.
45197         * elf/tst-tlsmod16b.c: Likewise.
45198         * elf/tst-tlsmod2.c: Likewise.
45199         * elf/tst-tlsmod3.c: Likewise.
45200         * elf/tst-tlsmod4.c: Likewise.
45201         * elf/tst-tlsmod5.c: Likewise.
45202         * elf/tst-tlsmod6.c: Likewise.
45204 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
45206         [BZ #12486]
45207         * malloc/malloc.c: remove checks for statistics.
45209 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45211         [BZ #15277]
45212         * inet/inet_net.c (inet_network): Detect additional invalid strings.
45213         * inet/tst-network.c: Add testcase.
45215 2013-10-17  Andreas Schwab  <schwab@suse.de>
45217         [BZ #15218]
45218         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
45219         to determine canonical name.
45221 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45223         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
45224         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
45225         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45226         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45227         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45228         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45229         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45230         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45231         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45232         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45233         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45234         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45235         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45236         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45237         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45238         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45239         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45240         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45241         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45242         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45243         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45244         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45245         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45246         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
45247         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
45248         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45249         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45250         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
45251         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45252         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
45253         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45254         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45255         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45256         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45257         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45258         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45259         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45260         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45261         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45262         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45263         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45264         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45265         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45266         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45267         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45268         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45269         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45270         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45271         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45272         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45273         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45274         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45275         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45276         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45277         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45278         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45279         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45280         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45282 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
45284         [BZ #16041]
45285         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
45286         make result into a quiet NaN.
45288 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
45290         * soft-fp/adddf3.c: Fix horizontal whitespace.
45291         * soft-fp/addsf3.c: Likewise.
45292         * soft-fp/addtf3.c: Likewise.
45293         * soft-fp/divdf3.c: Likewise.
45294         * soft-fp/divsf3.c: Likewise.
45295         * soft-fp/divtf3.c: Likewise.
45296         * soft-fp/double.h: Likewise.
45297         * soft-fp/eqdf2.c: Likewise.
45298         * soft-fp/eqsf2.c: Likewise.
45299         * soft-fp/eqtf2.c: Likewise.
45300         * soft-fp/extenddftf2.c: Likewise.
45301         * soft-fp/extended.h: Likewise.
45302         * soft-fp/extendsfdf2.c: Likewise.
45303         * soft-fp/extendsftf2.c: Likewise.
45304         * soft-fp/extendxftf2.c: Likewise.
45305         * soft-fp/fixdfdi.c: Likewise.
45306         * soft-fp/fixdfsi.c: Likewise.
45307         * soft-fp/fixdfti.c: Likewise.
45308         * soft-fp/fixsfdi.c: Likewise.
45309         * soft-fp/fixsfsi.c: Likewise.
45310         * soft-fp/fixsfti.c: Likewise.
45311         * soft-fp/fixtfdi.c: Likewise.
45312         * soft-fp/fixtfsi.c: Likewise.
45313         * soft-fp/fixtfti.c: Likewise.
45314         * soft-fp/fixunsdfdi.c: Likewise.
45315         * soft-fp/fixunsdfsi.c: Likewise.
45316         * soft-fp/fixunsdfti.c: Likewise.
45317         * soft-fp/fixunssfdi.c: Likewise.
45318         * soft-fp/fixunssfsi.c: Likewise.
45319         * soft-fp/fixunssfti.c: Likewise.
45320         * soft-fp/fixunstfdi.c: Likewise.
45321         * soft-fp/fixunstfsi.c: Likewise.
45322         * soft-fp/fixunstfti.c: Likewise.
45323         * soft-fp/floatdidf.c: Likewise.
45324         * soft-fp/floatdisf.c: Likewise.
45325         * soft-fp/floatditf.c: Likewise.
45326         * soft-fp/floatsidf.c: Likewise.
45327         * soft-fp/floatsisf.c: Likewise.
45328         * soft-fp/floatsitf.c: Likewise.
45329         * soft-fp/floattidf.c: Likewise.
45330         * soft-fp/floattisf.c: Likewise.
45331         * soft-fp/floattitf.c: Likewise.
45332         * soft-fp/floatundidf.c: Likewise.
45333         * soft-fp/floatundisf.c: Likewise.
45334         * soft-fp/floatunditf.c: Likewise.
45335         * soft-fp/floatunsidf.c: Likewise.
45336         * soft-fp/floatunsisf.c: Likewise.
45337         * soft-fp/floatunsitf.c: Likewise.
45338         * soft-fp/floatuntidf.c: Likewise.
45339         * soft-fp/floatuntisf.c: Likewise.
45340         * soft-fp/floatuntitf.c: Likewise.
45341         * soft-fp/fmadf4.c: Likewise.
45342         * soft-fp/fmasf4.c: Likewise.
45343         * soft-fp/fmatf4.c: Likewise.
45344         * soft-fp/gedf2.c: Likewise.
45345         * soft-fp/gesf2.c: Likewise.
45346         * soft-fp/getf2.c: Likewise.
45347         * soft-fp/ledf2.c: Likewise.
45348         * soft-fp/lesf2.c: Likewise.
45349         * soft-fp/letf2.c: Likewise.
45350         * soft-fp/muldf3.c: Likewise.
45351         * soft-fp/mulsf3.c: Likewise.
45352         * soft-fp/multf3.c: Likewise.
45353         * soft-fp/negdf2.c: Likewise.
45354         * soft-fp/negsf2.c: Likewise.
45355         * soft-fp/negtf2.c: Likewise.
45356         * soft-fp/op-1.h: Likewise.
45357         * soft-fp/op-2.h: Likewise.
45358         * soft-fp/op-4.h: Likewise.
45359         * soft-fp/op-8.h: Likewise.
45360         * soft-fp/op-common.h: Likewise.
45361         * soft-fp/quad.h: Likewise.
45362         * soft-fp/single.h: Likewise.
45363         * soft-fp/soft-fp.h: Likewise.
45364         * soft-fp/sqrtdf2.c: Likewise.
45365         * soft-fp/sqrtsf2.c: Likewise.
45366         * soft-fp/sqrttf2.c: Likewise.
45367         * soft-fp/subdf3.c: Likewise.
45368         * soft-fp/subsf3.c: Likewise.
45369         * soft-fp/subtf3.c: Likewise.
45370         * soft-fp/truncdfsf2.c: Likewise.
45371         * soft-fp/trunctfdf2.c: Likewise.
45372         * soft-fp/trunctfsf2.c: Likewise.
45373         * soft-fp/trunctfxf2.c: Likewise.
45374         * soft-fp/unorddf2.c: Likewise.
45375         * soft-fp/unordsf2.c: Likewise.
45376         * soft-fp/unordtf2.c: Likewise.
45378 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
45380         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
45381         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
45383 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
45385         * elf/dl-libc.c: Clear initfini list after freeing.
45387 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
45389         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
45390         * soft-fp/addsf3.c: Likewise.
45391         * soft-fp/addtf3.c: Likewise.
45392         * soft-fp/divdf3.c: Likewise.
45393         * soft-fp/divsf3.c: Likewise.
45394         * soft-fp/divtf3.c: Likewise.
45395         * soft-fp/double.h: Likewise.
45396         * soft-fp/eqdf2.c: Likewise.
45397         * soft-fp/eqsf2.c: Likewise.
45398         * soft-fp/eqtf2.c: Likewise.
45399         * soft-fp/extenddftf2.c: Likewise.
45400         * soft-fp/extended.h: Likewise.
45401         * soft-fp/extendsfdf2.c: Likewise.
45402         * soft-fp/extendsftf2.c: Likewise.
45403         * soft-fp/extendxftf2.c: Likewise.
45404         * soft-fp/fixdfdi.c: Likewise.
45405         * soft-fp/fixdfsi.c: Likewise.
45406         * soft-fp/fixdfti.c: Likewise.
45407         * soft-fp/fixsfdi.c: Likewise.
45408         * soft-fp/fixsfsi.c: Likewise.
45409         * soft-fp/fixsfti.c: Likewise.
45410         * soft-fp/fixtfdi.c: Likewise.
45411         * soft-fp/fixtfsi.c: Likewise.
45412         * soft-fp/fixtfti.c: Likewise.
45413         * soft-fp/fixunsdfdi.c: Likewise.
45414         * soft-fp/fixunsdfsi.c: Likewise.
45415         * soft-fp/fixunsdfti.c: Likewise.
45416         * soft-fp/fixunssfdi.c: Likewise.
45417         * soft-fp/fixunssfsi.c: Likewise.
45418         * soft-fp/fixunssfti.c: Likewise.
45419         * soft-fp/fixunstfdi.c: Likewise.
45420         * soft-fp/fixunstfsi.c: Likewise.
45421         * soft-fp/fixunstfti.c: Likewise.
45422         * soft-fp/floatdidf.c: Likewise.
45423         * soft-fp/floatdisf.c: Likewise.
45424         * soft-fp/floatditf.c: Likewise.
45425         * soft-fp/floatsidf.c: Likewise.
45426         * soft-fp/floatsisf.c: Likewise.
45427         * soft-fp/floatsitf.c: Likewise.
45428         * soft-fp/floattidf.c: Likewise.
45429         * soft-fp/floattisf.c: Likewise.
45430         * soft-fp/floattitf.c: Likewise.
45431         * soft-fp/floatundidf.c: Likewise.
45432         * soft-fp/floatundisf.c: Likewise.
45433         * soft-fp/floatunsidf.c: Likewise.
45434         * soft-fp/floatunsisf.c: Likewise.
45435         * soft-fp/floatuntidf.c: Likewise.
45436         * soft-fp/floatuntisf.c: Likewise.
45437         * soft-fp/floatuntitf.c: Likewise.
45438         * soft-fp/fmadf4.c: Likewise.
45439         * soft-fp/fmasf4.c: Likewise.
45440         * soft-fp/fmatf4.c: Likewise.
45441         * soft-fp/gedf2.c: Likewise.
45442         * soft-fp/gesf2.c: Likewise.
45443         * soft-fp/getf2.c: Likewise.
45444         * soft-fp/ledf2.c: Likewise.
45445         * soft-fp/lesf2.c: Likewise.
45446         * soft-fp/letf2.c: Likewise.
45447         * soft-fp/muldf3.c: Likewise.
45448         * soft-fp/mulsf3.c: Likewise.
45449         * soft-fp/multf3.c: Likewise.
45450         * soft-fp/negdf2.c: Likewise.
45451         * soft-fp/negsf2.c: Likewise.
45452         * soft-fp/negtf2.c: Likewise.
45453         * soft-fp/op-1.h: Likewise.
45454         * soft-fp/op-2.h: Likewise.
45455         * soft-fp/op-4.h: Likewise.
45456         * soft-fp/op-8.h: Likewise.
45457         * soft-fp/op-common.h: Likewise.
45458         * soft-fp/quad.h: Likewise.
45459         * soft-fp/single.h: Likewise.
45460         * soft-fp/soft-fp.h: Likewise.
45461         * soft-fp/sqrtdf2.c: Likewise.
45462         * soft-fp/sqrtsf2.c: Likewise.
45463         * soft-fp/sqrttf2.c: Likewise.
45464         * soft-fp/subdf3.c: Likewise.
45465         * soft-fp/subsf3.c: Likewise.
45466         * soft-fp/subtf3.c: Likewise.
45467         * soft-fp/truncdfsf2.c: Likewise.
45468         * soft-fp/trunctfdf2.c: Likewise.
45469         * soft-fp/trunctfsf2.c: Likewise.
45470         * soft-fp/trunctfxf2.c: Likewise.
45471         * soft-fp/unorddf2.c: Likewise.
45472         * soft-fp/unordsf2.c: Likewise.
45473         * soft-fp/unordtf2.c: Likewise.
45475 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
45477         [BZ #15672]
45478         * misc/error.c (error_tail): Fix possible buffer overflow.
45480 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
45482         [BZ #13028]
45483         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
45484         address.
45486 2013-10-14  P. J. McDermott  <pj@pehjota.net>
45488         [BZ #832]
45489         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
45490         testing pipefail option.
45492 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45494         * soft-fp/double.h: Indent preprocessor directives inside #if.
45495         * soft-fp/extended.h: Likewise.
45496         * soft-fp/op-2.h: Likewise.
45497         * soft-fp/op-4.h: Likewise.
45498         * soft-fp/op-common.h: Likewise.
45499         * soft-fp/quad.h: Likewise.
45500         * soft-fp/single.h: Likewise.
45501         * soft-fp/soft-fp.h: Likewise.
45503 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
45505         * iconv/iconv_prog.c: Fix typos.
45506         * stdio-common/psiginfo-data.h: Likewise.
45508 2013-10-12   Reuben Thomas <rrt@sc3d.org>
45510         [BZ #15764]
45511         * locale/setlocale.c: Fix typo.
45513 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45515         [BZ #16036]
45516         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
45517         signaling NaN arguments.
45518         * soft-fp/unordsf2.c (__unordsf2): Likewise.
45519         * soft-fp/unordtf2.c (__unordtf2): Likewise.
45521         [BZ #14910]
45522         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
45523         unordered operands.
45524         * soft-fp/gesf2.c (__gesf2): Likewise.
45525         * soft-fp/getf2.c (__getf2): Likewise.
45526         * soft-fp/ledf2.c (__ledf2): Likewise.
45527         * soft-fp/lesf2.c (__lesf2): Likewise.
45528         * soft-fp/letf2.c (__letf2): Likewise.
45530         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
45531         * soft-fp/eqsf2.c (__eqsf2): Likewise.
45532         * soft-fp/eqtf2.c (__eqtf2): Likewise.
45533         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
45534         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
45535         * soft-fp/fixdfti.c (__fixdfti): Likewise.
45536         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
45537         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
45538         * soft-fp/fixsfti.c (__fixsfti): Likewise.
45539         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
45540         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
45541         * soft-fp/fixtfti.c (__fixtfti): Likewise.
45542         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
45543         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
45544         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
45545         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
45546         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
45547         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
45548         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
45549         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
45550         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
45551         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
45552         * soft-fp/floatdisf.c (__floatdisf): Likewise.
45553         * soft-fp/floatsisf.c (__floatsisf): Likewise.
45554         * soft-fp/floattidf.c (__floattidf): Likewise.
45555         * soft-fp/floattisf.c (__floattisf): Likewise.
45556         * soft-fp/floattitf.c (__floattitf): Likewise.
45557         * soft-fp/floatundidf.c (__floatundidf): Likewise.
45558         * soft-fp/floatundisf.c (__floatundisf): Likewise.
45559         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
45560         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
45561         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
45562         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
45563         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
45564         * soft-fp/gesf2.c (__gesf2): Likewise.
45565         * soft-fp/getf2.c (__getf2): Likewise.
45566         * soft-fp/ledf2.c (__ledf2): Likewise.
45567         * soft-fp/lesf2.c (__lesf2): Likewise.
45568         * soft-fp/letf2.c (__letf2): Likewise.
45570         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
45571         Undefine and redefine.
45572         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
45573         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
45574         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
45575         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
45576         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45577         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
45578         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45579         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
45580         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45581         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
45582         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45583         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
45584         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45585         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
45586         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45588         [BZ #16032]
45589         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
45590         without decrementing exponent if mantissa >= that for the
45591         denominator, not >.
45592         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
45593         denominator, not >.  Decrement exponent in < case instead of
45594         incrementing in >= case.
45595         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
45596         without decrementing exponent if mantissa >= that for the
45597         denominator, not >.
45599         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
45600         computing saturated result for unsigned overflow.
45602 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45603             Jeff Law  <law@redhat.com>
45605         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
45606         (atan2Mp): Add systemtap probe marker.
45607         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
45608         (__ieee754_log): Add systemtap probe marker.
45609         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
45610         (atanMp): Add systemtap probe marker.
45611         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
45612         (tanMp): Add systemtap probe marker.
45613         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
45614         (__slowexp): Add systemtap probe marker.
45615         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
45616         (__slowpow): Add systemtap probe marker.
45617         * manual/probes.texi: Document probes.
45619 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
45621         [BZ #15362]
45622         * libio/fileops.c (_IO_new_file_write): Return count of bytes
45623         written.
45624         (_IO_new_file_xsputn): Don't return EOF if nothing has been
45625         written.
45626         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
45627         written to buffer but not flushed.
45628         * libio/iofwrite_u.c:  Likewise.
45629         * libio/iopadn.c:  Return bytes returned even if EOF was
45630         encountered.
45631         * libio/iowpadn.c:  Likewise.
45632         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
45633         if _IO_padn does not write the whole buffer.
45634         [!COMPILE_WPRINTF] (PAD): Likewise.
45636 2013-10-10  David S. Miller  <davem@davemloft.net>
45638         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
45639         directory block.
45641 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
45643         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
45644         instead of FSF address.
45645         * soft-fp/fixdfti.c: Likewise.
45646         * soft-fp/fixsfti.c: Likewise.
45647         * soft-fp/fixtfti.c: Likewise.
45648         * soft-fp/fixunsdfti.c: Likewise.
45649         * soft-fp/fixunssfti.c: Likewise.
45650         * soft-fp/fixunstfti.c: Likewise.
45651         * soft-fp/floattidf.c: Likewise.
45652         * soft-fp/floattisf.c: Likewise.
45653         * soft-fp/floattitf.c: Likewise.
45654         * soft-fp/floatuntidf.c: Likewise.
45655         * soft-fp/floatuntisf.c: Likewise.
45656         * soft-fp/floatuntitf.c: Likewise.
45657         * soft-fp/trunctfxf2.c: Likewise.
45659         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
45660         * soft-fp/fixdfti.c: Likewise.
45661         * soft-fp/fixsfti.c: Likewise.
45662         * soft-fp/fixtfti.c: Likewise.
45663         * soft-fp/fixunsdfti.c: Likewise.
45664         * soft-fp/fixunssfti.c: Likewise.
45665         * soft-fp/fixunstfti.c: Likewise.
45666         * soft-fp/floattidf.c: Likewise.
45667         * soft-fp/floattisf.c: Likewise.
45668         * soft-fp/floattitf.c: Likewise.
45669         * soft-fp/floatuntidf.c: Likewise.
45670         * soft-fp/floatuntisf.c: Likewise.
45671         * soft-fp/floatuntitf.c: Likewise.
45672         * soft-fp/trunctfxf2.c: Likewise.
45674 2013-10-10  David S. Miller  <davem@davemloft.net>
45676         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45678 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
45680         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
45681         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
45682         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
45683         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
45684         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
45685         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
45686         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
45688         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
45689         for NaNs before doing comparisons on argument.
45690         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
45691         Likewise.
45693 2013-10-10  Will Newton  <will.newton@linaro.org>
45695         * malloc/hooks.c (memalign_check): Ensure the value of bytes
45696         passed to _int_memalign does not overflow.
45698 2013-10-10  Torvald Riegel  <triegel@redhat.com>
45700         * scripts/bench.pl: Add include-sources directive.
45701         * benchtests/README: Update documentation.
45703 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
45705         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
45706         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
45707         instead of FP_INIT_ROUNDMODE.
45708         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
45709         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
45711         [BZ #16034]
45712         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
45713         copy class of input value.
45714         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
45715         not handle exceptions.
45716         * soft-fp/negsf2.c (__negsf2): Likewise.
45717         * soft-fp/negtf2.c (__negtf2): Likewise.
45718         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
45720 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
45722         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
45723         semicolon.  From Linux kernel.
45725 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
45727         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
45729 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
45731         [BZ #156]
45732         * manual/socket.texi: Added statement about buffer
45733         for gethostbyname2_r.
45735 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
45737         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
45738         Use .p2align directive instead, throughout.
45739         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
45740         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
45741         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
45742         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45743         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45744         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
45745         * sysdeps/x86_64/strchr.S: Likewise.
45746         * sysdeps/x86_64/strrchr.S: Likewise.
45748 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45750         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
45752         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
45754         * sysdeps/generic/math_private.h (__mpsin1): Remove
45755         declaration.
45756         (__mpcos1): Likewise.
45757         (__mpsin): New argument __range_reduce.
45758         (__mpcos): Likewise.
45759         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45760         (slow): Use __mpsin and __mpcos.
45761         (slow1): Likewise.
45762         (slow2): Likewise.
45763         (sloww): Likewise.
45764         (sloww1): Likewise.
45765         (sloww2): Likewise.
45766         (bsloww): Likewise.
45767         (bsloww1): Likewise.
45768         (bsloww2): Likewise.
45769         (cslow2): Likewise.
45770         (csloww): Likewise.
45771         (csloww1): Likewise.
45772         (csloww2): Likewise.
45773         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
45774         range_reduce.  Merge in __mpsin1.
45775         (__mpcos): Likewise.
45776         (__mpsin1): Remove.
45777         (__mpcos1): Likewise.
45779 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
45781         * locale/loadlocale.c (_nl_intern_locale_data): Use
45782         LOCFILE_ALIGNED_P.
45783         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
45784         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
45785         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
45786         obstack data is appropriately aligned.
45787         (obstack_int32_grow_fast): Likewise.
45788         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
45789         * locale/programs/locfile.c (add_locale_uint32): Likewise.
45790         (add_locale_uint32_array): Likewise.
45792 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45794         * benchtests/Makefile: Remove ARGLIST and RET variables.
45795         ($(objpfx)bench-%.c): Pass only function name to the script.
45796         * benchtests/README: Update documentation.
45797         * benchtests/acos-inputs: Add new directives.
45798         * benchtests/acosh-inputs: Likewise.
45799         * benchtests/asin-inputs: Likewise.
45800         * benchtests/asinh-inputs: Likewise.
45801         * benchtests/atan-inputs: Likewise.
45802         * benchtests/atanh-inputs: Likewise.
45803         * benchtests/cos-inputs: Likewise.
45804         * benchtests/cosh-inputs: Likewise.
45805         * benchtests/exp-inputs: Likewise.
45806         * benchtests/log-inputs: Likewise.
45807         * benchtests/pow-inputs: Likewise.
45808         * benchtests/rint-inputs: Likewise.
45809         * benchtests/sin-inputs: Likewise.
45810         * benchtests/sinh-inputs: Likewise.
45811         * benchtests/tan-inputs: Likewise.
45812         * benchtests/tanh-inputs: Likewise.
45813         * scripts/bench.pl: Add support for new directives.
45815 2013-10-07  Alan Modra  <amodra@gmail.com>
45817         * README: Fix careless merge.
45819 2013-10-05  Alan Modra  <amodra@gmail.com>
45821         * NEWS: Mention powerpc64le support and bugs fixed.
45822         * README: Both big-endian and little-endian powerpc64 supported.
45824 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45826         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
45827         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
45828         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
45829         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
45831 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
45833         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
45834         match prototype.
45836 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
45838         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
45839         Move -mhard-float appending from
45840         ports/sysdeps/powerpc/powerpc32/Makefile.
45841         [$(with-fp) = yes] (ASFLAGS): Likewise.
45842         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
45843         * sysdeps/powerpc/nofpu: Move directory from
45844         ports/sysdeps/powerpc/nofpu.
45845         * sysdeps/powerpc/soft-fp: Move directory from
45846         ports/sysdeps/powerpc/soft-fp.
45847         * sysdeps/powerpc/powerpc32/405: Move directory from
45848         ports/sysdeps/powerpc/powerpc32/405.
45849         * sysdeps/powerpc/powerpc32/440: Move directory from
45850         ports/sysdeps/powerpc/powerpc32/440.
45851         * sysdeps/powerpc/powerpc32/464: Move directory from
45852         ports/sysdeps/powerpc/powerpc32/464.
45853         * sysdeps/powerpc/powerpc32/476: Move directory from
45854         ports/sysdeps/powerpc/powerpc32/476.
45855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
45856         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
45857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
45858         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
45859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
45860         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
45861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
45862         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
45863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
45864         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
45865         * README: Update for powerpc-*-linux-gnu software floating point
45866         support in libc.
45868         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
45869         case to powerpc/powerpc32*.
45870         * sysdeps/unix/sysv/linux/configure: Regenerated.
45872         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
45873         (_FPU_MASK_OM): Define as 0x04.
45874         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
45875         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
45876         0x00c10080.
45877         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
45878         0x0000003c.
45879         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
45881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
45882         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
45883         getcontext_e500.
45884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
45885         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
45886         setcontext_e500.
45887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
45888         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
45889         and setcontext_e500.
45891 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
45893         * locale/iso-3166.def: Update iso-1366.def and related occurrences
45895 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45897         * manual/threads.texi (Default Thread Attributes): Fix typo.
45899 2013-10-04  Will Newton  <will.newton@linaro.org>
45901         * malloc/Makefile: Add tst-memalign.
45902         * malloc/tst-memalign.c: New file.
45904         * malloc/tst-posix_memalign.c: Add comments.
45905         (do_test): Add comments and call free on all potentially
45906         allocated pointers. Add space after cast.
45908         * malloc/tst-pvalloc.c: Add comments.
45909         (do_test): Add comments and call free on all potentially
45910         allocated pointers. Remove duplicate check for NULL pointer.
45911         Add space after cast.
45913         * malloc/tst-valloc.c: Add comments.
45914         (do_test): Add comments and call free on all potentially
45915         allocated pointers. Remove duplicate check for NULL pointer.
45916         Add space after cast.
45918 2013-10-04  Alan Modra  <amodra@gmail.com>
45920         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
45921         Use stdint types in rather than __attribute__((mode())).
45922         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
45924 2013-10-04  Alan Modra  <amodra@gmail.com>
45926         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
45927         Correct handling of unaligned relocs for little-endian.
45928         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
45930 2013-10-04  Alan Modra  <amodra@gmail.com>
45932         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
45933         * configure: Regenerate.
45934         * nptl/shlib-versions: Powerpc*le starts at 2.18.
45935         * shlib-versions: Likewise.
45937 2013-10-04  Alan Modra  <amodra@gmail.com>
45939         * string/tester.c (test_memrchr): Increment reported test cycle.
45941 2013-10-04  Alan Modra  <amodra@gmail.com>
45943         * string/test-memcpy.c (do_one_test): When reporting errors, print
45944         string address and don't overrun end of string.
45946 2013-10-04  Alan Modra  <amodra@gmail.com>
45948         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
45949         insrdi.  Make better use of reg selection to speed exit slightly.
45950         Schedule entry path a little better.  Remove useless "are we done"
45951         checks on entry to main loop.  Handle wrapping around zero address.
45952         Correct main loop count.  Handle single left-over word from main
45953         loop inline rather than by using loop_small.  Remove extra word
45954         case in loop_small caused by wrong loop count.  Add little-endian
45955         support.
45956         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
45957         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
45958         cache hint.
45959         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
45960         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
45961         support.  Avoid rlwimi.
45962         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
45964 2013-10-04  Alan Modra  <amodra@gmail.com>
45966         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
45967         insrdi.  Formatting.
45968         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
45969         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45970         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
45971         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
45972         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
45973         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
45975 2013-10-04  Alan Modra  <amodra@gmail.com>
45977         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
45978         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45979         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
45980         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
45981         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
45982         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
45983         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45984         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45985         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
45986         use of regs.  Use power7 mtocrf.  Tidy function tails.
45988 2013-10-04  Alan Modra  <amodra@gmail.com>
45990         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
45991         Formatting.  Consistently use rXXX register defines or rN defines.
45992         Use early exit labels that avoid restoring unused non-volatile regs.
45993         Make cr field use more consistent with rWORDn compares.  Rename
45994         regs used as shift registers for unaligned loop, using rN defines
45995         for short lifetime/multiple use regs.
45996         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
45997         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
45998         addi 1,1,64 to pop stack frame.  Simplify return value code.
45999         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46001 2013-10-04  Alan Modra  <amodra@gmail.com>
46003         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
46004         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
46005         rather than rlwimi.
46006         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
46007         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
46008         little-endian support.  Correct typos.
46009         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
46010         rather than rlwimi.
46011         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
46012         in loop and entry code to keep "and." results.
46013         (strchr): Add little-endian support.  Comment.  Move cntlzd
46014         earlier in tail.
46015         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
46017 2013-10-04  Alan Modra  <amodra@gmail.com>
46019         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
46020         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
46021         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
46022         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
46024 2013-10-04  Alan Modra  <amodra@gmail.com>
46026         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
46027         (rTMP): Define as r11.
46028         (strcmp): Add little-endian support.  Optimise tail.
46029         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
46030         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46031         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
46032         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46033         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
46034         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46035         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46037 2013-10-04  Alan Modra  <amodra@gmail.com>
46039         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
46040         little-endian support.  Remove unnecessary "are we done" tests.
46041         Handle "s" wrapping around zero and extremely large "size".
46042         Correct main loop count.  Handle single left-over word from main
46043         loop inline rather than by using small_loop.  Correct comments.
46044         Delete "zero" tail, use "end_max" instead.
46045         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
46047 2013-10-04  Alan Modra  <amodra@gmail.com>
46049         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
46050         support.  Don't branch over align.
46051         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
46052         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
46053         support.  Rearrange tmp reg use to suit.  Comment.
46054         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
46056 2013-10-04  Alan Modra  <amodra@gmail.com>
46058         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
46060 2013-10-04  Alan Modra  <amodra@gmail.com>
46062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
46063         conditional form of branch and link when obtaining pc.
46064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
46066 2013-10-04  Alan Modra  <amodra@gmail.com>
46068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
46069         HIWORD/LOWORD.
46070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
46071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
46073 2013-10-04  Alan Modra  <amodra@gmail.com>
46075         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
46076         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
46077         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
46078         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
46079         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
46080         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
46081         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
46082         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46083         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
46084         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
46086 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46087             Alistair Popple <alistair@ozlabs.au.ibm.com>
46088             Alan Modra <amodra@gmail.com>
46090         [BZ #15723]
46091         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
46092         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
46093         _dl_hwcap access for little-endian.
46094         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
46095         destroy vmx regs when saving unaligned.
46096         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
46097         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
46098         destroy vmx regs when saving unaligned.
46100 2013-10-04  Alan Modra  <amodra@gmail.com>
46102         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
46103         Don't use a union to pack hi/low value.
46105 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46107         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
46108         for little-endian.
46109         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
46110         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
46111         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
46112         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
46113         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
46115 2013-10-04  Alan Modra  <amodra@gmail.com>
46117         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
46118         constants to usual value for .cst8 section, and remove redundant
46119         high address load.
46120         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
46121         constant for 0x1p52.  Load little-endian words of double from
46122         correct stack offsets.
46124 2013-10-04  Alan Modra  <amodra@gmail.com>
46126         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
46127         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
46128         words of double from correct stack offsets.
46129         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
46130         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
46131         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
46132         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
46133         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
46134         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
46135         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
46136         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
46137         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
46138         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
46139         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
46140         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
46141         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46142         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46143         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46144         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
46145         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
46147 2013-10-04  Alan Modra  <amodra@gmail.com>
46149         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
46150         64-bit int/double union.
46151         (_FPU_SETCW): Likewise.
46152         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
46153         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
46155 2013-10-04  Alan Modra  <amodra@gmail.com>
46157         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
46158         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
46160 2013-10-04  Alan Modra  <amodra@gmail.com>
46162         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
46163         use vector int constants.
46164         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
46166 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46168         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
46169         array with long long.
46170         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
46171         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
46172         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
46173         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
46174         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
46175         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
46176         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
46177         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
46178         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
46179         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
46180         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
46181         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
46182         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
46184 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46186         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
46187         (__signbit): Likewise.  Correct for little-endian.
46188         (__signbitl): Call __signbit.
46189         (lrint): Correct for little-endian.
46190         (lrintf): Call lrint.
46192 2013-10-04  Alan Modra  <amodra@gmail.com>
46194         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
46195         union 32-bit int array member with 64-bit int array.
46196         (t515, tm256): Double rather than long double.
46197         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
46199 2013-10-04  Alan Modra  <amodra@gmail.com>
46201         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
46202         Delete.
46203         (IEEE854_LONG_DOUBLE_BIAS): Delete.
46204         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
46205         version of math_ldbl.h.
46207 2013-10-04  Alan Modra  <amodra@gmail.com>
46209         [BZ #15734], [BZ #15735]
46210         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
46211         all uses of ieee875 long double macros and unions.  Simplify test
46212         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
46213         ldbl_extract_mantissa value for ix,iy exponents.  Properly
46214         normalize after ldbl_extract_mantissa, and don't add hidden bit
46215         already handled.  Don't treat low word of ieee854 mantissa like
46216         low word of IBM long double and mask off bit when testing for
46217         zero.
46218         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
46219         all uses of ieee875 long double macros and unions.  Simplify tests
46220         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
46221         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
46222         two1022, instead use their values.  Recognise that tests for large
46223         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
46224         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
46225         Rewrite all uses of ieee875 long double macros and unions.  Simplify
46226         test for 0.0L and nan.  Correct negation.
46227         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
46228         ieee875 long double macros and unions.  Correct output for large
46229         magnitude x.  Correct absolute value calculation.
46230         (__erfcl): Likewise.
46231         * math/libm-test.inc: Add tests for errors discovered in IBM long
46232         double versions of fmodl, remainderl, erfl and erfcl.
46234 2013-10-04  Alan Modra  <amodra@gmail.com>
46236         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
46237         all uses of ieee854 long double macros and unions.  Simplify tests
46238         for long doubles that are fully specified by the high double.
46239         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
46240         Likewise.
46241         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
46242         Remove dead code too.
46243         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
46244         (__ieee754_ynl): Likewise.
46245         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
46246         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
46247         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
46248         Remove dead code too.
46249         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
46250         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
46251         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
46252         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
46253         Simplify.
46254         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
46255         Simplify.
46256         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
46257         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
46258         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
46259         Comment on variable precision.
46260         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
46261         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
46262         Likewise.
46263         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
46264         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46265         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46266         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
46267         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
46269 2013-10-04  Alan Modra  <amodra@gmail.com>
46271         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
46272         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
46273         all uses of ieee854 long double macros and unions.
46274         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
46275         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
46276         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
46277         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
46278         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
46279         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
46280         Likewise.
46281         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
46282         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46283         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
46284         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46285         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
46286         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
46287         Simplify sign and nan test too.
46288         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
46289         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
46290         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
46291         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
46292         Likewise.
46293         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
46294         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
46295         Likewise.
46296         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46297         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
46298         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
46299         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
46300         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
46301         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
46303 2013-10-04  Alan Modra  <amodra@gmail.com>
46305         * stdio-common/printf_size.c (__printf_size): Don't use
46306         union ieee854_long_double in fpnum union.
46307         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
46308         signbit macro to retrieve sign from long double.
46309         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
46310         retrieve sign from long double.
46311         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
46312         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
46313         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
46314         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46315         * math/test-misc.c (main): Don't use union ieee854_long_double.
46317 2013-10-04  Alan Modra  <amodra@gmail.com>
46319         [BZ #15680]
46320         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
46321         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
46322         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
46323         calculation.  Remove unnecessary test for denormal exponent.
46324         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
46325         Correct handling of denormals.  Avoid undefined shift behaviour.
46326         Correct normalisation of low mantissa when low double is denormal.
46327         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
46328         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
46329         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
46330         Correct normalisation of low mantissa.  Test for overflow of high
46331         mantissa and normalise.
46332         (ldbl_nearbyint): Use more readable constant for two52.
46333         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
46334         (__mpn_construct_long_double): Fix test for overflow of high
46335         mantissa and correct normalisation.  Avoid undefined shift.
46337 2013-10-04  Alan Modra  <amodra@gmail.com>
46339         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
46340         (union ibm_extended_long_double): Define as an array of ieee754_double.
46341         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
46342         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
46343         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
46344         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
46345         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46346         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
46347         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46348         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
46349         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46350         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
46351         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
46353 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
46355         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
46356         page size instead of calling getpagesize.
46358         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
46359         (LOCFILE_ALIGN_MASK): Likewise.
46360         (LOCFILE_ALIGN_UP): Likewise.
46361         (LOCFILE_ALIGNED_P): Likewise.
46362         * locale/programs/ld-collate.c (collate_output): Use the new
46363         macros instead of __alignof__ (int32_t).
46364         * locale/weight.h (findidx): Likewise.
46366 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
46368         [BZ #431]
46369         * manual/string.texi: Fix strncat and wcsncat.
46371 2013-10-03  Brooks Moses  <bmoses@google.com>
46373         [BZ #15915]
46374         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
46375         * Makerules: ...here, and adjust associated comments.
46377 2013-10-02  Will Newton  <will.newton@linaro.org>
46379         * malloc/Makefile: Add tst-pvalloc.
46380         * malloc/tst-pvalloc.c: New file.
46382 2013-10-02  Will Newton  <will.newton@linaro.org>
46384         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
46385         improve test coverage.
46387 2013-10-02  Will Newton  <will.newton@linaro.org>
46389         * malloc/Makefile: Add tst-posix_memalign.
46390         * malloc/tst-posix_memalign.c: New file.
46392 2013-10-01  Eric Blake  <eblake@redhat.com>
46394         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
46395         Use __THROWNL rather than __THROW on static functions.
46397 2013-09-30  Petr Machata  <pmachata@redhat.com>
46399         * elf/elf.h (R_AARCH64_ABS16): New macro.
46400         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
46401         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
46402         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
46403         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
46404         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
46405         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
46406         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
46407         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
46408         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
46409         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
46410         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
46411         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
46412         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
46413         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
46414         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
46415         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
46416         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
46417         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
46418         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
46419         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
46420         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
46421         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
46422         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
46423         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
46424         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
46425         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
46426         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
46427         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
46428         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
46429         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
46430         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
46431         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
46432         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
46433         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
46434         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
46435         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
46436         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
46437         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
46438         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
46439         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
46440         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
46441         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
46442         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
46443         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
46444         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
46445         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
46446         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
46447         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
46448         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
46449         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
46450         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
46451         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
46452         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
46453         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
46454         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
46455         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
46456         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
46457         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
46458         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
46459         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
46460         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
46461         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
46462         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
46463         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
46464         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
46465         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
46466         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
46467         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
46468         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
46469         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
46470         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
46471         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
46472         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
46473         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
46474         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
46475         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
46476         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
46477         (R_AARCH64_TLSDESC_LDR): Likewise.
46478         (R_AARCH64_TLSDESC_ADD): Likewise.
46479         (R_AARCH64_TLSDESC_CALL): Likewise.
46481 2013-09-30  Andreas Schwab  <schwab@suse.de>
46483         [BZ #15048]
46484         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
46485         the nss database lookup.
46486         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46487         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46489 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
46491         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
46493 2013-09-28  P. J. McDermott  <pj@pehjota.net>
46495         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
46496         ${Bash-specific parameter/pattern/string} parameter expansion.
46497         * sysdeps/unix/make-syscalls.sh: Likewise.
46499 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46501         * sysdeps/sh/stackguard-macros.h: New file.
46503 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
46505         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
46506         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
46507         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
46508         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
46509         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46510         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
46512 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46514         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
46515         Fix thread ID register.
46517 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
46519         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
46520         [POSIX || UNIX98]: Require rather than permitting all symbols from
46521         <time.h>.
46522         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
46523         element of struct sched_param.
46524         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
46525         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
46526         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
46527         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
46528         constant.
46530 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
46532         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
46533         argument calculation.
46535 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46537         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
46538         Expect macro.
46539         [POSIX] (pthread_attr_t): Do not require type.
46540         [POSIX] (pthread_cond_t): Likewise.
46541         [POSIX] (pthread_condattr_t): Likewise.
46542         [POSIX] (pthread_key_t): Likewise.
46543         [POSIX] (pthread_mutex_t): Likewise.
46544         [POSIX] (pthread_mutexattr_t): Likewise.
46545         [POSIX] (pthread_once_t): Likewise.
46546         [POSIX] (pthread_t): Likewise.
46547         [POSIX-based standards] (pthread_atfork): Expect function.
46549 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46550             Richard Sandiford  <richard@codesourcery.com>
46552         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
46553         (swap_endianness_p): New extern variable.
46554         (set_big_endian): New inline function.
46555         (maybe_swap_uint32): Likewise.
46556         (maybe_swap_uint32_array): Likewise.
46557         (maybe_swap_uint32_obstack): Likewise.
46558         * locale/programs/locfile.c: Include <stdbool.h>.
46559         (swap_endianness_p): New variable.
46560         (add_locale_uint32): Call maybe_swap_uint32.
46561         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
46562         (write_locale_data): Call maybe_swap_uint32_array.
46563         * locale/programs/ld-collate.c (obstack_int32_grow): Call
46564         maybe_swap_uint32.
46565         (obstack_int32_grow_fast): Likewise.
46566         (output_weightwc): Call maybe_swap_uint32_obstack.
46567         (collate_output): Likewise.
46568         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
46569         (OPT_LITTLE_ENDIAN): Likewise.
46570         (options): Add --little-endian and --big-endian options.
46571         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
46572         * locale/programs/locarchive.c: Include "locfile.h".
46573         (GET): New macro.
46574         (SET): Likewise.
46575         (INC): Likewise.
46576         (create_archive): Use the new macros to access fields of
46577         structures directly mapped from or written to locale archives.
46578         (oldlocrecentcmp): Likewise.
46579         (enlarge_archive): Likewise.
46580         (insert_name): Likewise.
46581         (add_alias): Likewise.
46582         (add_locale): Likewise.
46583         (delete_locales_from_archive): Likewise.
46584         (show_archive_content): Likewise.
46585         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
46586         locale data.
46588 2013-09-24  Roland McGrath  <roland@hack.frob.com>
46590         * manual/freemanuals.texi: Updated from (newly) canonical copy at
46591         http://www.gnu.org/doc/freemanuals.texi.
46592         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
46594 2013-09-24  Will Newton  <will.newton@linaro.org>
46596         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
46597         macro.
46599 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
46601         * locale/hashval.h (compute_hashval): Interpret bytes of key as
46602         unsigned char.
46604 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
46606         * manual/threads.texi (POSIX Threads): Fix a typo.
46608 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
46610         [BZ #14547]
46611         * string/tst-strcoll-overflow.c: New test case.
46612         * string/Makefile (xtests): Add tst-strcoll-overflow.
46613         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
46614         cache if string sizes may cause integer overflow.
46616         [BZ #14547]
46617         * string/strcoll_l.c (coll_seq): New members rule, idx,
46618         save_idx and back_us.
46619         (get_next_seq_nocache): New function.
46620         (do_compare_nocache): New function.
46621         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
46622         when malloc fails.
46624 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
46626         [BZ #15754]
46627         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
46628         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
46629         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
46631         [BZ #15754]
46632         * elf/Makefile (tests): Add tst-ptrguard1.
46633         (tests-static): Add tst-ptrguard1-static.
46634         (tst-ptrguard1-ARGS): Define.
46635         (tst-ptrguard1-static-ARGS): Define.
46636         * elf/tst-ptrguard1.c: New file.
46637         * elf/tst-ptrguard1-static.c: New file.
46638         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
46639         * sysdeps/i386/stackguard-macros.h: Likewise.
46640         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
46641         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
46642         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
46643         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
46644         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
46645         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
46647 2013-09-23  Hector Marco  <hecmargi@upv.es>
46648             Ismael Ripoll  <iripoll@disca.upv.es>
46649             Carlos O'Donell  <carlos@redhat.com>
46651         [BZ #15754]
46652         * sysdeps/generic/stackguard-macros.h: Define
46653         __pointer_chk_guard_local and POINTER_CHK_GUARD.
46654         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
46655         Define __pointer_chk_guard_local.
46656         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
46657         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
46659 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
46661         [BZ #15859]
46662         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
46664 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
46666         * include/string.h (__ffs): Declare as hidden.
46667         * string/ffs.c (__ffs): Define as hidden.
46668         * sysdeps/i386/ffs.c (__ffs): Likewise.
46669         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
46670         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
46671         * sysdeps/s390/ffs.c (__ffs): Likewise.
46672         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
46674 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
46676         * NEWS: Mention malloc probes.
46678         * malloc/arena.c (new_heap): New memory_heap_new probe.
46679         (grow_heap): New memory_heap_more probe.
46680         (shrink_heap): New memory_heap_less probe.
46681         (heap_trim): New memory_heap_free probe.
46682         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
46683         (systrim): New memory_sbrk_less probe.
46684         * manual/probes.texi: Document them.
46686         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
46687         * manual/probes.texi: Document it.
46689         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
46690         (__libc_realloc): Add memory_realloc_retry probe.
46691         (__libc_memalign): Add memory_memalign_retry probe.
46692         (__libc_valloc): Add memory_valloc_retry probe.
46693         (__libc_pvalloc): Add memory_pvalloc_retry probe.
46694         (__libc_calloc): Add memory_calloc_retry probe.
46695         * manual/probes.texi: Document them.
46697         * malloc/arena.c (get_free_list): Add probe
46698         memory_arena_reuse_free_list.
46699         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
46700         and memory_arena_reuse.
46701         (arena_get2) [!PER_THREAD]: Likewise.
46702         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
46703         memory_arena_reuse_realloc.
46704         * manual/probes.texi: Document them.
46706         * malloc/malloc.c (__libc_free): Add
46707         memory_mallopt_free_dyn_thresholds probe.
46708         (__libc_mallopt): Add multiple memory_mallopt probes.
46709         * manual/probes.texi: Document them.
46711         * malloc/malloc.c: Include stap-probe.h.
46712         (__libc_mallopt): Add memory_mallopt probe.
46713         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
46714         * manual/probes.texi: New.
46715         * manual/Makefile (chapters): Add probes.
46716         * manual/threads.texi: Set next node.
46718 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
46720         [BZ #15963, #13985]
46721         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
46722         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
46723         Add `Chinese' to `nan' entry name.
46725 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46727         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
46728         (POLYNOMIAL): Likewise.
46729         (TAYLOR_SINCOS): Likewise.
46730         (TAYLOR_SLOW): Likewise.
46731         (__sin): Use TAYLOR_SINCOS.
46732         (__cos): Likewise.
46733         (slow): Use TAYLOR_SLOW.
46734         (sloww): Likewise.
46735         (bsloww): Likewise.
46736         (csloww): Likewise.
46738 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46740         * stdlib/strtod_l.c: Fix buffer overrun.
46742 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46744         * benchtests/Makefile (bench): Add sincos.
46745         * benchtests/bench-sincos.c: New file.
46747         * math/libm-test.inc (cos_test_data): New test inputs.
46748         (sin_test_data): Likewise.
46750         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
46751         macro.
46752         (__sin): Use it.
46753         (__cos): Likewise.
46754         (slow1): Likewise.
46755         (slow2): Likewise.
46756         (sloww1): Likewise.
46757         (sloww2): Likewise.
46758         (bsloww1): Likewise.
46759         (bsloww2): Likewise.
46760         (cslow2): Likewise.
46761         (csloww1): Likewise.
46762         (csloww2): Likewise.
46764         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
46765         function.
46766         (__sin): Use it.
46767         (__cos): Likewise.
46769         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
46770         gotos.
46771         (__cos): Likewise.
46773 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
46775         * config.h.in (HAVE_MIPS_NAN2008): New macro.
46776         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
46777         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
46778         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
46779         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
46780         * elf/cache.c (print_entry): Handle the new cache flags.
46782 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
46783             Aldy Hernandez  <aldyh@redhat.com>
46785         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
46786         Change condition to [_SOFT_FLOAT].
46787         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
46788         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
46789         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
46790         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
46791         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
46792         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
46793         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
46794         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
46795         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
46796         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
46797         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
46798         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
46799         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
46800         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
46801         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
46802         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
46803         declaration.
46805 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
46807         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
46808         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
46809         (__longjmp): Use LOAD_GP to load saved GPRs.
46810         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
46811         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
46812         (__sigsetjmp): Use SAVE_GP to save GPRs.
46814         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
46815         Do not append -msoft-float.
46816         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
46818 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46820         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
46822 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
46824         [BZ #15966]
46825         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
46826         (_FPU_GETCW): Use initial "__" on variable and field names but not
46827         on macro parameter name.
46828         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
46829         parentheses around reference to macro parameter.
46831 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
46833         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
46834         prototype.
46835         (ctype_startup): Use uint32_t in cast and sizeof for
46836         ctype->charnames.
46838 2013-09-11  Jia Liu  <proljc@gmail.com>
46840         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
46841         __daddr_t_defined.
46842         [__FreeBSD__]: Likewise.
46844 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
46846         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
46847         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
46848         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
46849         (strchr): Remove __strchr_sse42 ifunc selection.
46850         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
46851         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
46853 2013-09-11  Will Newton  <will.newton@linaro.org>
46855         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
46856         parameter to RES. Remove hardcoded 1000 value.
46857         * benchtests/bench-skeleton.c (main): Pass RES parameter
46858         to TIMING_INIT and multiply result by 1000.
46860 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46862         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46864 2013-09-11  Andreas Schwab  <schwab@suse.de>
46866         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
46867         if not defined.
46868         (O_TMPFILE) [__USE_GNU]: Define.
46869         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
46870         Define.
46872 2013-09-11  Will Newton  <will.newton@linaro.org>
46874         [BZ #15857]
46875         * malloc/malloc.c (__libc_memalign): Check the value of bytes
46876         does not overflow.
46878 2013-09-11  Will Newton  <will.newton@linaro.org>
46880         [BZ #15856]
46881         * malloc/malloc.c (__libc_valloc): Check the value of bytes
46882         does not overflow.
46884 2013-09-11  Will Newton  <will.newton@linaro.org>
46886         [BZ #15855]
46887         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
46888         does not overflow.
46890 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
46892         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
46893         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46894         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46895         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46896         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46898 2013-09-10  Allan McRae  <allan@archlinux.org>
46900         [BZ #15748]
46901         * manual/arith.texi (Parsing of Floats): Clarify
46902         cross-reference.
46904         [BZ #15849]
46905         * manual/install.texi (Running make install): Mention
46906         --enable-pt-chown.
46907         * INSTALL: Regenerated.
46909 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
46911         * csu/init-first.c (_init): Remove the !SHARED condition around
46912         FPU control word initialization.
46913         * elf/dl-support.c (_dl_fpu_control): New variable.
46914         (_dl_aux_init) <AT_FPUCW>: Initialize it.
46915         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
46916         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
46917         * math/test-fpucw-static.c: New file.
46918         * math/test-fpucw-ieee.c: New file.
46919         * math/test-fpucw-ieee-static.c: New file.
46920         * math/Makefile (tests): Add `test-fpucw-ieee' and
46921         `$(tests-static)'.
46922         (tests-static): New variable.
46923         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
46924         dependency to...
46925         [($(build-shared),yes)]
46926         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
46927         ... this.
46928         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
46929         New dependency.
46931 2013-09-09  Allan McRae  <allan@archlinux.org>
46933         [BZ #15939]
46934         * manual/string.texi (Collation Functions): Fix typo in
46935         strcoll example.
46936         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
46938         [BZ #15893]
46939         * stdlib/isomac.c (get_null_defines): Fix memory leak.
46941         [BZ #15892]
46942         * libio/memstream.c (open_memstream): Fix memory leak.
46943         * libio/wmemstream.c (open_wmemstream): Likewise.
46945         [BZ #15895]
46946         * nscd/netgroupcache.c: Fix nesting of ifdefs.
46948 2013-09-09  Will Newton  <will.newton@linaro.org>
46950         * malloc/Makefile: Add tst-realloc to tests.
46951         * malloc/tst-realloc.c: New file.
46953 2013-09-09  Allan McRae  <allan@archlinux.org>
46955         [BZ #15844]
46956         * COPYING: Update from GNU website to fix FSF address.
46957         * COPYING.LIB: Likewise.
46959 2013-09-06  David S. Miller  <davem@davemloft.net>
46961         * po/zh_TW.po: Update Chinese (traditional) translation from
46962         translation project.
46964 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
46965             Joseph Myers  <joseph@codesourcery.com>
46967         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
46968         "localeinfo.h".
46969         (obstack_chunk_alloc): New macro.
46970         (obstack_chunk_free): Likewise.
46971         (record_offset): New function.
46972         (init_locale_data): Likewise.
46973         (align_locale_data): Likewise.
46974         (add_locale_empty): Likewise.
46975         (add_locale_raw_data): Likewise.
46976         (add_locale_raw_obstack): Likewise.
46977         (add_locale_string): Likewise.
46978         (add_locale_wstring): Likewise.
46979         (add_locale_uint32): Likewise.
46980         (add_locale_uint32_array): Likewise.
46981         (add_locale_char): Likewise.
46982         (start_locale_structure): Likewise.
46983         (end_locale_structure): Likewise.
46984         (start_locale_prelude): Likewise.
46985         (end_locale_prelude): Likewise.
46986         (write_locale_data): Take locale_file structure rather than an
46987         iovec.
46988         * locale/programs/locfile.h: Include "obstack.h".
46989         (struct locale_file): Change to store locale file contents instead
46990         of header.
46991         (init_locale_data): New prototype.
46992         (align_locale_data): Likewise.
46993         (add_locale_empty): Likewise.
46994         (add_locale_raw_data): Likewise.
46995         (add_locale_raw_obstack): Likewise.
46996         (add_locale_string): Likewise.
46997         (add_locale_wstring): Likewise.
46998         (add_locale_uint32): Likewise.
46999         (add_locale_uint32_array): Likewise.
47000         (add_locale_char): Likewise.
47001         (start_locale_structure): Likewise.
47002         (end_locale_structure): Likewise.
47003         (start_locale_prelude): Likewise.
47004         (end_locale_prelude): Likewise.
47005         (write_locale_data): Update prototype.
47006         * locale/programs/3level.h (struct TABLE): Remove result field.
47007         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
47008         Use new locale_file interface.
47009         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
47010         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
47011         * locale/programs/ld-address.c (address_output): Use new
47012         locale_file interface.
47013         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
47014         NO_ADD_LOCALE.
47015         (collate_finish): Don't call collseq_table_finalize.
47016         (collate_output): Use new locale_file interface.
47017         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
47018         in file.
47019         (NO_FINALIZE): Change to NO_ADD_LOCALE.
47020         (TABLE): Move defines earlier in file.
47021         (ELEMENT): Likewise.
47022         (DEFAULT): Likewise.
47023         (wctrans_table_add): Move macro and inline function earlier in
47024         file.
47025         (struct wctype_table): Move type earlier in file.
47026         (add_locale_wctype_table): New static prototype.
47027         (struct locale_ctype_t): Use logical types instead of struct iovec
47028         pointers for members.
47029         (ctype_output): Use new locale_file interface.
47030         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
47031         new locale_file interface.
47032         (allocate_arrays): Update for use of new locale_file interface.
47033         * locale/programs/ld-identification.c (identification_output): Use
47034         new locale_file interface.
47035         * locale/programs/ld-measurement.c (measurement_output): Likewise.
47036         * locale/programs/ld-messages.c (messages_output): Likewise.
47037         * locale/programs/ld-monetary.c (monetary_output): Likewise.
47038         * locale/programs/ld-name.c (name_output): Likewise.
47039         * locale/programs/ld-numeric.c (numeric_output): Likewise.
47040         * locale/programs/ld-paper.c (paper_output): Likewise.
47041         * locale/programs/ld-telephone.c (telephone_output): Likewise.
47042         * locale/programs/ld-time.c (time_output): Likewise.
47044 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47046         * benchtests/Makefile: Add memrchr benchmark.
47047         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
47048         benchmark as memrchr.
47049         * benchtests/bench-memrchr-ifunc.c: New file.
47050         * benchtests/bench-memrchr.c: New file.
47052 2013-09-06   Will Newton  <will.newton@linaro.org>
47054         * benchtests/Makefile (string-bench): Add memcpy.
47056 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
47057             Cong Wang  <amwang@redhat.com>
47059         [BZ #15850]
47060         * sysdeps/unix/sysv/linux/bits/in.h
47061         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
47062         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
47063         before __USE_KERNEL_IPV6_DEFS uses.
47064         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
47065         IPPROTO_BEETPH.
47066         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
47067         sockaddr_in6, or ipv6_mreq.
47069 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47071         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
47072         memory access for final bytes in some large inputs.
47073         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
47075 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47077         * string/test-memrchr.c: New file.
47078         * string/test-memrchr-ifunc.c: New file.
47079         * string/Makefile: Add new memrchr testcase.
47081 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
47083         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
47084         fanotify_init returns EPERM.
47086 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
47088         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
47089         errors.
47090         (top level): Treat second token from macro or constant entries for
47091         allowed headers as allowed.
47092         * include/complex.h: Condition internal declarations on
47093         [!_ISOMAC].
47094         * include/fenv.h: Condition include of <stdbool.h> and internal
47095         declarations on [!_ISOMAC].
47097 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
47099         [BZ #15923]
47100         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
47102 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
47104         * configure.in (--enable-versioning): Remove configure option.
47105         (libc_cv_asm_symver_directive): Remove configure test.
47106         (libc_cv_ld_version_script_option): Likewise.
47107         (VERSIONING): Remove variable and AC_SUBST.
47108         (DO_VERSIONING): Remove AC_DEFINE.
47109         * configure: Regenerated.
47110         * config.h.in (DO_VERSIONING): Remove macro.
47111         * Makerules [$(versioning) = yes]: Change conditionals to
47112         [$(build-shared) = yes].
47113         * config.make.in (versioning): Remove variable.
47114         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
47115         [$(build-shared) = yes].
47116         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
47117         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
47118         * elf/Makefile [$(versioning) = yes]: Change conditionals to
47119         [$(build-shared) = yes].
47120         * extra-lib.mk [$(versioning) = yes]: Likewise.
47121         * hurd/Makefile [$(versioning) = yes]: Likewise.
47122         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
47123         [SHARED].
47124         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
47125         [SHARED].
47126         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47127         [SHARED && !NO_HIDDEN].
47128         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
47129         [SHARED].
47130         [SHARED && DO_VERSIONING]: Likewise..
47131         * libio/Makefile [$(versioning) = yes]: Change conditionals to
47132         [$(build-shared) = yes].
47133         * manual/install.texi (--disable-versioning): Remove
47134         documentation.
47135         * INSTALL: Regenerated.
47136         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
47137         to [SHARED].
47138         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
47139         [$(build-shared) = yes].
47140         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
47141         * sysdeps/i386/i686/multiarch/strstr-c.c
47142         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47143         [SHARED && !NO_HIDDEN].
47144         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
47145         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
47146         * sysdeps/powerpc/powerpc32/dl-machine.c
47147         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
47148         * sysdeps/powerpc/powerpc32/sysdep.h
47149         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
47150         to [SHARED && PIC && !NO_HIDDEN].
47151         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
47152         conditional to [SHARED].
47154 2013-09-04   Will Newton  <will.newton@linaro.org>
47156         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
47157         * benchtests/bench-string.h: Include bench-timing.h instead
47158         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
47159         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
47160         call to HP_TIMING_DIFF_INIT.
47161         * benchtests/bench-memccpy.c: Use bench-timing.h macros
47162         instead of hp-timing.h macros.
47163         * benchtests/bench-memchr.c: Likewise.
47164         * benchtests/bench-memcmp.c: Likewise.
47165         * benchtests/bench-memcpy.c: Likewise.
47166         * benchtests/bench-memmem.c: Likewise.
47167         * benchtests/bench-memmove.c: Likewise.
47168         * benchtests/bench-memset.c: Likewise.
47169         * benchtests/bench-rawmemchr.c: Likewise.
47170         * benchtests/bench-strcasecmp.c: Likewise.
47171         * benchtests/bench-strcasestr.c: Likewise.
47172         * benchtests/bench-strcat.c: Likewise.
47173         * benchtests/bench-strchr.c: Likewise.
47174         * benchtests/bench-strcmp.c: Likewise.
47175         * benchtests/bench-strcpy.c: Likewise.
47176         * benchtests/bench-strcpy_chk.c: Likewise.
47177         * benchtests/bench-strlen.c: Likewise.
47178         * benchtests/bench-strncasecmp.c: Likewise.
47179         * benchtests/bench-strncat.c: Likewise.
47180         * benchtests/bench-strncmp.c: Likewise.
47181         * benchtests/bench-strncpy.c: Likewise.
47182         * benchtests/bench-strnlen.c: Likewise.
47183         * benchtests/bench-strpbrk.c: Likewise.
47184         * benchtests/bench-strrchr.c: Likewise.
47185         * benchtests/bench-strspn.c: Likewise.
47186         * benchtests/bench-strstr.c: Likewise.
47188 2013-09-04  Will Newton  <will.newton@linaro.org>
47190         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
47192 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
47194         [BZ #15427]
47195         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
47196         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
47197         * math/libm-test.inc (lgamma_test_data): Add more tests.
47198         * sysdeps/i386/fpu/libm-test-ulps: Update.
47199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47201 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
47203         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
47204         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47205         Add ifunc.
47206         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47207         Add strcmp-sse2-unaligned
47208         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
47210 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47212         * Versions.def (libc): Add GLIBC_2.19.
47214 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47216         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
47217         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
47219 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
47221         [BZ #14155]
47222         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
47223         intermediate calculations in recurrence.
47224         (__ieee754_ynf): Likewise.
47225         * math/libm-test.inc (jn_test_data): Do not allow spurious
47226         underflow exception.  Add more tests.
47227         (yn_test_data): Add more tests.
47228         * sysdeps/i386/fpu/libm-test-ulps: Update.
47229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47231 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
47233         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
47235 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
47237         * csu/init-first.c: Fix then/than typos.
47238         * locale/programs/ld-collate.c: Likewise.
47239         * locale/programs/linereader.h: Likewise.
47240         * manual/charset.texi: Likewise.
47241         * manual/filesys.texi: Likewise.
47242         * manual/stdio.texi: Likewise.
47243         * manual/string.texi: Likewise.
47244         * stdlib/fmtmsg.c: Likewise.
47245         * sysdeps/i386/stpncpy.S: Likewise.
47246         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47247         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
47248         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47249         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47251 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
47253         * elf/dl-open.c: Fix typos.
47254         * iconvdata/gbbig5.c: Likewise.
47255         * iconvdata/iso-2022-jp.c: Likewise.
47256         * iconv/gconv_int.h: Likewise.
47257         * iconv/loop.c: Likewise.
47258         * nis/rpcsvc/nis.h: Likewise.
47259         * resolv/ns_name.c: Likewise.
47260         * stdio-common/vfscanf.c: Likewise.
47261         * streams/stropts.h: Likewise.
47262         * sunrpc/rpc_thread.c: Likewise.
47263         * sysdeps/i386/strpbrk.S: Likewise.
47264         * sysdeps/ieee754/k_standard.c: Likewise.
47265         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47266         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47267         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
47268         * sysdeps/mach/hurd/profil.c: Likewise.
47269         * sysdeps/s390/dl-procinfo.h: Likewise.
47270         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
47271         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
47272         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
47273         * sysdeps/x86_64/dl-trampoline.S: Likewise.
47274         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47276 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
47278         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
47279         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
47281 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
47283         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
47284         aix specific files.
47285         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
47286         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
47287         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
47288         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
47289         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
47290         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
47291         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
47292         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
47294 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
47295             Roland McGrath  <roland@hack.frob.com>
47297         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
47298         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
47300 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47302         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
47303         __executable_start symbol instead of _start.
47305 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
47307         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
47308         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
47309         Move macros to...
47310         * sysdeps/gnu/ldsodefs.h: ... this new file.
47312         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
47313         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
47314         instead of ELFOSABI_LINUX.
47316         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
47317         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
47318         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
47319         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
47320         Likewise.
47321         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
47322         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
47323         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
47324         Likewise.
47325         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47326         (ibm_extended_long_double): Add ieee_nan member.
47327         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
47328         (do_test): New function.
47330         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
47331         TEST_TRUNC.
47332         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
47333         functions, renamed from truncdfsf_test, trunctfsf_test,
47334         trunctfdf_test.
47335         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
47336         functions.
47337         (do_test): Run all these.
47339 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
47341         * argp/argp-help.c: Fix typos.
47342         * argp/argp-parse.c: Likewise.
47343         * debug/backtracesyms.c: Likewise.
47344         * elf/elf.h: Likewise.
47345         * malloc/malloc.c: Likewise.
47346         * nis/nis_print.c: Likewise.
47347         * resolv/res_comp.c: Likewise.
47348         * stdlib/stdlib.h: Likewise.
47349         * sunrpc/clnt_tcp.c: Likewise.
47350         * sunrpc/clnt_udp.c: Likewise.
47351         * sunrpc/clnt_unix.c: Likewise.
47352         * sysdeps/unix/bsd/ptsname.c: Likewise.
47353         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
47354         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
47355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
47356         Likewise.
47357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
47358         Likewise.
47359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
47360         Likewise.
47361         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47363 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47365         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
47366         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47368 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
47370         [BZ #15897]
47371         * dlfcn/Makefile (tests): Add bug-dl-leaf.
47372         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
47373         ($(objpfx)bug-dl-leaf): New rule.
47374         ($(objpfx)bug-dl-leaf.so): Likewise.
47375         ($(objpfx)bug-dl-leaf.out): Likewise.
47376         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
47377         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
47378         * dlfcn/bug-dl-leaf.c: New test.
47379         * dlfcn/bug-dl-leaf-lib.c: Likewise.
47380         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
47381         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
47382         (dlclose): Likewise.
47383         (dlmopen): Likewise.
47385 2013-08-27  Roland McGrath  <roland@hack.frob.com>
47387         * include/netdb.h [!_ISOMAC]:
47388         Don't include <tls.h>.
47389         (h_errno, __libc_h_errno): Move declaration and macros out of
47390         [_LIBC_REENTRANT].
47392         * include/resolv.h [_RESOLV_H_]:
47393         Don't include <tls.h>.
47394         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
47395         * resolv/res_libc.c: Don't include <tls.h>.
47396         (_res): Use __attribute__ ((nocommon)) in place of
47397         __attribute__ ((section (".bss"))).
47399         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
47400         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
47402         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
47404         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
47405         only under [SIOCGIFCONF && SIOCGIFNETMASK].
47407         * resolv/res_mkquery.c: Include <sys/time.h>.
47409         * inet/ifreq.c: Moved to ...
47410         * sysdeps/unix/ifreq.c: ... here.
47411         * inet/ifreq.c: New file, true stub version.
47413         * socket/sa_len.c: New file.
47414         * socket/Makefile (aux): Add it.
47415         * sysdeps/unix/sysv/linux/Makefile
47416         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
47417         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
47418         and #include <socket/sa_len.c>.
47419         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
47420         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
47422         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
47423         * bits/socket.h: ... here.
47425         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
47426         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
47427         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
47429 2013-08-27  Andreas Schwab  <schwab@suse.de>
47431         [BZ #15736]
47432         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
47433         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
47434         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
47435         * string/test-strcasecmp.c (test_main): Run tests in several
47436         locales.
47437         * string/test-strncasecmp.c (test_main): Likewise.
47439         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
47440         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
47441         to __strcasecmp_nonascii and __strncasecmp_nonascii.
47442         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
47443         (__strncasecmp_ssse3) [PIC]: Likewise.
47445 2013-08-26  Roland McGrath  <roland@hack.frob.com>
47447         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
47449         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
47450         instead of explicitly declaring xdecrypt.
47451         * nis/nss_nis/nis-publickey.c: Likewise.
47453 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47455         [BZ #15890]
47456         * nscd/aicache.c: Include res_hconf.h.
47457         (addhstaiX): Initialize res_hconf.
47459 2013-08-26  Andreas Schwab  <schwab@suse.de>
47461         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
47462         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
47464 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47466         * nscd/aicache.c (addhstaiX): Fix indentation.
47468 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
47470         * configure.ac: Quote $build_pt_chown test.
47471         * configure: Regenerated.
47473 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
47475         [BZ #15532]
47476         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
47477         * math/s_cexpf.c (__cexpf): Likewise.
47478         * math/s_cexpl.c (__cexpl): Likewise.
47479         * math/libm-test.inc (cexp_test_data): Correct expected return
47480         value for NaN + i0.  Add another test.
47482 2013-08-22  David S. Miller  <davem@davemloft.net>
47484         * po/ca.po: Update Catalan translation from translation project.
47485         * po/uk.po: Add Ukrainian translations from translation project.
47487 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
47489         [BZ #15797]
47490         * math/s_fdim.c (__fdim): Check for infinite arguments if result
47491         is infinite, not alongside NaN test.
47492         * math/s_fdimf.c (__fdimf): Likewise.
47493         * math/s_fdiml.c (__fdiml): Likewise.
47494         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
47495         errno is unchanged.
47497 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
47499         * argp/argp-help.c: Fix typos.
47500         * crypt/speeds.c: Likewise.
47501         * csu/check_fds.c: Likewise.
47502         * elf/dl-load.c: Likewise.
47503         * elf/dl-open.c: Likewise.
47504         * elf/reldep3.c: Likewise.
47505         * elf/reldep.c: Likewise.
47506         * elf/sprof.c: Likewise.
47507         * iconv/iconv_charmap.c: Likewise.
47508         * iconv/skeleton.c: Likewise.
47509         * iconv/strtab.c: Likewise.
47510         * io/lockf64.c: Likewise.
47511         * libio/libioP.h: Likewise.
47512         * resolv/gai_notify.c: Likewise.
47513         * resolv/ns_name.c: Likewise.
47514         * resolv/ns_samedomain.c: Likewise.
47515         * resolv/res_send.c: Likewise.
47516         * stdlib/random.c: Likewise.
47517         * sunrpc/rpc/xdr.h: Likewise.
47518         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
47519         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47520         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47521         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47522         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47523         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47524         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47525         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47526         * sysdeps/mach/hurd/check_fds.c: Likewise.
47527         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
47528         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
47529         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47530         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
47531         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47532         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
47533         * sysdeps/pthread/aio_notify.c: Likewise.
47534         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
47535         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
47536         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
47537         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47538         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
47540 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47542         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
47543         version if bit_Slow_SSE4_2 is set.
47544         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47545         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47547 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47549         [BZ #15867]
47550         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
47551         trampoline stack frame information.
47552         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
47553         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
47554         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
47555         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
47556         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
47557         * sysdeps/unix/sysv/linux/powerpc/init-first.c
47558         (_libc_vdso_platform_setup): Initialize the signal trampolines.
47559         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
47560         sa_flags value.
47561         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
47562         interrupting a syscall and set with option SA_SIGINFO.
47564 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
47566         [BZ #15531]
47567         * math/s_cproj.c (__cproj): Only return an infinity if one part of
47568         argument is infinite.
47569         * math/s_cprojf.c (__cprojf): Likewise.
47570         * math/s_cprojl.c (__cprojl): Likewise.
47571         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
47572         * math/libm-test.inc (cproj_test_data): Add more tests.
47574         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
47576         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
47577         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
47578         size.  Use __ffs to determine corresponding shift.
47580 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
47581             Roland McGrath  <roland@hack.frob.com>
47583         * Makefile (INSTALL): Remove trailing blank lines from output of
47584         makeinfo.
47586 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47588         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
47589         Align 32 bit compat elf_greg to 8 bytes.
47591 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
47593         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
47595 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47597         * string/strcoll_l.c (coll_seq): New structure.
47598         (get_next_seq_cached): New function.
47599         (get_next_seq): New function.
47600         (do_compare): New function.
47601         (STRCOLL): Use GNU style definition.  Simplify implementation
47602         by using get_next_seq, get_next_seq_cached and do_compare.
47604 2013-08-16  Florian Weimer  <fweimer@redhat.com>
47606         [BZ #14699]
47607         CVE-2013-4237
47608         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
47609         member.
47610         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
47611         member.
47612         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
47613         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
47614         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
47615         conditional.
47616         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
47617         GETDENTS_64BIT_ALIGNED.
47618         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
47619         * manual/filesys.texi (Reading/Closing Directory): Document
47620         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
47621         strongly.
47622         * manual/conf.texi (Limits for Files): Add portability note to
47623         NAME_MAX, PATH_MAX.
47624         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
47626 2013-08-13  Andreas Schwab  <schwab@suse.de>
47628         [BZ #15749]
47629         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
47630         of fabs.
47631         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
47632         LDBL_MAX_EXP >= 16384]: Add tests for it.
47634 2013-08-12  David S. Miller  <davem@davemloft.net>
47636         * version.h (RELEASE): Set to "development".
47637         (VERSION): Set to "2.18.90".
47638         * NEWS: Add 2.19 section.
47640 2013-08-03  David S. Miller  <davem@davemloft.net>
47642         * po/ko.po: Update Korean translation from translation project.
47644 2013-08-01  David S. Miller  <davem@davemloft.net>
47646         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
47647         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
47648         Bilka.
47650 2013-07-30  David S. Miller  <davem@davemloft.net>
47652         * po/fr.po: Update French translation from translation project.
47654 2013-07-28  David S. Miller  <davem@davemloft.net>
47656         * po/cs.po: Update Czech translation from translation project.
47658         * po/sv.po: Update Swedish translation from translation project.
47660 2013-07-27  David S. Miller  <davem@davemloft.net>
47662         * po/eo.po: Update Esperanto translation from translation project.
47664         * po/vi.po: Update Vietnamese translation from translation project.
47666         * po/de.po: Update German translation from translation project.
47668 2013-07-26  David S. Miller  <davem@davemloft.net>
47670         * po/bg.po: Update Bulgarian translation from translation project.
47672         * po/nl.po: Update Dutch translation from translation project.
47673         * po/pl.po: Update Polish translation from translation project.
47674         * po/ru.po: Update Russian translation from translation project.
47676 2013-07-24  David S. Miller  <davem@davemloft.net>
47678         * po/libc.pot: Update.
47680 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47682         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
47683         variable page size.
47684         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
47685         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
47686         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
47688 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47690         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
47692 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47693             Andreas Schwab  <schwab@suse.de>
47694             Roland McGrath  <roland@hack.frob.com>
47695             Joseph Myers  <joseph@codesourcery.com>
47696             Carlos O'Donell  <carlos@redhat.com>
47698         [BZ #15755]
47699         * config.h.in: Define HAVE_PT_CHOWN.
47700         * config.make.in (build-pt-chown): New variable.
47701         * configure.in (--enable-pt_chown): New configure option.
47702         * configure: Regenerate.
47703         * login/Makefile: Include Makeconfig.  Build pt_chown only if
47704         build-pt-chown is enabled.
47705         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
47706         pt_chown to fix pty ownership.
47707         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
47708         CLOSE_ALL_FDS.
47709         * manual/install.texi (Configuring and compiling): Mention
47710         --enable-pt_chown. Add @findex for grantpt.
47711         * INSTALL: Regenerate.
47713 2013-07-20  David S. Miller  <davem@davemloft.net>
47715         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
47716         difference between 32-bit and 64-bit.
47718 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
47720         [BZ #15711]
47721         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
47722         Avoid system header dependency with -ffreestanding.
47723         ($(objpfx)bits/syscall%d): Likewise.
47725 2013-07-13  David S. Miller  <davem@davemloft.net>
47727         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
47728         underflows from atanl/atan2l due to bug 15319.
47729         (casinh_test_data): Likewise.
47731 2013-07-07  David S. Miller  <davem@davemloft.net>
47733         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
47735 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
47737         * sysdeps/i386/fpu/libm-test-ulps: Update.
47738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47740 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47742         * configure.in (--enable-lock-elision): Fix message text.
47743         * INSTALL: Regenerate.
47744         * configure: Regenerate.
47746 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47748         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47750 2013-07-03  Andreas Jaeger  <aj@suse.de>
47752         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
47753         define.
47754         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
47755         (ptrace_peeksiginfo_args): Add.
47756         (__ptrace_peeksiginfo_flags): Add.
47757         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47758         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47759         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47761 2013-07-03  Allan McRae  <allan@archlinux.org>
47763         * sysdeps/i386/fpu/libm-test-ulps: Update.
47765 2013-07-02  David S. Miller  <davem@davemloft.net>
47767         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47769 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
47771         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47773 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
47775         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
47776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47778 2013-07-02  Andi Kleen <ak@linux.intel.com>
47780         * config.h.in (ENABLE_LOCK_ELISION): Add.
47781         * configure.in (--enable-lock-elision): Add option.
47782         * manual/install.texi: Document --enable lock elision.
47783         * configure: Regenerate
47784         * INSTALL: Regenerate.
47786 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
47788         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
47789         SSE4.2 strcasecmp for libc.a.
47790         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
47792 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
47794         [BZ #13304]
47795         * soft-fp/op-common.h (_FP_FMA): New macro.
47796         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
47797         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
47798         (_FP_MUL_MEAT_1_imm): ... here.
47799         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
47800         (_FP_MUL_MEAT_1_wide): ... here.
47801         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
47802         (_FP_MUL_MEAT_1_hard): ... here.
47803         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
47804         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
47805         (_FP_MUL_MEAT_2_wide): ... here.
47806         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
47807         (_FP_MUL_MEAT_2_wide_3mul): ... here.
47808         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
47809         (_FP_MUL_MEAT_2_gmp): ... here.
47810         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
47811         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
47812         (_FP_MUL_MEAT_4_wide): ... here.
47813         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
47814         (_FP_MUL_MEAT_4_gmp): ... here.
47815         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
47816         (_FP_WFRACBITS_DW_S): Likewise.
47817         (_FP_WFRACXBITS_DW_S): Likewise.
47818         (_FP_HIGHBIT_DW_S): Likewise.
47819         (FP_FMA_S): Likewise.
47820         (_FP_FRAC_HIGH_DW_S): Likewise.
47821         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
47822         (_FP_WFRACBITS_DW_D): Likewise.
47823         (_FP_WFRACXBITS_DW_D): Likewise.
47824         (_FP_HIGHBIT_DW_D): Likewise.
47825         (FP_FMA_D): Likewise.
47826         (_FP_FRAC_HIGH_DW_D): Likewise.
47827         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
47828         (_FP_WFRACBITS_DW_E): Likewise.
47829         (_FP_WFRACXBITS_DW_E): Likewise.
47830         (_FP_HIGHBIT_DW_E): Likewise.
47831         (FP_FMA_E): Likewise.
47832         (_FP_FRAC_HIGH_DW_E): Likewise.
47833         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
47834         (_FP_WFRACBITS_DW_Q): Likewise.
47835         (_FP_WFRACXBITS_DW_Q): Likewise.
47836         (_FP_HIGHBIT_DW_Q): Likewise.
47837         (FP_FMA_Q): Likewise.
47838         (_FP_FRAC_HIGH_DW_Q): Likewise.
47839         * soft-fp/fmasf4.c: New file.
47840         * soft-fp/fmadf4.c: Likewise.
47841         * soft-fp/fmatf4.c: Likewise.
47843 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47845         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47846         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
47847         Silvermont.
47848         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
47849         macro.
47850         (index_Slow_SSE4_2): Likewise.
47851         (index_Prefer_PMINUB_for_stringop): Likewise.
47852         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
47853         bit_Slow_SSE4_2 is set.
47854         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
47855         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47857 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47859         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
47860         rtld_global._dl_hwcap2.
47861         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
47862         POWER8.
47863         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
47864         POWER8 feature descriptions defined in _dl_hwcap2.
47865         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
47866         string handling for POWER8 feature bits.
47867         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
47868         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
47869         _dl_powerpc_cap_flags.
47870         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
47871         * sysdeps/powerpc/rtld-global-offsets.sym
47872         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
47873         _dl_hwcap2 in the rtld_global_ro structure.
47875 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47877         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
47878         hardware capabilities in support of AT_HWCAP2.
47879         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
47880         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
47881         GLRO(dl_hwcap2).
47882         (_dl_show_auxv): Add support for calling _dl_procinfo to display
47883         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
47884         explicitly the unknown a_type display mechanism is used.
47885         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
47886         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
47887         struct member.
47888         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
47889         to macro prototype for AT_HWCAP2 support.
47890         * sysdeps/i386/dl-procinfo.h: Likewise.
47891         * sysdeps/s390/dl-procinfo.h: Likewise.
47892         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
47893         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
47894         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
47895         return -1 for unknown a_type display fallback.
47896         * sysdeps/sparc/dl-procinfo.h: Likewise.
47897         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
47898         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
47900 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
47902         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
47903         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
47905 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
47907         [BZ #12492]
47908         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
47909         mprotect making __stack_prot writable.
47911 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
47912             Joseph Myers  <joseph@codesourcery.com>
47914         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
47915         as being properly aligned.
47917 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
47919         * dlfcn/modstatic5.c: New file.
47920         * dlfcn/tststatic5.c: New file.
47921         * dlfcn/Makefile (tests): Add tststatic5.
47922         (tests-static): Likewise.
47923         (modules-names): Add modstatic5.
47924         (tststatic5-ENV): New variable.
47925         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
47927         [BZ #15022]
47928         * elf/dl-support.c (_dl_main_map): New variable.
47929         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
47930         (_dl_nns, _dl_load_adds): Set to 1.
47931         (_dl_initial_searchlist): Refer to _dl_main_map.
47932         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
47933         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
47934         call to _dl_get_origin.
47935         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
47936         around call_map.
47937         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
47938         * dlfcn/modstatic3.c: New file.
47939         * dlfcn/tststatic3.c: New file.
47940         * dlfcn/tststatic4.c: New file.
47941         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
47942         (tests-static): Likewise.
47943         (modules-names): Add modstatic3.
47944         (tststatic3-ENV, tststatic4-ENV): New variables.
47945         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
47946         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
47948 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
47950         * configure.in (CC): Require GCC version 4.4 or later.
47951         * configure: Regenerated.
47952         * manual/install.texi (Tools for Compilation): Update GCC version
47953         requirement.
47954         * INSTALL: Regenerated.
47956 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47958         [BZ #15674]
47959         * string/test-memcmp.c (check2): New.
47960         (main): Call check2.
47962         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
47964 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
47966         [BZ #15022]
47967         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
47968         over to...
47969         (dl_open_worker) [!SHARED]: ... here.
47971 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47973         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
47975 2013-06-25  Richard Henderson  <rth@redhat.com>
47977         * locale/programs/locarchive.c: Include <libc-internal.h>
47979 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
47981         * manual/texinfo.tex: Update to version 2013-06-21.17, with
47982         trailing whitespace removed.
47984 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
47986         [BZ #10283]
47987         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
47988         * locale/programs/locarchive.c: Include libc-mmap.h.
47989         (prepare_address_space): Take two new outputs (the mmap base and len).
47990         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
47991         values.
47992         (create_archive): Declare new mmap base and len values for
47993         prepare_address_space, and store the result in ah.
47994         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
47995         (enlarge_archive): If ah->mmap_base is not NULL, use that and
47996         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
47997         Declare new mmap base and len values for
47998         prepare_address_space, and store the result in new_ah.
47999         (open_archive): Declare new mmap base and len values for
48000         prepare_address_space, and store the result in ah.
48001         (close_archive): If ah->mmap_base is not NULL, use that and
48002         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48003         * sysdeps/generic/libc-mmap.h: New file.
48005 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48007         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
48008         (ALIGN_UP): Likewise.
48009         (PTR_ALIGN_DOWN): Likewise.
48010         (PTR_ALIGN_UP): Likewise.
48012 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48014         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
48015         entry mapped to PPC_PLATFORM_POWER8.
48016         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
48017         POWER8.
48018         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
48019         (_dl_string_platform): Add case for exporting platform position for
48020         POWER8.
48021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
48022         search path to sysdeps/powerpc/powerpc32/power8 directory.
48023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
48024         search path to sysdeps/powerpc/powerpc64/power8 directory.
48025         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
48026         power7 directories.
48027         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
48028         power7 directories.
48030 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48032         * INSTALL: Regenerate.
48034         * nscd/connections.c (nscd_init): Fix comment.
48036 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
48038         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
48040         [BZ #15667]
48041         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
48042         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
48044 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48046         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
48047         DL_DST_REQ_STATIC.
48048         (DL_DST_REQ_STATIC): Remove macro.
48050 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
48052         [BZ #7006]
48053         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
48054         with a shift of 0 bits.
48056 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48058         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
48059         $(tststatic-ENV).
48061 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48063         [BZ #15655]
48064         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
48066 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48068         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
48069         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
48070         accepts -fno-tree-loop-distribute-patterns.
48071         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
48072         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
48073         recursive call.
48074         * string/memset.c (memset): Likewise.
48075         * string/test-memmove.c (simple_memmove): Disable loop transformation
48076         to library calls.
48077         * string/test-memset.c (simple_memset): Likewise.
48078         * benchtests/bench-memmove.c (simple_memmove): Likewise.
48079         * benchtests/bench-memset.c (simple_memset): Likewise.
48080         * configure: Regenerated.
48082 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
48084         * math/test-misc.c (main): Ignore fesetround failure when failures
48085         of subsequent rounding tests would be ignored.
48087         [BZ #15654]
48088         * math/fedisblxcpt.c (fedisableexcept): Return 0.
48089         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
48090         * math/fegetenv.c (__fegetenv): Return 0.
48091         * math/fegetexcept.c (fegetexcept): Return 0.
48092         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
48093         FE_TONEAREST.
48094         * math/feholdexcpt.c (feholdexcept): Return 0.
48095         * math/fesetenv.c (__fesetenv): Return 0.
48096         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
48097         argument FE_TONEAREST.
48098         * math/feupdateenv.c (__feupdateenv): Return 0.
48099         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
48101 2013-06-18  Roland McGrath  <roland@hack.frob.com>
48103         * elf/rtld-Rules (rtld-compile-command.S): New variable.
48104         (rtld-compile-command.s, rtld-compile-command.c): New variables.
48105         ($(objpfx)rtld-%.os rules): Use them.
48107 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48109         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
48110         fields.
48112 2013-06-17  Roland McGrath  <roland@hack.frob.com>
48114         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
48115         length of target pattern, then descending length of dependency pattern.
48116         * configure.in (AWK): Require gawk 3.1.2 or newer.
48117         * manual/install.texi (Tools for Compilation): Say that we do.
48118         * configure: Regenerated.
48120         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
48121         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
48122         * scripts/sysd-rules.awk: ... this new script.
48123         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
48124         than a glob-style pattern.
48126 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
48128         * math/test-misc.c (main): Do not treat incorrectly rounded
48129         conversions as failure unless ROUNDING_TESTS passes.
48131 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
48133         [BZ #15631]
48134         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
48135         restore exception state around main square root computation, then
48136         check for inexactness explicitly.
48138         * math/libm-test.inc (fma_test_data): Add another test.
48140 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48142         * manual/threads.texi (Non-POSIX Extensions): New document
48143         node.  Document pthread_getattr_default_np and
48144         pthread_setattr_default_np.
48146         * Versions.def (libpthread): Add GLIBC_2.18.
48147         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
48148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48149         Likewise.
48150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48151         Likewise.
48152         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48153         Likewise.
48154         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48155         Likewise.
48156         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
48157         Likewise.
48158         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48159         Likewise.
48160         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48161         Likewise.
48162         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48163         Likewise.
48164         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48165         Likewise.
48167 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48169         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48170         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
48172 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48173             H.J. Lu  <hjl.tools@gmail.com>
48175         [BZ #15627]
48176         * sysdeps/x86_64/rtld-memset.c: Remove file.
48177         * sysdeps/x86_64/rtld-memset.S: New file.
48179 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
48181         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
48182         (test_in_one_mode): Take arguments for whether the rounding mode
48183         is supported for each floating-point type.
48184         (do_test): Pass new arguments to test_in_one_mode using
48185         ROUNDING_TESTS.
48187 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48189         * posix/tst-waitid.c (do_test): Distinguish different instances of
48190         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
48191         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
48192         before entering the kernel for waitpid.
48194 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48196         * NEWS: Fix note on clock function precision.  Text by Roland
48197         McGrath.
48199 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48201         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
48202         it into place only when and if the sanity check passes.
48204 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
48206         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
48207         output for whether conversion result is exact.  Take argument
48208         indicating whether type is IBM long double.
48209         (round_for_all): Change need_exact field to ibm_ld.
48210         * stdlib/tst-strtod-round.c (struct exactness): New type.
48211         (struct test): Change bool ld_ok field to struct exactness exact.
48212         (TEST): Update all definitions for change to field.
48213         (tests): Regenerate array contents.
48214         (test_in_one_mode): Take pointer to new field instead of old ld_ok
48215         field value.  Check for IBM long double here.
48216         (do_test): Update calls to test_in_one_mode.
48218 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48220         [BZ #12515]
48221         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
48222         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
48224 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48226         [BZ #15605]
48227         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
48228         generated by the compiler on loop optimizations.
48229         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
48230         general definitions.
48232 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
48234         * math/bug-nextafter.c: Include <math-tests.h>.
48235         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48236         the relevant type.
48237         * math/bug-nexttoward.c: Include <math-tests.h>.
48238         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48239         the relevant type.
48240         * math/test-misc.c: Include <math-tests.h>.
48241         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48242         the relevant type.
48244 2013-06-12  Andreas Jaeger  <aj@suse.de>
48246         * po/ia.po: Update Interlingua translation from translation
48247         project.
48249 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48251         * include/fenv.h: Include stdbool.h.
48252         (struct rm_ctx): New structure.
48253         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
48254         Define macro.
48255         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
48256         (SET_RESTORE_ROUNDF): Likewise.
48257         (SET_RESTORE_ROUNDL): Likewise.
48258         (SET_RESTORE_ROUND_NOEX): Likewise.
48259         (SET_RESTORE_ROUND_NOEXF): Likewise.
48260         (SET_RESTORE_ROUND_NOEXL): Likewise.
48261         (SET_RESTORE_ROUND_53BIT): Likewise.
48262         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
48263         (libc_feresetround_noexf_ctx): Likewise.
48264         (libc_feresetround_noexl_ctx): Likewise.
48265         (libc_feholdsetround_53bit_ctx): Likewise.
48266         (libc_feresetround_53bit_ctx): Likewise.
48267         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
48268         (libc_feholdexcept_setround_sse_ctx): New function.
48269         (libc_fesetenv_sse_ctx): Likewise.
48270         (libc_feupdateenv_sse_ctx): Likewise.
48271         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
48272         (libc_feholdexcept_setround_387_ctx): Likewise.
48273         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
48274         (libc_feholdsetround_387_prec_ctx): Likewise.
48275         (libc_feholdsetround_387_ctx): Likewise.
48276         (libc_feholdsetround_387_53bit_ctx): Likewise.
48277         (libc_feholdsetround_sse_ctx): Likewise.
48278         (libc_feresetround_sse_ctx): Likewise.
48279         (libc_feresetround_387_ctx): Likewise.
48280         (libc_feupdateenv_387_ctx): Likewise.
48281         (libc_feholdexcept_setroundf_ctx): Define macro.
48282         (libc_fesetenvf_ctx): Likewise.
48283         (libc_feupdateenvf_ctx): Likewise.
48284         (libc_feholdsetroundf_ctx): Likewise.
48285         (libc_feresetroundf_ctx): Likewise.
48286         (libc_feholdexcept_setround_ctx): Likewise.
48287         (libc_fesetenv_ctx): Likewise.
48288         (libc_feupdateenv_ctx): Likewise.
48289         (libc_feholdsetround_ctx): Likewise.
48290         (libc_feresetround_ctx): Likewise.
48291         (libc_feholdexcept_setroundl_ctx): Likewise.
48292         (libc_feupdateenvl_ctx): Likewise.
48293         (libc_feholdsetroundl_ctx): Likewise.
48294         (libc_feresetroundl_ctx): Likewise.
48295         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
48296         (libc_feresetround_53bit_ctx): Likewise.
48298 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48300         * locale/iso-639.def: Convert to UTF-8.
48302 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
48304         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
48305         (EXCEPTION_TESTS_double): Likewise.
48306         (EXCEPTION_TESTS_long_double): Likewise.
48307         (EXCEPTION_TESTS): Likewise.
48308         * math/libm-test.inc (test_exceptions): Only test exceptions if
48309         EXCEPTION_TESTS (FLOAT).
48311 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48313         * benchtests/Makefile (string-bench): Add strcpy_chk and
48314         stpcpy_chk.
48315         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
48316         * benchtests/bench-stpcpy_chk.c: New file.
48317         * benchtests/bench-strcpy_chk-ifunc.c: New file.
48318         * benchtests/bench-strcpy_chk.c: New file.
48319         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
48320         code.
48321         (do_test): Likewise.
48323 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48325         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
48326         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
48327         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
48328         with tabs where appropriate.
48329         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
48330         dl-procinfo.h.
48331         [PPC_PLATFORM_PPC440]: Likewise.
48332         [PPC_PLATFORM_PPC464]: Likewise.
48333         [PPC_PLATFORM_PPC476]: Likewise.
48334         (_dl_string_platform): Add support for detecting ppc405, ppc440,
48335         ppc464, and ppc476 platform strings merging from ports/
48336         dl-procinfo.h.
48338 2013-06-11  Andreas Schwab  <schwab@suse.de>
48340         [BZ #14991]
48341         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
48342         (from_ucs4_idx): Regenerate.
48343         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
48344         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
48345         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
48346         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
48347         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
48348         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
48349         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
48350         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
48351         from FROM_LOOP and TO_LOOP specific macros.
48352         (BODY): Handle combining characters.
48353         * iconvdata/BIG5HKSCS.irreversible: Update.
48354         * iconvdata/BIG5HKSCS.precomposed: New file.
48355         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
48356         characters.
48357         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
48359 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48361         * include/sys/time.h: Fix indentation and add copyright header.
48363         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
48364         (do_test): Likewise.
48365         * string/test-memchr.c (do_one_test): Likewise.
48366         (do_test): Likewise.
48367         * string/test-memcmp.c (do_one_test): Likewise.
48368         (do_test): Likewise.
48369         * string/test-memcpy.c (do_one_test): Likewise.
48370         (do_test): Likewise.
48371         * string/test-memmem.c (do_one_test): Likewise.
48372         (do_test): Likewise.
48373         (do_random_tests): Likewise.
48374         * string/test-memmove.c (do_one_test): Likewise.
48375         (do_test): Likewise.
48376         * string/test-memset.c (do_one_test): Likewise.
48377         (do_test): Likewise.
48378         * string/test-rawmemchr.c (do_one_test): Likewise.
48379         (do_test): Likewise.
48380         * string/test-strcasecmp.c (do_one_test): Likewise.
48381         (do_test): Likewise.
48382         * string/test-strcasestr.c (do_one_test): Likewise.
48383         (do_test): Likewise.
48384         * string/test-strcat.c (do_one_test): Likewise.
48385         (do_test): Likewise.
48386         * string/test-strchr.c (do_one_test): Likewise.
48387         (do_test): Likewise.
48388         * string/test-strcmp.c (do_one_test): Likewise.
48389         (do_test): Likewise.
48390         * string/test-strcpy.c (do_one_test): Likewise.
48391         (do_test): Likewise.
48392         * string/test-string.h: Likewise.
48393         (test_init): Likewise.
48394         * string/test-strlen.c (do_one_test): Likewise.
48395         (do_test): Likewise.
48396         * string/test-strncasecmp.c (do_one_test): Likewise.
48397         (do_test): Likewise.
48398         * string/test-strncat.c (do_one_test): Likewise.
48399         (do_test): Likewise.
48400         * string/test-strncmp.c (do_one_test): Likewise.
48401         (do_test_limit): Likewise.
48402         (do_test): Likewise.
48403         * string/test-strncpy.c (do_one_test): Likewise.
48404         (do_test): Likewise.
48405         * string/test-strnlen.c (do_one_test): Likewise.
48406         (do_test): Likewise.
48407         * string/test-strpbrk.c (do_one_test): Likewise.
48408         (do_test): Likewise.
48409         * string/test-strrchr.c (do_one_test): Likewise.
48410         (do_test): Likewise.
48411         * string/test-strspn.c (do_one_test): Likewise.
48412         (do_test): Likewise.
48413         * string/test-strstr.c (do_one_test): Likewise.
48414         (do_test): Likewise.
48416         * benchtests/Makefile (string-bench): Add string benchmarks.
48417         * benchtests/bench-bcopy-ifunc.c: New file.
48418         * benchtests/bench-bcopy.c: New file.
48419         * benchtests/bench-bzero-ifunc.c: New file.
48420         * benchtests/bench-bzero.c: New file.
48421         * benchtests/bench-memccpy-ifunc.c: New file.
48422         * benchtests/bench-memccpy.c: New file.
48423         * benchtests/bench-memchr-ifunc.c: New file.
48424         * benchtests/bench-memchr.c: New file.
48425         * benchtests/bench-memcmp-ifunc.c: New file.
48426         * benchtests/bench-memcmp.c: New file.
48427         * benchtests/bench-memmem-ifunc.c: New file.
48428         * benchtests/bench-memmem.c: New file.
48429         * benchtests/bench-memmove-ifunc.c: New file.
48430         * benchtests/bench-memmove.c: New file.
48431         * benchtests/bench-mempcpy-ifunc.c: New file.
48432         * benchtests/bench-mempcpy.c: New file.
48433         * benchtests/bench-memset-ifunc.c: New file.
48434         * benchtests/bench-memset.c: New file.
48435         * benchtests/bench-rawmemchr-ifunc.c: New file.
48436         * benchtests/bench-rawmemchr.c: New file.
48437         * benchtests/bench-stpcpy-ifunc.c: New file.
48438         * benchtests/bench-stpcpy.c: New file.
48439         * benchtests/bench-stpncpy-ifunc.c: New file.
48440         * benchtests/bench-stpncpy.c: New file.
48441         * benchtests/bench-strcasecmp-ifunc.c: New file.
48442         * benchtests/bench-strcasecmp.c: New file.
48443         * benchtests/bench-strcasestr-ifunc.c: New file.
48444         * benchtests/bench-strcasestr.c: New file.
48445         * benchtests/bench-strcat-ifunc.c: New file.
48446         * benchtests/bench-strcat.c: New file.
48447         * benchtests/bench-strchr-ifunc.c: New file.
48448         * benchtests/bench-strchr.c: New file.
48449         * benchtests/bench-strchrnul-ifunc.c: New file.
48450         * benchtests/bench-strchrnul.c: New file.
48451         * benchtests/bench-strcmp-ifunc.c: New file.
48452         * benchtests/bench-strcmp.c: New file.
48453         * benchtests/bench-strcpy-ifunc.c: New file.
48454         * benchtests/bench-strcpy.c: New file.
48455         * benchtests/bench-strcspn-ifunc.c: New file.
48456         * benchtests/bench-strcspn.c: New file.
48457         * benchtests/bench-strlen-ifunc.c: New file.
48458         * benchtests/bench-strlen.c: New file.
48459         * benchtests/bench-strncasecmp-ifunc.c: New file.
48460         * benchtests/bench-strncasecmp.c: New file.
48461         * benchtests/bench-strncat-ifunc.c: New file.
48462         * benchtests/bench-strncat.c: New file.
48463         * benchtests/bench-strncmp-ifunc.c: New file.
48464         * benchtests/bench-strncmp.c: New file.
48465         * benchtests/bench-strncpy-ifunc.c: New file.
48466         * benchtests/bench-strncpy.c: New file.
48467         * benchtests/bench-strnlen-ifunc.c: New file.
48468         * benchtests/bench-strnlen.c: New file.
48469         * benchtests/bench-strpbrk-ifunc.c: New file.
48470         * benchtests/bench-strpbrk.c: New file.
48471         * benchtests/bench-strrchr-ifunc.c: New file.
48472         * benchtests/bench-strrchr.c: New file.
48473         * benchtests/bench-strspn-ifunc.c: New file.
48474         * benchtests/bench-strspn.c: New file.
48475         * benchtests/bench-strstr-ifunc.c: New file.
48476         * benchtests/bench-strstr.c: New file.
48478         * benchtests/Makefile: Disable parallel execution of targets.
48479         (string-bench): Add memcpy.
48480         (benchset): New variable to store a list of benchmark sets.
48481         (bench-func): Renamed from bench.
48482         (bench-set): New target.
48483         (bench): Depend on bench-func and bench-set.
48484         * benchtests/README: Add section on benchmark sets.
48485         * benchtests/bench-memcpy-ifunc.c: New file.
48486         * benchtests/bench-memcpy.c: New file.
48487         * benchtests/bench-string.h: New file.
48489 2013-06-11  Andreas Schwab  <schwab@suse.de>
48491         [BZ #15577]
48492         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
48493         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
48494         values in the triple.
48495         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
48496         terminator in the group key.
48498 2013-06-11  Andreas Jaeger  <aj@suse.de>
48500         * po/zh_TW.po: Update Chinese (traditional) translation from
48501         translation project.
48503 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48505         * include/time.h (__clock_gettime): Add libc_hidden_proto.
48506         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
48507         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
48508         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48509         (clock_getcpuclockid): Likewise.
48510         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
48511         Add weak_alias and libc_hidden_def.
48512         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
48513         * rt/clock_gettime.c (clock_gettime): Rename to
48514         __clock_gettime.  Add weak_alias and libc_hidden_def.
48515         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
48516         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
48517         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
48518         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
48519         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
48520         Likewise.
48521         * rt/clock_settime.c (clock_settime): Rename to
48522         __clock_settime.  Add weak_alias and libc_hidden_def.
48523         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
48525 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
48527         * mach/err_boot.sub: Remove trailing whitespace.
48528         * mach/err_ipc.sub: Likewise.
48529         * mach/err_mach.sub: Likewise.
48531         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
48532         (ROUNDING_TESTS_double): Likewise.
48533         (ROUNDING_TESTS_long_double): Likewise.
48534         (ROUNDING_TESTS): Likewise.
48535         * math/libm-test.inc: Include <math-tests.h>.
48536         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
48537         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48538         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48539         (IF_ROUND_INIT_FE_UPWARD): Likewise.
48541 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48543         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
48544         of assigning.
48546 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
48548         * sysdeps/gnu/errlist.awk: Do not generate space at end of
48549         otherwise empty TRANS lines.
48550         * sysdeps/gnu/errlist.c: Regenerated.
48552         * catgets/gencat.c (error_print): Use (void) in function
48553         definition.
48554         * crypt/crypt_util.c (__init_des): Likewise.
48555         * crypt/speeds.c (Stop): Likewise.
48556         (main): Likewise.
48557         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
48558         * inet/ruserpass.c (token): Likewise.
48559         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
48560         * intl/localealias.c (extend_alias_table): Likewise.
48561         * intl/plural-exp.c (init_germanic_plural): Likewise.
48562         * libio/fcloseall.c (__fcloseall): Likewise.
48563         * libio/genops.c (_IO_flush_all): Likewise.
48564         (_IO_flush_all_linebuffered): Likewise.
48565         (_IO_cleanup): Likewise.
48566         (_IO_iter_begin): Likewise.
48567         (_IO_iter_end): Likewise.
48568         (_IO_list_lock): Likewise.
48569         (_IO_list_unlock): Likewise.
48570         (_IO_list_resetlock): Likewise.
48571         * libio/getchar.c (getchar): Likewise.
48572         * libio/getchar_u.c (getchar_unlocked): Likewise.
48573         * libio/getwchar.c (getwchar): Likewise.
48574         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
48575         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
48576         * login/getpt.c (__getpt): Likewise.
48577         * login/tst-utmp.c (main): Likewise.
48578         * malloc/hooks.c (__malloc_check_init): Likewise.
48579         * malloc/malloc.c (__malloc_stats): Likewise.
48580         * malloc/mtrace.c (tr_break): Likewise.
48581         (mtrace): Likewise.
48582         (muntrace): Likewise.
48583         * misc/fstab.c (endfsent): Likewise.
48584         * misc/getclktck.c (__getclktck): Likewise.
48585         * misc/getdtsz.c (__getdtablesize): Likewise.
48586         * misc/gethostid.c (gethostid): Likewise.
48587         * misc/getpagesize.c (__getpagesize): Likewise.
48588         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
48589         (__get_nprocs): Likewise.
48590         (__get_phys_pages): Likewise.
48591         (__get_avphys_pages): Likewise.
48592         * misc/getttyent.c (getttyent): Likewise.
48593         (setttyent): Likewise.
48594         (endttyent): Likewise.
48595         * misc/getusershell.c (getusershell): Likewise.
48596         (endusershell): Likewise.
48597         (setusershell): Likewise.
48598         (initshells): Likewise.
48599         * misc/hsearch.c (__hdestroy): Likewise.
48600         * misc/sync.c (sync): Likewise.
48601         * misc/syslog.c (closelog_internal): Likewise.
48602         (closelog): Likewise.
48603         * misc/ttyslot.c (ttyslot): Likewise.
48604         * misc/vhangup.c (vhangup): Likewise.
48605         * posix/fork.c (__fork): Likewise.
48606         * posix/getegid.c (__getegid): Likewise.
48607         * posix/geteuid.c (__geteuid): Likewise.
48608         * posix/getgid.c (__getgid): Likewise.
48609         * posix/getpid.c (__getpid): Likewise.
48610         * posix/getppid.c (__getppid): Likewise.
48611         * posix/getuid.c (__getuid): Likewise.
48612         * posix/pause.c (pause): Likewise.
48613         * posix/setpgrp.c (setpgrp): Likewise.
48614         * posix/setsid.c (__setsid): Likewise.
48615         * posix/test-vfork.c (noop): Likewise.
48616         * resolv/gethnamaddr.c (_endhtent): Likewise.
48617         (_gethtent): Likewise.
48618         (ht_endhostent): Likewise.
48619         (gethostent): Likewise.
48620         (dns_service): Likewise.
48621         * stdlib/drand48.c (drand48): Likewise.
48622         * stdlib/lrand48.c (lrand48): Likewise.
48623         * stdlib/mrand48.c (mrand48): Likewise.
48624         * stdlib/rand.c (rand): Likewise.
48625         * stdlib/random.c (__random): Likewise.
48626         * stdlib/setenv.c (clearenv): Likewise.
48627         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
48628         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
48629         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
48630         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
48631         (__get_nprocs): Likewise.
48632         (__get_phys_pages): Likewise.
48633         (__get_avphys_pages): Likewise.
48634         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
48635         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
48636         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
48637         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
48638         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
48639         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
48640         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
48641         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
48642         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
48643         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
48644         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
48645         * sysdeps/mach/hurd/sync.c (sync): Likewise.
48646         * sysdeps/posix/clock.c (clock): Likewise.
48647         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
48648         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
48649         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
48650         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
48651         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
48652         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
48653         (__get_nprocs_conf): Likewise.
48654         (__get_phys_pages): Likewise.
48655         (__get_avphys_pages): Likewise.
48656         * time/clock.c (clock): Likewise.
48657         * time/tzset.c (__tzname_max): Likewise.
48659 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
48661         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
48662         (__bswap_32): Do not use "register".
48663         * crypt/crypt.c (_ufc_doit_r): Likewise.
48664         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
48665         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
48666         * gmon/gmon.c (__monstartup): Likewise.
48667         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
48668         * hurd/hurdmalloc.c (more_memory): Likewise.
48669         (malloc): Likewise.
48670         (free): Likewise.
48671         (realloc): Likewise.
48672         (malloc_fork_prepare): Likewise.
48673         (malloc_fork_parent): Likewise.
48674         (malloc_fork_child): Likewise.
48675         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
48676         (_svcauth_des): Likewise.
48677         * inet/inet_lnaof.c (inet_lnaof): Likewise.
48678         * inet/inet_net.c (inet_network): Likewise.
48679         * inet/inet_netof.c (inet_netof): Likewise.
48680         * inet/rcmd.c (__validuser2_sa): Likewise.
48681         * io/fts.c (fts_open): Likewise.
48682         (fts_load): Likewise.
48683         (fts_close): Likewise.
48684         (fts_read): Likewise.
48685         (fts_children): Likewise.
48686         (fts_build): Likewise.
48687         (fts_stat): Likewise.
48688         (fts_sort): Likewise.
48689         (fts_alloc): Likewise.
48690         (fts_lfree): Likewise.
48691         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
48692         (_IO_file_xsgetn): Likewise.
48693         (_IO_file_xsgetn_mmap): Likewise.
48694         * libio/iofopncook.c (_IO_cookie_read): Likewise.
48695         (_IO_cookie_write): Likewise.
48696         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
48697         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
48698         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
48699         * malloc/obstack.c (_obstack_begin): Likewise.
48700         (_obstack_begin_1): Likewise.
48701         (_obstack_newchunk): Likewise.
48702         (_obstack_allocated_p): Likewise.
48703         (obstack_free): Likewise.
48704         (_obstack_memory_used): Likewise.
48705         * misc/getttyent.c (getttynam): Likewise.
48706         (getttyent): Likewise.
48707         (skip): Likewise.
48708         (value): Likewise.
48709         * misc/getusershell.c (initshells): Likewise.
48710         * misc/syslog.c (__vsyslog_chk): Likewise.
48711         * misc/ttyslot.c (ttyslot): Likewise.
48712         * nis/nis_hash.c (__nis_hash): Likewise.
48713         * posix/fnmatch_loop.c (FCT): Likewise.
48714         * posix/getconf.c (print_all): Likewise.
48715         (main): Likewise.
48716         * posix/getopt.c (exchange): Likewise.
48717         * posix/glob.c (globfree): Likewise.
48718         (prefix_array): Likewise.
48719         (__glob_pattern_type): Likewise.
48720         * resolv/arpa/nameser.h (NS_GET16): Likewise.
48721         (NS_GET32): Likewise.
48722         (NS_PUT16): Likewise.
48723         (NS_PUT32): Likewise.
48724         * resolv/gethnamaddr.c (getanswer): Likewise.
48725         (gethostbyname2): Likewise.
48726         (gethostbyaddr): Likewise.
48727         (_gethtent): Likewise.
48728         (_gethtbyname2): Likewise.
48729         (_gethtbyaddr): Likewise.
48730         * resolv/ns_print.c (dst_s_get_int16): Likewise.
48731         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
48732         * resolv/res_init.c (__res_vinit): Likewise.
48733         (net_mask): Likewise.
48734         * resolv/res_mkquery.c (outchar): Likewise.
48735         (PRINT): Likewise.
48736         * stdio-common/printf_fp.c (outchar): Likewise.
48737         (PRINT): Likewise.
48738         * stdio-common/printf_fphex.c (outchar): Likewise.
48739         (PRINT): Likewise.
48740         * stdio-common/printf_size.c (outchar): Likewise.
48741         (PRINT): Likewise.
48742         * stdio-common/test_rdwr.c (main): Likewise.
48743         * stdio-common/tfformat.c (matches): Likewise.
48744         * stdio-common/vfprintf.c (outchar): Likewise.
48745         (printf_unknown): Likewise.
48746         (buffered_vfprintf): Likewise.
48747         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
48748         * stdio-common/xbug.c (AppendToBuffer): Likewise.
48749         (ReadFile): Likewise.
48750         * stdlib/qsort.c (SWAP): Likewise.
48751         (_quicksort): Likewise.
48752         * stdlib/setenv.c (__add_to_environ): Likewise.
48753         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
48754         * stdlib/strtol_l.c (__strtol_l): Likewise.
48755         * stdlib/tst-strtod.c (main): Likewise.
48756         * stdlib/tst-strtol.c (main): Likewise.
48757         * stdlib/tst-strtoll.c (main): Likewise.
48758         * string/bits/string2.h (__strcmp_cc): Likewise.
48759         (__strcmp_cg): Likewise.
48760         (__strcspn_c1): Likewise.
48761         (__strcspn_c2): Likewise.
48762         (__strcspn_c3): Likewise.
48763         (__strspn_c1): Likewise.
48764         (__strspn_c2): Likewise.
48765         (__strspn_c3): Likewise.
48766         (__strsep_1c): Likewise.
48767         (__strsep_2c): Likewise.
48768         (__strsep_3c): Likewise.
48769         * string/memccpy.c (__memccpy): Likewise.
48770         * string/stpcpy.c (__stpcpy): Likewise.
48771         * string/strcmp.c (strcmp): Likewise.
48772         * string/strrchr.c (strrchr): Likewise.
48773         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
48774         Likewise.
48775         * sysdeps/mach/hurd/getcwd.c
48776         (_hurd_canonicalize_directory_name_internal): Likewise.
48777         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
48778         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
48779         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
48780         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
48781         Likewise, in both definitions.
48782         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
48783         definitions.
48784         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
48785         64] (__bswap_64): Likewise.
48786         * time/test_time.c (main): Likewise.
48787         * time/tzfile.c (__tzfile_read): Likewise.
48788         (__tzfile_compute): Likewise.
48789         * time/tzset.c (__tzset_parse_tz): Likewise.
48790         (tzset_internal): Likewise.
48791         (compute_change): Likewise.
48792         * wcsmbs/wcscat.c (__wcscat): Likewise.
48793         * wcsmbs/wcschr.c (wcschr): Likewise.
48794         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
48795         * wcsmbs/wcscspn.c (wcscspn): Likewise.
48796         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
48797         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
48798         * wcsmbs/wcsspn.c (wcsspn): Likewise.
48799         * wcsmbs/wcsstr.c (wcsstr): Likewise.
48800         * wcsmbs/wmemchr.c (wmemchr): Likewise.
48801         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48802         * wcsmbs/wmemset.c (wmemset): Likewise.
48804 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
48806         * scripts/config.guess: Update to version 2013-05-16.
48807         * scripts/config.sub: Update to version 2013-04-24.
48808         * scripts/install-sh: Update to version 2011-11-20.07.
48809         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
48810         * scripts/move-if-change: Update to version 2012-01-06 07:23.
48812 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
48814         * debug/fgetws_u_chk.c: Fix leading whitespaces.
48815         * elf/sln.c: Likewise.
48816         * hurd/hurd/ioctl.h: Likewise.
48817         * hurd/hurdmalloc.c: Likewise.
48818         * hurd/xattr.c: Likewise.
48819         * include/shlib-compat.h: Likewise.
48820         * inet/ruserpass.c: Likewise.
48821         * libio/iofgets_u.c: Likewise.
48822         * libio/iofgetws_u.c: Likewise.
48823         * locale/programs/ld-identification.c: Likewise.
48824         * locale/programs/ld-time.c: Likewise.
48825         * mach/msg-destroy.c: Likewise.
48826         * nss/nss_files/files-netgrp.c: Likewise.
48827         * resolv/res_data.c: Likewise.
48828         * soft-fp/op-1.h: Likewise.
48829         * soft-fp/op-2.h: Likewise.
48830         * soft-fp/op-4.h: Likewise.
48831         * soft-fp/op-common.h: Likewise.
48832         * stdio-common/printf_fphex.c: Likewise.
48833         * stdlib/strtod_l.c: Likewise.
48834         * sunrpc/rpc/clnt.h: Likewise.
48835         * sysdeps/generic/framestate.c: Likewise.
48836         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48837         * sysdeps/i386/bsd-setjmp.S: Likewise.
48838         * sysdeps/i386/__longjmp.S: Likewise.
48839         * sysdeps/i386/setjmp.S: Likewise.
48840         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48841         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48842         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48843         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48844         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48845         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48846         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48847         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48848         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48849         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
48850         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48851         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48852         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48853         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48854         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48855         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48856         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48857         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
48858         * sysdeps/ieee754/support.c: Likewise.
48859         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48860         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
48861         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
48862         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
48863         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
48864         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
48865         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
48866         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
48867         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
48868         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
48869         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
48870         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
48871         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
48872         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
48873         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
48874         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
48875         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
48878 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
48880         * posix/transbug.c: Remove executable mode.
48882 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
48884         * crypt/speeds.c: Remove trailing whitespace.
48885         * dlfcn/default.c: Likewise.
48886         * elf/ifuncdep2.c: Likewise.
48887         * elf/ifuncmain1.c: Likewise.
48888         * elf/ifuncmain1vis.c: Likewise.
48889         * elf/testobj.h: Likewise.
48890         * elf/tst-stackguard1.c: Likewise.
48891         * gmon/sys/gmon.h: Likewise.
48892         * hurd/hurdmsg.c: Likewise.
48893         * hurd/new-fd.c: Likewise.
48894         * hurd/ports-get.c: Likewise.
48895         * iconvdata/ibm1008_420.c: Likewise.
48896         * inet/tst-getni1.c: Likewise.
48897         * inet/tst-getni2.c: Likewise.
48898         * libio/ioungetc.c: Likewise.
48899         * libio/wfiledoalloc.c: Likewise.
48900         * manual/libm-err-tab.pl: Likewise.
48901         * math/w_dremf.c: Likewise.
48902         * misc/ftruncate.c: Likewise.
48903         * posix/bug-glob2.c: Likewise.
48904         * posix/tst-pcre.c: Likewise.
48905         * posix/wait4.c: Likewise.
48906         * resolv/README: Likewise.
48907         * resolv/res_debug.h: Likewise.
48908         * resolv/tst-inet_ntop.c: Likewise.
48909         * setjmp/bug269-setjmp.c: Likewise.
48910         * soft-fp/extended.h: Likewise.
48911         * soft-fp/op-1.h: Likewise.
48912         * soft-fp/op-2.h: Likewise.
48913         * soft-fp/op-4.h: Likewise.
48914         * soft-fp/op-8.h: Likewise.
48915         * soft-fp/testit.c: Likewise.
48916         * stdio-common/bug16.c: Likewise.
48917         * stdlib/random.c: Likewise.
48918         * sunrpc/rpcsvc/rquota.x: Likewise.
48919         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
48920         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48921         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48922         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48923         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48924         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48925         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48926         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48927         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48928         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48929         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48930         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48931         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48932         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48933         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48934         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48935         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48936         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48937         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48938         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48939         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48940         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48941         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
48942         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48943         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48944         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48945         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48946         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48947         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48948         * sysdeps/ieee754/s_lib_version.c: Likewise.
48949         * sysdeps/mach/hurd/check_fds.c: Likewise.
48950         * sysdeps/mach/hurd/getsockname.c: Likewise.
48951         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
48952         * sysdeps/mach/hurd/recvfrom.c: Likewise.
48953         * sysdeps/powerpc/bits/link.h: Likewise.
48954         * sysdeps/powerpc/dl-procinfo.c: Likewise.
48955         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
48956         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
48957         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
48958         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
48959         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48960         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
48961         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
48962         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
48963         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48964         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
48965         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
48966         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
48967         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48968         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48969         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48970         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
48971         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
48972         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48973         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48974         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48975         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
48976         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48977         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
48978         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
48979         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
48980         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
48981         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48982         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48983         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
48984         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
48985         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
48986         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48987         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48988         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
48989         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
48990         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
48991         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
48992         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
48993         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
48994         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
48995         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
48996         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
48997         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
48998         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
48999         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
49000         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
49001         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
49002         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
49003         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
49004         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49005         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49006         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49007         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49008         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
49009         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
49010         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
49011         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49012         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
49013         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
49014         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
49015         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
49016         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
49017         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49018         * sysdeps/powerpc/sysdep.h: Likewise.
49019         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49020         * sysdeps/s390/s390-64/sub_n.S: Likewise.
49021         * sysdeps/sh/dl-trampoline.S: Likewise.
49022         * sysdeps/sh/memset.S: Likewise.
49023         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
49024         * sysdeps/sh/strlen.S: Likewise.
49025         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
49026         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
49027         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
49028         * sysdeps/sparc/sparc32/rem.S: Likewise.
49029         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
49030         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
49031         * sysdeps/sparc/sparc32/strchr.S: Likewise.
49032         * sysdeps/sparc/sparc32/udiv.S: Likewise.
49033         * sysdeps/sparc/sparc32/urem.S: Likewise.
49034         * sysdeps/sparc/sparc64/add_n.S: Likewise.
49035         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49036         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
49037         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
49038         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
49039         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
49040         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
49041         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
49042         * sysdeps/unix/bsd/times.c: Likewise.
49043         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
49044         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
49045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
49046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
49047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
49048         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
49049         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
49050         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
49051         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
49052         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
49053         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
49054         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
49055         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
49056         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49057         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
49058         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
49059         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
49060         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
49061         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
49062         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
49063         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
49064         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
49065         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49066         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
49067         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
49068         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
49069         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
49070         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49071         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
49072         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
49073         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
49074         * sysdeps/x86_64/strcspn.S: Likewise.
49076 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49078         * locale/C-translit.h: Revert #include <stdint.h> because this is a
49079         generated file.  Regenerate properly from gen-translit.pl.
49080         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
49081         locale/C-translit.h.
49083 2013-06-05  Andreas Schwab  <schwab@suse.de>
49085         [BZ #15100]
49086         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
49087         week as 6 instead of -1.
49088         * time/tst-strptime.c (day_tests): Add test case.
49090 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49092         * sysdeps/generic/math_private.h
49093         (libc_feholdexcept_setround_53bit): Replace with
49094         libc_feholdsetround_53bit.
49095         (libc_feupdateenv_53bit): Replace with
49096         libc_feresetround_53bit.
49097         (SET_RESTORE_ROUND_53BIT): Adjust.
49099 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49101         * string/test-strchrnul.c: Add copyright header.
49103         * posix/tst-getaddrinfo4.c: Increase test timeout.
49105 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
49107         [BZ #15536]
49108         * math/libm-test.inc (MAX_EXP): Remove
49109         (MIN_EXP): Define.
49110         (ulp): Use MIN_EXP - MANT_DIG.
49111         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
49113 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
49115         * po/be.po: Revert last change.
49116         * po/zh_CN.po: Likewise.
49117         * po/header.pot: Likewise.
49119 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
49121         * Makefile ($(common-objpfx)linkobj/libc.so): Define
49122         link-libc-deps to empty as target-specific variable.
49123         * Makerules (link-libc-args): New variable.
49124         (libc-for-link): Likewise.
49125         (link-libc-deps): Likewise.
49126         (lib%.so): Depend on $(link-libc-deps).  Link with
49127         $(link-libc-args).
49128         (build-module): Link with $(link-libc-args).
49129         (build-module-asneeded): Likewise.
49130         (build-module-helper-objlist): Filter out $(link-libc-deps) from
49131         list of objects.
49132         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
49133         target-specific variable.
49134         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
49135         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
49136         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
49137         libc.
49138         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
49139         libc and ld.so.
49140         ($(objpfx)libpcprofile.so): Likewise.
49141         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
49142         libc_nonshared.a.
49143         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
49144         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
49145         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
49146         $(link-libc-deps).
49147         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
49148         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
49149         * login/Makefile ($(objpfx)libutil.so): Likewise.
49150         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
49151         * math/Makefile ($(objpfx)libm.so): Likewise.
49152         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
49153         $(objpfx)libnsl.so): Define libc-for-link as target-specific
49154         variable instead of depending directly on libc.
49155         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
49156         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
49157         $(link-libc-deps).
49158         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
49159         libc.
49160         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
49161         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
49162         ($(objpfx)libanl.so): Likewise.
49163         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
49164         ld.so.
49165         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
49166         $(link-libc-deps).
49167         * sysdeps/i386/fpu/Makefile: Remove file.
49168         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
49169         ($(objpfx)libm.so): Remove dependency on ld.so.
49171 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
49173         [BZ # 15553]
49174         * nis/yp_xdr.c (XDRMAXNAME): Define.
49175         (XDRMAXRECORD): Define.
49176         (xdr_domainname): Use XDRMAXNAME.
49177         (xdr_mapname): Likewise.
49178         (xdr_peername): Likewise.
49179         (xdr_keydat): Use XDRMAXRECORD.
49180         (xdr_valdat): Likewise.
49182 2013-05-30  Jeff Law  <law@redhat.com>
49184         [BZ #14256]
49185         * manual/errno.texi (ESTALE): Update to account for more than
49186         just NFS file systems.
49187         * sysdeps/gnu/errlist.c: Regenerated.
49189 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49191         [BZ #15465]
49192         * elf/Makefile (tests): Add tst-null-argv.
49193         (modules-names):  Add tst-null-argv-lib.
49194         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
49195         (tst-null-argv-ENV): Set environment for tst-null-argv.
49196         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
49197         (RTLD_PROGNAME): New macro.
49198         * elf/tst-null-argv.c: New test case.
49199         * elf/tst-null-argv-lib.c: Library for test case.
49200         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
49201         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
49202         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
49203         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
49204         * elf/dl-init.c (call_init): Likewise.
49205         (_dl_init): Likewise.
49206         * elf/dl-load.c (print_search_path): Likewise.
49207         (_dl_map_object): Likewise.
49208         * elf/dl-lookup.c (do_lookup_x): Likewise.
49209         (add_dependency): Likewise.
49210         (_dl_lookup_symbol_x): Likewise.
49211         (_dl_debug_bindings): Likewise.
49212         * elf/dl-open.c (_dl_show_scope): Likewise.
49213         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
49214         * elf/dl-version.c (match_symbol): Likewise.
49215         (_dl_check_map_versions): Likewise.
49216         * elf/rtld.c (dl_main): Likewise.
49217         (print_unresolved): Use RTLD_PROGNAME.
49218         (print_missing_version): Likewise.
49219         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
49220         (elf_machine_rela): Likewise.
49221         * sysdeps/powerpc/powerpc32/dl-machine.c
49222         (__process_machine_rela): Likewise.
49223         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49224         Likewise.
49225         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
49226         Likewise.
49227         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
49228         Likewise.
49229         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49230         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
49231         Likewise.
49232         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
49233         Likewise.
49234         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49236 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
49238         * po/be.po: Add descriptive title.
49239         * po/zh_CN.po: Likewise.
49240         * po/header.pot: Likewise.
49242 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
49244         * locale/programs/locarchive.c (create_archive): Inlucde fname in
49245         error message.
49246         (enlarge_archive): Likewise.
49248 2013-05-28  Ben North  <ben@redfrontdoor.org>
49250         * manual/arith.texi (frexp): It is the magnitude of the return
49251         value which lies in [0.5, 1), not the return value itself.
49253 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49257 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
49259         * stdio-common/bug26.c (main): Correct fscanf template.
49261         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
49262         declare _dl_skip_args.
49264         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
49265         Don't declare.
49267         * manual/platform.texi: Add missing @end deftypefun.
49269 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
49271         [BZ #15529]
49272         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
49273         bit of mantissa of 2^16382.
49274         * math/libm-test.inc (hypot_test_data): Add more tests.
49276         * math/libm-test.inc: Add drem and pow10 to list of tested
49277         functions.
49278         (pow10_test): New function.
49279         (drem_test): Likewise.
49280         (drem_test_tonearest): Likewise.
49281         (drem_test_towardzero): Likewise.
49282         (drem_test_downward): Likewise.
49283         (drem_test_upward): Likewise.
49284         (main): Call the new functions.
49286         * math/libm-test.inc (finite_test_data): Remove.
49287         (finite_test): Run tests from isfinite_test_data.
49288         (gamma_test_data): Remove.
49289         (gamma_test): Run tests from lgamma_test_data.
49290         * sysdeps/i386/fpu/libm-test-ulps: Update.
49291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49293 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49295         * manual/platform.texi: Add PowerPC PPR function set documentation.
49296         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
49297         implementation.
49299 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
49301         * math/libm-test.inc (MAX_EXP): Define.
49302         (ULPDIFF): Define.
49303         (ulp): New function.
49304         (check_float_internal): Use ULPDIFF.
49305         (cpow_test): Disable failing test.
49306         (check_ulp): Test ulp() implemetnation.
49307         (main): Call check_ulp before starting tests.
49309 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
49311         * math/gen-libm-test.pl (generate_testfile): Do not handle
49312         START_DATA and END_DATA.
49313         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
49314         END_DATA.
49315         (acos_tonearest_test_data): Likewise.
49316         (acos_towardzero_test_data): Likewise.
49317         (acos_downward_test_data): Likewise.
49318         (acos_upward_test_data): Likewise.
49319         (acosh_test_data): Likewise.
49320         (asin_test_data): Likewise.
49321         (asin_tonearest_test_data): Likewise.
49322         (asin_towardzero_test_data): Likewise.
49323         (asin_downward_test_data): Likewise.
49324         (asin_upward_test_data): Likewise.
49325         (asinh_test_data): Likewise.
49326         (atan_test_data): Likewise.
49327         (atanh_test_data): Likewise.
49328         (atan2_test_data): Likewise.
49329         (cabs_test_data): Likewise.
49330         (cacos_test_data): Likewise.
49331         (cacosh_test_data): Likewise.
49332         (carg_test_data): Likewise.
49333         (casin_test_data): Likewise.
49334         (casinh_test_data): Likewise.
49335         (catan_test_data): Likewise.
49336         (catanh_test_data): Likewise.
49337         (cbrt_test_data): Likewise.
49338         (ccos_test_data): Likewise.
49339         (ccosh_test_data): Likewise.
49340         (ceil_test_data): Likewise.
49341         (cexp_test_data): Likewise.
49342         (cimag_test_data): Likewise.
49343         (clog_test_data): Likewise.
49344         (clog10_test_data): Likewise.
49345         (conj_test_data): Likewise.
49346         (copysign_test_data): Likewise.
49347         (cos_test_data): Likewise.
49348         (cos_tonearest_test_data): Likewise.
49349         (cos_towardzero_test_data): Likewise.
49350         (cos_downward_test_data): Likewise.
49351         (cos_upward_test_data): Likewise.
49352         (cosh_test_data): Likewise.
49353         (cosh_tonearest_test_data): Likewise.
49354         (cosh_towardzero_test_data): Likewise.
49355         (cosh_downward_test_data): Likewise.
49356         (cosh_upward_test_data): Likewise.
49357         (cpow_test_data): Likewise.
49358         (cproj_test_data): Likewise.
49359         (creal_test_data): Likewise.
49360         (csin_test_data): Likewise.
49361         (csinh_test_data): Likewise.
49362         (csqrt_test_data): Likewise.
49363         (ctan_test_data): Likewise.
49364         (ctan_tonearest_test_data): Likewise.
49365         (ctan_towardzero_test_data): Likewise.
49366         (ctan_downward_test_data): Likewise.
49367         (ctan_upward_test_data): Likewise.
49368         (ctanh_test_data): Likewise.
49369         (ctanh_tonearest_test_data): Likewise.
49370         (ctanh_towardzero_test_data): Likewise.
49371         (ctanh_downward_test_data): Likewise.
49372         (ctanh_upward_test_data): Likewise.
49373         (erf_test_data): Likewise.
49374         (erfc_test_data): Likewise.
49375         (exp_test_data): Likewise.
49376         (exp_tonearest_test_data): Likewise.
49377         (exp_towardzero_test_data): Likewise.
49378         (exp_downward_test_data): Likewise.
49379         (exp_upward_test_data): Likewise.
49380         (exp10_test_data): Likewise.
49381         (exp2_test_data): Likewise.
49382         (expm1_test_data): Likewise.
49383         (fabs_test_data): Likewise.
49384         (fdim_test_data): Likewise.
49385         (finite_test_data): Likewise.
49386         (floor_test_data): Likewise.
49387         (fma_test_data): Likewise.
49388         (fma_towardzero_test_data): Likewise.
49389         (fma_downward_test_data): Likewise.
49390         (fma_upward_test_data): Likewise.
49391         (fmax_test_data): Likewise.
49392         (fmin_test_data): Likewise.
49393         (fmod_test_data): Likewise.
49394         (fpclassify_test_data): Likewise.
49395         (frexp_test_data): Likewise.
49396         (gamma_test_data): Likewise.
49397         (hypot_test_data): Likewise.
49398         (ilogb_test_data): Likewise.
49399         (isfinite_test_data): Likewise.
49400         (isgreater_test_data): Likewise.
49401         (isgreaterequal_test_data): Likewise.
49402         (isinf_test_data): Likewise.
49403         (isless_test_data): Likewise.
49404         (islessequal_test_data): Likewise.
49405         (islessgreater_test_data): Likewise.
49406         (isnan_test_data): Likewise.
49407         (isnormal_test_data): Likewise.
49408         (issignaling_test_data): Likewise.
49409         (isunordered_test_data): Likewise.
49410         (j0_test_data): Likewise.
49411         (j1_test_data): Likewise.
49412         (jn_test_data): Likewise.
49413         (ldexp_test_data): Likewise.
49414         (lgamma_test_data): Likewise.
49415         (lrint_test_data): Likewise.
49416         (lrint_tonearest_test_data): Likewise.
49417         (lrint_towardzero_test_data): Likewise.
49418         (lrint_downward_test_data): Likewise.
49419         (lrint_upward_test_data): Likewise.
49420         (llrint_test_data): Likewise.
49421         (llrint_tonearest_test_data): Likewise.
49422         (llrint_towardzero_test_data): Likewise.
49423         (llrint_downward_test_data): Likewise.
49424         (llrint_upward_test_data): Likewise.
49425         (log_test_data): Likewise.
49426         (log10_test_data): Likewise.
49427         (log1p_test_data): Likewise.
49428         (log2_test_data): Likewise.
49429         (logb_test_data): Likewise.
49430         (logb_downward_test_data): Likewise.
49431         (lround_test_data): Likewise.
49432         (llround_test_data): Likewise.
49433         (modf_test_data): Likewise.
49434         (nearbyint_test_data): Likewise.
49435         (nextafter_test_data): Likewise.
49436         (nexttoward_test_data): Likewise.
49437         (pow_test_data): Likewise.
49438         (pow_tonearest_test_data): Likewise.
49439         (pow_towardzero_test_data): Likewise.
49440         (pow_downward_test_data): Likewise.
49441         (pow_upward_test_data): Likewise.
49442         (remainder_test_data): Likewise.
49443         (remainder_tonearest_test_data): Likewise.
49444         (remainder_towardzero_test_data): Likewise.
49445         (remainder_downward_test_data): Likewise.
49446         (remainder_upward_test_data): Likewise.
49447         (remquo_test_data): Likewise.
49448         (rint_test_data): Likewise.
49449         (rint_tonearest_test_data): Likewise.
49450         (rint_towardzero_test_data): Likewise.
49451         (rint_downward_test_data): Likewise.
49452         (rint_upward_test_data): Likewise.
49453         (round_test_data): Likewise.
49454         (scalb_test_data): Likewise.
49455         (scalbn_test_data): Likewise.
49456         (scalbln_test_data): Likewise.
49457         (signbit_test_data): Likewise.
49458         (sin_test_data): Likewise.
49459         (sin_tonearest_test_data): Likewise.
49460         (sin_towardzero_test_data): Likewise.
49461         (sin_downward_test_data): Likewise.
49462         (sin_upward_test_data): Likewise.
49463         (sincos_test_data): Likewise.
49464         (sinh_test_data): Likewise.
49465         (sinh_tonearest_test_data): Likewise.
49466         (sinh_towardzero_test_data): Likewise.
49467         (sinh_downward_test_data): Likewise.
49468         (sinh_upward_test_data): Likewise.
49469         (sqrt_test_data): Likewise.
49470         (tan_test_data): Likewise.
49471         (tan_tonearest_test_data): Likewise.
49472         (tan_towardzero_test_data): Likewise.
49473         (tan_downward_test_data): Likewise.
49474         (tan_upward_test_data): Likewise.
49475         (tanh_test_data): Likewise.
49476         (tgamma_test_data): Likewise.
49477         (trunc_test_data): Likewise.
49478         (y0_test_data): Likewise.
49479         (y1_test_data): Likewise.
49480         (yn_test_data): Likewise.
49481         (significand_test_data): Likewise.
49483         * math/gen-libm-test.pl (@functions): Remove variable.
49484         (generate_testfile): Don't handle START and END lines.
49485         * math/libm-test.inc (START): New macro.
49486         (END): Likewise.
49487         (END_COMPLEX): Likewise.
49488         (acos_test): Use END macro without arguments.
49489         (acos_test_tonearest): Likewise.
49490         (acos_test_towardzero): Likewise.
49491         (acos_test_downward): Likewise.
49492         (acos_test_upward): Likewise.
49493         (acosh_test): Likewise.
49494         (asin_test): Likewise.
49495         (asin_test_tonearest): Likewise.
49496         (asin_test_towardzero): Likewise.
49497         (asin_test_downward): Likewise.
49498         (asin_test_upward): Likewise.
49499         (asinh_test): Likewise.
49500         (atan_test): Likewise.
49501         (atanh_test): Likewise.
49502         (atan2_test): Likewise.
49503         (cabs_test): Likewise.
49504         (cacos_test): Use END_COMPLEX macro without arguments.
49505         (cacosh_test): Likewise.
49506         (carg_test): Use END macro without arguments.
49507         (casin_test): Use END_COMPLEX macro without arguments.
49508         (casinh_test): Likewise.
49509         (catan_test): Likewise.
49510         (catanh_test): Likewise.
49511         (cbrt_test): Use END macro without arguments.
49512         (ccos_test): Use END_COMPLEX macro without arguments.
49513         (ccosh_test): Likewise.
49514         (ceil_test): Use END macro without arguments.
49515         (cexp_test): Use END_COMPLEX macro without arguments.
49516         (cimag_test): Use END macro without arguments.
49517         (clog_test): Use END_COMPLEX macro without arguments.
49518         (clog10_test): Likewise.
49519         (conj_test): Likewise.
49520         (copysign_test): Use END macro without arguments.
49521         (cos_test): Likewise.
49522         (cos_test_tonearest): Likewise.
49523         (cos_test_towardzero): Likewise.
49524         (cos_test_downward): Likewise.
49525         (cos_test_upward): Likewise.
49526         (cosh_test): Likewise.
49527         (cosh_test_tonearest): Likewise.
49528         (cosh_test_towardzero): Likewise.
49529         (cosh_test_downward): Likewise.
49530         (cosh_test_upward): Likewise.
49531         (cpow_test): Use END_COMPLEX macro without arguments.
49532         (cproj_test): Likewise.
49533         (creal_test): Use END macro without arguments.
49534         (csin_test): Use END_COMPLEX macro without arguments.
49535         (csinh_test): Likewise.
49536         (csqrt_test): Likewise.
49537         (ctan_test): Likewise.
49538         (ctan_test_tonearest): Likewise.
49539         (ctan_test_towardzero): Likewise.
49540         (ctan_test_downward): Likewise.
49541         (ctan_test_upward): Likewise.
49542         (ctanh_test): Likewise.
49543         (ctanh_test_tonearest): Likewise.
49544         (ctanh_test_towardzero): Likewise.
49545         (ctanh_test_downward): Likewise.
49546         (ctanh_test_upward): Likewise.
49547         (erf_test): Use END macro without arguments.
49548         (erfc_test): Likewise.
49549         (exp_test): Likewise.
49550         (exp_test_tonearest): Likewise.
49551         (exp_test_towardzero): Likewise.
49552         (exp_test_downward): Likewise.
49553         (exp_test_upward): Likewise.
49554         (exp10_test): Likewise.
49555         (exp2_test): Likewise.
49556         (expm1_test): Likewise.
49557         (fabs_test): Likewise.
49558         (fdim_test): Likewise.
49559         (finite_test): Likewise.
49560         (floor_test): Likewise.
49561         (fma_test): Likewise.
49562         (fma_test_towardzero): Likewise.
49563         (fma_test_downward): Likewise.
49564         (fma_test_upward): Likewise.
49565         (fmax_test): Likewise.
49566         (fmin_test): Likewise.
49567         (fmod_test): Likewise.
49568         (fpclassify_test): Likewise.
49569         (frexp_test): Likewise.
49570         (gamma_test): Likewise.
49571         (hypot_test): Likewise.
49572         (ilogb_test): Likewise.
49573         (isfinite_test): Likewise.
49574         (isgreater_test): Likewise.
49575         (isgreaterequal_test): Likewise.
49576         (isinf_test): Likewise.
49577         (isless_test): Likewise.
49578         (islessequal_test): Likewise.
49579         (islessgreater_test): Likewise.
49580         (isnan_test): Likewise.
49581         (isnormal_test): Likewise.
49582         (issignaling_test): Likewise.
49583         (isunordered_test): Likewise.
49584         (j0_test): Likewise.
49585         (j1_test): Likewise.
49586         (jn_test): Likewise.
49587         (ldexp_test): Likewise.
49588         (lgamma_test): Likewise.
49589         (lrint_test): Likewise.
49590         (lrint_test_tonearest): Likewise.
49591         (lrint_test_towardzero): Likewise.
49592         (lrint_test_downward): Likewise.
49593         (lrint_test_upward): Likewise.
49594         (llrint_test): Likewise.
49595         (llrint_test_tonearest): Likewise.
49596         (llrint_test_towardzero): Likewise.
49597         (llrint_test_downward): Likewise.
49598         (llrint_test_upward): Likewise.
49599         (log_test): Likewise.
49600         (log10_test): Likewise.
49601         (log1p_test): Likewise.
49602         (log2_test): Likewise.
49603         (logb_test): Likewise.
49604         (logb_test_downward): Likewise.
49605         (lround_test): Likewise.
49606         (llround_test): Likewise.
49607         (modf_test): Likewise.
49608         (nearbyint_test): Likewise.
49609         (nextafter_test): Likewise.
49610         (nexttoward_test): Likewise.
49611         (pow_test): Likewise.
49612         (pow_test_tonearest): Likewise.
49613         (pow_test_towardzero): Likewise.
49614         (pow_test_downward): Likewise.
49615         (pow_test_upward): Likewise.
49616         (remainder_test): Likewise.
49617         (remainder_test_tonearest): Likewise.
49618         (remainder_test_towardzero): Likewise.
49619         (remainder_test_downward): Likewise.
49620         (remainder_test_upward): Likewise.
49621         (remquo_test): Likewise.
49622         (rint_test): Likewise.
49623         (rint_test_tonearest): Likewise.
49624         (rint_test_towardzero): Likewise.
49625         (rint_test_downward): Likewise.
49626         (rint_test_upward): Likewise.
49627         (round_test): Likewise.
49628         (scalb_test): Likewise.
49629         (scalbn_test): Likewise.
49630         (scalbln_test): Likewise.
49631         (signbit_test): Likewise.
49632         (sin_test): Likewise.
49633         (sin_test_tonearest): Likewise.
49634         (sin_test_towardzero): Likewise.
49635         (sin_test_downward): Likewise.
49636         (sin_test_upward): Likewise.
49637         (sincos_test): Likewise.
49638         (sinh_test): Likewise.
49639         (sinh_test_tonearest): Likewise.
49640         (sinh_test_towardzero): Likewise.
49641         (sinh_test_downward): Likewise.
49642         (sinh_test_upward): Likewise.
49643         (sqrt_test): Likewise.
49644         (tan_test): Likewise.
49645         (tan_test_tonearest): Likewise.
49646         (tan_test_towardzero): Likewise.
49647         (tan_test_downward): Likewise.
49648         (tan_test_upward): Likewise.
49649         (tanh_test): Likewise.
49650         (tgamma_test): Likewise.
49651         (trunc_test): Likewise.
49652         (y0_test): Likewise.
49653         (y1_test): Likewise.
49654         (yn_test): Likewise.
49655         (significand_test): Likewise.
49657 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
49659         [BZ #15381]
49660         * libio/genops.c (_IO_no_init): Initialize wide struct info.
49662 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
49664         [BZ #14894]
49665         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
49666         __ppc_mdoio and __ppc_mdoom.
49667         * manual/platform.texi: Document new functions __ppc_yield,
49668         __ppc_mdoio and __ppc_mdoom.
49670 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
49672         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
49673         (main): Mention "tls" pseudo-hwcap is legacy.
49674         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
49676 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
49678         * math/gen-libm-test.pl (parse_args): Output only string of
49679         arguments as text for test name, not full call or descriptions of
49680         tests for extra outputs.
49681         (generate_testfile): Do not pass function name to parse_args.
49682         Generate this_func variable from START.
49683         * math/libm-test.inc (struct test_f_f_data): Rename test_name
49684         field to arg_str.
49685         (struct test_ff_f_data): Likewise.
49686         (test_ff_f_data_nexttoward): Likewise.
49687         (struct test_fi_f_data): Likewise.
49688         (struct test_fl_f_data): Likewise.
49689         (struct test_if_f_data): Likewise.
49690         (struct test_fff_f_data): Likewise.
49691         (struct test_c_f_data): Likewise.
49692         (struct test_f_f1_data): Likewise.  Remove field extra_name.
49693         (struct test_fF_f1_data): Likewise.
49694         (struct test_ffI_f1_data): Likewise.
49695         (struct test_c_c_data): Rename test_name field to arg_str.
49696         (struct test_cc_c_data): Likewise.
49697         (struct test_f_i_data): Likewise.
49698         (struct test_ff_i_data): Likewise.
49699         (struct test_f_l_data): Likewise.
49700         (struct test_f_L_data): Likewise.
49701         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
49702         and extra2_name.
49703         (COMMON_TEST_SETUP): New macro.
49704         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
49705         (COMMON_TEST_CLEANUP): Likewise.
49706         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
49707         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
49708         macros.
49709         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
49710         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
49711         macros.
49712         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
49713         (RUN_TEST_fff_f): Take argument string.  Call new setup and
49714         cleanup macros.
49715         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
49716         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
49717         macros.
49718         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
49719         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
49720         macros.
49721         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
49722         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
49723         cleanup macros.
49724         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
49725         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
49726         cleanup macros.
49727         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
49728         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
49729         cleanup macros.
49730         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
49731         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
49732         macros.
49733         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
49734         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
49735         macros.
49736         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
49737         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
49738         macros.
49739         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
49740         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
49741         cleanup macros.
49742         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
49743         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
49744         cleanup macros.
49745         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
49746         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
49747         macros.
49748         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
49749         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
49750         cleanup macros.
49751         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
49752         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
49753         macros.
49754         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
49755         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
49756         macros.
49757         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
49758         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
49759         cleanup macros.
49760         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
49762 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
49764         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
49765         to _sifields.sigfault.
49766         (si_addr_lsb): Define new macro.
49767         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
49768         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49769         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
49771 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
49773         [BZ #15441]
49774         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
49775         returns -1.
49776         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
49777         null return -1.
49778         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
49779         loading the domain.
49781 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
49783         * math/gen-libm-test.pl (parse_args): Do not include expected
49784         result in test name.
49785         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
49786         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49787         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49788         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49789         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49792 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49794         * benchtests/Makefile: Sort function entries.
49796         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
49797         tanh, asinh, acosh, atanh.
49798         * benchtests/acos-inputs: New file.
49799         * benchtests/acosh-inputs: New file.
49800         * benchtests/asin-inputs: New file.
49801         * benchtests/asinh-inputs: New file.
49802         * benchtests/atanh-inputs: New file.
49803         * benchtests/cosh-inputs: New file.
49804         * benchtests/log-inputs: New file.
49805         * benchtests/sinh-inputs: New file.
49806         * benchtests/tanh-inputs: New file.
49808 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
49810         [BZ #15339]
49811         * posix/tst-getaddrinfo4.c: New test.
49812         * posix/Makefile (tests): Add it.
49814 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49816         [BZ #15339]
49817         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
49818         when no services were used.
49819         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
49820         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
49822 2013-05-21  Andreas Schwab  <schwab@suse.de>
49824         [BZ #15014]
49825         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
49826         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
49827         successful.
49828         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
49829         redundant variable declarations and reallocation of buffer when
49830         parsing as IPv6 address.  Always set NSS status when called from
49831         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
49832         buffer too small.  Correct computation of needed size.
49833         * nss/Makefile (tests): Add test-digits-dots.
49834         * nss/test-digits-dots.c: New test.
49836 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49838         * benchtests/Makefile: Remove instructions for adding
49839         benchmark tests.
49840         * benchtests/README: New file to explain how to execute and
49841         enhance the benchmark tests.
49843 2013-05-21  Andreas Schwab  <schwab@suse.de>
49845         [BZ #15493]
49846         * setjmp/Makefile (tests): Add tst-sigsetjmp.
49847         * setjmp/tst-sigsetjmp.c: New test.
49849 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
49851         * sysdeps/x86_64/memset.S (memset): New implementation.
49852         (__bzero): Likewise.
49853         (__memset_tail): New function.
49855 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
49857         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
49858         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
49859         __memcpy_sse2_unaligned ifunc selection.
49860         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49861         Add memcpy-sse2-unaligned.S.
49862         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49863         Add: __memcpy_sse2_unaligned.
49865 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
49867         [BZ #15490]
49868         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
49869         math_force_eval before restoring floating-point envrionment.
49870         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
49871         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
49872         Likewise.
49873         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
49874         <math_private.h>.
49875         (__nearbyintl): Use math_force_eval before restoring
49876         floating-point environment.
49877         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
49879         * math/gen-libm-test.pl (special_functions): Remove.
49880         (parse_args): Don't handle TEST_extra.  Handle functions with no
49881         return value.
49882         * math/libm-test.inc (struct test_sincos_data): Replace with
49883         struct test_fFF_11_data.
49884         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
49885         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
49886         (sincos_test_data): Change element type to struct
49887         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
49888         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
49889         RUN_TEST_LOOP_sincos.
49890         * math/README.libm-test: Don't mention special handling of
49891         individual functions.
49892         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
49893         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49894         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49895         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49896         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49899         * math/gen-libm-test.pl (get_variable): Remove function.
49900         (parse_args): Don't show pointer parameters to call in test
49901         names.  Use "extra output N" in test names for extra outputs
49902         rather than naming variables.
49904 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
49906         [BZ #15488]
49907         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
49908         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
49909         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
49910         double tests.
49911         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
49912         disable.
49913         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
49914         check_long_double.
49916         * math/gen-libm-test.pl (@tests): Remove variable.
49917         ($count): Likewise.
49918         (new_test): Remove function.
49919         (show_exceptions): New function.
49920         (special_functions): Use show_exceptions instead of new_test.
49921         (parse_args): Likewise.
49922         (generate_testfile): Pass only function name in generated call to
49923         print_max_error or print_complex_max_error.
49924         (get_ulps): Do not handle complex tests specially.
49925         (output_test): Rename to ...
49926         (get_all_ulps_for_test): ... this.  Return a string rather than
49927         printing to a file.  Require ulps to be present.
49928         (output_ulps): Generate arrays rather than #defines.
49929         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
49930         (struct ulp_data): New type.
49931         (BUILD_COMPLEX_ULP): Remove macro.
49932         (compare_ulp_data): New function.
49933         (find_ulps): Likewise.
49934         (find_test_ulps): Likewise.
49935         (find_function_ulps): Likewise.
49936         (find_complex_function_ulps): Likewise.
49937         (print_max_error): Determine allowed ulps using
49938         find_function_ulps.
49939         (print_complex_max_error): Determine allowed ulps using
49940         find_complex_function_ulps.
49941         (check_float_internal): Determine max ulps using find_test_ulps.
49942         (check_float): Do not take max_ulp parameter.  Update call to
49943         check_float_internal.
49944         (check_complex): Likewise.
49945         (check_int): Do not take max_ulp parameter.
49946         (check_long): Likewise.
49947         (check_bool): Likewise.
49948         (check_longlong): Likewise.
49949         (struct test_f_f_data): Remove max_ulp field.
49950         (struct test_ff_f_data): Likewise.
49951         (struct test_ff_f_data_nexttoward): Likewise.
49952         (struct test_fi_f_data): Likewise.
49953         (struct test_fl_f_data): Likewise.
49954         (struct test_if_f_data): Likewise.
49955         (struct test_fff_f_data): Likewise.
49956         (struct test_c_f_data): Likewise.
49957         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
49958         (struct test_fF_f1_data): Likewise.
49959         (struct test_ffI_f1_data): Likewise.
49960         (struct test_c_c_data): Remove max_ulp field.
49961         (struct test_cc_c_data): Likewise.
49962         (struct test_f_i_data): Likewise.
49963         (struct test_ff_i_data): Likewise.
49964         (struct test_f_l_data): Likewise.
49965         (struct test_f_L_data): Likewise.
49966         (struct test_sincos_data): Likewise.
49967         (RUN_TEST_f_f): Do not handle ulps.
49968         (RUN_TEST_LOOP_f_f): Likewise.
49969         (RUN_TEST_2_f): Likewise.
49970         (RUN_TEST_LOOP_2_f): Likewise.
49971         (RUN_TEST_fff_f): Likewise.
49972         (RUN_TEST_LOOP_fff_f): Likewise.
49973         (RUN_TEST_c_f): Likewise.
49974         (RUN_TEST_LOOP_c_f): Likewise.
49975         (RUN_TEST_f_f1): Likewise.
49976         (RUN_TEST_LOOP_f_f1): Likewise.
49977         (RUN_TEST_fF_f1): Likewise.
49978         (RUN_TEST_LOOP_fF_f1): Likewise.
49979         (RUN_TEST_fI_f1): Likewise.
49980         (RUN_TEST_LOOP_fI_f1): Likewise.
49981         (RUN_TEST_ffI_f1): Likewise.
49982         (RUN_TEST_LOOP_ffI_f1): Likewise.
49983         (RUN_TEST_c_c): Likewise.
49984         (RUN_TEST_LOOP_c_c): Likewise.
49985         (RUN_TEST_cc_c): Likewise.
49986         (RUN_TEST_LOOP_cc_c): Likewise.
49987         (RUN_TEST_f_i): Likewise.
49988         (RUN_TEST_LOOP_f_i): Likewise.
49989         (RUN_TEST_f_i_tg): Likewise.
49990         (RUN_TEST_LOOP_f_i_tg): Likewise.
49991         (RUN_TEST_ff_i_tg): Likewise.
49992         (RUN_TEST_LOOP_ff_i_tg): Likewise.
49993         (RUN_TEST_f_b): Likewise.
49994         (RUN_TEST_LOOP_f_b): Likewise.
49995         (RUN_TEST_f_b_tg): Likewise.
49996         (RUN_TEST_LOOP_f_b_tg): Likewise.
49997         (RUN_TEST_f_l): Likewise.
49998         (RUN_TEST_LOOP_f_l): Likewise.
49999         (RUN_TEST_f_L): Likewise.
50000         (RUN_TEST_LOOP_f_L): Likewise.
50001         (RUN_TEST_sincos): Likewise.
50002         (RUN_TEST_LOOP_sincos): Likewise.
50004 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
50006         [BZ #15480]
50007         [BZ #15485]
50008         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
50009         main case of finite arguments, set rounding mode to FE_TONEAREST
50010         and discard exceptions.
50011         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
50012         exceptions.
50013         (remainder_tonearest_test_data): New variable.
50014         (remainder_test_tonearest): New function.
50015         (remainder_towardzero_test_data): New variable.
50016         (remainder_test_towardzero): New function.
50017         (remainder_downward_test_data): New variable.
50018         (remainder_test_downward): New function.
50019         (remainder_upward_test_data): New variable.
50020         (remainder_test_upward): New function.
50021         (main): Call the new test functions.
50023         * math/libm-test.inc (struct test_f_f1_data): Remove field
50024         extra_init.
50025         (struct test_fF_f1_data): Likewise.
50026         (struct test_ffI_f1_data): Likewise.
50027         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
50028         based on value of EXTRA_EXPECTED.
50029         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50030         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
50031         EXTRA_VAR based on value of EXTRA_EXPECTED.
50032         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50033         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
50034         EXTRA_VAR based on value of EXTRA_EXPECTED.
50035         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50036         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
50037         EXTRA_VAR based on value of EXTRA_EXPECTED.
50038         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50039         * math/gen-libm-test.pl (parse_args): Don't output initializers
50040         for extra output values.
50042         * math/libm-test.inc (check_int): Expect result to be exactly
50043         equal to expected value and do not handle ulps.
50044         (check_long): Likewise.
50045         (check_longlong): Likewise.
50047         * math/libm-test.inc (ceil_test_data): Test for "inexact"
50048         exceptions.
50049         (cimag_test_data): Likewise.
50050         (conj_test_data): Likewise.
50051         (copysign_test_data): Likewise.
50052         (cproj_test_data): Likewise.
50053         (creal_test_data): Likewise.
50054         (fabs_test_data): Likewise.
50055         (fdim_test_data): Likewise.
50056         (finite_test_data): Likewise.
50057         (floor_test_data): Likewise.
50058         (fmax_test_data): Likewise.
50059         (fmin_test_data): Likewise.
50060         (fmod_test_data): Likewise.
50061         (fpclassify_test_data): Likewise.
50062         (frexp_test_data): Likewise.
50063         (ilogb_test_data): Likewise.
50064         (isfinite_test_data): Likewise.
50065         (isgreater_test_data): Likewise.
50066         (isgreaterequal_test_data): Likewise.
50067         (isinf_test_data): Likewise.
50068         (isless_test_data): Likewise.
50069         (islessequal_test_data): Likewise.
50070         (islessgreater_test_data): Likewise.
50071         (isnan_test_data): Likewise.
50072         (isnormal_test_data): Likewise.
50073         (issignaling_test_data): Likewise.
50074         (isunordered_test_data): Likewise.
50075         (ldexp_test_data): Likewise.
50076         (lrint_test_data): Likewise.
50077         (lrint_test_data) [TEST_FLOAT]: Disable one test.
50078         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
50079         (lrint_tonearest_test_data): Test for "inexact" exceptions.
50080         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
50081         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
50082         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
50083         test input.
50084         (lrint_towardzero_test_data): Test for "inexact" exceptions.
50085         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
50086         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
50087         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
50088         that test input.
50089         (lrint_downward_test_data): Test for "inexact" exceptions.
50090         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
50091         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
50092         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
50093         test input.
50094         (lrint_upward_test_data): Test for "inexact" exceptions.
50095         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
50096         test input.
50097         (llrint_test_data): Test for "inexact" exceptions.
50098         (llrint_test_data) [TEST_FLOAT]: Disable one test.
50099         (llrint_tonearest_test_data): Test for "inexact" exceptions.
50100         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
50101         (llrint_towardzero_test_data): Test for "inexact" exceptions.
50102         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
50103         (llrint_downward_test_data): Test for "inexact" exceptions.
50104         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
50105         (llrint_upward_test_data): Test for "inexact" exceptions.
50106         (logb_test_data): Likewise.
50107         (logb_downward_test_data): Likewise.
50108         (nextafter_test_data): Likewise.
50109         (nexttoward_test_data): Likewise.
50110         (remainder_test_data): Likewise.
50111         (remquo_test_data): Likewise.
50112         (scalbn_test_data): Likewise.
50113         (scalbln_test_data): Likewise.
50114         (signbit_test_data): Likewise.
50115         (sqrt_test_data): Likewise.
50116         (significand_test_data): Likewise.
50118 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50120         [BZ #15424]
50121         * benchtests/bench-modf.c (struct args): Mark arg0 as
50122         volatile.
50123         * scripts/bench.pl: Mark members of struct args as volatile.
50125 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50127         [BZ # 15497]
50128         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
50129         negative infinity on POWER6 or lower.
50130         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
50132 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
50134         [BZ #15442]
50135         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
50136         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
50137         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
50138         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
50139         (_FP_SETQNAN): New macro.
50140         (_FP_SETQNAN_SEMIRAW): Likewise.
50141         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
50142         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
50143         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
50144         (FP_EXTEND): Use _FP_FRAC_SNANP.
50145         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
50146         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
50147         into account.
50148         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
50149         New macro.
50150         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
50151         Likewise.
50153 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50155         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
50156         with DIVIDE_BY_ZERO_EXCEPTION.
50157         (gamma_test_data): Likewise.
50158         (lgamma_test_data): Likewise.
50159         (log_test_data): Likewise.
50160         (log10_test_data): Likewise.
50161         (log2_test_data): Likewise.
50162         (tgamma_test_data): Likewise.
50164         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
50165         (acos_test_tonearest): Likewise.
50166         (acos_test_towardzero): Likewise.
50167         (acos_test_downward): Likewise.
50168         (acos_test_upward): Likewise.
50169         (acosh_test): Likewise.
50170         (asin_test): Likewise.
50171         (asin_test_tonearest): Likewise.
50172         (asin_test_towardzero): Likewise.
50173         (asin_test_downward): Likewise.
50174         (asin_test_upward): Likewise.
50175         (asinh_test): Likewise.
50176         (atan_test): Likewise.
50177         (atanh_test): Likewise.
50178         (atan2_test): Likewise.
50179         (cabs_test): Likewise.
50180         (cacos_test): Likewise.
50181         (cacosh_test): Likewise.
50182         (casin_test): Likewise.
50183         (casinh_test): Likewise.
50184         (catan_test): Likewise.
50185         (catanh_test): Likewise.
50186         (cbrt_test): Likewise.
50187         (ccos_test): Likewise.
50188         (ccosh_test): Likewise.
50189         (cexp_test): Likewise.
50190         (clog_test): Likewise.
50191         (clog10_test): Likewise.
50192         (cos_test): Likewise.
50193         (cos_test_tonearest): Likewise.
50194         (cos_test_towardzero): Likewise.
50195         (cos_test_downward): Likewise.
50196         (cos_test_upward): Likewise.
50197         (cosh_test): Likewise.
50198         (cosh_test_tonearest): Likewise.
50199         (cosh_test_towardzero): Likewise.
50200         (cosh_test_downward): Likewise.
50201         (cosh_test_upward): Likewise.
50202         (cpow_test): Likewise.
50203         (csin_test): Likewise.
50204         (csinh_test): Likewise.
50205         (csqrt_test): Likewise.
50206         (ctan_test): Likewise.
50207         (ctan_test_tonearest): Likewise.
50208         (ctan_test_towardzero): Likewise.
50209         (ctan_test_downward): Likewise.
50210         (ctan_test_upward): Likewise.
50211         (ctanh_test): Likewise.
50212         (ctanh_test_tonearest): Likewise.
50213         (ctanh_test_towardzero): Likewise.
50214         (ctanh_test_downward): Likewise.
50215         (ctanh_test_upward): Likewise.
50216         (erf_test): Likewise.
50217         (erfc_test): Likewise.
50218         (exp_test): Likewise.
50219         (exp_test_tonearest): Likewise.
50220         (exp_test_towardzero): Likewise.
50221         (exp_test_downward): Likewise.
50222         (exp_test_upward): Likewise.
50223         (exp10_test): Likewise.
50224         (exp2_test): Likewise.
50225         (expm1_test): Likewise.
50226         (fmod_test): Likewise.
50227         (gamma_test): Likewise.
50228         (hypot_test): Likewise.
50229         (j0_test): Likewise.
50230         (j1_test): Likewise.
50231         (jn_test): Likewise.
50232         (lgamma_test): Likewise.
50233         (log_test): Likewise.
50234         (log10_test): Likewise.
50235         (log1p_test): Likewise.
50236         (log2_test): Likewise.
50237         (logb_test_downward): Likewise.
50238         (pow_test): Likewise.
50239         (pow_test_tonearest): Likewise.
50240         (pow_test_towardzero): Likewise.
50241         (pow_test_downward): Likewise.
50242         (pow_test_upward): Likewise.
50243         (remainder_test): Likewise.
50244         (remquo_test): Likewise.
50245         (sin_test): Likewise.
50246         (sin_test_tonearest): Likewise.
50247         (sin_test_towardzero): Likewise.
50248         (sin_test_downward): Likewise.
50249         (sin_test_upward): Likewise.
50250         (sincos_test): Likewise.
50251         (sinh_test): Likewise.
50252         (sinh_test_tonearest): Likewise.
50253         (sinh_test_towardzero): Likewise.
50254         (sinh_test_downward): Likewise.
50255         (sinh_test_upward): Likewise.
50256         (sqrt_test): Likewise.
50257         (tan_test): Likewise.
50258         (tan_test_tonearest): Likewise.
50259         (tan_test_towardzero): Likewise.
50260         (tan_test_downward): Likewise.
50261         (tan_test_upward): Likewise.
50262         (tanh_test): Likewise.
50263         (tgamma_test): Likewise.
50264         (y0_test): Likewise.
50265         (y1_test): Likewise.
50266         (yn_test): Likewise.
50268         * math/gen-libm-test.pl (adjust_arg): Remove function.
50269         (special_function): Remove argument $in_func.  Only handle
50270         generating output for tables of tests, not inside functions.
50271         (parse_args): Likewise.
50272         (generate_testfile): Remove variable $in_func.  Update call to
50273         parse_args.
50274         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
50275         (MINUS_ZERO_INIT): Rename macro to minus_zero.
50276         (PLUS_INFTY_INIT): Rename macro to plus_infty.
50277         (MINUS_INFTY_INIT): Rename macro to minus_infty.
50278         (QNAN_VALUE_INIT): Rename macro to qnan_value.
50279         (MAX_VALUE_INIT): Rename macro to max_value.
50280         (MIN_VALUE_INIT): Rename macro to min_value.
50281         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
50282         (plus_zero): Remove variable.
50283         (minus_zero): Likewise.
50284         (plus_infty): Likewise.
50285         (minus_infty): Likewise.
50286         (qnan_value): Likewise.
50287         (max_value): Likewise.
50288         (min_value): Likewise.
50289         (min_subnorm_value): Likewise.
50291 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50293         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
50294         uint64_t or uint32_t usage.
50295         * crypt/sha256-block.c: Likewise.
50296         * crypt/sha256-crypt.c: Likewise.
50297         * crypt/sha256.c: Likewise.
50298         * crypt/sha512-block.c: Likewise.
50299         * crypt/sha512-crypt.c: Likewise.
50300         * crypt/sha512.c: Likewise.
50301         * debug/backtrace-tst.c: Likewise.
50302         * debug/pcprofiledump.c: Likewise.
50303         * elf/cache.c: Likewise.
50304         * elf/dl-cache.c: Likewise.
50305         * elf/dl-misc.c: Likewise.
50306         * elf/dl-profile.c: Likewise.
50307         * elf/dl-support.c: Likewise.
50308         * elf/ldconfig.c: Likewise.
50309         * elf/sprof.c: Likewise.
50310         * iconv/dummy-repertoire.c: Likewise.
50311         * iconv/iconv_charmap.c: Likewise.
50312         * iconv/skeleton.c: Likewise.
50313         * iconvdata/8bit-generic.c: Likewise.
50314         * iconvdata/cp737.h: Likewise.
50315         * iconvdata/cp775.h: Likewise.
50316         * iconvdata/ibm1008.h: Likewise.
50317         * iconvdata/ibm1025.h: Likewise.
50318         * iconvdata/ibm1046.h: Likewise.
50319         * iconvdata/ibm1097.h: Likewise.
50320         * iconvdata/ibm1112.h: Likewise.
50321         * iconvdata/ibm1122.h: Likewise.
50322         * iconvdata/ibm1123.h: Likewise.
50323         * iconvdata/ibm1124.h: Likewise.
50324         * iconvdata/ibm1129.h: Likewise.
50325         * iconvdata/ibm1130.h: Likewise.
50326         * iconvdata/ibm1132.h: Likewise.
50327         * iconvdata/ibm1133.h: Likewise.
50328         * iconvdata/ibm1137.h: Likewise.
50329         * iconvdata/ibm1140.h: Likewise.
50330         * iconvdata/ibm1141.h: Likewise.
50331         * iconvdata/ibm1142.h: Likewise.
50332         * iconvdata/ibm1143.h: Likewise.
50333         * iconvdata/ibm1144.h: Likewise.
50334         * iconvdata/ibm1145.h: Likewise.
50335         * iconvdata/ibm1146.h: Likewise.
50336         * iconvdata/ibm1147.h: Likewise.
50337         * iconvdata/ibm1148.h: Likewise.
50338         * iconvdata/ibm1149.h: Likewise.
50339         * iconvdata/ibm1153.h: Likewise.
50340         * iconvdata/ibm1154.h: Likewise.
50341         * iconvdata/ibm1155.h: Likewise.
50342         * iconvdata/ibm1156.h: Likewise.
50343         * iconvdata/ibm1157.h: Likewise.
50344         * iconvdata/ibm1158.h: Likewise.
50345         * iconvdata/ibm1160.h: Likewise.
50346         * iconvdata/ibm1161.h: Likewise.
50347         * iconvdata/ibm1162.h: Likewise.
50348         * iconvdata/ibm1163.h: Likewise.
50349         * iconvdata/ibm1164.h: Likewise.
50350         * iconvdata/ibm1166.h: Likewise.
50351         * iconvdata/ibm1167.h: Likewise.
50352         * iconvdata/ibm12712.h: Likewise.
50353         * iconvdata/ibm1390.h: Likewise.
50354         * iconvdata/ibm1399.h: Likewise.
50355         * iconvdata/ibm16804.h: Likewise.
50356         * iconvdata/ibm4517.h: Likewise.
50357         * iconvdata/ibm4899.h: Likewise.
50358         * iconvdata/ibm4909.h: Likewise.
50359         * iconvdata/ibm4971.h: Likewise.
50360         * iconvdata/ibm5347.h: Likewise.
50361         * iconvdata/ibm803.h: Likewise.
50362         * iconvdata/ibm856.h: Likewise.
50363         * iconvdata/ibm901.h: Likewise.
50364         * iconvdata/ibm902.h: Likewise.
50365         * iconvdata/ibm9030.h: Likewise.
50366         * iconvdata/ibm9066.h: Likewise.
50367         * iconvdata/ibm921.h: Likewise.
50368         * iconvdata/ibm922.h: Likewise.
50369         * iconvdata/ibm9448.h: Likewise.
50370         * iconvdata/isiri-3342.h: Likewise.
50371         * iconvdata/jis0201.h: Likewise.
50372         * include/link.h: Likewise.
50373         * include/netdb.h: Likewise.
50374         * inet/check_native.c: Likewise.
50375         * inet/check_pf.c: Likewise.
50376         * inet/getipv4sourcefilter.c: Likewise.
50377         * inet/getnameinfo.c: Likewise.
50378         * inet/getsourcefilter.c: Likewise.
50379         * inet/htonl.c: Likewise.
50380         * inet/setipv4sourcefilter.c: Likewise.
50381         * inet/setsourcefilter.c: Likewise.
50382         * inet/test-inet6_opt.c: Likewise.
50383         * inet/tst-network.c: Likewise.
50384         * locale/C-collate.c: Likewise.
50385         * locale/C-ctype.c: Likewise.
50386         * locale/C-time.c: Likewise.
50387         * locale/C-translit.h: Likewise.
50388         * locale/loadarchive.c: Likewise.
50389         * locale/programs/3level.h: Likewise.
50390         * locale/programs/charmap.c: Likewise.
50391         * locale/programs/charmap.h: Likewise.
50392         * locale/programs/ld-address.c: Likewise.
50393         * locale/programs/ld-collate.c: Likewise.
50394         * locale/programs/ld-ctype.c: Likewise.
50395         * locale/programs/ld-identification.c: Likewise.
50396         * locale/programs/ld-measurement.c: Likewise.
50397         * locale/programs/ld-messages.c: Likewise.
50398         * locale/programs/ld-monetary.c: Likewise.
50399         * locale/programs/ld-name.c: Likewise.
50400         * locale/programs/ld-numeric.c: Likewise.
50401         * locale/programs/ld-paper.c: Likewise.
50402         * locale/programs/ld-telephone.c: Likewise.
50403         * locale/programs/ld-time.c: Likewise.
50404         * locale/programs/linereader.c: Likewise.
50405         * locale/programs/locale.c: Likewise.
50406         * locale/programs/locarchive.c: Likewise.
50407         * locale/programs/locfile.h: Likewise.
50408         * locale/programs/repertoire.c: Likewise.
50409         * locale/programs/simple-hash.c: Likewise.
50410         * locale/programs/simple-hash.h: Likewise.
50411         * malloc/memusage.c: Likewise.
50412         * malloc/memusagestat.c: Likewise.
50413         * nis/nis_defaults.c: Likewise.
50414         * nis/nis_hash.c: Likewise.
50415         * nis/nis_print.c: Likewise.
50416         * nis/nis_xdr.c: Likewise.
50417         * nscd/connections.c: Likewise.
50418         * nscd/hstcache.c: Likewise.
50419         * nscd/nscd_gethst_r.c: Likewise.
50420         * nscd/nscd_getserv_r.c: Likewise.
50421         * nscd/nscd_helper.c: Likewise.
50422         * nscd/servicescache.c: Likewise.
50423         * nss/makedb.c: Likewise.
50424         * nss/nss_db/db-XXX.c: Likewise.
50425         * nss/nss_db/db-initgroups.c: Likewise.
50426         * nss/nss_db/db-netgrp.c: Likewise.
50427         * nss/nss_files/files-network.c: Likewise.
50428         * nss/nss_files/files-parse.c: Likewise.
50429         * posix/bug-regex5.c: Likewise.
50430         * posix/fnmatch_loop.c: Likewise.
50431         * posix/regcomp.c: Likewise.
50432         * posix/regexec.c: Likewise.
50433         * posix/tst-rfc3484-2.c: Likewise.
50434         * posix/tst-rfc3484-3.c: Likewise.
50435         * posix/tst-rfc3484.c: Likewise.
50436         * resolv/nss_dns/dns-canon.c: Likewise.
50437         * resolv/nss_dns/dns-network.c: Likewise.
50438         * resolv/res_init.c: Likewise.
50439         * resolv/res_mkquery.c: Likewise.
50440         * resolv/tst-aton.c: Likewise.
50441         * stdlib/cxa_atexit.c: Likewise.
50442         * stdlib/cxa_finalize.c: Likewise.
50443         * stdlib/gen-fpioconst.c: Likewise.
50444         * stdlib/strtol_l.c: Likewise.
50445         * string/tst-endian.c: Likewise.
50446         * sunrpc/auth_des.c: Likewise.
50447         * sunrpc/clnt_udp.c: Likewise.
50448         * sunrpc/rtime.c: Likewise.
50449         * sunrpc/svcauth_des.c: Likewise.
50450         * sunrpc/xdr.c: Likewise.
50451         * sunrpc/xdr_intXX_t.c: Likewise.
50452         * sunrpc/xdr_rec.c: Likewise.
50453         * sysdeps/generic/ldconfig.h: Likewise.
50454         * sysdeps/generic/ldsodefs.h: Likewise.
50455         * sysdeps/generic/memusage.h: Likewise.
50456         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50457         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
50458         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
50459         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50460         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50461         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50462         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50463         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50464         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50465         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50466         * sysdeps/posix/getaddrinfo.c: Likewise.
50467         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50468         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50469         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50470         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50471         * sysdeps/powerpc/test-gettimebase.c: Likewise.
50472         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
50473         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
50474         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
50475         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
50476         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
50477         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50478         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50479         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
50480         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
50481         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
50482         * sysdeps/x86_64/dl-tls.h: Likewise.
50483         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
50484         * time/alt_digit.c: Likewise.
50485         * time/era.c: Likewise.
50486         * wcsmbs/tst-c16c32-1.c: Likewise.
50488 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50490         * math/libm-test.inc (struct test_sincos_data): New type.
50491         (RUN_TEST_LOOP_sincos): New macro.
50492         (sincos_test_data): New variable.
50493         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
50495 2013-05-16  Richard Henderson  <rth@redhat.com>
50497         * math/atest-exp2.c (LIMB64): New macro.
50498         (CONSTSZ): New macro.
50499         (mp_exp1, mp_exp_m1, mp_log2): New variables.
50500         (hexdig): Move ...
50501         (print_mpn_fp): ... to function scope.
50502         (read_mpn_hex): Remove.
50503         (get_log2): Remove.
50504         (exp2_mpn): Use mp_log2.
50505         (main): Use mp_exp1.
50507 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50509         * math/libm-test.inc: Remove comment about not testing "inexact"
50510         exceptions.
50511         (INEXACT_EXCEPTION): New macro.
50512         (NO_INEXACT_EXCEPTION): Likewise.
50513         (INVALID_EXCEPTION_OK): Update value.
50514         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50515         (OVERFLOW_EXCEPTION_OK): Likewise.
50516         (UNDERFLOW_EXCEPTION_OK): Likewise.
50517         (IGNORE_ZERO_INF_SIGN): Likewise.
50518         (ERRNO_UNCHANGED): Likewise.
50519         (ERRNO_EDOM): Likewise.
50520         (ERRNO_ERANGE): Likewise.
50521         (test_exceptions): Handle testing "inexact" exceptions.
50522         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
50523         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
50524         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
50525         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
50526         INEXACT_EXCEPTION.
50527         (rint_towardzero_test_data): Likewise.
50528         (rint_downward_test_data): Likewise.
50529         (rint_upward_test_data): Likewise.
50531         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
50532         with OVERFLOW_EXCEPTION.
50533         (exp10_test_data): Likewise.
50534         (exp2_test_data): Likewise.
50535         (expm1_test_data): Likewise.
50536         (lgamma_test_data): Likewise.
50537         (pow_test_data): Likewise.
50538         (tgamma_test_data): Likewise.
50539         (yn_test_data): Remove duplicate test of overflow.
50541         * math/libm-test.inc (struct test_cc_c_data): New type.
50542         (RUN_TEST_LOOP_cc_c): New macro.
50543         (cpow_test_data): New variable.
50544         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
50546         * math/libm-test.inc (struct test_f_L_data): New type.
50547         (RUN_TEST_LOOP_f_L): New macro.
50548         (llrint_test_data): New variable.
50549         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
50550         (llrint_tonearest_test_data): New variable.
50551         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
50552         (llrint_towardzero_test_data): New variable.
50553         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
50554         (llrint_downward_test_data): New variable.
50555         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
50556         (llrint_upward_test_data): New variable.
50557         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
50558         (llround_test_data): New variable.
50559         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
50561 2013-05-13  Peter Collingbourne  <pcc@google.com>
50563         * math/atest-exp2.c (get_log2): Remove const attribute.
50565 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
50567         * math/libm-test.inc (struct test_f_l_data): New type.
50568         (RUN_TEST_LOOP_f_l): New macro.
50569         (lrint_test_data): New variable.
50570         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
50571         (lrint_tonearest_test_data): New variable.
50572         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
50573         (lrint_towardzero_test_data): New variable.
50574         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
50575         (lrint_downward_test_data): New variable.
50576         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
50577         (lrint_upward_test_data): New variable.
50578         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
50579         (lround_test_data): New variable.
50580         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
50582 2013-05-15  Peter Collingbourne  <pcc@google.com>
50584         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
50585         (EXTRACT_WORDS64) Use where appropriate.
50586         (INSERT_WORDS64) Likewise.
50588         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
50589         constraints with x constraints.
50590         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
50592         * malloc/obstack.c (_obstack_compat): Add initializer.
50594 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50596         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
50597         si_trapno and add si_addr_lsb to _sifields.sigfault.
50598         (si_trapno): Remove macro.
50599         (si_addr_lsb): Define new macro.
50600         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50602 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
50604         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
50605         instead of TEST_f_l.
50606         (llrint_test_tonearest): Likewise.
50607         (llrint_test_towardzero): Likewise.
50608         (llrint_test_downward): Likewise.
50609         (llrint_test_upward): Likewise.
50610         (llround_test): Likewise.
50612         * math/libm-test.inc (struct test_f_i_data): Add comment.
50613         (RUN_TEST_LOOP_f_b): New macro.
50614         (RUN_TEST_LOOP_f_b_tg): Likewise.
50615         (finite_test_data): New variable.
50616         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
50617         (isfinite_test_data): New variable.
50618         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50619         (isinf_test_data): New variable.
50620         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50621         (isnan_test_data): New variable.
50622         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50623         (isnormal_test_data): New variable.
50624         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50625         (issignaling_test_data): New variable.
50626         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50627         (signbit_test_data): New variable.
50628         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50630         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
50631         with INVALID_EXCEPTION.
50632         (acosh_test_data): Likewise.
50633         (asin_test_data): Likewise.
50634         (atanh_test_data): Likewise.
50635         (fmod_test_data): Likewise.
50636         (log_test_data): Likewise.
50637         (log10_test_data): Likewise.
50638         (log2_test_data): Likewise.
50639         (pow_test_data): Likewise.
50640         (sqrt_test_data): Likewise.
50641         (y0_test_data): Likewise.
50642         (y1_test_data): Likewise.
50643         (yn_test_data): Likewise.
50645         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
50646         function contents.
50648         * math/libm-test.inc (struct test_ff_i_data): New type.
50649         (RUN_TEST_LOOP_ff_i_tg): New macro.
50650         (isgreater_test_data): New variable.
50651         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50652         (isgreaterequal_test_data): New variable.
50653         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50654         (isless_test_data): New variable.
50655         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50656         (islessequal_test_data): New variable.
50657         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50658         (islessgreater_test_data): New variable.
50659         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50660         (isunordered_test_data): New variable.
50661         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50663 2013-05-14  David S. Miller  <davem@davemloft.net>
50665         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50667 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
50669         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
50671         * math/libm-test.inc (struct test_fF_f1_data): Change type of
50672         extra_test to int.
50673         (struct test_f_i_data): Change type of max_ulp to int.
50675         * math/libm-test.inc (test_ffI_f1_data): New type.
50676         (RUN_TEST_LOOP_ffI_f1): New macro.
50677         (remquo_test_data): New variable.
50678         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
50680         * setjmp/tst-setjmp-fp.c: New file.
50681         * setjmp/Makefile (tests): Add tst-setjmp-fp.
50682         (link-libm): New variable.
50683         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
50685         * math/libm-test.inc (struct test_f_i_data): New type.
50686         (RUN_TEST_LOOP_f_i): New macro.
50687         (RUN_TEST_LOOP_f_i_tg): Likewise.
50688         (fpclassify_test_data): New variable.
50689         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
50690         (ilogb_test_data): New variable.
50691         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
50693         * math/libm-test.inc (scalbln_test): Correct function name in END
50694         call.
50696         * math/libm-test.inc (struct test_f_f1_data): Add comment.
50697         (RUN_TEST_LOOP_fI_f1): New macro.
50698         (frexp_test_data): New variable.
50699         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
50701         * math/libm-test.inc (struct test_fF_f1_data): New type.
50702         (RUN_TEST_LOOP_fF_f1): New macro.
50703         (modf_test_data): New variable.
50704         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
50706         * math/libm-test.inc (struct test_f_f1_data): New type.
50707         (RUN_TEST_LOOP_f_f1): New macro.
50708         (gamma_test_data): New variable.
50709         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
50710         (lgamma_test_data): New variable.
50711         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
50713 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
50715         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
50716         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
50717         (main): Comment "tls" pseudo-hwcap.
50719 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
50721         * math/libm-test.inc (struct test_fl_f_data): New type.
50722         (RUN_TEST_LOOP_fl_f): New variable.
50723         (scalbln_test_data): New variable.
50724         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
50726         * math/libm-test.inc (struct test_fi_f_data): New type.
50727         (RUN_TEST_LOOP_fi_f): New macro.
50728         (ldexp_test_data): New variable.
50729         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
50730         (scalbn_test_data): New variable.
50731         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
50733         * math/libm-test.inc (struct test_c_f_data): New type.
50734         (RUN_TEST_LOOP_c_f): New macro.
50735         (cabs_test_data): New variable.
50736         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
50737         (carg_test_data): New variable.
50738         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
50739         (cimag_test_data): New variable.
50740         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
50741         (creal_test_data): New variable.
50742         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
50744         * math/libm-test.inc (struct test_if_f_data): New type.
50745         (RUN_TEST_LOOP_if_f): New macro.
50746         (jn_test_data): New variable.
50747         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
50748         (yn_test_data): New variable.
50749         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
50751         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
50753 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50755         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
50756         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
50758 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50760         * benchtests/Makefile (CPPFLAGS-nonlib): Add
50761         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
50762         (bench-deps): Add bench-timing.h.
50763         * benchtests-bench-skeleton.c: Include bench-timing.h.
50764         (main): Use TIMING_* macros instead of clock_gettime.
50765         * benchtests/bench-timing.h: New file.
50767         [BZ #14582]
50768         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
50769         Renamed from _LIB_VERSION.
50770         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
50772 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
50774         * math/libm-test.inc (struct test_fff_f_data): New type.
50775         (RUN_TEST_LOOP_fff_f): New macro.
50776         (fma_test_data): New variable.
50777         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
50778         (fma_towardzero_test_data): New variable.
50779         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
50780         (fma_downward_test_data): New variable.
50781         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
50782         (fma_upward_test_data): New variable.
50783         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
50785         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
50786         (struct test_c_c_data): New type.
50787         (RUN_TEST_LOOP_c_c): New macro.
50788         (cacos_test_data): New variable.
50789         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
50790         (cacosh_test_data): New variable.
50791         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
50792         (casin_test_data): New variable.
50793         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
50794         (casinh_test_data): New variable.
50795         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
50796         (catan_test_data): New variable.
50797         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
50798         (catanh_test_data): New variable.
50799         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
50800         (ccos_test_data): New variable.
50801         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
50802         (ccosh_test_data): New variable.
50803         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
50804         (cexp_test_data): New variable.
50805         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
50806         (clog_test_data): New variable.
50807         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
50808         (clog10_test_data): New variable.
50809         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
50810         (conj_test_data): New variable.
50811         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
50812         (cproj_test_data): New variable.
50813         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
50814         (csin_test_data): New variable.
50815         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
50816         (csinh_test_data): New variable.
50817         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
50818         (csqrt_test_data): New variable.
50819         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
50820         (ctan_test_data): New variable.
50821         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
50822         (ctan_tonearest_test_data): New variable.
50823         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
50824         (ctan_towardzero_test_data): New variable.
50825         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
50826         (ctan_downward_test_data): New variable.
50827         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
50828         (ctan_upward_test_data): New variable.
50829         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
50830         (ctanh_test_data): New variable.
50831         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
50832         (ctanh_tonearest_test_data): New variable.
50833         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
50834         (ctanh_towardzero_test_data): New variable.
50835         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
50836         (ctanh_downward_test_data): New variable.
50837         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
50838         (ctanh_upward_test_data): New variable.
50839         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
50840         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
50841         of BUILD_COMPLEX.
50843         * math/libm-test.inc (struct test_ff_f_data): New type.
50844         (struct test_ff_f_data_nexttoward): Likewise.
50845         (RUN_TEST_LOOP_2_f): New macro.
50846         (RUN_TEST_LOOP_ff_f): Likewise.
50847         (atan2_test_data): New variable.
50848         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
50849         (copysign_test_data): New variable.
50850         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
50851         (fdim_test_data): New variable.
50852         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
50853         (fmax_test_data): New variable.
50854         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
50855         (fmin_test_data): New variable.
50856         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
50857         (fmod_test_data): New variable.
50858         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
50859         (hypot_test_data): New variable.
50860         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
50861         (nextafter_test_data): New variable.
50862         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
50863         (nexttoward_test_data): New variable.
50864         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
50865         (pow_test_data): New variable.
50866         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
50867         (pow_tonearest_test_data): New variable.
50868         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
50869         (pow_towardzero_test_data): New variable.
50870         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
50871         (pow_downward_test_data): New variable.
50872         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
50873         (pow_upward_test_data): New variable.
50874         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
50875         (remainder_test_data): New variable.
50876         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
50877         (scalb_test_data): New variable.
50878         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
50879         * sysdeps/i386/fpu/libm-test-ulps: Update.
50881 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
50883         * math/libm-test.inc (fma_test): Use max_value instead of local
50884         variable fltmax.
50885         (nextafter_test): Likewise.
50887         * math/libm-test.inc (acos_towardzero_test_data): New variable.
50888         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50889         (acos_downward_test_data): New variable.
50890         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50891         (acos_upward_test_data): New variable.
50892         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50893         (acosh_test_data): New variable.
50894         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
50895         (asin_test_data): New variable.
50896         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
50897         (asin_tonearest_test_data): New variable.
50898         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50899         (asin_towardzero_test_data): New variable.
50900         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50901         (asin_downward_test_data): New variable.
50902         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50903         (asin_upward_test_data): New variable.
50904         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50905         (asinh_test_data): New variable.
50906         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
50907         (atan_test_data): New variable.
50908         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
50909         (atanh_test_data): New variable.
50910         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
50911         (cbrt_test_data): New variable.
50912         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
50913         (ceil_test_data): New variable.
50914         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
50915         (cos_test_data): New variable.
50916         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
50917         (cos_tonearest_test_data): New variable.
50918         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50919         (cos_towardzero_test_data): New variable.
50920         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50921         (cos_downward_test_data): New variable.
50922         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50923         (cos_upward_test_data): New variable.
50924         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50925         (cosh_test_data): New variable.
50926         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
50927         (cosh_tonearest_test_data): New variable.
50928         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50929         (cosh_towardzero_test_data): New variable.
50930         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50931         (cosh_downward_test_data): New variable.
50932         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50933         (cosh_upward_test_data): New variable.
50934         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50935         (erf_test_data): New variable.
50936         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
50937         (erfc_test_data): New variable.
50938         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
50939         (exp_test_data): New variable.
50940         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
50941         (exp_tonearest_test_data): New variable.
50942         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50943         (exp_towardzero_test_data): New variable.
50944         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50945         (exp_downward_test_data): New variable.
50946         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50947         (exp_upward_test_data): New variable.
50948         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50949         (exp10_test_data): New variable.
50950         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
50951         (exp2_test_data): New variable.
50952         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
50953         (expm1_test_data): New variable.
50954         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
50955         (fabs_test_data): New variable.
50956         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
50957         (floor_test_data): New variable.
50958         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
50959         (j0_test_data): New variable.
50960         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
50961         (j1_test_data): New variable.
50962         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
50963         (log_test_data): New variable.
50964         (log_test): Run tests with RUN_TEST_LOOP_f_f.
50965         (log10_test_data): New variable.
50966         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
50967         (log1p_test_data): New variable.
50968         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
50969         (log2_test_data): New variable.
50970         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
50971         (logb_test_data): New variable.
50972         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
50973         (logb_downward_test_data): New variable.
50974         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50975         (nearbyint_test_data): New variable.
50976         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
50977         (rint_test_data): New variable.
50978         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
50979         (rint_tonearest_test_data): New variable.
50980         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50981         (rint_towardzero_test_data): New variable.
50982         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50983         (rint_downward_test_data): New variable.
50984         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50985         (rint_upward_test_data): New variable.
50986         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50987         (round_test_data): New variable.
50988         (round_test): Run tests with RUN_TEST_LOOP_f_f.
50989         (sin_test_data): New variable.
50990         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
50991         (sin_tonearest_test_data): New variable.
50992         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50993         (sin_towardzero_test_data): New variable.
50994         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50995         (sin_downward_test_data): New variable.
50996         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50997         (sin_upward_test_data): New variable.
50998         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50999         (sinh_test_data): New variable.
51000         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
51001         (sinh_tonearest_test_data): New variable.
51002         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51003         (sinh_towardzero_test_data): New variable.
51004         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51005         (sinh_downward_test_data): New variable.
51006         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51007         (sinh_upward_test_data): New variable.
51008         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51009         (sqrt_test_data): New variable.
51010         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
51011         (tan_test_data): New variable.
51012         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
51013         (tan_tonearest_test_data): New variable.
51014         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51015         (tan_towardzero_test_data): New variable.
51016         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51017         (tan_downward_test_data): New variable.
51018         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51019         (tan_upward_test_data): New variable.
51020         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51021         (tanh_test_data): New variable.
51022         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
51023         (tgamma_test_data): New variable.
51024         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
51025         (trunc_test_data): New variable.
51026         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
51027         (y0_test_data): New variable.
51028         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
51029         (y1_test_data): New variable.
51030         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
51031         (significand_test_data): New variable.
51032         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
51034 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
51036         [BZ #12387]
51037         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
51039 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
51041         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
51043 2013-05-10  Andreas Jaeger  <aj@suse.de>
51045         [BZ #15448]
51046         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
51047         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
51049 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
51051         * math/gen-libm-test.pl (adjust_arg): New function.
51052         (special_functions): Handle generating output in both functions
51053         and arrays.
51054         (parse_args): Likewise.
51055         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
51056         $in_func argument to parse_args.
51057         * math/libm-test.inc (struct test_f_f_data): New type.
51058         (IF_ROUND_INIT_): New macro.
51059         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
51060         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
51061         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
51062         (IF_ROUND_INIT_FE_UPWARD): Likewise.
51063         (ROUND_RESTORE_): Likewise.
51064         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
51065         (ROUND_RESTORE_FE_TONEAREST): Likewise.
51066         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
51067         (ROUND_RESTORE_FE_UPWARD): Likewise.
51068         (RUN_TEST_LOOP_f_f): New macro.
51069         (acos_test_data): New variable.
51070         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
51071         (acos_tonearest_test_data): New variable.
51072         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51074 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51076         * benchtests/bench-skeleton.c (startup): Fix coding style.
51078 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
51080         [BZ #6809]
51081         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
51082         negative infinity argument.
51083         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
51084         negative infinity argument.
51085         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
51086         negative infinity argument.
51087         * math/libm-test.inc (tgamma_test): Expect errno to be set for
51088         domain errors.
51090 2013-05-10  Florian Weimer  <fweimer@redhat.com>
51092         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
51093         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
51094         * iconv/iconv_prog.c (main): Likewise.
51095         * locale/programs/charmap-dir.c (charmap_readdir)
51096         (fopen_uncompressed): Likewise.
51097         * locale/programs/locfile.c (siblings_uncached)
51098         (write_locale_data): Use lstat64 instead of lstat.
51099         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
51100         stat.
51102 2013-05-10  Andreas Jaeger  <aj@suse.de>
51104         [BZ #15395]
51105         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
51106         localization.
51107         Include <locale.h>.
51109 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
51111         * elf/dl-close.c (_dl_close_worker): Add comments.
51113 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
51115         [BZ #15359]
51116         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
51117         high part of pi/2.
51118         (__ieee754_rem_pio2l): Update comments.
51120         [BZ #15429]
51121         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
51122         high part of pi/2.
51123         (__ieee754_rem_pio2l): Update comments.
51125         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
51126         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
51128         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
51129         M_PI_4l.
51131         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
51132         (M_PI_34_LOG10El): Likewise.
51133         (M_PI2_LOG10El): Likewise.
51134         (M_PI4_LOG10El): Likewise.
51135         (M_PI_LOG10El): Likewise.
51137 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51139         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51141 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
51143         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
51144         (MINUS_ZERO_INIT): Likewise.
51145         (PLUS_INFTY_INIT): Likewise.
51146         (MINUS_INFTY_INIT): Likewise.
51147         (QNAN_VALUE_INIT): Likewise.
51148         (MAX_VALUE_INIT): Likewise.
51149         (MIN_VALUE_INIT): Likewise.
51150         (MIN_SUBNORM_VALUE_INIT): Likewise.
51151         (plus_zero): Initialize with PLUS_ZERO_INIT.
51152         (minus_zero): Initialize with MINUS_ZERO_INIT.
51153         (plus_infty): Initialize with PLUS_INFTY_INIT.
51154         (minus_infty): Initialize with MINUS_INFTY_INIT.
51155         (qnan_value): Initialize with QNAN_VALUE_INIT.
51156         (max_value): Initialize with MAX_VALUE_INIT.
51157         (min_value): Initialize with MIN_VALUE_INIT.
51158         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
51160         * math/libm-test.inc (RUN_TEST_if_f): New macro.
51161         (jn_test): Use TEST_if_f instead of TEST_ff_f.
51162         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
51163         (yn_test): Use TEST_if_f instead of TEST_ff_f.
51165         * math/libm-test.inc (RUN_TEST_f_f): New macro.
51166         (RUN_TEST_2_f): Likewise.
51167         (RUN_TEST_ff_f): Likewise.
51168         (RUN_TEST_fi_f): Likewise.
51169         (RUN_TEST_fl_f): Likewise.
51170         (RUN_TEST_fff_f): Likewise.
51171         (RUN_TEST_c_f): Likewise.
51172         (RUN_TEST_f_f1): Likewise.
51173         (RUN_TEST_fF_f1): Likewise.
51174         (RUN_TEST_fI_f1): Likewise.
51175         (RUN_TEST_ffI_f1): Likewise.
51176         (RUN_TEST_c_c): Likewise.
51177         (RUN_TEST_cc_c): Likewise.
51178         (RUN_TEST_f_i): Likewise.
51179         (RUN_TEST_f_i_tg): Likewise.
51180         (RUN_TEST_ff_i_tg): Likewise.
51181         (RUN_TEST_f_b): Likewise.
51182         (RUN_TEST_f_b_tg): Likewise.
51183         (RUN_TEST_f_l): Likewise.
51184         (RUN_TEST_f_L): Likewise.
51185         (RUN_TEST_sincos): Likewise.
51186         * math/gen-libm-test.pl (new_test): Take new argument to indicate
51187         whether to show exceptions.  Do not include ");\n" in return
51188         value.
51189         (special_functions): Output call to RUN_TEST_sincos instead of
51190         check_float calls.  Update calls to new_test.
51191         (parse_args): Output call to single RUN_TEST_* macro instead of
51192         check_* calls and other assignments.  Update calls to new_test.
51194         [BZ #2546]
51195         [BZ #2560]
51196         [BZ #5159]
51197         [BZ #15426]
51198         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
51199         input to result for tgamma overflow.
51200         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
51201         (gamma_coeff): New variable.
51202         (NCOEFF): New macro.
51203         (gamma_positive): New function.
51204         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
51205         underflow here.  Use gamma_positive instead of exp (lgamma) for
51206         other arguments.
51207         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
51208         (gamma_coeff): New variable.
51209         (NCOEFF): New macro.
51210         (gammaf_positive): New function.
51211         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
51212         underflow here.  Use gamma_positive instead of exp (lgamma) for
51213         other arguments.
51214         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
51215         (gamma_coeff): New variable.
51216         (NCOEFF): New macro.
51217         (gammal_positive): New function.
51218         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
51219         underflow here.  Use gamma_positive instead of exp (lgamma) for
51220         other arguments.
51221         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
51222         (gamma_coeff): New variable.
51223         (NCOEFF): New macro.
51224         (gammal_positive): New function.
51225         (__ieee754_gammal_r): Handle positive infinity, overflow and
51226         underflow here.  Handle NaN the same as positive infinity.  Remove
51227         check x < 0xffffffff for negative integers.  Use gamma_positive
51228         instead of exp (lgamma) for other arguments.
51229         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
51230         (gamma_coeff): New variable.
51231         (NCOEFF): New macro.
51232         (gammal_positive): New function.
51233         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
51234         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
51235         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
51236         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
51237         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
51238         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
51239         * sysdeps/generic/math_private.h (__gamma_productf): New
51240         prototype.
51241         (__gamma_product): Likewise.
51242         (__gamma_productl): Likewise.
51243         * math/Makefile (libm-calls): Add gamma_product.
51244         * math/libm-test.inc (tgamma_test): Add more tests.
51245         * sysdeps/i386/fpu/libm-test-ulps: Update.
51246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51248 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
51250         * benchtests/bench-skeleton.c (main): Preheat CPU.
51252 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
51254         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
51256 2013-05-07  Roland McGrath  <roland@hack.frob.com>
51258         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
51259         and _dl_skip_args_internal.
51261 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
51263         * manual/message.texi (Message Translation): Talk about users.
51264         Message to key mapping impacts design.
51266 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51268         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
51270         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
51272         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
51273         * sysdeps/wordsize-64/glob64.c: ... here.
51275         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
51276         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
51277         New macros.
51279         * debug/getlogin_r_chk.c: Moved to ...
51280         * login/getlogin_r_chk.c: ... here.
51281         * debug/Makefile (routines): Move getlogin_r_chk to ...
51282         * login/Makefile (routines): ... here.
51283         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
51284         * login/Versions (libc: GLIBC_2.4): ... here.
51286         * io/poll.c (__poll): Renamed from poll.
51287         Add libc_hidden_def.
51288         (poll): Define as weak alias.
51290         * debug/ptsname_r_chk.c: Moved to ...
51291         * login/ptsname_r_chk.c: ... here.
51292         * debug/Makefile (routines): Move ptsname_r_chk to ...
51293         * login/Makefile (routines): ... here.
51294         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
51295         * login/Versions (libc: GLIBC_2.4): ... here.
51297         * posix/getlogin.c: Moved to ...
51298         * login/getlogin.c: ... here.
51299         * posix/getlogin_r.c: Moved to ...
51300         * login/getlogin_r.c: ... here.
51301         * posix/getlogin_r.c: Moved to ...
51302         * login/getlogin_r.c: ... here.
51303         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
51304         * login/Makefile (routines): ... here.
51305         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
51306         * login/Versions (libc: GLIBC_2.0): ... here.
51308         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
51309         (setrlimit): Define as weak alias.
51311         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
51312         Call __ names for open, ftruncate, and close.
51313         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
51314         (truncate): Define as weak alias.
51316 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
51318         * math/gen-libm-test.pl (parse_args): Initialize x before each
51319         test of frexp, modf and remquo.
51321         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
51322         test signgam value.
51324 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51326         [BZ #15418]
51327         [BZ #15419]
51328         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
51329         internal tests.
51330         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51332 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51334         * elf/dl-writev.h: New file.
51335         * elf/dl-misc.c: Include it.
51336         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
51337         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
51339 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
51341         * math/libm-test.inc (noXFails): Remove variable.
51342         (noXPasses): Likewise.
51343         (BUILD_COMPLEX_INT): Remove macro.
51344         (print_screen): Remove xfail argument.
51345         (print_screen_max_error): Likewise.
51346         (update_stats): Likewise.
51347         (print_max_error): Likewise.  Update calls to other affected
51348         functions.
51349         (print_complex_max_error): Likewise.
51350         (test_single_exception): Update calls to print_screen.
51351         (test_single_errno): Likewise.
51352         (check_float_internal): Remove xfail argument.  Update calls to
51353         other affected functions.
51354         (check_float): Likewise.
51355         (check_complex): Likewise.
51356         (check_int): Likewise.
51357         (check_long): Likewise.
51358         (check_bool): Likewise.
51359         (check_longlong): Likewise.
51360         (main): Don't print noXFails and noXPasses.
51361         * math/gen-libm-test.pl (top level): Don't mention expected
51362         failure handling in comment.
51363         (new_test): Don't handle expected failures.
51364         (parse_args): Don't mention expected failure handling in comment.
51365         (generate_testfile): Don't handle expected failures.
51366         (parse_ulps): Likewise.
51367         (print_ulps_file): Likewise.
51368         (get_failure): Remove function.
51369         (output_test): Don't handle expected failures.
51370         * make/README.libm-test: Don't mention expected failure handling.
51372         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
51373         (minus_zero): Likewise.
51374         (plus_infty): Likewise.
51375         (minus_infty): Likewise.
51376         (qnan_value): Likewise.
51377         (max_value): Likewise.
51378         (min_value): Likewise.
51379         (min_subnorm_value): Likewise.
51380         (initialize): Do not initialize those variables dynamically.
51382 2013-05-03  Roland McGrath  <roland@hack.frob.com>
51384         * io/open.c (__open_2): Moved to ...
51385         * io/open_2.c: ... this new file.
51386         * io/open64.c (__open64_2): Moved to ...
51387         * io/open64_2.c: ... this new file.
51388         * io/openat.c (__openat_2): Moved to ...
51389         * io/openat_2.c: ... this new file.
51390         * io/openat64.c (__openat64_2): Moved to ...
51391         * io/openat64_2.c: ... this new file.
51392         * io/Makefile (routines): Add them.
51393         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
51394         * sysdeps/unix/sysv/linux/open_2.c: File removed.
51395         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
51396         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
51397         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
51398         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
51399         (__openat64): Add hidden_ver.
51400         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
51401         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
51403         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
51404         Separately conditionalize setting of GLRO(dl_sysinfo) so
51405         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
51406         as well, but the actual setting is only under [NEED_DL_SYSINFO].
51408 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51410         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
51411         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
51412         definition.
51413         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
51414         * sysdeps/unix/sysv/linux/powerpc/init-first.c
51415         (_libc_vdso_platform_setup): Add __vdso_time initialization.
51416         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
51417         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
51419 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
51421         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
51422         test signgam value.
51424         * math/libm-test.inc (hypot_test): Do not use
51425         IGNORE_ZERO_INF_SIGN.
51427 2013-05-03  Andreas Jaeger  <aj@suse.de>
51429         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
51430         Linux 3.9.
51431         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
51432         (PF_MAX): Adjust for VSOCK change.
51434 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51436         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51438 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
51440         [BZ #15264]
51441         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
51442         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
51443         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
51445 2013-05-02  David S. Miller  <davem@davemloft.net>
51447         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51449 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
51451         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
51453 2013-05-01  Roland McGrath  <roland@hack.frob.com>
51455         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
51457 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
51459         [BZ #14952]
51460         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
51461         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51462         Use __attribute__ ((__gnu_inline__)).
51463         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51464         Don't use __attribute__ ((__gnu_inline__)).
51466 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
51468         [BZ #15423]
51469         * math/s_catan.c (__catan): Handle small real or imaginary part of
51470         input specially to avoid spurious underflow.
51471         * math/s_catanf.c (__catanf): Likewise.
51472         * math/s_catanh.c (__catanh): Likewise.
51473         * math/s_catanhf.c (__catanhf): Likewise.
51474         * math/s_catanhl.c (__catanhl): Likewise.
51475         * math/s_catanl.c (__catanl): Likewise.
51476         * math/libm-test.inc (catan_test): Add more tests.
51477         (catanh_test): Likewise.
51478         * sysdeps/i386/fpu/libm-test-ulps: Update.
51479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51481 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51483         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51485 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
51487         [BZ #15416]
51488         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
51489         accurately for denominator in atan2.
51490         * math/s_catanf.c (__catanf): Likewise.
51491         * math/s_catanh.c (__catanh): Likewise.
51492         * math/s_catanhf.c (__catanhf): Likewise.
51493         * math/s_catanhl.c (__catanhl): Likewise.
51494         * math/s_catanl.c (__catanl): Likewise.
51495         * math/libm-test.inc (catan_test): Add more tests.
51496         (catanh_test): Likewise.
51497         * sysdeps/i386/fpu/libm-test-ulps: Update.
51498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51500 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51502         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
51504         * benchtests/Makefile (bench): Remove slow benchmarks.
51505         * benchtests/atan-inputs: Add slow benchmark inputs.
51506         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
51507         (BENCH_FUNC): Accept variant offset.
51508         (VARIANT): Define.
51509         * benchtests/bench-skeleton.c (main): Run benchmark for each
51510         variant.
51511         * benchtests/cos-inputs: Add slow benchmark inputs.
51512         * benchtests/exp-inputs: Likewise.
51513         * benchtests/pow-inputs: Likewise.
51514         * benchtests/sin-inputs: Likewise.
51515         * benchtests/slowatan-inputs: Remove.
51516         * benchtests/slowatan.c: Remove.
51517         * benchtests/slowcos-inputs: Remove.
51518         * benchtests/slowcos.c: Remove.
51519         * benchtests/slowexp-inputs: Remove.
51520         * benchtests/slowexp.c: Remove.
51521         * benchtests/slowpow-inputs: Remove.
51522         * benchtests/slowpow.c: Remove.
51523         * benchtests/slowsin-inputs: Remove.
51524         * benchtests/slowsin.c: Remove.
51525         * benchtests/slowtan-inputs: Remove.
51526         * benchtests/slowtan.c: Remove.
51527         * benchtests/tan-inputs: Add slow benchmark inputs.
51528         * scripts/bench.pl: Parse comments and directives.
51530         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
51531         in CPPFLAGS.
51532         ($(objpfx)bench-%.c): Remove *-ITER.
51533         * benchtests/bench-modf.c: Remove definition of ITER.
51534         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
51535         (main): Loop for DURATION seconds instead of fixed number of
51536         iterations.
51537         * scripts/bench.pl: Don't expect iterations in parameters.
51539 2013-04-29  Roland McGrath  <roland@hack.frob.com>
51541         * io/fchdir.c (__fchdir): Renamed from fchdir.
51542         (fchdir): Define as weak alias.
51544 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
51546         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
51547         (ERRNO_EDOM): Likewise.
51548         (ERRNO_ERANGE): Likewise.
51549         (noErrnoTests): New variable.
51550         (init_max_error): Set errno to 0.
51551         (test_single_errno): New function.
51552         (test_errno): Likewise.
51553         (check_float_internal): Call test_errno.  Set errno to 0.
51554         (check_complex): Refer to errno tests in comment.
51555         (check_int): Call test_errno.  Set errno to 0.
51556         (check_long): Likewise.
51557         (check_bool): Likewise.
51558         (check_longlong): Likewise.
51559         (cos_test): Use ERRNO_* flags for errno tests instead of
51560         check_int.
51561         (expm1_test): Likewise.
51562         (fmod_test): Likewise.
51563         (ilogb_test): Likewise.
51564         (lgamma_test): Likewise.
51565         (pow_test): Likewise.
51566         (remainder_test): Likewise.
51567         (sin_test): Likewise.
51568         (tan_test): Likewise.
51569         (yn_test): Likewise.
51570         (initialize): Set errno to 0.
51571         (main): Print number of errno tests.
51572         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
51574 2013-04-29  Andreas Jaeger  <aj@suse.de>
51576         [BZ #15084]
51577         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
51578         and RES_USEVC.
51580         [BZ #15085]
51581         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
51582         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
51583         unimplemented.
51585         [BZ #15380]
51586         * stdlib/random.c (__initstate): Return NULL if
51587         __initstate fails.
51589         [BZ #15086]
51590         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
51591         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
51592         RES_SNGLKUPREOP.
51594 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51596         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51598 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
51600         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
51601         of individual tests.
51602         (casin_test): Likewise.
51603         (casinh_test): Likewise.
51605 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
51607         [BZ #15409]
51608         * math/s_catan.c (__catan): Handle arguments with large real or
51609         imaginary part separately without squaring.
51610         * math/s_catanf.c (__catanf): Likewise.
51611         * math/s_catanh.c (__catanh): Likewise.
51612         * math/s_catanhf.c (__catanhf): Likewise.
51613         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
51614         and redefine.
51615         (__catanhl): Handle arguments with large real or imaginary part
51616         separately without squaring.
51617         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
51618         and redefine.
51619         (__catanl): Handle arguments with large real or imaginary part
51620         separately without squaring.
51621         * math/libm-test.inc (catan_test): Add more tests.
51622         (catanh_test): Likewise.
51623         * sysdeps/i386/fpu/libm-test-ulps: Update.
51624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51626 2013-04-27  Andreas Jaeger  <aj@suse.de>
51628         [BZ #15007]
51629         * stdlib/stdlib.h: Update guards for qecvt.
51630         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
51631         <stdlib.h>.
51633 2013-04-27  Allan McRae  <allan@archlinux.org>
51635         * sysdeps/i386/fpu/libm-test-ulps: Update.
51637 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
51639         [BZ #15406]
51640         * math/s_catan.c: Include <float.h>.
51641         (__catan): Ensure underflow exception occurs for underflowed
51642         result.
51643         * math/s_catanf.c: Include <float.h>.
51644         (__catanf): Ensure underflow exception occurs for underflowed
51645         result.
51646         * math/s_catanh.c: Include <float.h>.
51647         (__catanh): Ensure underflow exception occurs for underflowed
51648         result.
51649         * math/s_catanhf.c: Include <float.h>.
51650         (__catanhf): Ensure underflow exception occurs for underflowed
51651         result.
51652         * math/s_catanhl.c: Include <float.h>.
51653         (__catanhl): Ensure underflow exception occurs for underflowed
51654         result.
51655         * math/s_catanl.c: Include <float.h>.
51656         (__catanl): Ensure underflow exception occurs for underflowed
51657         result.
51658         * math/libm-test.inc (catan_test): Add more tests.
51659         (catanh_test): Likewise.
51661         [BZ #15405]
51662         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
51663         underflowed result.
51664         * math/s_ccoshf.c (__ccoshf): Likewise.
51665         * math/s_ccoshl.c (__ccoshl): Likewise.
51666         * math/s_csin.c (__csin): Likewise.
51667         * math/s_csinf.c (__csinf): Likewise.
51668         * math/s_csinh.c (__csinh): Likewise.
51669         * math/s_csinhf.c (__csinhf): Likewise.
51670         * math/s_csinhl.c (__csinhl): Likewise.
51671         * math/s_csinl.c (__csinl): Likewise.
51672         * math/libm-test.inc (ccos_test): Add more tests.
51673         (ccosh_test): Likewise.
51674         (csin_test): Likewise.
51675         (csinh_test): Likewise.
51677 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51679         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
51680         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
51681         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
51682         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
51683         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
51684         powerpc/power5+/fpu folders.
51685         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
51688 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
51690         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51692 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
51694         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
51695         additions to variable.
51696         [$(config-machine) = x86_64] (modules-names): Likewise.
51697         ($(objpfx)tst-audit3): Remove dependency.
51698         ($(objpfx)tst-audit3.out): Likewise.
51699         ($(objpfx)tst-audit4): Likewise.
51700         ($(objpfx)tst-audit4.out): Likewise.
51701         ($(objpfx)tst-audit5): Likewise.
51702         ($(objpfx)tst-audit5.out): Likewise.
51703         ($(objpfx)tst-audit6): Likewise.
51704         ($(objpfx)tst-audit6.out): Likewise.
51705         ($(objpfx)tst-audit7): Likewise.
51706         ($(objpfx)tst-audit7.out): Likewise.
51707         (tst-audit3-ENV): Remove variable.
51708         (tst-audit4-ENV): Likewise.
51709         (tst-audit5-ENV): Likewise.
51710         (tst-audit6-ENV): Likewise.
51711         (tst-audit7-ENV): Likewise.
51712         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
51713         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
51714         addition to variable.
51715         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
51716         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
51717         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
51718         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
51719         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
51720         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
51721         tst-audit3, tst-audit4 and tst-audit5.
51722         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
51723         tst-audit6 and tst-audit7.
51724         [$(subdir) = elf] (modules-names): Add audit modules for those
51725         tests.
51726         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
51727         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
51728         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
51729         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
51730         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
51731         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
51732         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
51733         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
51734         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
51735         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
51736         [$(subdir) = elf] (tst-audit3-ENV): New variable.
51737         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
51738         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
51739         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
51740         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
51741         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
51742         Likewise.
51743         [$(subdir) = elf && $(config-cflags-avx) = yes]
51744         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
51745         [$(subdir) = elf && $(config-cflags-avx) = yes]
51746         (CFLAGS-tst-auditmod4a.c): Likewise.
51747         [$(subdir) = elf && $(config-cflags-avx) = yes]
51748         (CFLAGS-tst-auditmod4b.c): Likewise.
51749         [$(subdir) = elf && $(config-cflags-avx) = yes]
51750         (CFLAGS-tst-auditmod6b.c): Likewise.
51751         [$(subdir) = elf && $(config-cflags-avx) = yes]
51752         (CFLAGS-tst-auditmod6c.c): Likewise.
51753         [$(subdir) = elf && $(config-cflags-avx) = yes]
51754         (CFLAGS-tst-auditmod7b.c): Likewise.
51755         * elf/tst-audit3.c: Move to ...
51756         * sysdeps/x86_64/tst-audit3.c: ... here.
51757         * elf/tst-audit4.c: Move to ...
51758         * sysdeps/x86_64/tst-audit4.c: ... here.
51759         * elf/tst-audit5.c: Move to ...
51760         * sysdeps/x86_64/tst-audit5.c: ... here.
51761         * elf/tst-audit6.c: Move to ...
51762         * sysdeps/x86_64/tst-audit6.c: ... here.
51763         * elf/tst-audit7.c: Move to ...
51764         * sysdeps/x86_64/tst-audit7.c: ... here.
51765         * elf/tst-auditmod3a.c: Move to ...
51766         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
51767         * elf/tst-auditmod3b.c: Move to ...
51768         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
51769         * elf/tst-auditmod4a.c: Move to ...
51770         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
51771         * elf/tst-auditmod4b.c: Move to ...
51772         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
51773         * elf/tst-auditmod5a.c: Move to ...
51774         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
51775         * elf/tst-auditmod5b.c: Move to ...
51776         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
51777         * elf/tst-auditmod6a.c: Move to ...
51778         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
51779         * elf/tst-auditmod6b.c: Move to ...
51780         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
51781         * elf/tst-auditmod6c.c: Move to ...
51782         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
51783         * elf/tst-auditmod7a.c: Move to ...
51784         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
51785         * elf/tst-auditmod7b.c: Move to ...
51786         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
51788 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
51790         [BZ #15366]
51791         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
51792         define unconditionally.
51793         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
51794         define unconditionally.
51795         (INT8_C, INT16_C, etc.): Likewise.
51797 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
51799         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
51800         __ehdr_start with hidden visibility.
51802         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
51804 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
51806         * math/libm-test.inc (cos_test): Use accurate hex constants.
51807         (sincost_test): Likewise.
51809 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
51811         * math/libm-test.inc (catan_test): Add more tests.
51812         (catanh_test): Likewise.
51814         * math/s_catanf.c (__catanf): Use suffixed floating-point
51815         constants.
51816         * math/s_catanhf.c (__catanhf): Likewise.
51817         * math/s_catanhl.c (__catanhl): Likewise.
51818         * math/s_catanl.c (__catanl): Likewise.
51820         [BZ #15394]
51821         * math/s_catan.c (__catan): Calculate imaginary part of result
51822         with log1p not log unless computing log of number close to 0.
51823         * math/s_catanf.c (__catanf): Likewise.
51824         * math/s_catanl.c (__catanl): Likewise.
51825         * math/s_catanh.c (__catanh): Calculate real part of result with
51826         log1p not log unless computing log of number close to 0.
51827         * math/s_catanhf.c (__catanhf): Likewise.
51828         * math/s_catanhl.c (__catanhl): Likewise.
51829         * math/libm-test.inc (catan_test): Add more tests.
51830         (catanh_test): Likewise.
51831         * sysdeps/i386/fpu/libm-test-ulps: Update.
51832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51834 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51836         * benchtests/Makefile: Mention files in which fast and slow
51837         paths of math functions are implemented.
51839 2013-04-23  Roland McGrath  <roland@hack.frob.com>
51841         * sysdeps/posix/timespec_get.c: New file.
51843 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51845         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
51846         POWER.
51847         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
51848         for POWER.
51849         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
51850         powerpc/power5/fpu folders.
51851         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
51852         * benchtests/Makefile: Add modf testcase.
51853         * benchtests/bench-modf.c: New file: Benchmark test for mo
51855 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
51857         [BZ #14888]
51858         * time/Makefile (tests): Add tst-strptime-whitespace.
51859         * time/strptime_l.c (get_number): Use ISSPACE.
51860         (__strptime_internal): Likewise.
51861         * time/tst-strptime-whitespace.c: New test case.
51863 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
51865         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
51866         member.
51867         (_nss_files_init): Set it here.
51869 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
51871         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
51872         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
51873         unsigned.
51875 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
51877         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
51879 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51881         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
51882         size just once.
51884 2013-04-21  David S. Miller  <davem@davemloft.net>
51886         * po/ru.po: Update Russion translation from translation project.
51888 2013-04-17  Adam Conrad  <adconrad@0c3.net>
51890         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
51891         and setfsgid.
51893 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
51895         * configure.in: Remove i386 configure warning. Remove i386 case.
51896         * configure: Regenerate.
51897         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
51898         Add example to error message.
51899         * sysdeps/i386/configure: Regenerate.
51901 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51903         * benchtests/Makefile (bench): Add cos, tan, slowcos and
51904         slowtan.
51905         * benchtests/cos-inputs: New file.
51906         * benchtests/slowcos-inputs: New file.
51907         * benchtests/slowcos.c: New file.
51908         * benchtests/slowtan-inputs: New file.
51909         * benchtests/slowtan.c: New file.
51910         * benchtests/tan-inputs: New file.
51912 2013-04-16  Roland McGrath  <roland@hack.frob.com>
51914         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
51915         considered kosher.
51917 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51919         * benchtests/Makefile: Include cppflags-iterator.mk to add
51920         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
51922         * Makefile.in (bench-clean): New target.
51923         * benchtests/Makefile (bench-clean): Likewise.
51925 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
51927         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
51929 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
51931         * stdio-common/tstdiomisc.c: Fix coding-style violation.
51933 2013-04-15  Andreas Schwab  <schwab@suse.de>
51935         * nscd/grpcache.c (cache_addgr): Properly check for short write.
51936         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51937         * nscd/pwdcache.c (cache_addpw): Likewise.
51938         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
51939         more than recsize.
51941 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51943         * benchtests/Makefile (bench): Write all output to
51944         bench-out.tmp together.
51946 2013-04-15  Andreas Schwab  <schwab@suse.de>
51948         * nscd/nscd.c (main): Don't fork again after closing files.
51950 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51952         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
51954         * benchtests/Rules (bench-deps): Collect dependencies into a
51955         single variable.  Add Makefile to dependencies.
51956         ($(objpfx)bench-%.c): Depend on bench-deps.
51958 2013-04-12  Roland McGrath  <roland@hack.frob.com>
51959             Xavier Roche  <roche+kml2@exalead.com>
51961         [BZ #15361]
51962         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
51963         just that it's a file descriptor.
51964         * manual/llio.texi (Synchronizing AIO Operations): Update description
51965         for EBADF error from aio_fsync.
51967 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51969         * Rules (bench): Move target definition...
51970         * benchtests/Makefile: ... here.
51972 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
51974         * math/libm-test.inc (cos_test): Fix PI/2 test.
51975         (sincos_test): Likewise.
51976         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
51977         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
51979 2013-04-11  Andreas Schwab  <schwab@suse.de>
51981         [BZ #13988]
51982         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
51983         accept exponent character only when digits were seen.
51984         * stdio-common/Makefile (tests): Add bug26.
51985         * stdio-common/bug26.c: New file.
51987         [BZ #14293]
51988         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
51989         non-freeable.
51991 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51993         * Makeconfig (rtld-prefix): Define built linker prefix.
51994         * Rules (run-bench): Use it.
51995         * math/Makefile (run-regen-ulps): Likewise.
51997         * Rules (bench): Remove eval.
51999 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52000             Roland McGrath  <roland@hack.frob.com>
52001             Ondrej Bilka  <neleai@seznam.cz>
52003         [BZ #15346]
52004         * time/getdate.c: Include ctype.h and alloca.h.
52005         (__getdate_r): Trim leading and trailing spaces of input.
52006         * time/tst-getdate.c (tests): Add tests with leading and
52007         trailing spaces.
52009 2013-04-08  Roland McGrath  <roland@hack.frob.com>
52011         [BZ #14280]
52012         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
52013         when computing value.
52015 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52017         * math/README.libm-test (How can I generate "libm-test-ulps"?):
52018         Use testrun.sh to run libm tests.
52020         [BZ #15309]
52021         * elf/dl-open.c (dl_open_worker): memset all of seen array.
52023 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
52025         [BZ #15264]
52026         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
52028 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52030         * Makefile.in (regen-ulps): New target.
52031         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
52032         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
52033         [ifneq (no,$(PERL)] (regen-ulps): New target.
52034         [ifeq (no,$(PERL)] (regen-ulps): New target.
52035         * math/libm-test.inc (ulps_file_name): Define.
52036         (output_dir): New variable.
52037         (options): Add "output-dir" option.
52038         (parse_opt): Handle 'o' case.
52039         (main): If output_dir is non-NULL use it as a prefix
52040         otherwise use "".
52041         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
52043 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52045         [BZ #10060, #10062]
52046         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
52047         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
52048         fail configure if __sync_val_compare_and_swap is not inlined.
52049         * sysdeps/i386/configure: Regenerate.
52050         * configure.in: Build for i686 when configured for i386.
52051         * configure: Regenerate.
52052         * README: Remove i386 reference.
52054 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52056         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
52057         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52059 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52061         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
52062         (lmsnanval): New variables.
52063         (F): Add conversion tests.
52064         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
52065         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
52067         * stdio-common/tstdiomisc.c (F): Properly collect individual
52068         tests' results.
52070         [BZ #14686, #15336]
52071         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
52072         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
52073         Instead, use input NaN values or generate a qNaN by arithmetic
52074         operation.  Also fix bugs to comply with the standard.
52075         * math/libm-test.inc (remainder_test): Add more tests.
52077         [BZ #15335, #15342]
52078         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
52079         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
52080         input NaN values or generate a qNaN by arithmetic operation.
52082         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
52083         unreachable code.
52085         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
52086         definitions.
52088 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
52090         [BZ #14478]
52091         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
52092         underflowed result.
52093         * math/s_cexpf.c (__cexpf): Likewise.
52094         * math/s_cexpl.c (__cexpl): Likewise.
52095         * math/libm-test.inc (cexp_test): Add more tests.
52097 2013-04-03  Andreas Schwab  <schwab@suse.de>
52099         [BZ #15330]
52100         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
52101         order arrays from heap if bigger than alloca cutoff.
52103 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
52105         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
52106         (SNAN_TESTS_double): Refer to GCC PR56831.
52107         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
52108         GCC PR56828.
52110 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52112         * Rules (bench): Move bench.out after the run is complete.
52114         * Rules (bench): Echo currently running benchmark.
52116         * benchtests/Makefile (bench): Add atan and slowatan.
52117         * benchtests/atan-inputs: New file.
52118         * benchtests/slowatan-inputs: New file.
52119         * benchtests/slowatan.c: New file.
52121         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
52122         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
52123         its value.
52125         [BZ #15305]
52126         * sysdeps/unix/sysv/linux/kernel-features.h
52127         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
52128         __ASSUME_XFS_RESTRICTED_CHOWN.
52129         * sysdeps/unix/sysv/linux/pathconf.c
52130         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
52131         Save and restore errno.
52133 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
52135         [BZ #15327]
52136         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
52137         arguments using __kernel_casinh.
52138         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
52139         arguments using __kernel_casinhf.
52140         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
52141         arguments using __kernel_casinhl.
52142         * math/libm-test.inc (cacosh_test): Add more tests.
52143         * sysdeps/i386/fpu/libm-test-ulps: Update.
52144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52146 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52148         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
52149         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
52151         * bench/Makefile (bench): Add sin and slowsin.
52152         * benchtests/sin-inputs: New file.
52153         * benchtests/slowsin-inputs: New file.
52154         * benchtests/slowsin.c: New file.
52156         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
52157         (bench): Add slowexp and slowpow.
52158         (exp-ITER): Increase iterations.
52159         (pow-ITER): Likewise.
52160         * benchtests/exp-inputs: Change input.
52161         * benchtests/pow-inputs: Likewise.
52162         * benchtests/slowexp-inputs: New file.
52163         * benchtests/slowexp.c: New file.
52164         * benchtests/slowpow-inputs: New file.
52165         * benchtests/slowpow.c: New file.
52167 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52169         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
52170         instructions.
52171         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
52172         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
52173         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
52174         * benchtests/Makefile: Add rint benchtest.
52175         * benchtests/rint-inputs: Input for rint benchtest.
52177 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52179         * Versions.def (libm): Add GLIBC_2.18.
52180         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
52181         hidden libm prototypes.
52182         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
52183         * math/Makefile (libm-calls): Add s_issignaling.
52184         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
52185         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
52186         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
52187         declaration.
52188         * math/math.h [__USE_GNU] (issignaling): New macro.
52189         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
52190         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
52191         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
52192         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
52193         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
52194         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
52195         * manual/arith.texi (issignaling): New section.
52196         * manual/libm-err-tab.pl (@all_functions): Update comment.
52197         * math/gen-libm-test.pl (parse_args): Apply special handling for
52198         issignaling.
52199         * math/libm-test.inc (print_float, issignaling_test): New
52200         functions.
52201         (check_float_internal): Add issignaling checks.
52202         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
52203         default definition.
52204         * sysdeps/powerpc/math-tests.h: New file.
52205         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
52206         tests.
52207         * math/test-snan.c (TEST_FUNC): Likewise.
52209 2013-03-30  David S. Miller  <davem@davemloft.net>
52211         * po/de.po: Update from translation team.
52213 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
52215         [BZ #10357]
52216         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52217         imaginary part less than 1.0 and real part less than 0.5
52218         specially.
52219         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52220         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52221         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
52222         (cacos_test): Add more tests.
52223         (casin_test): Likewise.
52224         (casinh_test): Likewise.
52225         * sysdeps/i386/fpu/libm-test-ulps: Update.
52226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52228 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52230         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
52231         ONE with its value.
52233         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
52234         (__pow_mp): Replace ONE and MONE with their values.
52235         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52236         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
52237         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52238         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
52239         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52240         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52242         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
52244         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
52245         (__pow_mp): Replace ZERO and MZERO with their values.
52246         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52247         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52248         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52249         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
52250         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52251         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
52252         (__sqr): Likewise.
52254         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
52256         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
52258 2013-03-28  Roland McGrath  <roland@hack.frob.com>
52260         * include/stdlib.h [!SHARED] (__call_tls_dtors):
52261         Declare with __attribute__ ((weak)).
52262         * stdlib/exit.c (__libc_atexit) [!SHARED]:
52263         Call __call_tls_dtors only if it's not NULL.
52265 2013-03-28  Roland McGrath  <roland@hack.frob.com>
52267         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
52268         didn't do it already, then set _dl_phdr and _dl_phnum based on the
52269         magic __ehdr_start linker symbol if it's defined.
52270         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
52271         them up here if it was already done.
52273         * elf/dl-support.c (_dl_phdr): Make pointer to const.
52274         (_dl_aux_init): Use const in cast when setting it.
52275         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
52276         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
52277         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
52279         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
52280         Declare them here.
52281         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
52282         * csu/libc-tls.c: Nor here.
52283         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
52285         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
52286         (__libc_message): Never call vsyslog.
52288 2013-03-28  Alan Modra  <amodra@gmail.com>
52290         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
52291         Define as empty.
52292         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
52293         Likewise.
52295 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52297         [BZ #15214]
52298         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
52299         underflow.
52300         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52302 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52304         [BZ #15304]
52305         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
52306         Don't add gid passed as argument.
52308         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
52310 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
52312         [BZ #15307]
52313         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52314         imaginary part between 1.0 and 1.5 and real part less than 0.5
52315         specially.
52316         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52317         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52318         * math/libm-test.inc (cacos_test): Add more tests.
52319         (casin_test): Likewise.
52320         (casinh_test): Likewise.
52321         * sysdeps/i386/fpu/libm-test-ulps: Update.
52322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52324 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52326         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
52327         constants.
52328         (norm): Likewise.
52329         (denorm): Likewise.
52330         (__dbl_mp): Likewise.
52331         (add_magnitudes): Likewise.
52332         (sub_magnitudes): Likewise.
52333         (__add): Likewise.
52334         (__sub): Likewise.
52335         (__mul): Likewise.
52336         (__sqr): Likewise.
52337         (__inv): Likewise.
52338         (__dvd): Likewise.
52340         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
52341         commented code.
52342         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
52343         (__dubcos): Likewise.
52344         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
52345         (__ieee754_acos): Likewise.
52346         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52347         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
52348         (__exp1): Likewise.
52349         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52350         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52351         (log1): Likewise.
52352         (my_log2): Likewise.
52353         (checkint): Likewise.
52354         * sysdeps/ieee754/dbl-64/e_remainder.c
52355         (__ieee754_remainder): Likewise.
52356         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52357         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
52358         (bsloww): Likewise.
52359         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52361         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
52362         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
52363         MANTISSA_STORE_T to store computations on mantissa.  Use
52364         macros for rounding and division.
52365         (denorm): Likewise.
52366         (__dbl_mp): Likewise.
52367         (add_magnitudes): Likewise.
52368         (sub_magnitudes): Likewise.
52369         (__mul): Likewise.
52370         (__sqr): Likewise.
52371         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
52372         powers of two in terms of TWOPOW macro.
52373         (mp_no): Make type of mantissa as MANTISSA_T.
52374         [!RADIXI]: Define RADIXI.
52375         [!TWO52]: Define TWO52.
52376         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
52378 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52380         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
52381         llroundl symbol when building for PPC32.
52383 2013-03-24  Mark H Weaver  <mhw@netris.org>
52385         * manual/arith.texi (Normalization Functions): Fix prototypes for
52386         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
52388 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52390         [BZ #13889]
52391         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
52392         high value to check if expl overflow.
52393         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
52394         to check for underflow and overflow.
52395         * math/libm-test.inc: Add exp test.
52397 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
52399         [BZ #11120]
52400         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
52401         with NOT_IN_libc.
52403 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52405         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
52406         symbol.
52408 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52410         * math/gen-libm-test.pl (parse_args, special_functions): Properly
52411         wrap blocks consisting of several statements.
52413         * sysdeps/generic/math-tests.h: New file.
52414         * sysdeps/i386/fpu/math-tests.h: Likewise.
52415         * math/test-snan.c: Include it.
52416         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
52418 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52420         [BZ #15285]
52421         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
52422         (__ieee754_j0l): Do not improve calculations using cos of twice
52423         input for inputs above LDBL_MAX / 2.0L.
52424         (__ieee754_y0l): Likewise.
52425         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
52426         (__ieee754_j1l): Do not improve calculations using cos of twice
52427         input for inputs above LDBL_MAX / 2.0L.
52428         (__ieee754_y1l): Likewise.
52429         * math/libm-test.inc (j0_test): Add another test.
52430         (j1_test): Likewise.
52431         (y0_test): Likewise.
52432         (y1_test): Likewise.
52433         * sysdeps/i386/fpu/libm-test-ulps: Update.
52435 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52437         * Rules ($(objpfx)bench-%.c): Include code from a C source
52438         file.
52440 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52442         [BZ #15287]
52443         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52444         imaginary part 1.0 and real part less than 0.5 specially.
52445         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52446         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52447         * math/libm-test.inc (cacos_test): Add more tests.
52448         (casin_test): Likewise.
52449         (casinh_test): Likewise.
52450         * sysdeps/i386/fpu/libm-test-ulps: Update.
52451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52453 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52455         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
52456         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
52458 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
52460         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
52461         * config.make.in (config-cflags-sse4): Remove variable.
52462         (config-cflags-avx): Likewise.
52463         (config-cflags-sse2avx): Likewise.
52464         (config-cflags-novzeroupper): Likewise.
52465         (config-asflags-i686): Likewise.
52466         (have-mfma4): Likewise.
52467         (have-as-vis3): Likewise.
52468         (MIG): Likewise.
52469         * configure.in (MIG): Do not AC_SUBST.
52470         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
52471         (libc_cv_cc_sse4): Do not AC_SUBST.
52472         (libc_cv_cc_avx): Likewise.
52473         (libc_cv_cc_sse2avx): Likewise.
52474         (libc_cv_cc_novzeroupper): Likewise.
52475         (libc_cv_cc_fma4): Likewise.
52476         (libc_cv_as_i686): Likewise.
52477         (libc_cv_sparc_as_vis3): Likewise.
52478         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
52479         LIBC_CONFIG_VAR.
52480         (config-asflags-i686): Likewise.
52481         (config-cflags-avx): Likewise.
52482         (config-cflags-sse2avx): Likewise.
52483         (have-mfma4): Likewise.
52484         (config-cflags-novzeroupper): Likewise.
52485         * sysdeps/mach/configure.in (MIG): Likewise.
52486         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
52487         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
52488         LIBC_CONFIG_VAR.
52489         (config-cflags-avx): Likewise.
52490         (config-cflags-sse2avx): Likewise.
52491         (have-mfma4): Likewise.
52492         (config-cflags-novzeroupper): Likewise.
52493         * configure: Regenerated.
52494         * sysdeps/i386/configure: Likewise.
52495         * sysdeps/mach/configure: Likewise.
52496         * sysdeps/sparc/configure: Likewise.
52497         * sysdeps/x86_64/configure: Likewise.
52499 2013-03-20  Roland McGrath  <roland@hack.frob.com>
52501         [BZ #14812]
52502         * locale/programs/localedef.c (options): Put N_ translation marker
52503         on argument names, not just descriptions.
52505 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52507         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
52509 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
52511         [BZ #14176]
52512         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
52514 2013-03-19  Roland McGrath  <roland@hack.frob.com>
52516         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
52517         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
52518         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
52519         [!BEFORE_ABORT] (before_abort): New function.
52520         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
52521         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
52522         (writev_for_fatal): New function.
52523         (WRITEV_FOR_FATAL): New macro; call that.
52524         (backtrace_and_maps): New function.
52525         (BEFORE_ABORT): New macro; call that.
52526         (struct str_list): Type removed.
52527         (__libc_message, __libc_fatal): Functions removed.
52528         Include <sysdeps/posix/libc_fatal.c> instead.
52530 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
52532         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
52533         constants.
52534         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
52535         double constants.
52537 2013-03-19  Andreas Schwab  <schwab@suse.de>
52539         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
52540         * sysdeps/gnu/configure: Regenerate.
52542         * configure.in: Substitute libc_cv_rtlddir.
52543         * configure: Regenerate.
52544         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
52545         * Makeconfig (rtlddir, inst_rtlddir): New variables.
52546         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
52547         * elf/Makefile (install-others, CFLAGS-interp.c)
52548         (ldso_install, common-ldd-rewrite): Likewise.
52549         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
52550         $(inst_slibdir)/$(rtld-installed-name).
52551         * scripts/rellns-sh: Add -p option.
52552         * Makerules (make-shlib-link): Use rellns-sh to get relative name
52553         for source.
52555 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52557         * manual/nptl.texi: Renamed to ...
52558         * manual/threads.texi: ... this.
52559         * manual/Makefile (chapters): Update.
52561 2013-03-18  Roland McGrath  <roland@hack.frob.com>
52563         [BZ #14812]
52564         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
52565         on argument names, not just descriptions.
52566         * malloc/memusagestat.c (options): Likewise.
52567         * nss/getent.c (options): Likewise.
52569 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
52571         [BZ #14812]
52572         * iconv/iconv_prog.c (options): Put N_ translation marker
52573         on argument names, not just descriptions.
52574         * iconv/iconvconfig.c (options): Likewise.
52576 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
52578         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
52579         implementation which is faster on all x86_64 architectures.
52580         Tested on AMD, Intel Nehalem, SNB, IVB.
52581         * sysdeps/x86_64/strnlen.S: Likewise.
52583         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
52584         Remove all multiarch strlen and strnlen versions.
52585         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
52586         Remove strlen and strnlen related parts.
52588         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
52589         Inline strlen part.
52590         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
52592         * sysdeps/x86_64/multiarch/strlen.S: Remove.
52593         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
52594         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
52595         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
52596         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
52597         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
52599 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
52601         * manual/memory.texi (Malloc Tunable Parameters):
52602         Sort parameters alphabetically. Add comments for missing entries.
52604 2013-03-17  David S. Miller  <davem@davemloft.net>
52606         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52608 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
52610         [BZ #15283]
52611         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
52612         for arguments at most half maximum finite value.
52613         * math/libm-test.inc (j0_test): Add more tests.
52614         (j1_test): Likewise.
52615         (y0_test): Likewise.
52616         (y1_test): Likewise.
52617         * sysdeps/i386/fpu/libm-test-ulps: Update.
52618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52620         [BZ #14155]
52621         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
52622         1 / x and functions P and Q for arguments above 0x1p256L.
52623         (__ieee754_y0l): Likewise.
52624         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
52625         (__ieee754_y1l): Likewise.
52626         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
52627         (j1_test): Likewise.
52628         (y0_test): Likewise.
52629         (y1_test): Likewise.
52631 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
52633         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
52634         variable.
52636 2013-03-15  Roland McGrath  <roland@hack.frob.com>
52638         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
52639         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
52640         zero since it's initialized to EXEC_PAGESIZE.
52642         * sysdeps/unix/sysv/linux/ldsodefs.h
52643         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
52644         * sysdeps/generic/ldsodefs.h: ... here.
52646 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
52648         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
52650         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
52651         math/test-snan.c.
52652         * math/test-snan.c: Renamed from
52653         sysdeps/powerpc/fpu/test-powerpc-snan.c.
52654         * math/Makefile (tests): Add test-snan.
52655         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
52656         test-powerpc-snan.
52658         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
52659         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
52660         functions.
52661         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
52662         __builtin_nan family of functions.
52663         * math/libm-test.inc (initialize): Initialize qnan_value with
52664         __builtin_nan family of functions.
52665         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
52666         Remove variables.
52667         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
52668         Remove functions.
52669         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
52670         storage class.  Initialize qNaN_var and sNaN_var with
52671         __builtin_nan and __builtin_nans families of functions,
52672         respectively.
52674         * math/libm-test.inc (acosh_test): Also test with qNaN input.
52675         (sqrt_test): Remove duplicate test with qNaN input.
52676         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
52677         (round_test, signbit_test, significand_test): Note missing +/-Inf
52678         as well as qNaN tests.
52680         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
52681         qNaN_var.  Fix a few strings, too.
52682         * math/libm-test.inc (nan_value): Rename to qnan_value.
52683         * math/gen-libm-test.pl (%beautify): Adjust to that.
52684         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
52685         * math/test-misc.c (main): Likewise.
52686         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
52687         to __qnan_bytes, and __qnan_union, respectively.
52688         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
52689         Likewise.
52690         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
52691         and lqnanval, respectively.
52692         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
52693         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
52694         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
52695         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
52697         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
52698         * math/test-misc.c (main) [__x86_64__]: Enable test for long
52699         doubles.
52701         * math/test-misc.c (main): Fix copy'n'pastos.
52702         * misc/tst-efgcvt.c (special): Likewise.
52704         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
52705         Remove declarations.
52707 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52709         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
52710         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
52711         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
52712         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
52714 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52716         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
52717         macro to return vdso values correctly in IFUNC implementations.
52718         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
52719         Optimization by using IFUNC.
52721 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52722             Richard Henderson  <rth@redhat.com>
52723             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52725         * Makefile.in (bench): New target.
52726         * NEWS: Mention the benchmark framework.
52727         * Rules (bench): Likewise.
52728         (binaries-bench): Generate binaries for functions to
52729         benchmark.
52730         * benchtests/Makefile: New makefile for benchmark tests.
52731         * benchtests/bench-skeleton.c: New skeleton file for benchmark
52732         programs.
52733         * benchtests/exp-inputs: New input file for EXP function.
52734         * benchtests/pow-inputs: New input file for POW function.
52735         * scripts/bench.pl: New script to generate source files for
52736         benchmark programs.
52738 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52740         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
52741         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
52742         computations on mantissa.  Use macros for rounding and
52743         division.
52744         (denorm): Likewise.
52745         (__dbl_mp): Likewise.
52746         (add_magnitudes): Likewise.
52747         (sub_magnitudes): Likewise.
52748         (__mul): Likewise.
52749         (__sqr): Likewise.
52750         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
52751         powers of two in terms of TWOPOW macro.
52752         (mp_no): Make type of mantissa as MANTISSA_T.
52753         [!RADIXI]: Define RADIXI.
52754         [!TWO52]: Define TWO52.
52755         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
52757         * manual/nptl.texi (cindex): Modify threads to pthreads.
52759 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
52761         * sysdeps/x86_64/preconfigure: Regenerated.
52763 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
52765         [BZ #14155]
52766         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
52767         0x1p28 and above.
52768         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
52769         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
52770         0x1p28 and above.
52771         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
52772         * math/libm-test.inc (j0_test): Do not allow one spurious
52773         underflow exception.
52774         (y1_test): Likewise.
52776 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52778         * manual/Makefile (chapters): Add nptl.
52779         * manual/debug.texi (Debugging Support): Add link to Threads
52780         chapter.
52781         * manual/nptl.texi: New file.
52783         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
52785 2013-03-14  Petr Baudis  <pasky@ucw.cz>
52787         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
52788         for non-NULL pointer before the memory validity test. Pointed
52789         out by Holger Brunck <holger.brunck@keymile.com>.
52791 2013-03-13  Andreas Schwab  <schwab@suse.de>
52793         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
52794         instead of .os.
52796 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
52798         * timezone/zic.c: Update from tzcode 2013b.
52800 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
52802         * manual/install.texi (Configuring and compiling):
52803         Mention i686 and i586.
52804         * INSTALL: Regenerate.
52806 2013-03-12  Roland McGrath  <roland@hack.frob.com>
52808         * sysdeps/init_array/elf-init.c: New file.
52809         * csu/elf-init.c
52810         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
52811         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
52813         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
52814         __gmon_start__ as global, but as static with a .preinit_array pointer.
52815         * sysdeps/init_array/gmon-start.c: New file.  Use that.
52816         * sysdeps/init_array/crti.S: New file, empty except for comments.
52817         * sysdeps/init_array/crtn.S: Likewise.
52819 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
52821         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
52822         definining bcopy.
52823         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52824         Remove Prefer_SSE_for_memop.
52825         * sysdeps/x86_64/multiarch/init-arch.h: Remove
52826         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
52827         HAS_PREFER_SSE_FOR_MEMOP.
52828         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
52829         memset-x86-64.
52830         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
52831         Remove bzero, memset ifunc support.
52832         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
52833         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
52834         * sysdeps/x86_64/multiarch/memset.S: Likewise.
52835         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
52837 2013-03-11  Andreas Schwab  <schwab@suse.de>
52839         [BZ #15234]
52840         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
52841         by SHLIB_COMPAT.
52842         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
52843         (GLIBC_2.16): Remove pthread_atfork.
52845 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
52847         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
52848         (ptestcases.h): Likewise.
52850 2013-03-08  Roland McGrath  <roland@hack.frob.com>
52852         * Makeconfig ($(common-objpfx)config.status): Depend on
52853         sysdeps/*/preconfigure{,.in} too.
52855 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
52857         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
52858         (__free_hook): Use void * instead of __malloc_ptr_t.
52859         (__malloc_hook): Likewise.
52860         (__realloc_hook): Likewise.
52861         (__memalign_hook): Likewise.
52862         (__after_morecore_hook): Likewise.
52863         * malloc/arena.c (save_malloc_hook): Likewise.
52864         (save_free_hook): Likewise.
52865         * malloc/hooks.c (malloc_hook_ini): Likewise.
52866         (realloc_hook_ini): Likewise.
52867         (memalign_hook_ini): Likewise.
52868         * malloc/malloc.c (malloc_hook_ini): Likewise.
52869         (realloc_hook_ini): Likewise.
52870         (memalign_hook_ini): Likewise.
52871         (__free_hook): Likewise.
52872         (__malloc_hook): Likewise.
52873         (__realloc_hook): Likewise.
52874         (__memalign_hook): Likewise.
52875         (__libc_malloc): Likewise.
52876         (__libc_free): Likewise.
52877         (__libc_realloc): Likewise.
52878         (__libc_memalign): Likewise.
52879         (__libc_valloc): Likewise.
52880         (__libc_pvalloc): Likewise.
52881         (__libc_calloc): Likewise.
52882         (__posix_memalign): Likewise.
52883         * malloc/morecore.c (__sbrk): Likewise.
52884         (__default_morecore): Likewise.
52886         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
52888         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
52889         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
52890         __malloc_ptrdiff_t.
52892         * malloc/malloc.h (__malloc_size_t): Remove macro.
52893         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
52894         __malloc_size_t.
52895         (old_memalign_hook): Likewise.
52896         (old_realloc_hook): Likewise.
52897         (struct hdr): Likewise.
52898         (flood): Likewise.
52899         (mallochook): Likewise.
52900         (memalignhook): Likewise.
52901         (reallochook): Likewise.
52902         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
52903         (tr_old_realloc_hook): Likewise.
52904         (tr_old_memalign_hook): Likewise.
52905         (tr_mallochook): Likewise.
52906         (tr_reallochook): Likewise.
52907         (tr_memalignhook): Likewise.
52909 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52911         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
52912         default_ldbl_pack and using as default implementation.
52913         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
52914         implementation.
52915         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
52916         redundant definition.
52917         (ldbl_insert_mantissa): Likewise.
52918         (ldbl_canonicalize): Likewise.
52919         (ldbl_nearbyint): Likewise.
52920         (ldbl_pack): Rename to ldbl_pack_ppc.
52921         (ldbl_unpack): Rename to ldbl_unpack_ppc.
52922         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
52923         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
52925 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
52927         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
52928         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
52929         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
52930         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
52931         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
52932         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
52933         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
52934         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
52936 2013-03-07  Andreas Jaeger  <aj@suse.de>
52938         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52939         bits/mman-linux.h.
52941 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
52943         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
52944         Include mpa.h and declare __MPEXP.
52945         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
52946         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
52947         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
52948         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
52949         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
52950         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
52951         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
52953         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
52954         (__slowpow): Use long double EXPL and LOGL functions to
52955         compute POW.
52956         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
52957         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
52958         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
52959         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
52960         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
52961         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
52963         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
52964         intermediate variable to calculate exponent.
52965         (__sqr): Likewise.
52966         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
52967         Likewise.
52968         (__sqr): Likewise.
52970         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
52971         [!NO__SQR]: Define __sqr.
52972         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
52973         and NO__SQR.  Remove all code except __mul and __sqr.  Include
52974         sysdeps/ieee754/dbl-64/mpa.c.
52975         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52977         [BZ #12723]
52978         * posix/Makefile (tests): Add tst-pathconf.
52979         * posix/tst-pathconf.c: New test case.
52980         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
52981         _PC_PIPE_BUF.
52982         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
52984 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
52986         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
52988 2013-03-06  Andreas Jaeger  <aj@suse.de>
52990         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
52991         definition via __MAP_ANONYMOUS.
52993         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
52994         it's not part of Linux headers.
52996         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
52997         (MAP_HUGE_MASK): Define.
52999         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53000         Define.
53001         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53002         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53003         Define.
53004         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53005         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53006         Define.
53007         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53008         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
53009         Define.
53010         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53012         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
53013         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
53014         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
53015         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
53016         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
53017         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
53019         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53020         Handle f2fs.
53022         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53023         Handle f2fs and efivarfs.
53025         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
53026         f2fs.
53028         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
53029         (EFIVARFS_MAGIC): Add.
53030         (F2FS_LINK_MAX): Add.
53032 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53034         * stdio-common/vfprintf.c: Replace __builtin_expect with
53035         __glibc_unlikely.
53037 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
53039         [BZ #13550]
53040         * sysdeps/generic/bp-sym.h: Remove file.
53041         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
53042         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
53043         <bp-sym.h> and <bp-asm.h>.
53044         (__longjmp): Don't use BP_SYM.
53045         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
53046         and <bp-asm.h>.
53047         (memcpy): Don't use BP_SYM.
53048         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
53049         <bp-sym.h> and <bp-asm.h>.
53050         (memcpy): Don't use BP_SYM.
53051         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
53052         <bp-asm.h>.
53053         (memcpy): Don't use BP_SYM.
53054         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
53055         <bp-asm.h>.
53056         (memset): Don't use BP_SYM.
53057         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53058         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53059         (__bzero): Don't use BP_SYM.
53060         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53061         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53062         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
53063         <bp-sym.h> and <bp-asm.h>.
53064         (memcmp): Don't use BP_SYM.  Remove comment about bounded
53065         pointers.
53066         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
53067         <bp-sym.h> and <bp-asm.h>.
53068         (memcpy): Don't use BP_SYM.
53069         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
53070         <bp-sym.h> and <bp-asm.h>.
53071         (memset): Don't use BP_SYM.
53072         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53073         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53074         (__bzero): Don't use BP_SYM.
53075         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53076         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53077         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
53078         <bp-sym.h> and <bp-asm.h>.
53079         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53080         pointers.
53081         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
53082         <bp-sym.h> and <bp-asm.h>.
53083         (memcpy): Don't use BP_SYM.
53084         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
53085         <bp-sym.h> and <bp-asm.h>.
53086         (memset): Don't use BP_SYM.
53087         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53088         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53089         (__bzero): Don't use BP_SYM.
53090         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53091         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53092         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
53093         <bp-sym.h> and <bp-asm.h>.
53094         (__memchr): Don't use BP_SYM.
53095         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
53096         <bp-sym.h> and <bp-asm.h>.
53097         (memcmp): Don't use BP_SYM.  Remove comment about bounded
53098         pointers.
53099         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
53100         <bp-sym.h> and <bp-asm.h>.
53101         (memcpy): Don't use BP_SYM.
53102         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
53103         <bp-sym.h> and <bp-asm.h>.
53104         (__mempcpy): Don't use BP_SYM.
53105         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
53106         <bp-sym.h> and <bp-asm.h>.
53107         (__memrchr): Don't use BP_SYM.
53108         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
53109         <bp-sym.h> and <bp-asm.h>.
53110         (memset): Don't use BP_SYM.
53111         (__bzero): Likewise.
53112         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
53113         <bp-sym.h> and <bp-asm.h>.
53114         (__rawmemchr): Don't use BP_SYM.
53115         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
53116         <bp-sym.h> and <bp-asm.h>.
53117         (__STRCMP): Don't use BP_SYM.
53118         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
53119         <bp-sym.h> and <bp-asm.h>.
53120         (strchr): Don't use BP_SYM.
53121         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
53122         <bp-sym.h> and <bp-asm.h>.
53123         (__strchrnul): Don't use BP_SYM.
53124         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
53125         <bp-sym.h> and <bp-asm.h>.
53126         (strlen): Don't use BP_SYM.
53127         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
53128         <bp-sym.h> and <bp-asm.h>.
53129         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53130         pointers.
53131         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
53132         <bp-sym.h> and <bp-asm.h>.
53133         (__strnlen): Don't use BP_SYM.
53134         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
53135         <bp-sym.h> and <bp-asm.h>.
53136         (__GI__setjmp): Don't use BP_SYM.
53137         (_setjmp): Likewise.
53138         (__sigsetjmp): Likewise.
53139         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
53140         (L(start_addresses)): Don't use BP_SYM.
53141         (_start): Likewise.
53142         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
53143         <bp-asm.h>.
53144         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
53145         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
53146         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53147         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53148         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
53149         <bp-asm.h>.
53150         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
53151         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
53152         about bounded pointers.
53153         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53154         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53155         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
53156         <bp-asm.h>.
53157         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
53158         about bounded pointers.  Remove GKM FIXME comments.
53159         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53160         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
53161         <bp-asm.h>.
53162         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
53163         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
53164         Remove GKM FIXME comments.
53165         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53166         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53167         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
53168         <bp-asm.h>.
53169         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
53170         about bounded pointers.  Remove GKM FIXME comment.
53171         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
53172         and <bp-asm.h>.
53173         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53174         pointers.
53175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
53176         <bp-sym.h> and <bp-asm.h>.
53177         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
53179         <bp-sym.h> and <bp-asm.h>.
53180         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53181         comment.
53183 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53185         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
53186         call free(NULL).
53188 2013-03-05  David S. Miller  <davem@davemloft.net>
53190         * po/es.po: Update from translation team.
53192 2013-03-05  Andreas Jaeger  <aj@suse.de>
53194         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
53195         <bits/mman-linux.h>.
53196         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53197         is fine.
53198         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
53199         <bits/mman-linux.h> to end of file.
53200         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53201         is fine.
53202         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
53203         <bits/mman-linux.h> to end of file.
53204         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53205         is fine.
53206         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
53207         <bits/mman-linux.h> to end of file.
53209         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
53210         (MCL_CURRENT, MCL_FUTURE): Define here.
53212 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53214         [BZ #15232]
53215         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
53216         attribute_hidden.
53217         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
53219 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53221         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
53222         fourth parameter needed for rt_sigprocmask syscall.
53223         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
53224         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
53225         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
53226         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
53227         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
53228         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
53230 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
53232         [BZ #13550]
53233         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
53234         comment about bounded pointers.
53235         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
53236         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
53238 2013-03-04  Andreas Jaeger  <aj@suse.de>
53240         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
53241         common definitions.
53243         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
53244         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
53245         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
53246         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53247         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53248         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53250 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53252         [BZ #15055]
53253         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
53254         __ieee754_sqrl instead of __sqrl.
53256 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
53258         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
53259         * sysdeps/powerpc/fpu_control.h: ... here.
53260         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
53261         * sysdeps/powerpc/bits/fenvinline.h: ... here.
53262         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
53263         * sysdeps/powerpc/bits/mathinline.h: ... here.
53265 2013-03-01  Roland McGrath  <roland@hack.frob.com>
53267         * elf/dl-hwcaps.c (_dl_important_hwcaps):
53268         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
53269         to just [NEED_DL_SYSINFO_DSO].
53270         * elf/dl-support.c: Likewise.
53271         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
53272         * elf/rtld.c (dl_main): Likewise.
53273         * elf/setup-vdso.h (setup_vdso): Likewise.
53274         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
53275         * sysdeps/unix/sysv/linux/dl-sysdep.c
53276         (_dl_discover_osversion): Likewise.
53278 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
53280         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
53281         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53283 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
53285         * NEWS: Mention libm performance improvements and non-x86 PI
53286         futex support.
53288         * csu/libc-start.c (__pthread_initialize_minimal): Change
53289         function arguments.
53290         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53292 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
53294         [BZ #13550]
53295         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
53296         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
53297         <bp-sym.h> and <bp-asm.h>.
53298         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53299         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
53300         and <bp-asm.h>.
53301         (memcpy): Don't use BP_SYM.
53302         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
53303         <bp-asm.h>.
53304         (__mpn_add_n): Don't use BP_SYM.
53305         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
53306         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
53307         and <bp-asm.h>.
53308         (__mpn_addmul_1): Don't use BP_SYM.
53309         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53310         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
53311         <bp-sym.h>.
53312         (_setjmp): Don't use BP_SYM.
53313         (__novmx_setjmp): Likewise.
53314         (__GI__setjmp): Likewise.
53315         (__vmx_setjmp): Likewise.
53316         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
53317         <bp-sym.h>.
53318         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
53319         (__bzero): Don't use BP_SYM.
53320         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53321         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53322         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
53323         <bp-sym.h> and <bp-asm.h>.
53324         (memcpy): Don't use BP_SYM.
53325         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
53326         <bp-sym.h> and <bp-asm.h>.
53327         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53328         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
53329         <bp-sym.h> and <bp-asm.h>.
53330         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53331         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
53332         <bp-asm.h>.
53333         (__mpn_lshift): Don't use BP_SYM.
53334         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53335         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
53336         <bp-asm.h>.
53337         (memset): Don't use BP_SYM.
53338         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53339         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53340         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
53341         <bp-asm.h>.
53342         (__mpn_mul_1): Don't use BP_SYM.
53343         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53344         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
53345         <bp-sym.h> and <bp-asm.h>.
53346         (memcmp): Don't use BP_SYM.
53347         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
53348         <bp-sym.h> and <bp-asm.h>.
53349         (memcpy): Don't use BP_SYM.
53350         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
53351         <bp-sym.h> and <bp-asm.h>.
53352         (memset): Don't use BP_SYM.
53353         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
53354         <bp-sym.h> and <bp-asm.h>.
53355         (strncmp): Don't use BP_SYM.
53356         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
53357         <bp-sym.h> and <bp-asm.h>.
53358         (memcpy): Don't use BP_SYM.
53359         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
53360         <bp-sym.h> and <bp-asm.h>.
53361         (memset): Don't use BP_SYM.
53362         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
53363         <bp-sym.h> and <bp-asm.h>.
53364         (__memchr): Don't use BP_SYM.
53365         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
53366         <bp-sym.h> and <bp-asm.h>.
53367         (memcmp): Don't use BP_SYM.
53368         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
53369         <bp-sym.h> and <bp-asm.h>.
53370         (memcpy): Don't use BP_SYM.
53371         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
53372         <bp-sym.h> and <bp-asm.h>.
53373         (__mempcpy): Don't use BP_SYM.
53374         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
53375         <bp-sym.h> and <bp-asm.h>.
53376         (__memrchr): Don't use BP_SYM.
53377         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
53378         <bp-sym.h> and <bp-asm.h>.
53379         (memset): Don't use BP_SYM.
53380         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
53381         <bp-sym.h> and <bp-asm.h>.
53382         (__rawmemchr): Don't use BP_SYM.
53383         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
53384         <bp-sym.h> and <bp-asm.h>.
53385         (__STRCMP): Don't use BP_SYM.
53386         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
53387         <bp-sym.h> and <bp-asm.h>.
53388         (strchr): Don't use BP_SYM.
53389         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
53390         <bp-sym.h> and <bp-asm.h>.
53391         (__strchrnul): Don't use BP_SYM.
53392         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
53393         <bp-sym.h> and <bp-asm.h>.
53394         (strlen): Don't use BP_SYM.
53395         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
53396         <bp-sym.h> and <bp-asm.h>.
53397         (strncmp): Don't use BP_SYM.
53398         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
53399         <bp-sym.h> and <bp-asm.h>.
53400         (__strnlen): Don't use BP_SYM.
53401         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
53402         <bp-asm.h>.
53403         (__mpn_rshift): Don't use BP_SYM.
53404         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53405         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
53406         <bp-sym.h> and <bp-asm.h>.
53407         (__sigsetjmp): Don't use BP_SYM.
53408         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
53409         (L(start_addresses)): Don't use BP_SYM.
53410         (_start): Likewise.
53411         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
53412         <bp-asm.h>.
53413         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
53414         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53415         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53416         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
53417         <bp-asm.h>.
53418         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
53419         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53420         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53421         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
53422         <bp-asm.h>.
53423         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53424         comments.
53425         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53426         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
53427         <bp-asm.h>.
53428         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
53429         FIXME comments.
53430         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53431         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53432         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
53433         <bp-asm.h>.
53434         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53435         comment.
53436         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
53437         and <bp-asm.h>.
53438         (strncmp): Don't use BP_SYM,
53439         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
53440         <bp-asm.h>.
53441         (__mpn_sub_n): Don't use BP_SYM.
53442         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53443         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
53444         and <bp-asm.h>.
53445         (__mpn_submul_1): Don't use BP_SYM.
53446         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
53448         <bp-sym.h> and <bp-asm.h>.
53449         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
53451         <bp-sym.h> and <bp-asm.h>.
53452         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53453         comment.
53455 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53457         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
53458         Use ZK to minimize writes to Z.
53459         (sub_magnitudes): Simplify code a bit.
53460         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
53461         Use ZK to minimize writes to Z.
53462         (sub_magnitudes): Simplify code a bit.
53464 2013-02-27  Roland McGrath  <roland@hack.frob.com>
53466         * csu/gmon-start.c: Add special exception to license text.
53468 2013-02-27  Richard Henderson  <rth@redhat.com>
53470         * scripts/config.guess: Update from config.git.
53471         * scripts/config.sub: Likewise.
53473 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53475         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
53477         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
53479         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
53481         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
53483         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
53485 2013-02-26  Roland McGrath  <roland@hack.frob.com>
53487         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
53488         [$(build-shared = yes].
53490 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53492         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
53493         (__mul): Reduce iterations for calculating mantissa.
53495         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
53496         MPTWO.
53497         (__mpranred): Likewise.
53499         [BZ #15160]
53500         * malloc/memusagestat.c (main): Draw graphs for heap and stack
53501         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
53503 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
53505         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
53506         Define __attribute__.
53508 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53510         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
53511         unused.
53512         * posix/regex_internal.h (__attribute): Remove.
53513         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
53514         (re_string_context_at): Likewise.
53515         (bitset_not): Use __attribute__ and mark function as possibly
53516         unused.
53517         (bitset_merge): Likewise.
53518         (bitset_mask): Likewise.
53519         (re_string_char_size_at): Likewise.
53520         (re_string_wchar_at): Likewise.
53521         (re_string_elem_size_at): Likewise.
53523 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53525         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
53526         code.
53527         (cc32): Likewise.
53529         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
53530         (__acr): Likewise.
53531         (__cpy): Likewise.
53532         (norm): Likewise.
53533         (denorm): Likewise.
53534         (__dbl_mp): Likewise.
53535         (add_magnitudes): Likewise.
53536         (sub_magnitudes): Likewise.
53537         (__mul): Likewise.
53538         (__inv): Likewise.
53540         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
53541         style.
53543         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
53544         style.
53546         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
53547         code.
53549         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
53550         up changes with default code.
53551         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
53552         Likewise.
53554 2013-02-24  Allan McRae  <allan@archlinux.org>
53556         * manual/socket.texi (The Internet Namespace): Order menu items
53557         to match that in the file.
53559         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
53560         node listing of the info page menu.
53562 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
53564         [BZ #13550]
53565         * sysdeps/i386/bp-asm.h: Remove file.
53566         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
53567         (PARMS): Do not use macros from bp-asm.h.
53568         (S1): Likewise.
53569         (S2): Likewise.
53570         (SIZE): Likewise.
53571         (__mpn_add_n): Do not use BP_SYM
53572         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
53573         "bp-asm.h".
53574         (PARMS): Do not use macros from bp-asm.h.
53575         (S1): Likewise.
53576         (SIZE): Likewise.
53577         (__mpn_addmul_1): Do not use BP_SYM
53578         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
53579         "bp-asm.h".
53580         (PARMS): Do not use macros from bp-asm.h.
53581         (SIGMSK): Likewise.
53582         (_setjmp): Likewise.  Do not use BP_SYM.
53583         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
53584         "bp-asm.h".
53585         (PARMS): Do not use macros from bp-asm.h.
53586         (SIGMSK): Likewise.
53587         (setjmp): Likewise.  Do not use BP_SYM.
53588         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
53589         "bp-asm.h".
53590         (PARMS): Do not use macros from bp-asm.h.
53591         (__frexp): Do not use BP_SYM.
53592         (frexp): Likewise.
53593         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
53594         "bp-asm.h".
53595         (PARMS): Do not use macros from bp-asm.h.
53596         (__frexpf): Do not use BP_SYM.
53597         (frexpf): Likewise.
53598         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
53599         "bp-asm.h".
53600         (PARMS): Do not use macros from bp-asm.h.
53601         (__frexpl): Do not use BP_SYM.
53602         (frexpl): Likewise.
53603         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
53604         "bp-asm.h".
53605         (PARMS): Do not use macros from bp-asm.h.
53606         (__remquo): Do not use BP_SYM.
53607         (remquo): Likewise.
53608         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
53609         "bp-asm.h".
53610         (PARMS): Do not use macros from bp-asm.h.
53611         (__remquof): Do not use BP_SYM.
53612         (remquof): Likewise.
53613         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
53614         "bp-asm.h".
53615         (PARMS): Do not use macros from bp-asm.h.
53616         (__remquol): Do not use BP_SYM.
53617         (remquol): Likewise.
53618         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
53619         "bp-asm.h".
53620         (PARMS): Do not use macros from bp-asm.h.
53621         (DEST): Likewise.
53622         (SRC): Likewise.
53623         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
53624         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
53625         "bp-asm.h".
53626         (PARMS): Do not use macros from bp-asm.h.
53627         (strlen): Do not use BP_SYM.
53628         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
53629         "bp-asm.h".
53630         (PARMS): Do not use macros from bp-asm.h.
53631         (S1): Likewise.
53632         (S2): Likewise.
53633         (SIZE): Likewise.
53634         (__mpn_add_n): Do not use BP_SYM.
53635         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
53636         "bp-asm.h".
53637         (PARMS): Do not use macros from bp-asm.h.
53638         (S1): Likewise.
53639         (SIZE): Likewise.
53640         (__mpn_addmul_1): Do not use BP_SYM.
53641         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
53642         weak_alias.
53643         (bzero): Likewise.
53644         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
53645         "bp-asm.h".
53646         (PARMS): Do not use macros from bp-asm.h.
53647         (S): Likewise.
53648         (SIZE): Likewise.
53649         (__mpn_lshift): Do not use BP_SYM.
53650         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
53651         "bp-asm.h".
53652         (PARMS): Do not use macros from bp-asm.h.
53653         (DEST): Likewise.
53654         (SRC): Likewise.
53655         (LEN): Likewise.
53656         (memcpy): Likewise.  Do not use BP_SYM.
53657         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
53658         libc_hidden_def and weak_alias.
53659         (mempcpy): Do not use BP_SYM in weak_alias.
53660         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
53661         "bp-asm.h".
53662         (PARMS): Do not use macros from bp-asm.h.
53663         (DEST): Likewise.
53664         (LEN): Likewise.
53665         [!BZERO_P] (CHR): Likewise.
53666         (memset): Likewise.  Do not use BP_SYM.
53667         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
53668         "bp-asm.h".
53669         (PARMS): Do not use macros from bp-asm.h.
53670         (S1): Likewise.
53671         (SIZE): Likewise.
53672         (__mpn_mul_1): Do not use BP_SYM.
53673         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
53674         "bp-asm.h".
53675         (PARMS): Do not use macros from bp-asm.h.
53676         (S): Likewise.
53677         (SIZE): Likewise.
53678         (__mpn_rshift): Do not use BP_SYM.
53679         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
53680         "bp-asm.h".
53681         (PARMS): Do not use macros from bp-asm.h.
53682         (STR): Likewise.
53683         (CHR): Likewise.
53684         (strchr): Likewise.  Do not use BP_SYM.
53685         (index): Do not use BP_SYM in weak_alias.
53686         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
53687         "bp-asm.h".
53688         (PARMS): Do not use macros from bp-asm.h.
53689         (DEST): Likewise.
53690         (SRC): Likewise.
53691         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
53692         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
53693         "bp-asm.h".
53694         (PARMS): Do not use macros from bp-asm.h.
53695         (strlen): Do not use BP_SYM.
53696         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
53697         "bp-asm.h".
53698         (PARMS): Do not use macros from bp-asm.h.
53699         (S1): Likewise.
53700         (S2): Likewise.
53701         (SIZE): Likewise.
53702         (__mpn_sub_n): Do not use BP_SYM.
53703         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
53704         "bp-asm.h".
53705         (PARMS): Do not use macros from bp-asm.h.
53706         (S1): Likewise.
53707         (SIZE): Likewise.
53708         (__mpn_submul_1): Do not use BP_SYM.
53709         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
53710         "bp-asm.h".
53711         (PARMS): Do not use macros from bp-asm.h.
53712         (S1): Likewise.
53713         (S2): Likewise.
53714         (SIZE): Likewise.
53715         (__mpn_add_n): Do not use BP_SYM.
53716         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
53717         weak_alias.
53718         (bzero): Likewise.
53719         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
53720         "bp-asm.h".
53721         (PARMS): Do not use macros from bp-asm.h.
53722         (BLK2): Likewise.
53723         (LEN): Likewise.
53724         (memcmp): Do not use BP_SYM.
53725         (bcmp): Do not use BP_SYM in weak_alias.
53726         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
53727         "bp-asm.h".
53728         (PARMS): Do not use macros from bp-asm.h.
53729         (DEST): Likewise.
53730         (SRC): Likewise.
53731         (LEN): Likewise.
53732         (memcpy): Likewise.  Do not use BP_SYM.
53733         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
53734         "bp-asm.h".
53735         (PARMS): Do not use macros from bp-asm.h.
53736         (DEST): Likewise.
53737         (SRC): Likewise.
53738         (LEN): Likewise.
53739         (memmove): Likewise.  Do not use BP_SYM.
53740         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
53741         "bp-asm.h".
53742         (PARMS): Do not use macros from bp-asm.h.
53743         (DEST): Likewise.
53744         (SRC): Likewise.
53745         (LEN): Likewise.
53746         (__mempcpy): Likewise.  Do not use BP_SYM.
53747         (mempcpy): Do not use BP_SYM in weak_alias.
53748         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
53749         "bp-asm.h".
53750         (PARMS): Do not use macros from bp-asm.h.
53751         (DEST): Likewise.
53752         (LEN): Likewise.
53753         [!BZERO_P] (CHR): Likewise.
53754         (memset): Likewise.  Do not use BP_SYM.
53755         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
53756         "bp-asm.h".
53757         (PARMS): Do not use macros from bp-asm.h.
53758         (STR2): Likewise.
53759         (strcmp): Do not use BP_SYM.
53760         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
53761         "bp-asm.h".
53762         (PARMS): Do not use macros from bp-asm.h.
53763         (STR): Likewise.
53764         (DELIM): Likewise.
53765         [USE_AS_STRTOK_R] (SAVE): Likewise.
53766         (FUNCTION): Likewise.  Do not use BP_SYM.
53767         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
53768         aliases.
53769         (strtok_r): Likewise.
53770         (__GI___strtok_r): Likewise.
53771         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
53772         (PARMS): Do not use macros from bp-asm.h.
53773         (S): Likewise.
53774         (SIZE): Likewise.
53775         (__mpn_lshift): Do not use BP_SYM.
53776         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
53777         (PARMS): Do not use macros from bp-asm.h.
53778         (STR): Likewise.
53779         (CHR): Likewise.
53780         (__memchr): Do not use BP_SYM.
53781         (memchr): Do not use BP_SYM in weak_alias.
53782         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
53783         (PARMS): Do not use macros from bp-asm.h.
53784         (BLK2): Likewise.
53785         (LEN): Likewise.
53786         (memcmp): Do not use BP_SYM.
53787         (bcmp): Do not use BP_SYM in weak_alias.
53788         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
53789         (PARMS): Do not use macros from bp-asm.h.
53790         (S1): Likewise.
53791         (SIZE): Likewise.
53792         (__mpn_mul_1): Do not use BP_SYM.
53793         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
53794         "bp-asm.h".
53795         (PARMS): Do not use macros from bp-asm.h.
53796         (STR): Likewise.
53797         (CHR): Likewise.
53798         (__rawmemchr): Do not use BP_SYM.
53799         (rawmemchr): Do not use BP_SYM in weak_alias.
53800         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
53801         (PARMS): Do not use macros from bp-asm.h.
53802         (S): Likewise.
53803         (SIZE): Likewise.
53804         (__mpn_rshift): Do not use BP_SYM.
53805         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
53806         (PARMS): Do not use macros from bp-asm.h.
53807         (SIGMSK): Likewise.
53808         (__sigsetjmp): Likewise.  Do not use BP_SYM.
53809         * sysdeps/i386/start.S: Do not include "bp-sym.h".
53810         (_start): Do not use BP_SYM.
53811         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
53812         (PARMS): Do not use macros from bp-asm.h.
53813         (DEST): Likewise.
53814         (SRC): Likewise.
53815         (__stpcpy): Likewise.  Do not use BP_SYM.
53816         (stpcpy): Do not use BP_SYM in weak_alias.
53817         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
53818         "bp-asm.h".
53819         (PARMS): Do not use macros from bp-asm.h.
53820         (DEST): Likewise.
53821         (SRC): Likewise.
53822         (LEN): Likewise.
53823         (__stpncpy): Likewise.  Do not use BP_SYM.
53824         (stpncpy): Do not use BP_SYM in weak_alias.
53825         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
53826         (PARMS): Do not use macros from bp-asm.h.
53827         (STR): Likewise.
53828         (CHR): Likewise.
53829         (strchr): Likewise.  Do not use BP_SYM.
53830         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
53831         "bp-asm.h".
53832         (PARMS): Do not use macros from bp-asm.h.
53833         (STR): Likewise.
53834         (CHR): Likewise.
53835         (__strchrnul): Likewise.  Do not use BP_SYM.
53836         (strchrnul): Do not use BP_SYM in weak_alias.
53837         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
53838         "bp-asm.h".
53839         (PARMS): Do not use macros from bp-asm.h.
53840         (STOP): Likewise.
53841         (strcspn): Do not use BP_SYM.
53842         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
53843         "bp-asm.h".
53844         (PARMS): Do not use macros from bp-asm.h.
53845         (STR): Likewise.
53846         (STOP): Likewise.
53847         (strpbrk): Likewise.  Do not use BP_SYM.
53848         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
53849         "bp-asm.h".
53850         (PARMS): Do not use macros from bp-asm.h.
53851         (STR): Likewise.
53852         (CHR): Likewise.
53853         (strrchr): Likewise.  Do not use BP_SYM.
53854         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
53855         (PARMS): Do not use macros from bp-asm.h.
53856         (SKIP): Likewise.
53857         (strspn): Do not use BP_SYM.
53858         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
53859         (PARMS): Do not use macros from bp-asm.h.
53860         (STR): Likewise.
53861         (DELIM): Likewise.
53862         (SAVE): Likewise.
53863         (FUNCTION): Likewise.  Do not use BP_SYM.
53864         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
53865         aliases.
53866         (strtok_r): Likewise.
53867         (__GI___strtok_r): Likewise.
53868         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
53869         (PARMS): Do not use macros from bp-asm.h.
53870         (S1): Likewise.
53871         (S2): Likewise.
53872         (SIZE): Likewise.
53873         (__mpn_sub_n): Do not use BP_SYM.
53874         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
53875         "bp-asm.h".
53876         (PARMS): Do not use macros from bp-asm.h.
53877         (S1): Likewise.
53878         (SIZE): Likewise.
53879         (__mpn_submul_1): Do not use BP_SYM.
53880         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
53881         <bp-sym.h>.
53882         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
53883         and <bp-asm.h>.
53884         (PARMS): Do not use macros from bp-asm.h.
53885         (FLAGS): Likewise.
53886         (PTID): Likewise.
53887         (TLS): Likewise.
53888         (CTID): Likewise.
53889         (__clone): Do not use BP_SYM.
53890         (clone): Do not use BP_SYM in weak_alias.
53891         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
53892         and <bp-asm.h>.
53893         (PARMS): Do not use macros from bp-asm.h.
53894         (LEN): Likewise.
53895         (__mmap64): Do not use BP_SYM.
53896         (mmap64): Do not use BP_SYM in weak_alias.
53897         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
53898         <bp-sym.h> and <bp-asm.h>.
53899         (PARMS): Do not use macros from bp-asm.h.
53900         (__posix_fadvise64_l64): Do not use BP_SYM.
53901         * sysdeps/unix/sysv/linux/i386/semtimedop.S
53902         (PARMS): Do not use macros from bp-asm.h.
53903         (NSOPS): Likewise.
53904         (semtimedop): Do not use BP_SYM.
53905         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
53906         and <bp-asm.h>.
53908 2013-02-21  Allan McRae  <allan@archlinux.org>
53910         * manual/message.texi (Charset conversion in gettext):
53911         Move @end statement to beginning of line.
53913 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53915         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
53916         static.
53917         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
53918         Likewise.
53920         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
53921         (denorm): Likewise.
53922         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
53923         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
53925 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53927         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
53928         tail-call to the resolved function if pltexit isn't needed.
53930 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53932         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
53933         or Y being zero as being unlikely.
53934         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
53935         Likewise.
53937 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
53939         * manual/nss.texi (System Databases and Name Service Switch):
53940         Remove frobnicate @pxref.
53942 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
53944         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
53945         __attribute__ ((unused)) to __attribute__ ((__unused__)).
53947 2013-02-20  Petr Machata  <pmachata@redhat.com>
53949         * elf/elf.h (R_ARM_TARGET1): New macro.
53950         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
53951         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
53952         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
53953         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
53954         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
53955         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
53956         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
53957         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
53958         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
53959         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
53960         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
53961         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
53962         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
53963         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
53964         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
53965         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
53966         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
53967         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
53968         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
53969         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
53970         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
53971         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
53972         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
53973         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
53974         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
53975         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
53976         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
53977         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
53978         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
53979         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
53980         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
53981         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
53982         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
53983         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
53984         (R_ARM_THM_GOT_BREL12): Likewise.
53985         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
53986         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
53987         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
53988         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
53989         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
53990         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
53991         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
53992         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
53993         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
53995 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
53997         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
53998         __attribute_used__ to __attribute__ ((unused)).
54000 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54002         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
54003         powerpc mpa.c.
54004         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
54005         comment formatting.
54006         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
54008 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
54010         [BZ #13550]
54011         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
54012         Remove macro.
54013         (ENTER): Remove both macro definitions.
54014         (LEAVE): Likewise.
54015         (CHECK_BOUNDS_LOW): Likewise.
54016         (CHECK_BOUNDS_HIGH): Likewise.
54017         (CHECK_BOUNDS_BOTH): Likewise.
54018         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
54019         (RETURN_BOUNDED_POINTER): Likewise.
54020         (RETURN_NULL_BOUNDED_POINTER): Likewise.
54021         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
54022         (POP_ERRNO_LOCATION_RETURN): Likewise.
54023         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
54024         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54025         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
54026         macros.
54027         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54028         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
54029         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
54030         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
54031         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
54032         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
54033         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
54034         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
54035         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
54036         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
54037         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
54038         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
54039         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54040         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
54041         removed macros.
54042         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54043         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
54044         macros.
54045         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54046         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
54047         * sysdeps/i386/i586/memset.S (memset): Likewise.
54048         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
54049         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54050         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
54051         macros.
54052         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54053         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
54054         Change uses of L(2) to L(out).
54055         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
54056         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
54057         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
54058         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54059         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
54060         removed macros.
54061         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54062         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
54063         macros.
54064         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54065         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
54066         (RETURN): Do not use macro LEAVE.
54067         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
54068         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
54069         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
54070         * sysdeps/i386/i686/memset.S (memset): Likewise.
54071         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
54072         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
54073         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54074         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
54075         Likewise.
54076         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54077         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
54078         L(1_2) and L(1_3) into L(1).
54079         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
54080         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
54081         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54082         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
54083         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54084         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
54085         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
54086         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54087         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
54088         macros.
54089         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
54090         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54091         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
54092         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
54093         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
54094         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54095         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
54096         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
54097         * sysdeps/i386/strcspn.S (strcspn): Likewise.
54098         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
54099         * sysdeps/i386/strrchr.S (strrchr): Likewise.
54100         * sysdeps/i386/strspn.S (strspn): Likewise.
54101         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
54102         conditional code.
54103         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54104         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
54105         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
54106         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
54107         L(1_3) into L(1_1).
54108         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
54109         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54110         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
54111         macros.
54112         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54114 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
54116         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
54117         macro.
54119 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54121         * math/atest-exp.c (exp_mpn): Remove ROUND.
54122         * math/atest-exp2.c (exp_mpn): Likewise.
54123         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
54125         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
54126         * stdlib/tst-tls-atexit-lib.c: Likewise.
54127         * stdlib/tst-tls-atexit.c: Likewise.
54129 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54131         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
54132         and __attribute_alloc_size__.
54134 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54136         * include/programs/xmalloc.h: Change __attribute_alloc_size to
54137         __attribute_alloc_size__.
54138         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
54139         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
54141 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54143         * include/programs/xmalloc.h: New file.
54144         * catgets/gencat.c: Include it.
54145         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
54146         * elf/pldd.c: Likewise.
54147         * iconv/iconv_charmap.c: Likewise.
54148         * iconv/iconvconfig.c: Likewise.
54149         * iconv/strtab.c: Likewise.
54150         * locale/programs/locale.c: Likewise.
54151         * locale/programs/localedef.h: Likewise.
54152         * locale/programs/simple-hash.c: Likewise.
54153         * nscd/nscd.h: Likewise.
54154         * nss/makedb.c: Likewise.
54155         * sysdeps/generic/ldconfig.h: Likewise.
54157 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54159         * Versions.def: Add GLIBC_2.18.
54160         * include/link.h (struct link_map): New member l_tls_dtor_count.
54161         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
54162         (__call_tls_dtors): Likewise.
54163         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
54164         __cxa_thread_atexit_impl.
54165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54166         Likewise.
54167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54168         Likewise.
54169         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54170         Likewise.
54171         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54172         Likewise.
54173         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54174         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
54175         Likewise.
54176         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
54177         Likewise.
54178         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54179         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
54180         Likewise.
54181         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
54182         (tests): Add test case tst-tls-atexit.
54183         (modules-names): Add shared library for tst-tls-atexit.
54184         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
54185         (GLIBC_PRIVATE): Add __call_tls_dtors.
54186         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
54187         for libstdc++.
54188         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
54189         * stdlib/tst-tls-atexit.c: New test case.
54190         * stdlib/tst-tls-atexit-lib.c: New test case.
54192         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
54194         * elf/Versions (ld): Add _dl_find_dso_for_object.
54195         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
54196         * elf/dl-open.c (_dl_find_dso_for_object): New function.
54197         (dl_open_worker): Use _dl_find_dso_for_object.
54198         * elf/dl-sym.c (do_sym): Likewise.
54199         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
54201 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54203         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
54204         Syntactic changes only.
54205         (_dl_runtime_profile): Do a tail-call to the resolved function.
54207 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
54209         [BZ #13550]
54210         * sysdeps/x86_64/bp-asm.h: Remove file.
54211         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
54212         <bp-sym.h> and <bp-asm.h>.
54213         (__clone): Do not use BP_SYM.
54214         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
54215         <bp-sym.h> and <bp-asm.h>.
54216         * sysdeps/unix/x86_64/sysdep.S: Likewise.
54217         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
54218         "bp-asm.h".
54219         (_setjmp): Do not use BP_SYM.
54220         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
54221         "bp-asm.h".
54222         (setjmp): Do not use BP_SYM.
54223         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
54224         libc_hidden_def.
54225         (mempcpy): Do not use BP_SYM in weak_alias.
54226         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
54227         "bp-asm.h".
54228         (strchr): Do not use BP_SYM.
54229         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
54230         "bp-asm.h".
54231         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
54232         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
54233         (_start): Do not use BP_SYM.
54234         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
54235         "bp-asm.h".
54236         (strcat): Do not use BP_SYM.
54237         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
54238         "bp-asm.h".
54239         (STRCMP): Do not use BP_SYM.
54240         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
54241         "bp-asm.h".
54242         (STRCPY): Do not use BP_SYM.
54243         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
54244         "bp-asm.h".
54245         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
54246         "bp-asm.h".
54247         (FUNCTION): Do not use BP_SYM.
54248         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
54249         weak_alias.
54250         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
54252 2013-02-17  Andreas Jaeger  <aj@suse.de>
54254         * time/Versions: Sort entries.
54255         * string/Versions: Likewise.
54256         * resolv/Versions: Likewise.
54257         * posix/Versions: Likewise.
54258         * iconv/Versions: Likewise.
54259         * elf/Versions: Likewise.
54260         * wcsmbs/Versions: Likewise.
54262 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54264         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
54265         loop termination condition.
54267         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
54268         variable to calculate EZ.
54269         (__sqr): Likewise.
54271         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
54272         the lower precision input.
54274 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
54276         [BZ #13550]
54277         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
54278         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
54279         (run-via-rtld-prefix): Do not handle %-bp tests.
54280         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
54281         (all-object-suffixes): Remove .ob.
54282         (bppfx): Remove variable.
54283         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
54284         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
54285         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
54286         [$(build-bounded) = yes] (libtype.ob): Likewise.
54287         * Makerules (elide-routines.ob): Remove variable.
54288         (do-tests-clean): Do not handle *-bp.out.
54289         (common-mostlyclean): Do not handle *-bp and *-bp.out.
54290         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
54291         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
54292         (tests): Do not include $(tests-bp.out).
54293         (xtests): Do not include $(xtests-bp.out).
54294         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
54295         [$(build-bounded) = yes] ($(addprefix
54296         $(objpfx),$(binaries-bounded))): Remove rule.
54297         ($(objpfx)%-bp.out): Remove rule.
54298         * config.make.in (build-bounded): Remove variable.
54299         * crypt/Makefile [$(build-bounded) = yes]
54300         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
54301         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
54302         append to variable.
54303         [$(build-bounded) = yes] (install-lib): Likewise.
54304         [$(build-bounded) = yes] (generated): Likewise.
54305         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
54306         Remove rule.
54307         * intl/Makefile [$(build-bounded) = yes]
54308         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
54309         * math/Makefile [$(build-bounded) = yes]
54310         ($(tests:%=$(objpfx)%-bp): Likewise.
54311         * misc/Makefile [$(build-bounded) = yes]
54312         ($(objpfx)tst-tsearch-bp): Likewise.
54313         * nptl/Makeconfig (bounded-thread-library): Remove variable.
54314         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
54315         Remove dependency.
54316         * string/Makefile (o-objects.ob): Remove variable.
54317         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
54318         (CFLAGS-.ob): Remove variable.
54319         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
54320         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
54321         both definitions of variable.
54322         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
54323         (ASFLAGS-.ob): Remove variable.
54325 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
54327         [BZ #13550]
54328         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
54329         Remove __BOUNDED_POINTERS__ from condition.
54330         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
54331         * string/bits/string2.h [!__NO_STRING_INLINES &&
54332         !__BOUNDED_POINTERS__]: Likewise.
54333         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
54334         Likewise.
54335         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
54336         Remove conditional code.
54337         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
54338         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
54339         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
54340         condition.
54342         [BZ #13550]
54343         * csu/libc-start.c: Do not include <bp-sym.h>.
54344         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
54345         * elf/dl-open.c: Do not include <bp-sym.h>.
54346         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
54347         * math/fegetenv.c: Do not include <bp-sym.h>.
54348         (fegetenv): Do not use BP_SYM in versioned symbols.
54349         * nptl/sysdeps/pthread/bits/libc-lockP.h
54350         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
54351         <bp-sym.h>.
54352         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54353         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
54354         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54355         (__pthread_mutex_destroy): Likewise.
54356         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54357         (__pthread_mutex_lock): Likewise.
54358         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54359         (__pthread_mutex_trylock): Likewise.
54360         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54361         (__pthread_mutex_unlock): Likewise.
54362         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54363         (__pthread_mutexattr_init): Likewise.
54364         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54365         (__pthread_mutexattr_destroy): Likewise.
54366         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54367         (__pthread_mutexattr_settype): Likewise.
54368         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54369         (__pthread_rwlock_init): Likewise.
54370         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54371         (__pthread_rwlock_destroy): Likewise.
54372         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54373         (__pthread_rwlock_rdlock): Likewise.
54374         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54375         (__pthread_rwlock_tryrdlock): Likewise.
54376         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54377         (__pthread_rwlock_wrlock): Likewise.
54378         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54379         (__pthread_rwlock_trywrlock): Likewise.
54380         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54381         (__pthread_rwlock_unlock): Likewise.
54382         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54383         (__pthread_key_create): Likewise.
54384         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54385         (__pthread_setspecific): Likewise.
54386         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54387         (__pthread_getspecific): Likewise.
54388         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
54389         Likewise.
54390         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54391         (_pthread_cleanup_push_defer): Likewise.
54392         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54393         (_pthread_cleanup_pop_restore): Likewise.
54394         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54395         (pthread_setcancelstate): Likewise.
54396         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
54397         <bp-sym.h>.
54398         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
54399         (memchr): Do not use BP_SYM in weak_alias.
54400         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
54401         (fegetenv): Do not use BP_SYM in versioned symbols.
54402         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
54403         (fesetenv): Do not use BP_SYM in versioned symbols.
54404         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54405         (feupdateenv): Do not use BP_SYM in versioned symbols.
54406         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54407         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54408         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
54409         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
54410         (open64): Do not use BP_SYM in weak_alias.
54411         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
54412         (fegetenv): Do not use BP_SYM in versioned symbols.
54413         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
54414         (fesetenv): Do not use BP_SYM in versioned symbols.
54415         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54416         (feupdateenv): Do not use BP_SYM in versioned symbols.
54417         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
54418         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
54419         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
54420         (feraiseexcept): Do not use BP_SYM in versioned symbols.
54421         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54422         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54423         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
54424         <bp-sym.h>.
54425         (__libc_start_main): Do not use BP_SYM.
54427 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54429         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
54430         redundant return line.
54431         (norm): Likewise.
54432         (denorm): Likewise.
54433         (dbl_mp): Likewise.
54434         (sub_magnitudes): Likewise.
54435         (__add): Likewise.
54436         (__sub): Likewise.
54437         (__mul): Likewise.
54438         (__inv): Likewise.
54439         (__dvd): Likewise.
54440         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
54441         (norm): Likewise.
54442         (denorm): Likewise.
54443         (dbl_mp): Likewise.
54444         (sub_magnitudes): Likewise.
54445         (__add): Likewise.
54446         (__sub): Likewise.
54447         (__mul): Likewise.
54448         (__inv): Likewise.
54449         (__dvd): Likewise.
54451         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
54452         instead of __mul.
54453         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54454         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
54455         (cc32): Likewise.
54457         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
54458         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
54459         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
54460         of __mul for squares.
54461         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
54462         function
54463         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
54464         Likewise.
54465         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
54466         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54468 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
54470         [BZ #13550]
54471         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
54472         code.
54473         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
54474         prototype or function definition.  Rename ubp_* variables and
54475         parameters.  Remove argv definitions conditional on
54476         [__BOUNDED_POINTERS__].
54477         * debug/backtrace.c (__backtrace): Do not use __unbounded.
54478         * elf/dl-runtime.c (_dl_fixup): Likewise.
54479         * include/set-hooks.h (RUN_HOOK): Likewise.
54480         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
54481         definition.
54482         * string/strcpy.c (strcpy): Do not use __unbounded.
54483         * sysdeps/generic/frame.h (struct layout): Likewise.
54484         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
54485         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
54486         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
54487         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
54488         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
54489         (__backtrace): Likewise.
54490         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
54491         use __ptrvalue.
54492         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
54493         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
54494         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
54495         Likewise.
54496         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
54497         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
54498         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
54499         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
54500         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
54501         Do not use __unbounded.
54502         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
54503         Rename __unboundedrlimits parameter to rlimits in prototype.
54504         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
54505         Do not use __unbounded.
54506         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
54507         not use __ptrvalue.
54508         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
54509         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
54510         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
54511         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
54512         __ptrvalue or __unbounded.
54513         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
54514         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
54515         use __unbounded.
54516         (__new_msgctl): Do not use __ptrvalue.
54517         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
54518         __unbounded.
54519         (__libc_msgrcv): Do not use __ptrvalue.
54520         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
54521         startup_info): Do not use __unbounded.
54522         (__libc_start_main): Likewise.  Rename ubp_* variables and
54523         parameters.  Remove argv definitions conditional on
54524         [__BOUNDED_POINTERS__].
54525         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
54526         __ptrvalue.
54527         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
54528         use __unbounded.
54529         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
54530         or __ptrvalue.
54531         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
54532         use __unbounded.
54533         (__new_shmctl): Do not use __ptrvalue.
54534         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
54535         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
54536         Likewise.
54537         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
54538         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
54539         (__libc_sigaction): Likewise.
54540         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
54541         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
54542         Likewise.
54543         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
54545 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
54547         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
54549         * string/mempcpy.c: Implement by calling memcpy.
54551 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54553         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
54555         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
54556         evaluation.
54558         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
54559         values in the mantissa.
54561         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
54562         minimize writes to Z.
54563         (sub_magnitudes): Simplify code a bit.
54565 2013-02-12  Roland McGrath  <roland@hack.frob.com>
54567         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
54568         from the message.  The linker prefixes all warnings with that already.
54570 2013-02-12  Andreas Schwab  <schwab@suse.de>
54572         [BZ #15078]
54573         * posix/regexec.c (extend_buffers): Add parameter min_len.
54574         (check_matching): Pass minimum needed length.
54575         (clean_state_log_if_needed): Likewise.
54576         (get_subexp): Likewise.
54577         * posix/Makefile (tests): Add bug-regex34.
54578         (bug-regex34-ENV): Define.
54579         * posix/bug-regex34.c: New file.
54581         [BZ #11561]
54582         * posix/regcomp.c (parse_bracket_exp): When looking up collating
54583         elements compare against the byte sequence of it, not its name.
54584         * posix/Makefile (tests): Add bug-regex35.
54585         (bug-regex35-ENV): Define.
54586         * posix/bug-regex35.c: New file.
54588 2013-02-11  Tom de Vries  <tom@codesourcery.com>
54590         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
54591         comment.
54592         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
54593         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
54594         (CHECK_EOL): Add undef.
54596 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
54598         * bits/stdlib-bsearch.h: New file.
54599         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
54600         * stdlib/stdlib.h: Likewise.
54602 2013-02-11  Roland McGrath  <roland@hack.frob.com>
54604         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
54605         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
54606         declaration.
54607         * manual/search.texi (Array Search Function): Add missing const in
54608         lfind prototype.
54609         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
54610         declaration to use rlim_t.
54611         (Basic Scheduling Functions): Remove erroneous const from
54612         sched_getparam prototype.  Remove erroneous * from
54613         sched_get_priority_max and sched_get_priority_min prototypes.
54614         (Resource Usage): Fix summary @comment on vtimes to refer to
54615         sys/vtimes.h rather than vtimes.h.
54616         Add missing *s in vtimes prototype.
54617         (Limits on Resources): Fix ulimit prototype to return long int.
54618         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
54619         prototypes to use long int rather than double.
54620         (BSD Random): Fix initstate and setstate to use char *, not void *.
54621         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
54622         prototype to make second argument 'struct aiocb64 *const[]'.
54623         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
54624         (Status of AIO Operations): Remove erroneous const in aio_return and
54625         aio_return64 prototypes.
54626         (Synchronizing I/O): Fix sync prototype to return void.
54627         * manual/startup.texi (Suboptions): Remove an erroneous const in
54628         getsubopt prototype.
54629         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
54630         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
54631         use size_t rather than int.
54632         (Scanning All Users): Likewise for getpwent_r.
54633         (Setting Groups): Add missing const to setgroups prototype.
54634         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
54635         * manual/socket.texi (Host Names): Fix gethostbyaddr and
54636         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
54637         'const void *' rather than 'const char *'.
54638         (Host Address Functions): Likewise for inet_ntop.
54639         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
54640         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
54641         ssize_t for return value.
54642         (Sending Data): Likewise for send, sendto, sendmsg.
54643         (Socket Option Functions): Add a missing const in setsockopt prototype.
54644         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
54645         use wchar_t for the argument.
54646         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
54647         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
54648         take no arguments.
54649         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
54650         double/float/long double for second argument.
54651         Fix return types of significand, significandf, significandl.
54652         * manual/filesys.texi (Setting Permissions): Use mode_t for second
54653         argument in fchmod prototype.
54654         (File Owner): Use uid_t and gid_t in fchown prototype.
54655         (File Times): Add const to utimes, futimes, and lutimes prototypes.
54656         (Making Special Files): Use mode_t and dev_t in mknod prototype.
54657         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
54658         use 'const struct dirent **' as argument types to CMP function pointer
54659         argument.
54660         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
54661         (File Times): Fix summary magic @comment for struct utimbuf and utime
54662         to refer to utime.h, not time.h.
54663         * manual/string.texi (Argz Functions): Add missing const in
54664         argz_extract and argz_next prototypes.
54665         (Finding Tokens in a String): Likewise for basename.
54666         (String/Array Comparison): Fix typo in wcscasecmp prototype.
54667         (Copying and Concatenation): Fix typo in wmemmove prototype.
54668         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
54669         (Signal Stack): Remove erroneous const in sigstack prototype.
54670         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
54671         prototype.
54672         (Simple Calendar Time): Likewise for stime.
54673         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
54674         prototype.
54675         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
54676         say sys/sysctl.h instead.
54677         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
54678         and vsyslog prototypes.
54680 2013-02-11  Tom de Vries  <tom@codesourcery.com>
54682         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
54683         Remove.
54685 2013-02-11  Roland McGrath  <roland@hack.frob.com>
54687         * misc/sys/mman.h: Fix typo in mremap comment.
54689 2013-02-08  Roland McGrath  <roland@hack.frob.com>
54691         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
54692         the '\0' terminator.
54694 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
54696         [BZ #13550]
54697         * debug/segfault.c: Don't include <bp-checks.h>.
54698         * sysdeps/generic/bp-checks.h: Remove file.
54699         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
54700         (__GETDENTS): Don't use CHECK_N.
54701         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
54702         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
54703         (__getgroups): Don't use CHECK_N.
54704         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
54705         (setgroups): Don't use CHECK_N.
54706         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
54707         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
54708         (__libc_msgrcv): Don't use CHECK_N.
54709         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
54710         (__libc_msgsnd): Don't use CHECK_N.
54711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
54712         <bp-checks.h>.
54713         (__libc_pread): Don't use CHECK_N.
54714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
54715         include <bp-checks.h>.
54716         (__libc_pread64): Don't use CHECK_N.
54717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
54718         include <bp-checks.h>.
54719         (__libc_pwrite): Don't use CHECK_N.
54720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
54721         include <bp-checks.h>.
54722         (__libc_pwrite64): Don't use CHECK_N.
54723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
54724         <bp-checks.h>.
54725         (__libc_pread): Don't use CHECK_N.
54726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
54727         include <bp-checks.h>.
54728         (__libc_pread64): Don't use CHECK_N.
54729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
54730         include <bp-checks.h>.
54731         (__libc_pwrite): Don't use CHECK_N.
54732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
54733         include <bp-checks.h>.
54734         (__libc_pwrite64): Don't use CHECK_N.
54735         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
54736         (do_pread): Don't use CHECK_N.
54737         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
54738         (do_pread64): Don't use CHECK_N.
54739         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
54740         (do_pwrite): Don't use CHECK_N.
54741         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
54742         (do_pwrite64): Don't use CHECK_N.
54743         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
54744         (__libc_readv): Don't use CHECK_N.
54745         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
54746         (semop): Don't use CHECK_N.
54747         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
54748         <bp-checks.h>.
54749         (semtimedop): Don't use CHECK_N.
54750         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
54751         (__libc_pread): Don't use CHECK_N.
54752         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
54753         <bp-checks.h>.
54754         (__libc_pread64): Don't use CHECK_N.
54755         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
54756         <bp-checks.h>.
54757         (__libc_pwrite): Don't use CHECK_N.
54758         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
54759         <bp-checks.h>.
54760         (__libc_pwrite64): Don't use CHECK_N.
54761         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
54762         <bp-checks.h>.
54763         (__libc_msgrcv): Don't use CHECK_N.
54764         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
54765         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
54766         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
54767         (__libc_writev): Don't use CHECK_N.
54769 2013-02-08  Roland McGrath  <roland@hack.frob.com>
54771         * string/strcpy.c: Removed unused variable.
54773         * Makeconfig (+sysdep-includes): Define with := rather than =.
54774         Use an existing include/ subdir of each sysdeps dir before it.
54776 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54778         * nscd/connection.c (register_traced_file): Comment function.
54779         [HAVE_INOTIFY] (union __inev): Define.
54780         [HAVE_INOTIFY] (inotify_check_files): New function.
54781         [HAVE_INOTIFY] (clear_db_cache): Likewise.
54782         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
54783         clear_db_cache.
54784         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
54786 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54788         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
54789         loaded if not already and that a failure is permanent.
54791 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54793         [BZ #15006]
54794         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
54795         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
54797 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
54799         [BZ #13550]
54800         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
54801         (CHECK_1_NULL_OK): Likewise.
54802         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
54803         (__fxstat): Do not use CHECK_1.
54804         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
54805         <bp-checks.h>.
54806         (___fxstat64): Do not use CHECK_1.
54807         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
54808         <bp-checks.h>.
54809         (__fxstatat): Do not use CHECK_1.
54810         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
54811         <bp-checks.h>.
54812         (__fxstatat64): Do not use CHECK_1.
54813         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
54814         <bp-checks.h>.
54815         (__fxstat): Do not use CHECK_1.
54816         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
54817         <bp-checks.h>.
54818         (__fxstatat): Do not use CHECK_1.
54819         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
54820         <bp-checks.h>.
54821         (__getresgid): Do not use CHECK_1.
54822         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
54823         <bp-checks.h>.
54824         (__getresuid): Do not use CHECK_1.
54825         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
54826         <bp-checks.h>.
54827         (__lxstat): Do not use CHECK_1.
54828         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
54829         <bp-checks.h>.
54830         (__old_msgctl): Do not use CHECK_1.
54831         (__new_msgctl): Likewise.
54832         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
54833         <bp-checks.h>.
54834         (__new_setrlimit): Do not use CHECK_1.
54835         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
54836         <bp-checks.h>.
54837         (__old_shmctl): Do not use CHECK_1.
54838         (__new_shmctl): Likewise.
54839         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
54840         <bp-checks.h>.
54841         (__xstat): Do not use CHECK_1.
54842         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
54843         (__lxstat): Do not use CHECK_1.
54844         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
54845         <bp-checks.h>.
54846         (___lxstat64): Do not use CHECK_1.
54847         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
54848         (__old_msgctl): Do not use CHECK_1.
54849         (__new_msgctl): Likewise.
54850         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
54851         <bp-checks.h>.
54852         (__gettimeofday): Do not use CHECK_1.
54853         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
54854         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
54855         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
54856         <bp-checks.h>.
54857         (__gettimeofday): Do not use CHECK_1.
54858         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
54859         (__old_shmctl): Do not use CHECK_1_NULL_OK.
54860         (__new_shmctl): Do not use CHECK_1.
54861         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
54862         <bp-checks.h>.
54863         (do_sigtimedwait): Do not use CHECK_1.
54864         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
54865         <bp-checks.h>.
54866         (do_sigwaitinfo): Do not use CHECK_1.
54867         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
54868         <bp-checks.h>.
54869         (msgctl): Do not use CHECK_1.
54870         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
54871         <bp-checks.h>.
54872         (shmctl): Do not use CHECK_1.
54873         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
54874         (ustat): Do not use CHECK_1.
54875         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
54876         <bp-checks.h>.
54877         (__fxstat): Do not use CHECK_1.
54878         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
54879         <bp-checks.h>.
54880         (__fxstatat): Do not use CHECK_1.
54881         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
54882         <bp-checks.h>.
54883         (__lxstat): Do not use CHECK_1.
54884         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
54885         <bp-checks.h>.
54886         (__xstat): Do not use CHECK_1.
54887         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
54888         (__xstat): Do not use CHECK_1.
54889         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
54890         (___xstat64): Do not use CHECK_1.
54892         [BZ #13550]
54893         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
54894         definitions.
54895         (CHECK_BOUNDS_HIGH): Likewise.
54896         * string/strcpy.c: Do not include <bp-checks.h>.
54897         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
54899 2013-02-07  Roland McGrath  <roland@hack.frob.com>
54901         * nscd/nscd-client.h (__nscd_drop_map_ref):
54902         Add __attribute__ ((unused)).
54903         * nis/nss-nisplus.h (niserr2nss): Likewise.
54905         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
54906         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
54908         * csu/libc-tls.c (init_static_tls, init_slotinfo):
54909         Remove inline keyword.
54910         * include/rounding-mode.h (round_away): Likewise.
54911         * libio/wfileops.c (adjust_wide_data): Likewise.
54912         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
54913         (__m128i_strloadu_tolower): Likewise.
54914         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
54915         (__m128i_strloadu_tolower): Likewise.
54916         * time/mktime.c (ydhms_diff): Likewise.
54917         * locale/elem-hash.h (elem_hash): Likewise.
54918         * locale/setlocale.c (setdata): Likewise.
54919         * posix/regex_internal.h (re_string_char_size_at): Likewise.
54920         (re_string_wchar_at): Likewise.
54921         (bitset_not, bitset_merge, bitset_mask): Likewise.
54922         [!(__GNUC__ > 3)] (inline): Remove macro.
54923         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
54924         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
54925         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
54926         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
54927         * string/memcmp.c (memcmp_bytes): Likewise.
54928         * locale/programs/locarchive.c (compute_hashval): Likewise.
54929         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
54930         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
54931         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
54932         * nss/getent.c (print_rpc, print_protocols): Likewise.
54933         (print_passwd, print_group, print_aliases): Likewise.
54934         * nis/nss-nisplus.h (niserr2nss): Likewise.
54935         * nscd/connections.c (restart_p): Likewise.
54936         Change return type to bool.
54938 2013-02-05  Roland McGrath  <roland@hack.frob.com>
54940         * Makeconfig (all-Depend-files): Add existing
54941         $(sorted-subdirs:=/Depend) files.
54942         (all-subdirs): Remove nss.
54943         * sysdeps/unix/inet/Subdirs: Add it here instead.
54944         * hesiod/Depend: New file.
54946         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
54947         instead of calling alloca.
54949         * io/lseek.c (__lseek): Rename to __libc_lseek.
54950         Define __lseek as an alias.
54952         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
54954 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
54956         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
54957         else clause and remove check for non-standard endianness.
54959 2013-02-04  David S. Miller  <davem@davemloft.net>
54961         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54963 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
54965         [BZ #13550]
54966         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
54967         (__ubp_memchr): Remove prototype.
54968         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
54969         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
54970         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
54971         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
54972         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
54973         Remove alias.
54974         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
54975         (__ubp_memchr): Likewise.
54976         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
54977         (__ubp_memchr): Likewise.
54978         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
54979         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
54980         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
54981         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
54982         CHECK_STRING.
54983         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
54984         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
54985         (__getcwd): Do not use CHECK_STRING.
54986         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
54987         <bp-checks.h>.
54988         (__real_chown): Do not use CHECK_STRING.
54989         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
54990         <bp-checks.h>.
54991         (fchownat): Do not use CHECK_STRING.
54992         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
54993         CHECK_STRING.
54994         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
54995         <bp-checks.h>.
54996         (__lchown): Do not use CHECK_STRING.
54997         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
54998         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
54999         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55000         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
55001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
55002         include <bp-checks.h>.
55003         (truncate64): Do not use CHECK_STRING.
55004         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
55005         <bp-checks.h>.
55006         (__real_chown): Do not use CHECK_STRING.
55007         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
55008         <bp-checks.h>.
55009         (__lchown): Do not use CHECK_STRING.
55010         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
55011         <bp-checks.h>.
55012         (__chown): Do not use CHECK_STRING.
55013         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
55014         <bp-checks.h>.
55015         (truncate64): Do not use CHECK_STRING.
55016         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
55017         Likewise.
55018         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
55019         (__xmknod): Do not use CHECK_STRING.
55020         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
55021         <bp-checks.h>.
55022         (__xmknodat): Do not use CHECK_STRING.
55023         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55024         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
55026 2013-02-04  Andreas Schwab  <schwab@suse.de>
55028         [BZ #14142]
55029         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
55030         * include/netdb.h: Likewise for h_errno.
55031         * elf/tst-stackguard1.c: Include <tls.h>.
55033 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
55035         * elf/link.h (struct link_map): Extend the l_addr comment.
55036         * include/link.h (struct link_map): Likewise.
55038 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
55040         [BZ #13550]
55041         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
55042         (BOUNDED_1): Remove macro.
55043         * debug/backtrace.c: Don't include <bp-checks.h>.
55044         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
55045         (__backtrace): Likewise.
55046         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
55047         <bp-checks.h>.
55048         (__backtrace): Don't use BOUNDED_1.
55049         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
55050         <bp-checks.h>.
55051         (__backtrace): Don't use BOUNDED_1.
55052         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
55053         (__backtrace): Don't use BOUNDED_1.
55054         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
55055         (shmat): Don't use BOUNDED_N.
55057 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
55059         [BZ #13550]
55060         * sysdeps/generic/bp-start.h: Remove file.
55061         * csu/libc-start.c: Don't include <bp-start.h>.
55062         (LIBC_START_MAIN): Set up __environ directly instead of using
55063         INIT_ARGV_and_ENVIRON.
55064         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
55065         <bp-start.h>.
55067         [BZ #13550]
55068         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
55069         definitions.
55070         (CHECK_FCNTL): Likewise.
55071         (CHECK_N_PAGES): Likewise.
55073         [BZ #13550]
55074         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
55075         definitions.
55076         (CHECK_SIGSET_NULL_OK): Likewise.
55077         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
55078         <bp-checks.h>.
55079         (sigpending): Don't use CHECK_SIGSET.
55080         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
55081         <bp-checks.h>.
55082         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55083         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
55084         <bp-checks.h>.
55085         (do_sigsuspend): Don't use CHECK_SIGSET.
55086         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
55087         use CHECK_SIGSET.
55088         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
55089         (do_sigwait): Don't use CHECK_SIGSET.
55090         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
55091         use CHECK_SIGSET.
55092         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
55093         include <bp-checks.h>.
55094         (sigpending): Don't use CHECK_SIGSET.
55095         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
55096         include <bp-checks.h>.
55097         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55098         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
55099         <bp-checks.h>.
55100         (sigpending): Don't use CHECK_SIGSET.
55101         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
55102         <bp-checks.h>.
55103         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55105         [BZ #13550]
55106         * sysdeps/generic/bp-semctl.h: Remove file.
55107         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
55108         <bp-checks.h> and <bp-semctl.h>.
55109         (__old_semctl): Don't use CHECK_SEMCTL.
55110         (__new_semctl): Likewise.
55111         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
55112         and <bp-semctl.h>.
55113         (__old_semctl): Don't use CHECK_SEMCTL.
55114         (__new_semctl): Likewise.
55115         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
55116         <bp-checks.h> and <bp-semctl.h>.
55117         (__old_semctl): Don't use CHECK_SEMCTL.
55118         (__new_semctl): Likewise.
55119         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
55120         <bp-checks.h> and <bp-semctl.h>.
55121         (semctl): Don't use CHECK_SEMCTL.
55123         [BZ #13550]
55124         * Makerules (elide-bp-thunks): Remove variable.
55125         (elide-routines.oS): Don't use $(elide-bp-thunks).
55126         (elide-routines.os): Likewise.
55127         (elide-routines.o): Likewise.
55128         (elide-routines.op): Likewise.
55129         (elide-routines.og): Likewise.
55130         (objects): Don't use $(bp-thunks).
55131         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
55132         include.
55133         (common-generated): Do not add s-proto-bp.d.
55134         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
55135         (int): Likewise.
55136         (typ): Likewise.
55137         Do not generate makefile rules for bounded-pointer thunks.
55138         * sysdeps/generic/bp-thunks.h: Remove file.
55139         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
55140         * sysdeps/unix/s-proto-bp.S: Likewise.
55142         [BZ #15062]
55143         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
55144         parts of result separately when argument is not close to line from
55145         -i to i and one part of argument is small.
55146         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55147         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55148         * math/libm-test.inc (cacos_test): Add more tests.
55149         (casin_test): Likewise.
55150         (casinh_test): Likewise.
55151         * sysdeps/i386/fpu/libm-test-ulps: Update.
55152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55154 2013-01-31  David S. Miller  <davem@davemloft.net>
55156         * po/de.po: Update from translation team.
55158 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
55160         * time/tzfile.c: Include stdint.h for SIZE_MAX.
55162 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
55164         * configure.in (_AC_PROG_CC_C89): New definition.
55165         * configure: Regenerate.
55167         * configure.in (AC_PROG_CPP): New definition.
55168         * configure: Regenerate.
55170 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55172         * debug/tst-backtrace.h: New file.
55173         * debug/tst-backtrace2.c: Include tst-backtrace.h.
55174         (ret): Remove variable.
55175         (x): Likewise.
55176         (FAIL): Remove macro.
55177         (NO_INLINE): Likewise.
55178         (fn1): Use match function instead of strstr.
55179         * debug/tst-backtrace3.c: Include tst-backtrace.h.
55180         (ret): Remove variable.
55181         (x): Likewise.
55182         (FAIL): Remove macro.
55183         (NO_INLINE): Likewise.
55184         (fn): Use match function instead of strstr.
55185         * debug/tst-backtrace4.c: Include tst-backtrace.h.
55186         (ret): Remove variable.
55187         (x): Likewise.
55188         (FAIL): Remove macro.
55189         (NO_INLINE): Likewise.
55190         (handle_signal): Use match function instead of strstr.
55191         * debug/tst-backtrace5.c: Include tst-backtrace.h.
55192         (ret): Remove variable.
55193         (x): Likewise.
55194         (FAIL): Remove macro.
55195         (NO_INLINE): Likewise.
55196         (handle_signal): Use match function instead of strstr.
55198 2013-01-23  Roland McGrath  <roland@hack.frob.com>
55200         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
55202 2013-01-23  David S. Miller  <davem@davemloft.net>
55204         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
55205         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
55206         argument of CAS if possible.
55207         * sysdeps/sparc/sparc64/bits/atomic.h
55208         (__arch_compare_and_exchange_val_32_acq): Likewise.
55209         (__arch_compare_and_exchange_val_64_acq): Likewise.
55211 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
55213         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
55214         * sysdeps/posix/ulimit.c: ... this.
55215         Include <limits.h>.
55216         * sysdeps/unix/bsd/ulimit.c: Remove file.
55218 2013-01-23  Adam Conrad  <adconrad@0c3.net>
55220         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
55221         (LDFLAGS-tst-array5): Likewise.
55223 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55225         [BZ #15036]
55226         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
55227         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
55228         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
55229         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
55231 2013-01-21  David S. Miller  <davem@davemloft.net>
55233         * sysdeps/sparc/backtrace.c: New file.
55234         * sysdeps/sparc/sparc32/backtrace.h: New file.
55235         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
55236         * sysdeps/sparc/sparc64/backtrace.h: New file.
55237         * sysdeps/sparc/sparc64/backtrace.c: Delete.
55238         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
55239         -funwind-tables.
55241 2013-01-21  Andreas Schwab  <schwab@suse.de>
55243         [BZ #15020]
55244         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
55245         closed its stdout.
55247 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
55249         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
55250         "mpa2.h".
55251         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55253 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
55254             Mark Mitchell  <mark@codesourcery.com>
55255             Tom de Vries  <tom@codesourcery.com>
55256             Paul Pluzhnikov  <ppluzhnikov@google.com>
55258         * debug/tst-backtrace2.c: New file.
55259         * debug/tst-backtrace3.c: Likewise.
55260         * debug/tst-backtrace4.c: Likewise.
55261         * debug/tst-backtrace5.c: Likewise.
55262         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
55263         (CFLAGS-tst-backtrace3.c): Likewise.
55264         (CFLAGS-tst-backtrace4.c): Likewise.
55265         (CFLAGS-tst-backtrace5.c): Likewise.
55266         (LDFLAGS-tst-backtrace2): Likewise.
55267         (LDFLAGS-tst-backtrace3): Likewise.
55268         (LDFLAGS-tst-backtrace4): Likewise.
55269         (LDFLAGS-tst-backtrace5): Likewise.
55270         (tests): Add new tests tst-backtrace2, tst-backtrace3,
55271         tst-backtrace4 and tst-backtrace5.
55273 2013-01-18  Anton Blanchard  <anton@samba.org>
55274             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55276         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
55277         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
55278         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
55279         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
55280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
55281         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
55282         "+r" and remove output regs list as redundant.  Add explicit inline
55283         asm to specify register of return val to work around compiler codegen
55284         bug.  Remove (int) cast on return value.  Add return type parameter to
55285         use in macro so that this macro does not truncate return value for
55286         64-bit values.
55287         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
55288         pass to INTERNAL_VSYSCALL_NCS.
55289         (INLINE_VSYSCALL): Add 'long int' as return type to
55290         INTERNAL_VSYSCALL_NCS macro invocation.
55291         (INTERNAL_VSYSCALL): Add 'long int' as return type to
55292         INTERNAL_VSYSCALL_NCS macro invocation.
55293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55295 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55297         [BZ #14496]
55298         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
55299         Fix application of SIMD FP exception mask.
55301         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
55302         mp_no from a power of two.
55303         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
55304         __mpexp_twomm1.  Use __pow_mp.
55306         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
55307         multiplication.
55309 2013-01-17  David S. Miller  <davem@davemloft.net>
55311         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55313 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55315         [BZ #15023]
55316         * include/complex.h: Condition contents on [!_COMPLEX_H].
55317         (__kernel_casinhf): New prototype.
55318         (__kernel_casinh): Likewise.
55319         (__kernel_casinhl): Likewise.
55320         * math/Makefile (libm_calls): Add k_casinh.
55321         * math/k_casinh.c: New file.
55322         * math/k_casinhf.c: Likewise.
55323         * math/k_casinhl.c: Likewise.
55324         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
55325         finite nonzero arguments.
55326         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
55327         finite nonzero arguments.
55328         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
55329         finite nonzero arguments.
55330         * math/s_casinh.c: Do not include <float.h>.
55331         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
55332         * math/s_casinhf.c: Do not include <float.h>.
55333         (__casinhf): Move code for finite nonzero arguments to
55334         k_casinhf.c.
55335         * math/s_casinhl.c: Do not include <float.h>.
55336         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
55337         redefine.
55338         (__casinhl): Move code for finite nonzero arguments to
55339         k_casinhl.c.
55340         * math/libm-test.inc (cacos_test): Add more tests.
55341         * sysdeps/i386/fpu/libm-test-ulps: Update.
55342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55344 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
55346         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
55347         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
55348         [!HAVE_MREMAP]: Remove [defined linux] case.
55349         * malloc/arena.c: Do not include <malloc-sysdep.h>.
55351 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55353         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
55355 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
55357         * elf/elf.h (R_386_SIZE32): New relocation.
55358         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
55359         R_386_SIZE32.
55360         (elf_machine_rela): Likewise.
55361         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
55362         R_X86_64_SIZE64 and R_X86_64_SIZE32.
55364 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55366         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
55367         (FP_FAST_FMA): Do not define.
55368         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
55369         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
55370         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
55371         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
55372         !_SOFT_FLOAT]: Likewise.
55373         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
55374         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
55375         value.
55376         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
55377         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
55378         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
55379         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
55380         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
55381         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
55382         file.
55384 2013-01-16  Andreas Schwab  <schwab@suse.de>
55386         [BZ #14327]
55387         * include/stdlib.h (__mktemp): Add declaration.
55388         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
55389         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
55391 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55393         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
55394         definitions.
55395         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
55396         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
55397         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
55398         definitions here.
55399         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
55400         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
55401         definitions.
55402         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
55403         and ONE.
55404         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
55405         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
55406         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
55407         definitions.
55408         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
55409         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
55410         definitions.
55411         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
55413         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
55415 2013-01-15  David S. Miller  <davem@davemloft.net>
55417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55418         trunc{,f} to libm-sysdep_routes.
55419         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
55421         file.
55422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
55423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
55424         file.
55425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
55426         file.
55427         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
55428         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
55429         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
55430         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
55431         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
55432         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
55433         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
55434         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
55436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55437         nearbyint{,f} to libm-sysdep_routes.
55438         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
55440         New file.
55441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
55442         file.
55443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
55444         New file.
55445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
55446         file.
55447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
55448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
55449         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
55450         file.
55451         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
55452         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
55453         file.
55454         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
55455         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
55456         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
55458         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55459         libc_feholdexcept and libc_fesetenv.
55461 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
55463         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
55465 2013-01-14  David S. Miller  <davem@davemloft.net>
55467         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
55468         (SPARC_ASM_VIS2_IFUNC): Likewise.
55469         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
55470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
55471         use of 'siam' instruction.
55472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
55473         Likewise.
55474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
55475         Likewise.
55476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
55477         Likewise.
55478         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
55479         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
55480         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
55481         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
55482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
55483         file.
55484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
55485         file.
55486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
55487         file.
55488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
55489         file.
55490         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
55491         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
55492         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
55493         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
55494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
55495         new VIS2 routines.
55496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55499         Likewise.
55500         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55501         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55502         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55503         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
55505         routines to libm-sysdep_routines.
55506         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55509         fdim/fdimf to libm-sysdep_routines.
55510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
55511         file.
55512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
55513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
55514         file.
55515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
55516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
55517         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
55518         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
55519         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
55520         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
55521         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
55523 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55525         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
55526         to optimize copies.
55528         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
55529         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55530         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55532         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
55533         local variable MPTWO.
55534         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
55535         Likewise.
55537 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55539         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
55540         GLOB_NOESCAPE.
55542 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55544         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
55546 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55548         * manual/pattern.texi (glob_t): Document gl_flags.
55549         (glob64_t): Likewise.
55551 2013-01-11  David S. Miller  <davem@davemloft.net>
55553         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
55554         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
55555         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
55556         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
55557         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
55558         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
55559         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
55560         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
55561         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
55562         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
55563         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
55564         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
55565         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
55567         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
55568         sparc V9 rather than using V8 code.
55569         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55570         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55572         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
55573         Move to...
55574         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
55575         Here.
55577 2013-01-11  Roland McGrath  <roland@hack.frob.com>
55579         [BZ #14941]
55580         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
55581         not in the main loop.
55582         * configure: Regenerated.
55584 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
55586         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
55587         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
55588         to just #else.
55589         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
55590         [!__GLIBC_HAVE_LONG_LONG] case.
55591         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
55592         condition to just #else.
55593         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
55594         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
55595         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
55596         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
55597         unconditional.
55598         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
55599         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
55600         #elif condition to just #else.
55601         * sysdeps/unix/sysv/linux/sys/sysmacros.h
55602         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
55603         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
55604         #elif condition to just #else.
55606 2013-01-11  Steve Ellcey  <sellcey@mips.com>
55608         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
55609         (EF_MIPS_ARCH_64): Fix value.
55610         (EF_MIPS_ARCH_32R2): New.
55611         (EF_MIPS_ARCH_64R2): New.
55613 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
55615         * Makeconfig (+link-pie-before-libc): New.
55616         (+link-pie-after-libc): Likewise.
55617         (+link-pie-tests): Likewise.
55618         (+link-pie): Rewritten.
55619         (link-before-libc): Remove $(config-LDFLAGS).
55620         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
55621         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
55622         (config-LDFLAGS): Renamed to ...
55623         (rtld-LDFLAGS): This.
55624         (rtld-tests-LDFLAGS): New macro.
55625         (link-libc-rpath-link): Likewise.
55626         (link-libc-tests-rpath-link): Likewise.
55627         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
55628         (link-libc): Prepand $(link-libc-rpath-link).
55629         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
55630         (test-program-prefix): New macro.
55631         (test-via-rtld-prefix): Likewise.
55632         (test-program-cmd): Likewise.
55633         (host-test-program-cmd): Likewise.
55634         * Makefile ($(common-objpfx)testrun.sh): Replace
55635         $(run-program-prefix) with $(test-program-prefix).
55636         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
55637         $(rtld-LDFLAGS).
55638         ($(common-objpfx)shlib.lds): Likewise.
55639         (build-module-helper): Likewise.
55640         ($(common-objpfx)format.lds): Likewise.
55641         * Rules (binaries-pie-tests): New.
55642         (binaries-pie-notests): Likewise.
55643         (binaries-pie): Rewritten.
55644         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
55645         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
55646         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
55647         (make-test-out): Replace $(host-built-program-cmd) with
55648         $(host-test-program-cmd).
55649         * config.make.in (build-hardcoded-path-in-tests): New variable.
55650         * configure.in (--enable-hardcoded-path-in-tests): New configure
55651         option.
55652         (hardcoded_path_in_tests): New AC_SUBST.
55653         * configure: Regenerated.
55654         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
55655         $(built-program-cmd) with $(test-program-cmd).
55656         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
55657         (test_program_cmd): This.
55658         * elf/Makefile ($(objpfx)order.out): Run test with
55659         $(test-program-prefix).
55660         ($(objpfx)order2.out): Likewise.
55661         ($(objpfx)tst-initorder.out): Likewise.
55662         ($(objpfx)tst-initorder2.out): Likewise.
55663         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
55664         $(test-program-cmd).
55665         ($(objpfx)tst-array1-static.out): Likewise.
55666         ($(objpfx)tst-array2.out): Likewise.
55667         ($(objpfx)tst-array3.out): Likewise.
55668         ($(objpfx)tst-array4.out): Likewise.
55669         ($(objpfx)tst-array5.out): Likewise.
55670         ($(objpfx)tst-array5-static.out): Likewise.
55671         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
55672         $(test-program-cmd).
55673         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
55674         $(run-program-prefix) with $(test-program-prefix).
55675         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
55676         (test_program_prefix): This.
55677         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
55678         $(run-program-prefix) with $(test-program-prefix).
55679         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
55680         (test_program_prefix): This.
55681         * iconvdata/tst-tables.sh: Likewise.
55682         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
55683         $(run-program-prefix) with $(test-program-prefix).
55684         ($(objpfx)tst-translit.out): Likewise.
55685         ($(objpfx)tst-gettext2.out): Likewise.
55686         ($(objpfx)tst-gettext4.out): Likewise.
55687         ($(objpfx)tst-gettext6.out): Likewise.
55688         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
55689         (test_program_prefix): This.
55690         * intl/tst-gettext2.sh: Likewise.
55691         * intl/tst-gettext4.sh  Likewise.
55692         * intl/tst-gettext6.sh: Likewise.
55693         * intl/tst-translit.sh: Likewise.
55694         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
55695         with $(test-program-cmd).
55696         * libio/Makefile ($(objpfx)test-freopen.out): Replace
55697         $(run-program-prefix) with $(test-program-prefix).
55698         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
55699         (test_program_prefix): This.
55700         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
55701         $(run-program-prefix) with $(test-program-prefix).
55702         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
55703         (test_program_prefix): This.
55704         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
55705         * posix/Makefile ($(objpfx)globtest.out): Replace
55706         $(run-via-rtld-prefix) and $(test-wrapper) with
55707         $(test-program-prefix) and $(test-via-rtld-prefix).
55708         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
55709         $(test-program-prefix).
55710         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
55711         $(host-test-program-cmd).
55712         (tst-spawn-ARGS): Likewise.
55713         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
55714         $(test-program-prefix).
55715         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
55716         (test_via_rtld_prefix): This.
55717         (test_wrapper): Renamed to ...
55718         (test_program_prefix): This.
55719         (run_program_prefix): Replaced by test_program_prefix.
55720         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
55721         (test_program_prefix): This.
55722         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
55723         with $(host-test-program-cmd).
55724         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
55725         $(run-program-prefix) with $(test-program-prefix).
55726         ($(objpfx)tst-printf.out): Likewise.
55727         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
55728         $(test-program-cmd).
55729         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
55730         (test_program_prefix): This.
55731         * stdio-common/tst-unbputc.sh: Likewise.
55732         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
55733         $(run-program-prefix) with $(test-program-prefix).
55734         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
55735         (test_program_prefix): This.
55736         * string/Makefile ($(objpfx)tst-svc.out):  Replace
55737         $(built-program-cmd) with $(test-program-cmd).
55739 2013-01-11  Andreas Jaeger  <aj@suse.de>
55741         [BZ #15003]
55742         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
55743         value. Sync with Linux 3.7.
55745 2013-01-10  David S. Miller  <davem@davemloft.net>
55747         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
55748         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55749         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55751 2013-01-10  Roland McGrath  <roland@hack.frob.com>
55753         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
55754         never set.
55755         * configure: Regenerated.
55757 2013-01-10  David S. Miller  <davem@davemloft.net>
55759         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
55760         sparc V9 rather than using V8 code.
55761         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55762         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55764 2013-01-10  Roland McGrath  <roland@hack.frob.com>
55766         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
55767         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
55768         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
55769         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
55770         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
55771         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
55772         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
55773         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
55774         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
55775         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
55776         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
55777         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
55778         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
55779         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
55780         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
55781         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
55782         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
55783         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
55784         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
55785         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
55786         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
55787         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
55788         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
55789         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
55790         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
55791         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
55792         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
55794 2013-01-10  David S. Miller  <davem@davemloft.net>
55796         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55798 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
55800         * posix/Makefile (tests-static): New variable.
55801         (tests): Add $(tests-static).
55802         (tst-exec-static-ARGS): New variable.
55803         (tst-spawn-static-ARGS): Likewise.
55804         * posix/tst-exec-static.c: New file.
55805         * posix/tst-spawn-static.c: Likewise.
55806         * posix/tst-exec.c: Support run directly.
55807         * posix/tst-spawn.c: Likewise.
55809 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
55811         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
55812         long.
55813         * math/bits/mathcalls.h (llrint): Likewise.
55814         (llround): Likewise.
55815         * stdlib/stdlib.h (struct drand48_data): Likewise.
55816         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
55817         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
55818         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
55819         Likewise.
55820         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
55821         Likewise.
55822         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
55823         (elf_greg_t): Likewise.
55824         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
55825         (__jmp_buf): Likewise.
55826         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
55827         definitions.
55828         (llrint): Likewise, for all definitions.
55829         (llrintl): Likewise.
55831         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
55832         Remove [__GNUC__] condition.
55833         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
55834         condition to just [__USE_ISOC99].
55835         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
55837 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
55839         [BZ #14200]
55840         * sysdeps/unix/sysv/linux/x86/bits/environments.h
55841         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
55842         defined.
55843         (_POSIX_V6_ILP32_OFF32): Likewise.
55844         (_XBS5_ILP32_OFF32): Likewise.
55845         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
55846         (__ILP32_OFFBIG_LDFLAGS): Likewise.
55848 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55850         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
55852         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
55853         doubles __mpexp_twomm1.  Adjust usage.
55854         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
55855         Remove.
55857 2013-01-10  Andreas Schwab  <schwab@suse.de>
55859         [BZ #14964]
55860         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
55861         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
55863 2013-01-09  David S. Miller  <davem@davemloft.net>
55865         [BZ #15003]
55866         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
55867         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
55868         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
55869         (TCP_FASTOPEN): Define.
55870         (tcp_repair_opt): New structure.
55871         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
55872         enum values.
55873         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
55874         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
55875         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
55876         (tcp_cookie_transactions): New structure.
55878 2013-01-09  Anton Blanchard  <anton@samba.org>
55880         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
55881         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
55882         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
55883         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
55885 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
55887         * include/features.h (__USE_ANSI): Remove.
55889 2013-01-09  Roland McGrath  <roland@hack.frob.com>
55891         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
55893         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
55895 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
55897         * sysdeps/s390/fpu/libm-test-ulps: Update.
55899         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55901         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
55902         (__acr): Likewise.
55903         (__cpy): Likewise.
55904         (norm): Likewise.
55905         (denorm): Likewise.
55906         (__mp_dbl): Likewise.
55907         (__dbl_mp): Likewise.
55908         (add_magnitudes): Likewise.
55909         (sub_magnitudes): Likewise.
55910         (__add): Likewise.
55911         (__sub): Likewise.
55912         (__mul): Likewise.
55913         (__inv): Likewise.
55914         (__dvd): Likewise.
55915         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
55916         (__acr): Likewise.
55917         (__cpy): Likewise.
55918         (norm): Likewise.
55919         (denorm): Likewise.
55920         (__mp_dbl): Likewise.
55921         (__dbl_mp): Likewise.
55922         (add_magnitudes): Likewise.
55923         (sub_magnitudes): Likewise.
55924         (__add): Likewise.
55925         (__sub): Likewise.
55926         (__mul): Likewise.
55927         (__inv): Likewise.
55928         (__dvd): Likewise.
55929         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
55930         (__acr): Likewise.
55931         (__cpy): Likewise.
55932         (norm): Likewise.
55933         (denorm): Likewise.
55934         (__mp_dbl): Likewise.
55935         (__dbl_mp): Likewise.
55936         (add_magnitudes): Likewise.
55937         (sub_magnitudes): Likewise.
55938         (__add): Likewise.
55939         (__sub): Likewise.
55940         (__mul): Likewise.
55941         (__inv): Likewise.
55942         (__dvd): Likewise.
55944 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
55946         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
55947         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
55948         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
55949         2 && __USE_EXTERN_INLINES]: Likewise.
55951 2013-01-08  Andreas Jaeger  <aj@suse.de>
55953         [BZ# 14985]
55954         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
55955         Remove.
55956         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
55957         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
55959 2013-01-07  Anton Blanchard  <anton@samba.org>
55961         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
55962         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
55963         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
55964         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
55965         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
55966         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55967         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
55968         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
55969         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55970         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55971         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55972         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55973         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
55974         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55975         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
55976         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55977         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55978         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55979         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
55980         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
55981         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
55982         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
55983         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55984         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
55985         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
55986         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
55987         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
55988         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
55989         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
55990         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
55991         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
55992         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55993         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55994         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55995         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55996         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55997         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55998         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
55999         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
56000         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
56001         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
56002         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56003         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56005 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
56007         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
56008         (__MALLOC_PMT): Likewise.
56009         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
56010         [__GNUC__], only on [_LIBC].
56011         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56012         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
56013         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56014         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
56015         forward declaration.
56016         (realloc_hook_ini): Likewise.
56017         (memalign_hook_ini): Likewise.
56018         (__libc_memalign): Do not use __MALLOC_PMT in variable
56019         declaration.
56020         (__libc_valloc): Likewise.
56021         (__libc_pvalloc): Likewise.
56022         (__libc_calloc): Likewise.
56023         (__posix_memalign): Likewise.
56025         [BZ #14996]
56026         * math/s_casinh.c: Include <float.h>.
56027         (__casinh): Do not do computation with squaring and square root
56028         for large arguments.
56029         * math/s_casinhf.c: Include <float.h>.
56030         (__casinhf): Do not do computation with squaring and square root
56031         for large arguments.
56032         * math/s_casinhl.c: Include <float.h>.
56033         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
56034         (__casinhl): Do not do computation with squaring and square root
56035         for large arguments.
56036         * math/libm-test.inc (casin_test): Add more tests.
56037         (casinh_test): Likewise.
56038         * sysdeps/i386/fpu/libm-test-ulps: Update.
56039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56041 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
56043         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
56044         (__x86_64_raw_data_cache_size): Likewise.
56045         (__x86_64_data_cache_size_half): Likewise.
56046         (__x86_64_raw_data_cache_size_half): Likewise.
56047         (__x86_64_shared_cache_size): Likewise.
56048         (__x86_64_raw_shared_cache_size): Likewise.
56049         (__x86_64_shared_cache_size_half): Likewise.
56050         (__x86_64_raw_shared_cache_size_half): Likewise.
56051         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
56052         to ...
56053         (__x86_data_cache_size): This.
56054         (__x86_64_raw_data_cache_size): Renamed to ...
56055         (__x86_raw_data_cache_size): This.
56056         (__x86_64_data_cache_size_half): Renamed to ...
56057         (__x86_data_cache_size_half): This.
56058         (__x86_64_raw_data_cache_size_half): Renamed to ...
56059         (__x86_raw_data_cache_size_half): This.
56060         (__x86_64_shared_cache_size): Renamed to ...
56061         (__x86_shared_cache_size): This.
56062         (__x86_64_raw_shared_cache_size): Renamed to ...
56063         (__x86_raw_shared_cache_size): This.
56064         (__x86_64_shared_cache_size_half): Renamed to ...
56065         (__x86_shared_cache_size_half): This.
56066         (__x86_64_raw_shared_cache_size_half): Renamed to ...
56067         (__x86_raw_shared_cache_size_half): This.
56068         * sysdeps/x86_64/memcpy.S: Updated.
56069         * sysdeps/x86_64/memset.S: Likewise.
56070         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
56071         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56072         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56074 2013-01-04  David S. Miller  <davem@davemloft.net>
56076         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56078 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
56080         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
56081         1 to avoid redefinition warning.
56082         (__USE_GNU): Don't define.
56083         (init_signaling_nan): Protoize.
56085         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56087 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56089         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
56090         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
56091         (__cpymn): Likewise.
56092         (norm): Remove commented code.
56093         (denorm): Likewise.
56094         (__mp_dbl): Likewise.
56095         (__inv): Likewise.
56096         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
56097         (__cpymn): Likewise.
56098         (norm): Remove commented code.
56099         (denorm): Likewise.
56100         (__mp_dbl): Likewise.
56101         (__inv): Likewise.
56103         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
56104         mp_no value for 1.0 and 2.0.
56105         (norm): Use RADIXI instead of radixi.d.
56106         (denorm): Likewise.
56107         (__mul): Use 0.0 instead of zero.d.
56108         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
56109         mp_no value for 1.0 and 2.0.
56110         (norm): Use RADIXI instead of radixi.d.
56111         (denorm): Likewise.
56112         (__mul): Use 0.0 instead of zero.d.
56114 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
56116         [BZ #14994]
56117         * math/s_casinh.c (__casinh): Reduce finite argument to first
56118         quadrant then set signs of results at the end.
56119         * math/s_casinhf.c (__casinhf): Likewise.
56120         * math/s_casinhl.c (__casinhl): Likewise.
56121         * math/libm-test.inc (casin_test): Add more tests.
56122         (casinh_test): Likewise.
56123         * sysdeps/i386/fpu/libm-test-ulps: Update.
56124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56126 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56128         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
56130         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
56132         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
56133         declarations.
56134         (denorm): Likewise.
56135         (__mp_dbl): Likewise.
56136         (__inv): Likewise.
56138         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
56139         and adjust the header comment.
56141         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
56142         variable name from declaration.
56144 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
56146         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56147         Initialize COMMON_CPUID_INDEX_7 element.
56148         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
56149         (CPUID_RTM): Likewise.
56150         (HAS_RTM): Likewise.
56151         (COMMON_CPUID_INDEX_7): New enum.
56153 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
56155         [BZ #14981]
56156         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
56157         size is zero, record memory as freed.
56159 2013-01-03  Andreas Jaeger  <aj@suse.de>
56161         * po/ia.po: Add new Interlingua translation.
56163 2012-01-03  Allan McRae  <allan@archlinux.org>
56165         * locale/programs/localedef.c: Fix description of '--posix' flag.
56167 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
56169         * NEWS: Update dates in second copyright notice.
56170         * README: Update copyright dates in example.
56171         * manual/libc.texinfo: Update copyright dates.
56172         * scripts/test-installation.pl: Update copyright date in --version
56173         output.
56175         * hurd/ctty-input.c: Fix copyright notice formatting.
56176         * hurd/ctty-output.c: Likewise.
56177         * hurd/dtable.c: Likewise.
56178         * hurd/hurd-raise.c: Likewise.
56179         * hurd/hurdprio.c: Likewise.
56180         * hurd/msgportdemux.c: Likewise.
56181         * misc/sys/file.h: Likewise.
56182         * misc/sys/ioctl.h: Likewise.
56183         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
56184         * sysdeps/mach/hurd/chdir.c: Likewise.
56185         * sysdeps/mach/hurd/fchdir.c: Likewise.
56186         * sysdeps/mach/hurd/rename.c: Likewise.
56187         * sysdeps/mach/hurd/rmdir.c: Likewise.
56188         * sysdeps/mach/hurd/seekdir.c: Likewise.
56189         * sysdeps/mach/hurd/setsid.c: Likewise.
56190         * sysdeps/posix/wait3.c: Likewise.
56192         * All files with FSF copyright notices: Update copyright dates
56193         using scripts/update-copyrights.
56194         * intl/plural.c: Regenerated.
56195         * locale/programs/charmap-kw.h: Likewise.
56196         * locale/programs/locfile-kw.h: Likewise.
56198 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56200         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
56201         four values.
56203         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
56204         calculation loop and add branch prediction.
56206         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
56207         check access beyond bounds of m1np.
56209         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56210         MPTWO.
56211         (__inv): Remove local variable MPTWO to use the global
56212         constant.
56213         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
56214         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56215         variable MPTWO.
56216         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
56217         MP3HALFS static const.
56219 2013-01-01  David S. Miller  <davem@davemloft.net>
56221         * po/ca.po: Update from translation team.
56223 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
56225         * scripts/update-copyrights: New file.
56226         * Makeconfig: Reformat copyright notice.
56227         * ctype/ctype.h: Likewise.
56228         * debug/swprintf_chk.c: Likewise.
56229         * elf/dl-cache.c: Likewise.
56230         * elf/dl-debug.c: Likewise.
56231         * elf/dl-object.c: Likewise.
56232         * grp/initgroups.c: Likewise.
56233         * hurd/Makefile: Likewise.
56234         * hurd/hurd/signal.h: Likewise.
56235         * hurd/hurdfault.c: Likewise.
56236         * hurd/hurdioctl.c: Likewise.
56237         * hurd/hurdlookup.c: Likewise.
56238         * hurd/intr-msg.c: Likewise.
56239         * iconv/gconv_open.c: Likewise.
56240         * libio/swprintf.c: Likewise.
56241         * locale/lc-ctype.c: Likewise.
56242         * locale/nl_langinfo.c: Likewise.
56243         * mach/Machrules: Likewise.
56244         * mach/Makefile: Likewise.
56245         * malloc/obstack.h: Likewise.
56246         * manual/Makefile: Likewise.
56247         * manual/tsort.awk: Likewise.
56248         * misc/bits/stab.def: Likewise.
56249         * nis/nis_print_group_entry.c: Likewise.
56250         * nis/nis_table.c: Likewise.
56251         * nis/nss_compat/compat-pwd.c: Likewise.
56252         * nis/nss_compat/compat-spwd.c: Likewise.
56253         * po/Makefile: Likewise.
56254         * posix/fnmatch.c: Likewise.
56255         * posix/regex.h: Likewise.
56256         * resolv/Makefile: Likewise.
56257         * resolv/nss_dns/dns-network.c: Likewise.
56258         * resolv/res_hconf.c: Likewise.
56259         * scripts/gen-sorted.awk: Likewise.
56260         * soft-fp/soft-fp.h: Likewise.
56261         * stdio-common/printf.h: Likewise.
56262         * stdlib/monetary.h: Likewise.
56263         * stdlib/random.c: Likewise.
56264         * stdlib/random_r.c: Likewise.
56265         * sysdeps/generic/Makefile: Likewise.
56266         * sysdeps/gnu/Makefile: Likewise.
56267         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56268         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56269         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56270         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56271         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56272         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56273         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56274         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56275         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56276         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56277         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56278         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56279         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56280         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56281         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
56282         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56283         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56284         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56285         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56286         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56287         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56288         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56289         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56290         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
56291         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
56292         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56293         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
56294         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
56295         * sysdeps/mach/hurd/errnos.awk: Likewise.
56296         * sysdeps/mach/hurd/fork.c: Likewise.
56297         * sysdeps/mach/hurd/getcwd.c: Likewise.
56298         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
56299         * sysdeps/mach/hurd/mmap.c: Likewise.
56300         * sysdeps/mach/hurd/utimes.c: Likewise.
56301         * sysdeps/mach/hurd/xmknod.c: Likewise.
56302         * sysdeps/posix/profil.c: Likewise.
56303         * sysdeps/posix/readdir_r.c: Likewise.
56304         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56305         * sysdeps/powerpc/bits/setjmp.h: Likewise.
56306         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
56307         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56308         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56309         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
56310         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56311         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56312         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56313         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
56314         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56315         * sysdeps/pthread/lio_listio.c: Likewise.
56316         * sysdeps/sparc/dl-procinfo.h: Likewise.
56317         * sysdeps/unix/i386/sysdep.S: Likewise.
56318         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
56319         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
56320         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
56321         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
56322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56323         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
56324         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
56325         * sysdeps/unix/sysv/linux/speed.c: Likewise.
56326         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
56327         * sysdeps/wordsize-32/divdi3.c: Likewise.
56328         * time/sys/time.h: Likewise.
56329         * wcsmbs/Makefile: Likewise.
56331 2013-01-01  David S. Miller  <davem@davemloft.net>
56333         * po/fr.po: Update from translation team.
56335         * catgets/gencat.c: Update copyright year.
56336         * csu/version.c: Likewise.
56337         * debug/catchsegv.sh: Likewise.
56338         * debug/pcprofiledump.c: Likewise.
56339         * debug/xtrace.sh: Likewise.
56340         * elf/ldconfig.c: Likewise.
56341         * elf/ldd.bash.in: Likewise.
56342         * elf/pldd.c: Likewise.
56343         * elf/sotruss.ksh: Likewise.
56344         * elf/sprof.c: Likewise.
56345         * iconv/iconv_prog.c: Likewise.
56346         * iconv/iconvconfig.c: Likewise.
56347         * locale/programs/locale.c: Likewise.
56348         * locale/programs/localedef.c: Likewise.
56349         * login/programs/pt_chown.c: Likewise.
56350         * malloc/memusage.sh: Likewise.
56351         * malloc/memusagestat.c: Likewise.
56352         * malloc/mtrace.pl: Likewise.
56353         * nscd/nscd.c: Likewise.
56354         * nss/getent.c: Likewise.
56355         * nss/makedb.c: Likewise.
56356         * posix/getconf.c: Likewise.
56358 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
56360         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
56361         numbers.
56363 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
56365         * math/bits/mathcalls.h (modf): Use __nonnull.
56367 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56369         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
56370         (split): Use macro CN instead of the bare value.
56371         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
56372         could be used.
56373         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
56374         instead of the bare value.
56375         (power1): Likewise.
56377 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56379         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
56380         __ATAN_TWOM.
56381         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56383         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
56384         their values.
56385         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56386         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56387         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
56388         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56390 2012-12-28  Andreas Jaeger  <aj@suse.de>
56392         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
56393         values are from Linux 3.7.
56395         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
56396         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
56398 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56400         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
56401         TRUE case.
56403         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
56404         (norm): Likewise.
56405         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
56406         variables with preprocessor constants.
56407         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56408         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56409         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56411 2012-12-27  Bruno Haible  <bruno@clisp.org>
56413         [BZ #14317]
56414         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
56415         only if needed.
56417 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56419         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
56420         and use variable directly.
56421         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
56423         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56424         MPONE.
56425         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
56426         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56427         variable MPONE.
56428         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56429         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
56430         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
56431         include directive.  Remove local variable MPONE.
56432         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
56433         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
56434         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56436 2012-12-25  David S. Miller  <davem@davemloft.net>
56438         * version.h (RELEASE): Set to "development".
56439         (VERSION): Set to "2.17.90".
56440         * NEWS: Add 2.18 section.
56442 2012-12-21  David S. Miller  <davem@davemloft.net>
56444         * po/hr.po: Update from translation team.
56446 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56448         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
56450 2012-12-19  Steve Ellcey  <sellcey@mips.com>
56452         * NEWS:  Mention new memcpy for MIPS.
56454 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56456         * manual/contrib.texi (Contributors): Spelling correction.
56458 2012-12-15  David S. Miller  <davem@davemloft.net>
56460         * po/ru.po: Update from translation team.
56462 2012-12-13  David S. Miller  <davem@davemloft.net>
56464         * NEWS: Mention IFUNC testsuite enhancements.
56466         * po/pl.po: Update from translation team.
56467         * po/bg.po: Likewise.
56469         * manual/contrib.texi (Contributors): Update entries for Hongjiu
56470         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
56472 2012-12-11  David S. Miller  <davem@davemloft.net>
56474         * po/sv.po: Update from translation team.
56476         * po/vi.po: Update from translation team.
56478         * po/cs.po: Update from translation team.
56480         * po/de.po: Update from translation team.
56481         * po/eo.po: Likewise.
56482         * po/nl.po: Likewise.
56484 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56486         [BZ #14246]
56487         * manual/argp.texi (Argp Helper Functions): Move node to follow
56488         Argp Parsing State.
56490         [BZ #14872]
56491         * manual/conf.texi (Limits on File System Capacity): Mention if
56492         terminating null is included in the max size.
56494 2012-12-10  Andreas Jaeger  <aj@suse.de>
56496         * po/cs.po: Update from translation team.
56498 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56500         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
56501         void pointer and cast to uintptr_t.
56502         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
56503         path.
56504         * sysdeps/s390/s390-64/memcpy.S: Likewise.
56505         * sysdeps/s390/s390-64/memset.S: Likewise.
56507 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
56509         [BZ #14833]
56510         * menual/message.texi (Message Translation): Fix typos.
56511         (Helper programs for gettext): Likewise.
56513 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
56515         [BZ #14898]
56516         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
56517         Change to -1.
56519 2012-12-07  David S. Miller  <davem@davemloft.net>
56521         * po/libc.pot: Update.
56523 2012-12-07  Richard Henderson  <rth@redhat.com>
56525         [BZ #10114]
56526         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
56527         normal/normal case to before the switch.
56528         (_FP_DIV): Likewise.
56530 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
56531             Mike Frysinger  <vapier@gentoo.org>
56533         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
56534         check for __NR_fadvise64_64.
56536 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
56538         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
56539         0, not just to plain "0" as a statement.
56540         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
56541         with cw.
56543 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
56545         * NEWS: Use sourceware.org in Bugzilla URL.
56547 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
56550         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
56552         * stdio-common/tst-put-error.c (do_test): Add newline to the
56553         padded test to ensure flush.
56555 2012-12-05  Jeff Law  <law@redhat.com>
56557         * sunrpc/etc.rpc (fedfs_admin): Add entry.
56559 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
56561         * README: Don't refer to ports add-on as distributed separately.
56562         Mention AArch64 in list of systems supported in the ports add-on.
56564         * LICENSES: Add more non-FSF copyright and license notices.
56566         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
56567         ((unused)).
56569         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
56571         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
56572         10000 as width of padded output.
56574 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
56576         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
56578         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
56579         variable LX with __attribute__ ((unused)).
56580         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
56581         Likewise.
56582         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
56583         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56584         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
56585         with __attribute__ ((unused)).
56587 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
56589         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
56591 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
56593         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
56594         (CFLAGS-nldbl-acos.c): New variable.
56595         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
56596         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
56597         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
56598         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
56599         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
56600         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
56601         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
56602         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
56603         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
56604         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
56605         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
56606         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
56607         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
56608         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
56609         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
56610         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
56611         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
56612         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
56613         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
56614         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
56615         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
56616         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
56617         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
56618         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
56619         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
56620         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
56621         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
56622         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
56623         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
56624         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
56625         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
56626         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
56627         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
56628         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
56629         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
56630         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
56631         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
56632         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
56633         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
56634         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
56635         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
56636         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
56637         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
56638         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
56639         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
56640         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
56641         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
56642         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
56643         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
56644         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
56645         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
56646         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
56647         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
56648         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
56649         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
56650         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
56651         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
56652         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
56653         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
56654         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
56655         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
56656         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
56657         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
56658         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
56659         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
56660         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
56661         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
56662         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
56663         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
56664         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
56665         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
56666         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
56667         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
56668         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
56669         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
56670         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
56671         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
56672         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
56673         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
56674         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
56675         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
56676         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
56677         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
56678         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
56679         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
56680         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
56681         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
56682         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
56683         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
56684         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
56685         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
56686         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
56687         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
56688         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
56689         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
56690         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
56691         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
56693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
56694         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
56696         [BZ #14914]
56697         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
56698         whole low double instead of just low 47 bits when splitting values
56699         into two parts.
56701 2012-12-03  Allan McRae  <allan@archlinux.org>
56703         * manual/stdio.texi (Predefined Printf Handlers): Remove
56704         @hsep and @vsep usage.
56706 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
56708         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
56709         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
56711 2012-12-03  Jeff Law  <law@redhat.com>
56713         * time/sys/time.h (settimeofday): Do not mark TV argument
56714         as __nonnull.
56716 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
56718         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
56719         when currently writing and seek to current position when not.
56720         * libio/Makefile (tests): Remove bug-fclose1.
56721         * libio/bug-fclose1.c: Delete.
56723 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
56725         * manual/arith.texi (feenableexcept): Fix typo.
56726         (fedisableexcept): Likewise.
56728 2012-11-30  Roland McGrath  <roland@hack.frob.com>
56730         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
56731         second, differently-typed declaration, rather than a cast.
56733 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
56735         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
56736         * include/rpc/svc.h: ... here.
56738 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
56740         [BZ #13013]
56741         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
56742         depending n and resplen2 to catch cases where answer
56743         equals answerp2.
56745 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
56747         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
56748         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
56750 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
56752         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
56754 2012-11-29  Roland McGrath  <roland@hack.frob.com>
56756         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
56758 2012-11-28  Jeff Law  <law@redhat.com>
56760         [BZ #13761]
56761         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
56762         dataset_temporary.  Track alloca usage into alloca_used.
56763         If dataset is large allocate and release it via malloc/free.
56765 2012-06-04  Florian Weimer  <fweimer@redhat.com>
56767         [BZ #14197]
56768         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
56770 2012-11-28  David S. Miller  <davem@davemloft.net>
56772         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56774 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
56776         [BZ #14803]
56777         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
56778         of pi/2 rounded to nearest to 64 bits.
56779         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
56780         nearest to 64 bits.
56781         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
56782         bits.
56784 2012-11-28  Jeff Law <law@redhat.com>
56785             Martin Osvald <mosvald@redhat.com>
56787         [BZ #14889]
56788         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
56789         * sunrpc/svc.c: Include time.h.
56790         (__svc_accept_failed): New function.
56791         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
56792         any reason other than EINTR, call __svc_accept_failed.
56793         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
56794         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
56796 2012-11-28  Andreas Schwab  <schwab@suse.de>
56798         * scripts/abilist.awk: Also handle indirect functions in .opd
56799         section.
56801 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
56803         [BZ #13881]
56804         * sysdeps/x86/fpu/powl_helper.c: New file.
56805         * sysdeps/x86/fpu/Makefile: Likewise.
56806         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
56807         (p3): New object.
56808         (__ieee754_powl): Use __powl_helper for finite arguments except
56809         integer exponents below 8.
56810         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
56811         (p3): New object.
56812         (__ieee754_powl): Use __powl_helper for finite arguments except
56813         integer exponents below 8.
56814         * math/libm-test.inc (pow_test): Add more tests and enable some
56815         previously disabled tests.
56816         * sysdeps/i386/fpu/libm-test-ulps: Update.
56817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56819 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56820             Carlos O'Donell  <carlos_odonell@mentor.com>
56822         * nss/makedb.c (is_prime): Assert that input is odd and greater
56823         than 4.  Note that fact in a comment too.
56824         (next_prime): Add 4 to input.
56826 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56828         [BZ #11741]
56829         * libio/Makefile (tests): Add test case tst-fwrite-error.
56830         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
56831         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
56832         * libio/tst-fwrite-error.c: New test case.
56834 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
56836         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
56837         before casting to void *.
56838         * include/libc-internal.h (__pointer_type): New macro.
56839         (__integer_if_pointer_type_sub): Likewise.
56840         (__integer_if_pointer_type): Likewise.
56841         (cast_to_integer): Likewise.
56842         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
56843         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
56844         before casting to atomic64_t.
56845         (atomic_exchange_acq): Likewise.
56846         (__arch_exchange_and_add_body): Likewise.
56847         (__arch_add_body): Likewise.
56848         (atomic_add_negative): Likewise.
56849         (atomic_add_zero): Likewise.
56851 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
56853         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
56854         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
56855         (add_fdes): Likewise.
56856         (linear_search_fdes): Likewise.
56857         (binary_search_unencoded_fdes): Likewise.
56859 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
56861         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
56863 2012-11-24  Adam Conrad  <adconrad@0c3.net>
56865         * configure.in: Autodetect C++ header directories.
56866         * configure: Regenerated.
56868 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
56870         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
56872 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
56874         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56876 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
56878         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
56879         LDBL_MANT_DIG == 106]: Disable some tests.
56880         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
56881         Likewise.
56882         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
56883         Likewise.
56885         [BZ #14871]
56886         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
56887         input for small inputs.  Return +/- pi/2 for large inputs.
56888         * math/libm-test.inc (atan_test): Add more tests.
56890         * sysdeps/generic/unwind-dw2-fde-glibc.c
56891         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
56892         __attribute__ ((unused)).
56894         [BZ #14645]
56895         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
56896         x * y if x and y are nonzero and z is zero.
56898         [BZ #14811]
56899         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
56900         nonzero exponents with absolute value below 0x1p-117 to +/-
56901         0x1p-117.
56903         [BZ #14869]
56904         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
56905         up arguments below 2**-450, not just those below 2**-500.
56906         * math/libm-test.inc (hypot_test): Add another test.
56908         [BZ #14868]
56909         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
56910         Return a+b for ratio over 2**120, not 2**60.
56911         * math/libm-test.inc (hypot_test): Add another test.
56913         * math/libm-test.inc (clog_test): Use
56914         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
56915         (clog10_test): Likewise.
56917         [BZ #6778]
56918         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
56920 2012-11-22  Andreas Schwab  <schwab@suse.de>
56922         * sysdeps/i386/fpu/libm-test-ulps: Update.
56924 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
56926         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
56927         printf output with newline.
56929 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
56931         [BZ #14865]
56932         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
56933         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
56934         -z nodlopen, -z initfirst and -z execstack support.
56935         * configure: Regenerated.
56937         * elf/elf.h (DF_1_NODIRECT): New macro.
56938         (DF_1_IGNMULDEF): Likewise.
56939         (DF_1_NOKSYMS): Likewise.
56940         (DF_1_NOHDR): Likewise.
56941         (DF_1_EDITED): Likewise.
56942         (DF_1_NORELOC): Likewise.
56943         (DF_1_SYMINTPOSE): Likewise.
56944         (DF_1_GLOBAUDIT): Likewise.
56945         (DF_1_SINGLETON): Likewise.
56946         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
56947         DT_1_SUPPORTED_MASK bits.
56948         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
56950 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
56952         * sysdeps/unix/make-syscalls.sh: Document prefixes.
56954 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
56956         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
56957         macro.
56959         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
56960         (sendmmsg): Move declarations...
56961         * socket/sys/socket.h: ... here.
56962         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
56963         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
56964         include it from...
56965         * socket/recvmmsg.c: ... this new file.
56966         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
56967         (sendmmsg): Rename to __sendmmsg, create weak alias and make
56968         definition of __sendmmsg hidden.
56969         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
56970         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
56971         Move ENOSYS stub into and include it from...
56972         * socket/sendmmsg.c: ... this new file.
56973         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
56974         (sysdep_routines): Move recvmmsg and sendmmsg...
56975         * socket/Makefile (routines): ... here.
56976         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
56977         (GLIBC_PRIVATE): Add __sendmmsg.
56978         * include/sys/socket.h (__sendmmsg): Add declarations.
56979         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
56980         sendmmsg.
56982 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
56984         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
56985         variable I1 with __attribute__ ((unused)).
56986         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
56988 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
56990         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
56991         DUMMY variables with __attribute__ ((unused)).
56993         * bits/byteswap.h: Include <bits/types.h>.
56994         (__bswap_64): Use __uint64_t instead of unsigned long long int.
56996 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
56998         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
56999         string_t.  Do not manually set errno.
57000         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
57001         length with __strnlen.  Make sure to both set errno and return it on
57002         failure.
57004 2012-11-19  David S. Miller  <davem@davemloft.net>
57006         With help from Joseph Myers.
57007         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
57008         very large arguments properly.
57009         * math/libm-test.inc (atan_test): New tests.
57010         (atan2_test): New tests.
57011         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57012         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57014 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57016         [BZ #14856]
57017         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
57018         Define to 3.
57020         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
57021         [POSIX] (EADDRNOTAVAIL): Likewise.
57022         [POSIX] (EAFNOSUPPORT): Likewise.
57023         [POSIX] (EALREADY): Likewise.
57024         [POSIX] (ECONNABORTED): Likewise.
57025         [POSIX] (ECONNREFUSED): Likewise.
57026         [POSIX] (ECONNRESET): Likewise.
57027         [POSIX] (EDESTADDRREQ): Likewise.
57028         [POSIX] (EDQUOT): Likewise.
57029         [POSIX] (EHOSTUNREACH): Likewise.
57030         [POSIX] (EIDRM): Likewise.
57031         [POSIX] (EISCONN): Likewise.
57032         [POSIX] (ELOOP): Likewise.
57033         [POSIX] (EMULTIHOP): Likewise.
57034         [POSIX] (ENETDOWN): Likewise.
57035         [POSIX] (ENETUNREACH): Likewise.
57036         [POSIX] (ENOBUFS): Likewise.
57037         [POSIX] (ENODATA): Likewise.
57038         [POSIX] (ENOLINK): Likewise.
57039         [POSIX] (ENOMSG): Likewise.
57040         [POSIX] (ENOPROTOOPT): Likewise.
57041         [POSIX] (ENOSR): Likewise.
57042         [POSIX] (ENOSTR): Likewise.
57043         [POSIX] (ENOTCONN): Likewise.
57044         [POSIX] (ENOTSOCK): Likewise.
57045         [POSIX] (EOPNOTSUPP): Likewise.
57046         [POSIX] (EOVERFLOW): Likewise.
57047         [POSIX] (EPROTO): Likewise.
57048         [POSIX] (EPROTONOSUPPORT): Likewise.
57049         [POSIX] (EPROTOTYPE): Likewise.
57050         [POSIX] (ESTALE): Likewise.
57051         [POSIX] (ETIME): Likewise.
57052         [POSIX] (ETXTBSY): Likewise.
57053         [POSIX] (EWOULDBLOCK): Likewise.
57054         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
57055         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
57056         [POSIX] (SEEK_CUR): Likewise.
57057         [POSIX] (SEEK_END): Likewise.
57058         [POSIX || UNIX98] (mode_t): Do not require.
57059         [POSIX] (off_t): Likewise.
57060         [POSIX] (pid_t): Likewise.
57061         [POSIX] (sys/stat.h): Do not allow header.
57062         [POSIX] (unistd.h): Likewise.
57063         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
57064         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
57065         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
57066         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
57067         require.
57068         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
57069         sigevent): Specify elements.
57070         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
57071         entry.
57072         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
57073         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
57075         * conform/data/cpio.h-data [POSIX]: Disable whole file.
57076         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
57077         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
57078         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
57079         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
57080         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
57081         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
57082         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
57083         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
57084         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
57085         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
57086         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
57087         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
57088         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
57089         Likewise.
57090         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
57091         Likewise.
57092         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
57093         Likewise.
57094         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
57095         Likewise.
57096         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
57097         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
57098         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
57099         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
57100         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
57101         Specify lower bound on value.
57102         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
57103         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
57104         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
57105         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
57106         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
57107         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
57108         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
57109         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
57110         value.
57111         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
57112         as optional.
57113         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
57114         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
57115         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
57116         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
57117         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
57118         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
57119         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
57120         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
57121         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
57122         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
57123         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
57124         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
57125         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
57126         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
57127         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
57128         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
57129         entry.
57130         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
57131         optional.
57132         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
57133         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
57134         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
57135         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
57136         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
57137         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
57138         Likewise.
57139         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
57140         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
57141         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
57142         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
57143         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
57144         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
57145         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
57146         as optional.
57147         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
57148         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
57149         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
57150         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
57151         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
57152         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
57153         specify as optional.
57154         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
57155         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
57156         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
57157         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
57158         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
57159         [XPG3] (NL_LANGMAX): Likewise.
57160         [POSIX || XPG3] (NL_MSGMAX): Likewise.
57161         [POSIX || XPG3] (NL_NMAX): Likewise.
57162         [POSIX || XPG3] (NL_SETMAX): Likewise.
57163         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
57164         [XPG3] (NZERO): Likewise.
57165         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
57166         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
57167         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
57168         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
57169         (REG_ERANGE): Expect.
57170         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
57171         optional-constant.
57172         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
57173         Use (void) in prototype.
57174         [POSIX] (*_t): Allow.
57175         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
57176         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
57177         (WRDE_BADVAL): Expect.
57179         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
57180         expect.
57181         [XPG3 || XPG4] (O_RSYNC): Likewise.
57182         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
57183         Likewise.
57184         [XPG3 || XPG4] (pthread_sigmask): Likewise.
57185         [XPG3 || XPG4] (sigqueue): Likewise.
57186         [XPG3 || XPG4] (sigtimedwait): Likewise.
57187         [XPG3 || XPG4] (sigwaitinfo): Likewise.
57188         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
57189         [XPG3 || XPG4] (vsnprintf): Likewise.
57190         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
57191         Likewise.
57192         [XPG3 || XPG4] (blksize_t): Likewise.
57193         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
57194         Likewise.
57195         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
57196         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
57197         [XPG3 || XPG4] (struct itimerspec): Likewise.
57198         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
57199         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
57200         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
57201         [XPG3 || XPG4] (clockid_t): Likewise.
57202         [XPG3 || XPG4] (timer_t): Likewise.
57203         [XPG3 || XPG4] (clock_getres): Likewise.
57204         [XPG3 || XPG4] (clock_gettime): Likewise.
57205         [XPG3 || XPG4] (clock_settime): Likewise.
57206         [XPG3 || XPG4] (nanosleep): Likewise.
57207         [XPG3 || XPG4] (timer_create): Likewise.
57208         [XPG3 || XPG4] (timer_delete): Likewise.
57209         [XPG3 || XPG4] (timer_gettime): Likewise.
57210         [XPG3 || XPG4] (timer_getoverrun): Likewise.
57211         [XPG3 || XPG4] (timer_settime): Likewise.
57212         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
57213         [XPG3 || XPG4] (getlogin_r): Likewise.
57214         [XPG3 || XPG4] (pread): Likewise.
57215         [XPG3 || XPG4] (pthread_atfork): Likewise.
57216         [XPG3 || XPG4] (pwrite): Likewise.
57218         [BZ #14835]
57219         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
57220         <bits/siginfo.h>.
57222 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57224         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
57225         finalizing MALLSTREAM.
57227         * sysdeps/mach/hurd/syncfs.c: New file.
57229 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57231         [BZ #14719]
57232         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
57233         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
57234         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
57235         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
57236         (_nss_dns_gethostbyname4_r): Likewise.
57237         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
57238         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
57240 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
57242         [BZ #13763]
57243         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
57245 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
57247         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
57248         * elf/cache.c (print_entry): Print ",AArch64" for
57249         FLAG_AARCH64_LIB64
57251         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
57252         * elf/cache.c (print_entry): Print ",hard-float" for
57253         FLAG_ARM_LIBHF.
57255 2012-11-18  David S. Miller  <davem@davemloft.net>
57257         With help from Joseph Myers.
57258         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
57259         cutoff to 2**-13.
57260         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
57261         cutoff to 2**-25.
57262         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
57263         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
57264         small.
57265         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
57266         * math/libm-test.inc (y0_test): New tests.
57267         (y1_test): New tests.
57268         * sysdeps/i386/fpu/libm-test-ulps: Update.
57269         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57270         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57272 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
57274         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
57275         64-bit targets.
57276         * configure: Regenerated.
57278 2012-11-17  David S. Miller  <davem@davemloft.net>
57280         [BZ #14811]
57281         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
57282         nonzero exponents with absolute value below 0x1p-128 to +/-
57283         0x1p-128.
57285 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
57287         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
57289         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
57291         * posix/getconf-speclist.c: New file.
57292         * posix/posix-envs.def: Likewise.
57293         * posix/confstr.c (START_ENV_GROUP): New macro.
57294         (END_ENV_GROUP): Likewise.
57295         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57296         (KNOWN_PRESENT_ENV_STRING): Likewise.
57297         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57298         (UNKNOWN_ENVIRONMENT): Likewise.
57299         (confstr): Include posix-envs.def instead of handling
57300         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
57301         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
57302         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
57303         (END_ENV_GROUP): Likewise.
57304         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57305         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57306         (UNKNOWN_ENVIRONMENT): Likewise.
57307         (__sysconf): Include posix-envs.def instead of handling associated
57308         cases directly here.
57309         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
57310         preprocessing getconf-speclist.c rather than running getconf or
57311         generating empty file.
57313 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
57315         * scripts/check-local-headers.sh: Ignore 'mach' headers.
57317 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
57319         [BZ #14672]
57320         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
57322 2012-11-16  David S. Miller  <davem@davemloft.net>
57324         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
57325         smaller than LDBL_EPSILON/2.0L, just return xm1.
57327 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
57329         * elf/tst-array1.c (init): Set constructor priority to 1000.
57330         (fini): Set destructor priority to 1000.
57331         * elf/tst-array2dep.c: Likewise.
57333 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57335         [BZ #11741]
57336         * libio/fileops.c (_IO_new_file_write): Correctly return error.
57337         (_IO_new_file_xsputn): Also return EOF if none of the input
57338         data was written when overflow failed.
57339         * libio/iopadn.c (_IO_padn): Likewise.
57340         * libio/iowpadn.c (_IO_wpadn): Likewise.
57341         * stdio-common/tst-put-error.c: Add copyright notice.
57342         (do_test): Add case for printing padded string.
57343         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
57344         _IO_padn returned error.
57345         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
57346         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
57347         return EOF.
57349 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57351         * libio/libioP.h: Add comment note that the references to C++
57352         bits are now obsolete.
57354 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57356         * math/libm-test.inc (check_complex): Use asprintf.
57358 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
57360         * debug/pcprofiledump.c (print_version): Update copyright year.
57361         * malloc/memusagestat.c (print_version): Likewise.
57363 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
57365         [BZ #14831]
57366         * elf/Makefile (tests): Add tst-audit8.
57367         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
57368         ($(objpfx)tst-audit8.out): New target.
57369         (tst-audit8-ENV): New variable.
57370         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
57371         audit if l_reloc_result is NULL.
57372         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
57373         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
57374         * elf/tst-audit8.c: New file.
57376 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57378         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
57379         * misc/Makefile (CFLAGS-select.c): Define.
57380         * posix/Makefile (CFLAGS-pause.c): Define.
57382 2012-11-13  David S. Miller  <davem@davemloft.net>
57384         * crypt/Makefile: Move test targets after toplevel Rules
57385         inclusion.  Grab any necessary sysdep routines when linking.
57386         * crypt/md5.c (md5_process_block): Remove define, we will always
57387         name it __md5_process_block.
57388         (md5_finish_ctx): Update md5_process_block call.
57389         (md5_stream): Likewise.
57390         (md5_process_bytes): Likewise.
57391         (md5_process_block): Rename to __md5_process_block and move to ...
57392         * crypt/md5-block.c: ... here.
57393         * crypt/sha256.c (sha256_process_block): Move to ...
57394         * crypt/sha256-block.c: ... here.
57395         * crypt/sha512.c (sha512_process_block): Move to ...
57396         * crypt/sha512-block.c: ... here.
57397         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
57398         path.
57399         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
57400         * sysdeps/sparc/sparc64/multiarch/Makefile
57401         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
57402         crypt subdir.
57403         (localedef-aux): Add md5 crypto assembler when in locale subdir.
57404         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
57405         multiarch changes.
57406         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
57407         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
57408         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
57409         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
57410         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
57411         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
57412         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
57413         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
57414         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
57415         file.
57416         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
57417         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
57418         file.
57419         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
57421 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
57423         * timezone/tzselect.ksh: Update from tzcode git revision
57424         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
57425         * timezone/zdump.c: Likewise.
57426         * timezone/zic.c: Likewise.
57427         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
57428         in TZVERSION setting, not $(PKGVERSION).
57429         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
57430         REPORT_BUGS_TO settings.
57432         [BZ #14838]
57433         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
57434         macro.
57436 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57438         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
57439         detection to immediately after _FP_ROUND().
57440         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
57441         bits are 0.
57443 2012-11-11  David S. Miller  <davem@davemloft.net>
57445         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
57446         inttypes.h
57447         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
57448         __close rather than their public counterparts.
57450 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
57452         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
57453         file.
57454         [UNIX98] (sem_timedwait): Do not expect.
57455         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
57456         [XPG4 || UNIX98] (sockatmark): Do not expect.
57457         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
57458         (clock_getcpuclockid): Do not expect.
57459         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
57460         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
57461         Do not expect.
57462         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
57463         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
57464         [UNIX98] (vwscanf): Likewise.
57465         [UNIX98] (vswscanf): Likewise.
57467 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
57469         * timezone/version.h: Remove file.
57470         * timezone/README: Do not refer to version.h.
57471         * timezone/Makefile ($(objpfx)zic.o): New dependency on
57472         $(objpfx)version.h.
57473         ($(objpfx)zdump.o): Likewise.
57474         ($(objpfx)version.h): New target.
57476         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
57477         2012i.
57478         * timezone/README: Don't mention modification to tzselect.ksh.
57479         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
57480         work on unmodified tzselect.ksh.  Substitute version numbers in
57481         tzselect.ksh.
57483         * Makefile (format-me): Remove.
57484         (INSTALL): Adjust indentation.  Use commands directly instead of
57485         using $(format-me).
57487         * aclocal.m4 (ACX_PKGVERSION): New macro.
57488         (ACX_BUGURL): Likewise.
57489         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
57490         (PKGVERSION): New AC_DEFINE_UNQUOTED.
57491         (REPORT_BUGS_TO): Likewise.
57492         * configure: Regenerated.
57493         * config.h.in (PKGVERSION): New macro.
57494         (REPORT_BUGS_TO): Likewise.
57495         * config.make.in (PKGVERSION): New variable.
57496         (PKGVERSION_TEXI): Likewise.
57497         (REPORT_BUGS_TO): Likewise.
57498         (REPORT_BUGS_TEXI): Likewise.
57499         * Makefile (format-me): Use -I$(common-objpfx)manual.
57500         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
57501         ($(common-objpfx)manual/%): New target.
57502         (manual/%): Remove target.
57503         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
57504         (print_version): Use PKGVERSION.
57505         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
57506         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
57507         and REPORT_BUGS_TO.
57508         ($(objpfx)xtrace): Likewise.
57509         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
57510         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
57511         (print_version): Use PKGVERSION.
57512         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
57513         (do_version): Use PKGVERSION.
57514         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
57515         REPORT_BUGS_TO.
57516         (common-ldd-rewrite): Likewise.
57517         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
57518         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
57519         (print_version): Use PKGVERSION.
57520         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
57521         * elf/pldd.c (argp_program_bug_address): Remove variable.
57522         (more_help): New function.
57523         (argp): Use more_help.
57524         (print_version): Use PKGVERSION.
57525         * elf/sln.c (main): Use PKGVERSION.
57526         (usage): Use REPORT_BUGS_TO.
57527         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
57528         (top level): Use PKGVERSION.
57529         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
57530         (print_version): Use PKGVERSION.
57531         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
57532         (print_version): Use PKGVERSION.
57533         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
57534         (print_version): Use PKGVERSION.
57535         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
57536         (print_version): Use PKGVERSION.
57537         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
57538         (print_version): Use PKGVERSION.
57539         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
57540         (print_version): Use PKGVERSION.
57541         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
57542         and BUGURL.
57543         ($(objpfx)memusage): Likewise.
57544         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
57545         (do_version): Use PKGVERSION.
57546         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
57547         (print_version): Use PKGVERSION.
57548         * malloc/mtrace.pl ($PACKAGE): Remove variable.
57549         ($PKGVERSION): New variable.
57550         ($REPORT_BUGS_TO): Likewise.
57551         (usage): Use $REPORT_BUGS_TO.
57552         (top level): Use $PKGVERSION.
57553         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
57554         ($(objpfx)pkgvers.texi): New rule.
57555         ($(objpfx)stamp-pkgvers): Likewise.
57556         * manual/install.texi: Include pkgvers.texi.
57557         (--with-pkgversion): Document new configure option.
57558         (--with-bugurl): Likewise.
57559         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
57560         than necessarily for this particular distribution.  Use
57561         REPORT_BUGS_TO for where to report bugs.
57562         * INSTALL: Regenerated.
57563         * manual/libc.texinfo: Include pkgvers.texi.
57564         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
57565         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
57566         (print_version): Use PKGVERSION.
57567         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
57568         (print_version): Use PKGVERSION.
57569         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
57570         (print_version): Use PKGVERSION.
57571         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
57572         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
57573         macro.
57574         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
57575         (print_version): Use PKGVERSION.
57576         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
57577         (print_version): Use PKGVERSION.
57578         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
57579         and PKGVERSION.
57581         * timezone/checktab.awk: Update from tzcode 2012i.
57582         * timezone/ialloc.c: Likewise.
57583         * timezone/private.h: Likewise.
57584         * timezone/scheck.c: Likewise.
57585         * timezone/tzfile.h: Likewise.
57586         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
57587         (TZVERSION): Hardcode tzcode version number.
57588         * timezone/zdump.c: Update from tzcode 2012i.
57589         * timezone/zic.c: Likewise.
57590         * timezone/version.h: New file.
57591         * timezone/README: Describe version.h.  Update upstream location.
57593         [BZ #14824]
57594         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
57595         (mktemp): Enable declaration.
57596         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
57597         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
57598         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
57599         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
57600         Likewise.
57601         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
57602         Likewise.
57603         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
57604         Likewise.
57605         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
57606         Likewise.
57607         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
57608         Likewise.
57609         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
57610         Likewise.
57612         [BZ #14821]
57613         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
57614         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
57615         for copies of such integer values.
57616         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57617         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57619 2012-11-09  Andreas Jaeger  <aj@suse.de>
57621         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
57622         definitions and declarations that are provided by
57623         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
57625 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57627         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
57628         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
57629         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
57630         definition.
57632 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57634         * elf/elf.h: Update comment before AArch64 relocations.
57636 2012-11-07  David S. Miller  <davem@davemloft.net>
57638         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
57639         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
57640         (__start_context): Declare.
57641         (__makecontext_ret): Delete.
57642         (__makecontext): Hook up __start_context instead of
57643         __makecontext_ret.
57644         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
57645         (sysdep_routines): Add __start_context when in stdlib.
57647 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57649         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
57650         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
57651         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
57652         hardcoded "nm".
57653         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
57654         (READELF): New variable.  Use it instead of hardcoded "readelf".
57656 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
57658         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
57659         * sysdeps/x86/Makefile: Here.
57660         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
57661         * sysdeps/x86/tst-xmmymm.sh: This.
57663 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57665         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
57666         expectations.
57667         [UNIX98] (pthread_barrier_t): Do not expect.
57668         [UNIX98] (pthread_barrierattr_t): Likewise.
57669         [UNIX98] (pthread_spinlock_t): Likewise.
57670         [UNIX98] (pthread_barrier_destroy): Likewise.
57671         [UNIX98] (pthread_barrier_init): Likewise.
57672         [UNIX98] (pthread_barrier_wait): Likewise.
57673         [UNIX98] (pthread_barrierattr_destroy): Likewise.
57674         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
57675         [UNIX98] (pthread_barrierattr_init): Likewise.
57676         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
57677         [UNIX98] (pthread_getcpuclockid): Likewise.
57678         [UNIX98] (pthread_mutex_timedlock): Likewise.
57679         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
57680         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
57681         [UNIX98] (pthread_sigmask): Likewise.
57682         [UNIX98] (pthread_spin_destroy): Likewise.
57683         [UNIX98] (pthread_spin_init): Likewise.
57684         [UNIX98] (pthread_spin_lock): Likewise.
57685         [UNIX98] (pthread_spin_trylock): Likewise.
57686         [UNIX98] (pthread_spin_unlock): Likewise.
57687         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
57688         Do not expect.
57689         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
57690         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
57691         [XPG3 || XPG4] (pthread_cond_t): Likewise.
57692         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
57693         [XPG3 || XPG4] (pthread_key_t): Likewise.
57694         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
57695         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
57696         [XPG3 || XPG4] (pthread_once_t): Likewise.
57697         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
57698         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
57699         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
57700         [XPG3 || XPG4] (pthread_t): Likewise.
57702         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
57703         not expect.
57704         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
57706         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
57707         Change function return type to int.
57709         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
57710         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
57711         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
57712         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
57713         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
57714         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
57715         [!POSIX] (posix_madvise): Likewise.
57716         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
57717         && !UNIX98].
57718         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
57719         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
57720         (mode_t): Likewise.
57721         (posix_mem_offset): Likewise.
57722         (posix_typed_mem_get_info): Likewise.
57723         (posix_typed_mem_open): Likewise.
57725         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
57726         Change condition to [XOPEN2K8].
57728         * conform/conformtest.pl: Preprocess allow-header data with -x c
57729         instead of from stdin.
57730         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
57731         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
57732         [C99-based standards] (cerfc): Likewise.
57733         [C99-based standards] (cexp2): Likewise.
57734         [C99-based standards] (cexpm1): Likewise.
57735         [C99-based standards] (clog10): Likewise.
57736         [C99-based standards] (clog1p): Likewise.
57737         [C99-based standards] (clog2): Likewise.
57738         [C99-based standards] (clgamma): Likewise.
57739         [C99-based standards] (ctgamma): Likewise.
57740         [C99-based standards] (cerff): Likewise.
57741         [C99-based standards] (cerfcf): Likewise.
57742         [C99-based standards] (cexp2f): Likewise.
57743         [C99-based standards] (cexpm1f): Likewise.
57744         [C99-based standards] (clog10f): Likewise.
57745         [C99-based standards] (clog1pf): Likewise.
57746         [C99-based standards] (clog2f): Likewise.
57747         [C99-based standards] (clgammaf): Likewise.
57748         [C99-based standards] (ctgammaf): Likewise.
57749         [C99-based standards] (cerfl): Likewise.
57750         [C99-based standards] (cerfcl): Likewise.
57751         [C99-based standards] (cexp2l): Likewise.
57752         [C99-based standards] (cexpm1l): Likewise.
57753         [C99-based standards] (clog10l): Likewise.
57754         [C99-based standards] (clog1pl): Likewise.
57755         [C99-based standards] (clog2l): Likewise.
57756         [C99-based standards] (clgammal): Likewise.
57757         [C99-based standards] (ctgammal): Likewise.
57758         * conform/data/inttypes.h-data [C99-based standards]: Include
57759         stdint.h-data.  Remove all expectations for stdint.h contents.
57760         [C99-based standards] (PRI*): Do not allow.
57761         [C99-based standards] (SCN*): Likewise.
57762         [C99-based standards] (*_t): Likewise.
57763         [C99-based-standards] (PRId8): Expect macro.
57764         [C99-based-standards] (PRIi8): Likewise.
57765         [C99-based-standards] (PRIo8): Likewise.
57766         [C99-based-standards] (PRIu8): Likewise.
57767         [C99-based-standards] (PRIx8): Likewise.
57768         [C99-based-standards] (PRIX8): Likewise.
57769         [C99-based-standards] (SCNd8): Likewise.
57770         [C99-based-standards] (SCNi8): Likewise.
57771         [C99-based-standards] (SCNo8): Likewise.
57772         [C99-based-standards] (SCNu8): Likewise.
57773         [C99-based-standards] (SCNx8): Likewise.
57774         [C99-based-standards] (PRIdLEAST8): Likewise.
57775         [C99-based-standards] (PRIiLEAST8): Likewise.
57776         [C99-based-standards] (PRIoLEAST8): Likewise.
57777         [C99-based-standards] (PRIuLEAST8): Likewise.
57778         [C99-based-standards] (PRIxLEAST8): Likewise.
57779         [C99-based-standards] (PRIXLEAST8): Likewise.
57780         [C99-based-standards] (SCNdLEAST8): Likewise.
57781         [C99-based-standards] (SCNiLEAST8): Likewise.
57782         [C99-based-standards] (SCNoLEAST8): Likewise.
57783         [C99-based-standards] (SCNuLEAST8): Likewise.
57784         [C99-based-standards] (SCNxLEAST8): Likewise.
57785         [C99-based-standards] (PRIdFAST8): Likewise.
57786         [C99-based-standards] (PRIiFAST8): Likewise.
57787         [C99-based-standards] (PRIoFAST8): Likewise.
57788         [C99-based-standards] (PRIuFAST8): Likewise.
57789         [C99-based-standards] (PRIxFAST8): Likewise.
57790         [C99-based-standards] (PRIXFAST8): Likewise.
57791         [C99-based-standards] (SCNdFAST8): Likewise.
57792         [C99-based-standards] (SCNiFAST8): Likewise.
57793         [C99-based-standards] (SCNoFAST8): Likewise.
57794         [C99-based-standards] (SCNuFAST8): Likewise.
57795         [C99-based-standards] (SCNxFAST8): Likewise.
57796         [C99-based-standards] (PRId16): Likewise.
57797         [C99-based-standards] (PRIi16): Likewise.
57798         [C99-based-standards] (PRIo16): Likewise.
57799         [C99-based-standards] (PRIu16): Likewise.
57800         [C99-based-standards] (PRIx16): Likewise.
57801         [C99-based-standards] (PRIX16): Likewise.
57802         [C99-based-standards] (SCNd16): Likewise.
57803         [C99-based-standards] (SCNi16): Likewise.
57804         [C99-based-standards] (SCNo16): Likewise.
57805         [C99-based-standards] (SCNu16): Likewise.
57806         [C99-based-standards] (SCNx16): Likewise.
57807         [C99-based-standards] (PRIdLEAST16): Likewise.
57808         [C99-based-standards] (PRIiLEAST16): Likewise.
57809         [C99-based-standards] (PRIoLEAST16): Likewise.
57810         [C99-based-standards] (PRIuLEAST16): Likewise.
57811         [C99-based-standards] (PRIxLEAST16): Likewise.
57812         [C99-based-standards] (PRIXLEAST16): Likewise.
57813         [C99-based-standards] (SCNdLEAST16): Likewise.
57814         [C99-based-standards] (SCNiLEAST16): Likewise.
57815         [C99-based-standards] (SCNoLEAST16): Likewise.
57816         [C99-based-standards] (SCNuLEAST16): Likewise.
57817         [C99-based-standards] (SCNxLEAST16): Likewise.
57818         [C99-based-standards] (PRIdFAST16): Likewise.
57819         [C99-based-standards] (PRIiFAST16): Likewise.
57820         [C99-based-standards] (PRIoFAST16): Likewise.
57821         [C99-based-standards] (PRIuFAST16): Likewise.
57822         [C99-based-standards] (PRIxFAST16): Likewise.
57823         [C99-based-standards] (PRIXFAST16): Likewise.
57824         [C99-based-standards] (SCNdFAST16): Likewise.
57825         [C99-based-standards] (SCNiFAST16): Likewise.
57826         [C99-based-standards] (SCNoFAST16): Likewise.
57827         [C99-based-standards] (SCNuFAST16): Likewise.
57828         [C99-based-standards] (SCNxFAST16): Likewise.
57829         [C99-based-standards] (PRId32): Likewise.
57830         [C99-based-standards] (PRIi32): Likewise.
57831         [C99-based-standards] (PRIo32): Likewise.
57832         [C99-based-standards] (PRIu32): Likewise.
57833         [C99-based-standards] (PRIx32): Likewise.
57834         [C99-based-standards] (PRIX32): Likewise.
57835         [C99-based-standards] (SCNd32): Likewise.
57836         [C99-based-standards] (SCNi32): Likewise.
57837         [C99-based-standards] (SCNo32): Likewise.
57838         [C99-based-standards] (SCNu32): Likewise.
57839         [C99-based-standards] (SCNx32): Likewise.
57840         [C99-based-standards] (PRIdLEAST32): Likewise.
57841         [C99-based-standards] (PRIiLEAST32): Likewise.
57842         [C99-based-standards] (PRIoLEAST32): Likewise.
57843         [C99-based-standards] (PRIuLEAST32): Likewise.
57844         [C99-based-standards] (PRIxLEAST32): Likewise.
57845         [C99-based-standards] (PRIXLEAST32): Likewise.
57846         [C99-based-standards] (SCNdLEAST32): Likewise.
57847         [C99-based-standards] (SCNiLEAST32): Likewise.
57848         [C99-based-standards] (SCNoLEAST32): Likewise.
57849         [C99-based-standards] (SCNuLEAST32): Likewise.
57850         [C99-based-standards] (SCNxLEAST32): Likewise.
57851         [C99-based-standards] (PRIdFAST32): Likewise.
57852         [C99-based-standards] (PRIiFAST32): Likewise.
57853         [C99-based-standards] (PRIoFAST32): Likewise.
57854         [C99-based-standards] (PRIuFAST32): Likewise.
57855         [C99-based-standards] (PRIxFAST32): Likewise.
57856         [C99-based-standards] (PRIXFAST32): Likewise.
57857         [C99-based-standards] (SCNdFAST32): Likewise.
57858         [C99-based-standards] (SCNiFAST32): Likewise.
57859         [C99-based-standards] (SCNoFAST32): Likewise.
57860         [C99-based-standards] (SCNuFAST32): Likewise.
57861         [C99-based-standards] (SCNxFAST32): Likewise.
57862         [C99-based-standards] (PRId64): Likewise.
57863         [C99-based-standards] (PRIi64): Likewise.
57864         [C99-based-standards] (PRIo64): Likewise.
57865         [C99-based-standards] (PRIu64): Likewise.
57866         [C99-based-standards] (PRIx64): Likewise.
57867         [C99-based-standards] (PRIX64): Likewise.
57868         [C99-based-standards] (SCNd64): Likewise.
57869         [C99-based-standards] (SCNi64): Likewise.
57870         [C99-based-standards] (SCNo64): Likewise.
57871         [C99-based-standards] (SCNu64): Likewise.
57872         [C99-based-standards] (SCNx64): Likewise.
57873         [C99-based-standards] (PRIdLEAST64): Likewise.
57874         [C99-based-standards] (PRIiLEAST64): Likewise.
57875         [C99-based-standards] (PRIoLEAST64): Likewise.
57876         [C99-based-standards] (PRIuLEAST64): Likewise.
57877         [C99-based-standards] (PRIxLEAST64): Likewise.
57878         [C99-based-standards] (PRIXLEAST64): Likewise.
57879         [C99-based-standards] (SCNdLEAST64): Likewise.
57880         [C99-based-standards] (SCNiLEAST64): Likewise.
57881         [C99-based-standards] (SCNoLEAST64): Likewise.
57882         [C99-based-standards] (SCNuLEAST64): Likewise.
57883         [C99-based-standards] (SCNxLEAST64): Likewise.
57884         [C99-based-standards] (PRIdFAST64): Likewise.
57885         [C99-based-standards] (PRIiFAST64): Likewise.
57886         [C99-based-standards] (PRIoFAST64): Likewise.
57887         [C99-based-standards] (PRIuFAST64): Likewise.
57888         [C99-based-standards] (PRIxFAST64): Likewise.
57889         [C99-based-standards] (PRIXFAST64): Likewise.
57890         [C99-based-standards] (SCNdFAST64): Likewise.
57891         [C99-based-standards] (SCNiFAST64): Likewise.
57892         [C99-based-standards] (SCNoFAST64): Likewise.
57893         [C99-based-standards] (SCNuFAST64): Likewise.
57894         [C99-based-standards] (SCNxFAST64): Likewise.
57895         [C99-based-standards] (PRIdMAX): Likewise.
57896         [C99-based-standards] (PRIiMAX): Likewise.
57897         [C99-based-standards] (PRIoMAX): Likewise.
57898         [C99-based-standards] (PRIuMAX): Likewise.
57899         [C99-based-standards] (PRIxMAX): Likewise.
57900         [C99-based-standards] (PRIXMAX): Likewise.
57901         [C99-based-standards] (SCNdMAX): Likewise.
57902         [C99-based-standards] (SCNiMAX): Likewise.
57903         [C99-based-standards] (SCNoMAX): Likewise.
57904         [C99-based-standards] (SCNuMAX): Likewise.
57905         [C99-based-standards] (SCNxMAX): Likewise.
57906         [C99-based-standards] (PRIdPTR): Likewise.
57907         [C99-based-standards] (PRIiPTR): Likewise.
57908         [C99-based-standards] (PRIoPTR): Likewise.
57909         [C99-based-standards] (PRIuPTR): Likewise.
57910         [C99-based-standards] (PRIxPTR): Likewise.
57911         [C99-based-standards] (PRIXPTR): Likewise.
57912         [C99-based-standards] (SCNdPTR): Likewise.
57913         [C99-based-standards] (SCNiPTR): Likewise.
57914         [C99-based-standards] (SCNoPTR): Likewise.
57915         [C99-based-standards] (SCNuPTR): Likewise.
57916         [C99-based-standards] (SCNxPTR): Likewise.
57917         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
57918         allow.
57919         * conform/data/stdint.h-data: Update comments to clarify
57920         requirements.
57921         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
57922         type.
57923         [C99-based standards] (INT8_MAX): Likewise.
57924         [C99-based standards] (INT16_MIN): Likewise.
57925         [C99-based standards] (INT16_MAX): Likewise.
57926         [C99-based standards] (INT32_MIN): Likewise.
57927         [C99-based standards] (INT32_MAX): Likewise.
57928         [C99-based standards] (INT64_MIN): Likewise.
57929         [C99-based standards] (INT64_MAX): Likewise.
57930         [C99-based standards] (UINT8_MAX): Likewise.
57931         [C99-based standards] (UINT16_MAX): Likewise.
57932         [C99-based standards] (UINT32_MAX): Likewise.
57933         [C99-based standards] (UINT64_MAX): Likewise.
57934         [C99-based standards] (INT_LEAST8_MIN): Likewise.
57935         [C99-based standards] (INT_LEAST8_MAX): Likewise.
57936         [C99-based standards] (INT_LEAST16_MIN): Likewise.
57937         [C99-based standards] (INT_LEAST16_MAX): Likewise.
57938         [C99-based standards] (INT_LEAST32_MIN): Likewise.
57939         [C99-based standards] (INT_LEAST32_MAX): Likewise.
57940         [C99-based standards] (INT_LEAST64_MIN): Likewise.
57941         [C99-based standards] (INT_LEAST64_MAX): Likewise.
57942         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
57943         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
57944         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
57945         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
57946         [C99-based standards] (INT_FAST8_MIN): Likewise.
57947         [C99-based standards] (INT_FAST8_MAX): Likewise.
57948         [C99-based standards] (INT_FAST16_MIN): Likewise.
57949         [C99-based standards] (INT_FAST16_MAX): Likewise.
57950         [C99-based standards] (INT_FAST32_MIN): Likewise.
57951         [C99-based standards] (INT_FAST32_MAX): Likewise.
57952         [C99-based standards] (INT_FAST64_MIN): Likewise.
57953         [C99-based standards] (INT_FAST64_MAX): Likewise.
57954         [C99-based standards] (UINT_FAST8_MAX): Likewise.
57955         [C99-based standards] (UINT_FAST16_MAX): Likewise.
57956         [C99-based standards] (UINT_FAST32_MAX): Likewise.
57957         [C99-based standards] (UINT_FAST64_MAX): Likewise.
57958         [C99-based standards] (INTPTR_MIN): Likewise.
57959         [C99-based standards] (INTPTR_MAX): Likewise.
57960         [C99-based standards] (UINTPTR_MAX): Likewise.
57961         [C99-based standards] (INTMAX_MIN): Likewise.
57962         [C99-based standards] (INTMAX_MAX): Likewise.
57963         [C99-based standards] (UINTMAX_MAX): Likewise.
57964         [C99-based standards] (PTRDIFF_MIN): Likewise.
57965         [C99-based standards] (PTRDIFF_MAX): Likewise.
57966         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
57967         [C99-based standards] (SIZE_MAX): Likewise.
57968         [C99-based standards] (WCHAR_MAX): Likewise.
57969         [C99-based standards] (WINT_MAX): Likewise.
57970         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
57971         constraint on value.
57972         [C99-based standards] (WCHAR_MIN): Likewise.
57973         [C99-based standards] (WINT_MIN): Likewise.
57974         [C99-based standards] (*_t): Allow.
57975         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
57976         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
57977         Include math.h-data and complex.h-data.  Remove all expectations
57978         of math.h and complex.h contents.
57979         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
57980         at end of line.
57981         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
57982         (struct tm): Expect tag.
57983         [C99-based-standards] (wcstof): Expect function.
57984         [C99-based-standards] (wcstold): Likewise.
57985         [C99-based-standards] (wcstoll): Likewise.
57986         [C99-based-standards] (wcstoull): Likewise.
57987         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
57988         macro-int-constant.  Specify type.
57989         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
57990         constraint on value.
57991         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
57992         Specify type.
57993         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
57994         Specify value.
57995         [ISO C standards]: Do not allow headers.
57996         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
57997         wcs[abcdefghijklmnopqrstuvwxyz]*.
57998         [ISO C standards] (*_t): Do not allow.
57999         * conform/data/wctype.h-data [C99-based standards] (iswblank):
58000         Expect function.
58001         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
58002         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58003         Specify type.
58004         [ISO C standards]: Do not allow headers.
58005         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
58006         is[abcdefghijklmnopqrstuvwxyz]*.
58007         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
58008         to[abcdefghijklmnopqrstuvwxyz]*.
58009         [ISO C standards] (*_t): Do not allow.
58010         * conform/data/stdalign.h-data: New file.
58011         * conform/data/stdbool.h-data: Likewise.
58012         * conform/data/stdnoreturn.h-data: Likewise.
58014 2012-11-07  Roland McGrath  <roland@hack.frob.com>
58016         [BZ #14815]
58017         * manual/filesys.texi (Directory Entries): Typo fix.
58018         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
58020 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58022         * elf/elf.h (EM_AARCH64): New macro.
58023         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
58024         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
58025         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
58026         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
58027         (R_AARCH64_TLSDESC): Likewise.
58028         (NT_ARM_TLS): Likewise.
58029         (NT_ARM_HW_BREAK): Likewise.
58030         (NT_ARM_HW_WATCH): Likewise.
58032 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58034         [BZ #14811]
58035         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
58036         (__ieee754_powl): Saturate nonzero exponents with absolute value
58037         below 0x1p-79 to +/- 0x1p-79.
58038         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
58039         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
58040         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
58041         nonzero exponents with absolute value below 0x1p-32 to +/-
58042         0x1p-32.
58043         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
58044         (__ieee754_powl): Saturate nonzero exponents with absolute value
58045         below 0x1p-79 to +/- 0x1p-79.
58046         * math/libm-test.inc (pow_test): Add more tests.
58048 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58050         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
58051         _dl_s390_cap_flags with kernel. Increase string length.
58052         (_dl_s390_platforms): Add z196 and zEC12.
58054 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58056         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
58057         Change XOPEN21K to XOPEN2K.
58059 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
58061         * string/memmove.c: Use memcpy when possible.
58063 2012-11-06  Andreas Jaeger  <aj@suse.de>
58065         * po/eo.po: Update from translation team.
58067 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
58069         [BZ #14793]
58070         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
58071         exponent and small x and y exponents, scale x or y up.  Increase
58072         by 2 the exponent used in scaling up.
58073         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58074         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58075         * math/libm-test.inc (fma_test): Add more tests.
58076         (fma_test_towardzero): Likewise.
58077         (fma_test_downward): Likewise.
58078         (fma_test_upward): Likewise.
58080 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
58082         [BZ #14805]
58083         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
58084         fenv_t *.
58086         [BZ #14801]
58087         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
58088         namespace for names of struct fields.
58089         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
58090         fenv_t fields.
58091         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
58092         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
58094 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58096         [BZ #3665]
58097         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
58099 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
58101         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
58102         PTR_DEMANGLE.
58104         [BZ #5246]
58105         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
58106         PTR_DEMANGLE.
58108 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
58110         [BZ #14797]
58111         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
58112         definitely overflow as x * y not x * y + z.
58113         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58114         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58115         * math/libm-test.inc (fma_test): Add more tests.
58116         (fma_test_towardzero): Likewise.
58117         (fma_test_downward): Likewise.
58118         (fma_test_upward): Likewise.
58120 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
58122         [BZ #157]
58124         * include/stub-tag.h: Remove file.
58125         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
58126         '#include' of it.
58127         * manual/maint.texi (Porting): Don't reference it.
58128         * Makerules ($(objpfx)stubs): Likewise.
58129         * dirent/closedir.c: Don't include <stub-tag.h>.
58130         * dirent/dirfd.c: Likewise.
58131         * dirent/fdopendir.c: Likewise.
58132         * dirent/getdents.c: Likewise.
58133         * dirent/getdents64.c: Likewise.
58134         * dirent/opendir.c: Likewise.
58135         * dirent/readdir.c: Likewise.
58136         * dirent/readdir64.c: Likewise.
58137         * dirent/readdir64_r.c: Likewise.
58138         * dirent/readdir_r.c: Likewise.
58139         * dirent/rewinddir.c: Likewise.
58140         * dirent/seekdir.c: Likewise.
58141         * dirent/telldir.c: Likewise.
58142         * gmon/profil.c: Likewise.
58143         * grp/setgroups.c: Likewise.
58144         * inet/if_index.c: Likewise.
58145         * io/access.c: Likewise.
58146         * io/chdir.c: Likewise.
58147         * io/chmod.c: Likewise.
58148         * io/chown.c: Likewise.
58149         * io/close.c: Likewise.
58150         * io/dup.c: Likewise.
58151         * io/dup2.c: Likewise.
58152         * io/dup3.c: Likewise.
58153         * io/euidaccess.c: Likewise.
58154         * io/faccessat.c: Likewise.
58155         * io/fchdir.c: Likewise.
58156         * io/fchmod.c: Likewise.
58157         * io/fchmodat.c: Likewise.
58158         * io/fchown.c: Likewise.
58159         * io/fchownat.c: Likewise.
58160         * io/fcntl.c: Likewise.
58161         * io/flock.c: Likewise.
58162         * io/fstatfs.c: Likewise.
58163         * io/fstatfs64.c: Likewise.
58164         * io/fstatvfs.c: Likewise.
58165         * io/fstatvfs64.c: Likewise.
58166         * io/futimens.c: Likewise.
58167         * io/fxstat.c: Likewise.
58168         * io/fxstat64.c: Likewise.
58169         * io/fxstatat.c: Likewise.
58170         * io/fxstatat64.c: Likewise.
58171         * io/getcwd.c: Likewise.
58172         * io/isatty.c: Likewise.
58173         * io/lchmod.c: Likewise.
58174         * io/lchown.c: Likewise.
58175         * io/link.c: Likewise.
58176         * io/linkat.c: Likewise.
58177         * io/lseek.c: Likewise.
58178         * io/lseek64.c: Likewise.
58179         * io/lxstat64.c: Likewise.
58180         * io/mkdir.c: Likewise.
58181         * io/mkdirat.c: Likewise.
58182         * io/mkfifo.c: Likewise.
58183         * io/mkfifoat.c: Likewise.
58184         * io/open.c: Likewise.
58185         * io/open64.c: Likewise.
58186         * io/openat.c: Likewise.
58187         * io/openat64.c: Likewise.
58188         * io/pipe.c: Likewise.
58189         * io/pipe2.c: Likewise.
58190         * io/poll.c: Likewise.
58191         * io/posix_fadvise.c: Likewise.
58192         * io/posix_fadvise64.c: Likewise.
58193         * io/posix_fallocate.c: Likewise.
58194         * io/posix_fallocate64.c: Likewise.
58195         * io/read.c: Likewise.
58196         * io/readlink.c: Likewise.
58197         * io/readlinkat.c: Likewise.
58198         * io/rmdir.c: Likewise.
58199         * io/sendfile.c: Likewise.
58200         * io/sendfile64.c: Likewise.
58201         * io/statfs.c: Likewise.
58202         * io/statfs64.c: Likewise.
58203         * io/statvfs.c: Likewise.
58204         * io/statvfs64.c: Likewise.
58205         * io/symlink.c: Likewise.
58206         * io/symlinkat.c: Likewise.
58207         * io/ttyname.c: Likewise.
58208         * io/ttyname_r.c: Likewise.
58209         * io/umask.c: Likewise.
58210         * io/unlink.c: Likewise.
58211         * io/unlinkat.c: Likewise.
58212         * io/utime.c: Likewise.
58213         * io/utimensat.c: Likewise.
58214         * io/write.c: Likewise.
58215         * io/xmknod.c: Likewise.
58216         * io/xmknodat.c: Likewise.
58217         * io/xstat.c: Likewise.
58218         * io/xstat64.c: Likewise.
58219         * login/getpt.c: Likewise.
58220         * login/grantpt.c: Likewise.
58221         * login/unlockpt.c: Likewise.
58222         * math/e_acoshl.c: Likewise.
58223         * math/e_acosl.c: Likewise.
58224         * math/e_asinl.c: Likewise.
58225         * math/e_atan2l.c: Likewise.
58226         * math/e_atanhl.c: Likewise.
58227         * math/e_coshl.c: Likewise.
58228         * math/e_expl.c: Likewise.
58229         * math/e_fmodl.c: Likewise.
58230         * math/e_gammal_r.c: Likewise.
58231         * math/e_hypotl.c: Likewise.
58232         * math/e_j0l.c: Likewise.
58233         * math/e_j1l.c: Likewise.
58234         * math/e_jnl.c: Likewise.
58235         * math/e_lgammal_r.c: Likewise.
58236         * math/e_log10l.c: Likewise.
58237         * math/e_log2l.c: Likewise.
58238         * math/e_logl.c: Likewise.
58239         * math/e_powl.c: Likewise.
58240         * math/e_rem_pio2l.c: Likewise.
58241         * math/e_sinhl.c: Likewise.
58242         * math/e_sqrtl.c: Likewise.
58243         * math/fclrexcpt.c: Likewise.
58244         * math/fedisblxcpt.c: Likewise.
58245         * math/feenablxcpt.c: Likewise.
58246         * math/fegetenv.c: Likewise.
58247         * math/fegetexcept.c: Likewise.
58248         * math/fegetround.c: Likewise.
58249         * math/feholdexcpt.c: Likewise.
58250         * math/fesetenv.c: Likewise.
58251         * math/fesetround.c: Likewise.
58252         * math/feupdateenv.c: Likewise.
58253         * math/fgetexcptflg.c: Likewise.
58254         * math/fraiseexcpt.c: Likewise.
58255         * math/fsetexcptflg.c: Likewise.
58256         * math/ftestexcept.c: Likewise.
58257         * math/k_cosl.c: Likewise.
58258         * math/k_rem_pio2l.c: Likewise.
58259         * math/k_sinl.c: Likewise.
58260         * math/k_tanl.c: Likewise.
58261         * math/s_asinhl.c: Likewise.
58262         * math/s_atanl.c: Likewise.
58263         * math/s_cbrtl.c: Likewise.
58264         * math/s_erfl.c: Likewise.
58265         * math/s_expm1l.c: Likewise.
58266         * math/s_log1pl.c: Likewise.
58267         * math/s_tanhl.c: Likewise.
58268         * misc/acct.c: Likewise.
58269         * misc/brk.c: Likewise.
58270         * misc/chflags.c: Likewise.
58271         * misc/chroot.c: Likewise.
58272         * misc/fchflags.c: Likewise.
58273         * misc/fgetxattr.c: Likewise.
58274         * misc/flistxattr.c: Likewise.
58275         * misc/fremovexattr.c: Likewise.
58276         * misc/fsetxattr.c: Likewise.
58277         * misc/fsync.c: Likewise.
58278         * misc/ftruncate.c: Likewise.
58279         * misc/futimes.c: Likewise.
58280         * misc/futimesat.c: Likewise.
58281         * misc/getdomain.c: Likewise.
58282         * misc/getdtsz.c: Likewise.
58283         * misc/gethostid.c: Likewise.
58284         * misc/gethostname.c: Likewise.
58285         * misc/getloadavg.c: Likewise.
58286         * misc/getpagesize.c: Likewise.
58287         * misc/getsysstats.c: Likewise.
58288         * misc/getxattr.c: Likewise.
58289         * misc/gtty.c: Likewise.
58290         * misc/ioctl.c: Likewise.
58291         * misc/lgetxattr.c: Likewise.
58292         * misc/listxattr.c: Likewise.
58293         * misc/llistxattr.c: Likewise.
58294         * misc/lremovexattr.c: Likewise.
58295         * misc/lsetxattr.c: Likewise.
58296         * misc/lutimes.c: Likewise.
58297         * misc/madvise.c: Likewise.
58298         * misc/mincore.c: Likewise.
58299         * misc/mlock.c: Likewise.
58300         * misc/mlockall.c: Likewise.
58301         * misc/mmap.c: Likewise.
58302         * misc/mprotect.c: Likewise.
58303         * misc/msync.c: Likewise.
58304         * misc/munlock.c: Likewise.
58305         * misc/munlockall.c: Likewise.
58306         * misc/munmap.c: Likewise.
58307         * misc/preadv.c: Likewise.
58308         * misc/preadv64.c: Likewise.
58309         * misc/ptrace.c: Likewise.
58310         * misc/pwritev.c: Likewise.
58311         * misc/pwritev64.c: Likewise.
58312         * misc/readv.c: Likewise.
58313         * misc/reboot.c: Likewise.
58314         * misc/remap_file_pages.c: Likewise.
58315         * misc/removexattr.c: Likewise.
58316         * misc/revoke.c: Likewise.
58317         * misc/select.c: Likewise.
58318         * misc/setdomain.c: Likewise.
58319         * misc/setegid.c: Likewise.
58320         * misc/seteuid.c: Likewise.
58321         * misc/sethostid.c: Likewise.
58322         * misc/sethostname.c: Likewise.
58323         * misc/setregid.c: Likewise.
58324         * misc/setreuid.c: Likewise.
58325         * misc/setxattr.c: Likewise.
58326         * misc/sstk.c: Likewise.
58327         * misc/stty.c: Likewise.
58328         * misc/swapoff.c: Likewise.
58329         * misc/swapon.c: Likewise.
58330         * misc/sync.c: Likewise.
58331         * misc/syncfs.c: Likewise.
58332         * misc/syscall.c: Likewise.
58333         * misc/truncate.c: Likewise.
58334         * misc/ualarm.c: Likewise.
58335         * misc/usleep.c: Likewise.
58336         * misc/ustat.c: Likewise.
58337         * misc/utimes.c: Likewise.
58338         * misc/vhangup.c: Likewise.
58339         * misc/writev.c: Likewise.
58340         * posix/_exit.c: Likewise.
58341         * posix/alarm.c: Likewise.
58342         * posix/execve.c: Likewise.
58343         * posix/fexecve.c: Likewise.
58344         * posix/fork.c: Likewise.
58345         * posix/fpathconf.c: Likewise.
58346         * posix/getaddrinfo.c: Likewise.
58347         * posix/getegid.c: Likewise.
58348         * posix/geteuid.c: Likewise.
58349         * posix/getgid.c: Likewise.
58350         * posix/getgroups.c: Likewise.
58351         * posix/getlogin.c: Likewise.
58352         * posix/getlogin_r.c: Likewise.
58353         * posix/getpgid.c: Likewise.
58354         * posix/getpid.c: Likewise.
58355         * posix/getppid.c: Likewise.
58356         * posix/getresgid.c: Likewise.
58357         * posix/getresuid.c: Likewise.
58358         * posix/getsid.c: Likewise.
58359         * posix/getuid.c: Likewise.
58360         * posix/glob64.c: Likewise.
58361         * posix/nanosleep.c: Likewise.
58362         * posix/pathconf.c: Likewise.
58363         * posix/pause.c: Likewise.
58364         * posix/posix_madvise.c: Likewise.
58365         * posix/pread.c: Likewise.
58366         * posix/pread64.c: Likewise.
58367         * posix/pwrite.c: Likewise.
58368         * posix/pwrite64.c: Likewise.
58369         * posix/sched_getaffinity.c: Likewise.
58370         * posix/sched_getp.c: Likewise.
58371         * posix/sched_gets.c: Likewise.
58372         * posix/sched_primax.c: Likewise.
58373         * posix/sched_primin.c: Likewise.
58374         * posix/sched_rr_gi.c: Likewise.
58375         * posix/sched_setaffinity.c: Likewise.
58376         * posix/sched_setp.c: Likewise.
58377         * posix/sched_sets.c: Likewise.
58378         * posix/sched_yield.c: Likewise.
58379         * posix/setgid.c: Likewise.
58380         * posix/setlogin.c: Likewise.
58381         * posix/setpgid.c: Likewise.
58382         * posix/setresgid.c: Likewise.
58383         * posix/setresuid.c: Likewise.
58384         * posix/setsid.c: Likewise.
58385         * posix/setuid.c: Likewise.
58386         * posix/sleep.c: Likewise.
58387         * posix/spawni.c: Likewise.
58388         * posix/sysconf.c: Likewise.
58389         * posix/times.c: Likewise.
58390         * posix/wait.c: Likewise.
58391         * posix/wait3.c: Likewise.
58392         * posix/wait4.c: Likewise.
58393         * posix/waitpid.c: Likewise.
58394         * resolv/gai_sigqueue.c: Likewise.
58395         * resource/getpriority.c: Likewise.
58396         * resource/getrlimit.c: Likewise.
58397         * resource/getrusage.c: Likewise.
58398         * resource/nice.c: Likewise.
58399         * resource/setpriority.c: Likewise.
58400         * resource/setrlimit.c: Likewise.
58401         * resource/ulimit.c: Likewise.
58402         * rt/aio_cancel.c: Likewise.
58403         * rt/aio_fsync.c: Likewise.
58404         * rt/aio_read.c: Likewise.
58405         * rt/aio_sigqueue.c: Likewise.
58406         * rt/aio_suspend.c: Likewise.
58407         * rt/aio_write.c: Likewise.
58408         * rt/clock_getres.c: Likewise.
58409         * rt/clock_gettime.c: Likewise.
58410         * rt/clock_nanosleep.c: Likewise.
58411         * rt/clock_settime.c: Likewise.
58412         * rt/lio_listio.c: Likewise.
58413         * rt/mq_close.c: Likewise.
58414         * rt/mq_getattr.c: Likewise.
58415         * rt/mq_notify.c: Likewise.
58416         * rt/mq_open.c: Likewise.
58417         * rt/mq_receive.c: Likewise.
58418         * rt/mq_send.c: Likewise.
58419         * rt/mq_setattr.c: Likewise.
58420         * rt/mq_timedreceive.c: Likewise.
58421         * rt/mq_timedsend.c: Likewise.
58422         * rt/mq_unlink.c: Likewise.
58423         * rt/shm_open.c: Likewise.
58424         * rt/shm_unlink.c: Likewise.
58425         * rt/timer_create.c: Likewise.
58426         * rt/timer_delete.c: Likewise.
58427         * rt/timer_getoverr.c: Likewise.
58428         * rt/timer_gettime.c: Likewise.
58429         * rt/timer_settime.c: Likewise.
58430         * setjmp/__longjmp.c: Likewise.
58431         * setjmp/setjmp.c: Likewise.
58432         * signal/kill.c: Likewise.
58433         * signal/killpg.c: Likewise.
58434         * signal/raise.c: Likewise.
58435         * signal/sigaction.c: Likewise.
58436         * signal/sigaltstack.c: Likewise.
58437         * signal/sigblock.c: Likewise.
58438         * signal/sigignore.c: Likewise.
58439         * signal/sigintr.c: Likewise.
58440         * signal/signal.c: Likewise.
58441         * signal/sigpause.c: Likewise.
58442         * signal/sigpending.c: Likewise.
58443         * signal/sigqueue.c: Likewise.
58444         * signal/sigreturn.c: Likewise.
58445         * signal/sigset.c: Likewise.
58446         * signal/sigsetmask.c: Likewise.
58447         * signal/sigstack.c: Likewise.
58448         * signal/sigsuspend.c: Likewise.
58449         * signal/sigtimedwait.c: Likewise.
58450         * signal/sigvec.c: Likewise.
58451         * signal/sigwait.c: Likewise.
58452         * signal/sigwaitinfo.c: Likewise.
58453         * signal/sysv_signal.c: Likewise.
58454         * socket/accept.c: Likewise.
58455         * socket/accept4.c: Likewise.
58456         * socket/bind.c: Likewise.
58457         * socket/connect.c: Likewise.
58458         * socket/getpeername.c: Likewise.
58459         * socket/getsockname.c: Likewise.
58460         * socket/getsockopt.c: Likewise.
58461         * socket/isfdtype.c: Likewise.
58462         * socket/listen.c: Likewise.
58463         * socket/recv.c: Likewise.
58464         * socket/recvfrom.c: Likewise.
58465         * socket/recvmsg.c: Likewise.
58466         * socket/send.c: Likewise.
58467         * socket/sendmsg.c: Likewise.
58468         * socket/sendto.c: Likewise.
58469         * socket/setsockopt.c: Likewise.
58470         * socket/shutdown.c: Likewise.
58471         * socket/sockatmark.c: Likewise.
58472         * socket/socket.c: Likewise.
58473         * socket/socketpair.c: Likewise.
58474         * stdio-common/ctermid.c: Likewise.
58475         * stdio-common/cuserid.c: Likewise.
58476         * stdio-common/remove.c: Likewise.
58477         * stdio-common/rename.c: Likewise.
58478         * stdio-common/renameat.c: Likewise.
58479         * stdio-common/tempname.c: Likewise.
58480         * stdlib/getcontext.c: Likewise.
58481         * stdlib/makecontext.c: Likewise.
58482         * stdlib/setcontext.c: Likewise.
58483         * stdlib/swapcontext.c: Likewise.
58484         * stdlib/system.c: Likewise.
58485         * streams/fattach.c: Likewise.
58486         * streams/fdetach.c: Likewise.
58487         * streams/getmsg.c: Likewise.
58488         * streams/getpmsg.c: Likewise.
58489         * streams/putmsg.c: Likewise.
58490         * streams/putpmsg.c: Likewise.
58491         * sysdeps/unix/bsd/getpt.c: Likewise.
58492         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
58493         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
58494         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
58495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58496         Likewise.
58497         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
58498         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58499         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
58500         * sysvipc/msgctl.c: Likewise.
58501         * sysvipc/msgget.c: Likewise.
58502         * sysvipc/msgrcv.c: Likewise.
58503         * sysvipc/msgsnd.c: Likewise.
58504         * sysvipc/semctl.c: Likewise.
58505         * sysvipc/semget.c: Likewise.
58506         * sysvipc/semop.c: Likewise.
58507         * sysvipc/semtimedop.c: Likewise.
58508         * sysvipc/shmat.c: Likewise.
58509         * sysvipc/shmctl.c: Likewise.
58510         * sysvipc/shmdt.c: Likewise.
58511         * sysvipc/shmget.c: Likewise.
58512         * termios/tcdrain.c: Likewise.
58513         * termios/tcflow.c: Likewise.
58514         * termios/tcflush.c: Likewise.
58515         * termios/tcgetattr.c: Likewise.
58516         * termios/tcgetpgrp.c: Likewise.
58517         * termios/tcsendbrk.c: Likewise.
58518         * termios/tcsetattr.c: Likewise.
58519         * termios/tcsetpgrp.c: Likewise.
58520         * time/adjtime.c: Likewise.
58521         * time/clock.c: Likewise.
58522         * time/getitimer.c: Likewise.
58523         * time/gettimeofday.c: Likewise.
58524         * time/setitimer.c: Likewise.
58525         * time/settimeofday.c: Likewise.
58526         * time/stime.c: Likewise.
58527         * time/time.c: Likewise.
58529 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
58531         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
58532         /usr/old/bin.
58534         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
58535         instead of spaces.
58536         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
58538 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
58540         [BZ #14796]
58541         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
58542         FE_TONEAREST before applying Dekker multiplication and Knuth
58543         addition.  Clear inexact exceptions and check for exact zero
58544         results afterwards.
58545         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58546         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
58547         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58548         * math/libm-test.inc (fma_test): Add more tests.
58549         (fma_test_towardzero): Likewise.
58550         (fma_test_downward): Likewise.
58551         (fma_test_upward): Likewise.
58552         * sysdeps/generic/math_private.h (default_libc_fesetround): New
58553         function.
58554         (libc_fesetround): New macro.
58555         (libc_fesetroundf): Likewise.
58556         (libc_fesetroundl): Likewise.
58557         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
58558         function.
58559         (libc_fesetround_387): Likewise.
58560         (libc_fesetroundf): New macro.
58561         (libc_fesetround): Likewise.
58562         (libc_fesetroundl): Likewise.
58563         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
58564         function.
58565         (libc_fesetroundf): New macro.
58566         (libc_fesetround): Likewise.
58567         (libc_fesetroundl): Likewise.
58568         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
58569         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
58570         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
58571         libm_hidden_ver.
58572         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
58573         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
58574         libm_hidden_def.
58575         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
58576         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
58577         libm_hidden_ver.
58578         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
58579         libm_hidden_def.
58581         [BZ #3439]
58582         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
58583         integer constant usable in #if and use that to give value to enum
58584         constant.
58585         (FE_DIVBYZERO): Likewise.
58586         (FE_UNDERFLOW): Likewise.
58587         (FE_OVERFLOW): Likewise.
58588         (FE_INVALID): Likewise.
58589         (FE_INVALID_SNAN): Likewise.
58590         (FE_INVALID_ISI): Likewise.
58591         (FE_INVALID_IDI): Likewise.
58592         (FE_INVALID_ZDZ): Likewise.
58593         (FE_INVALID_IMZ): Likewise.
58594         (FE_INVALID_COMPARE): Likewise.
58595         (FE_INVALID_SOFTWARE): Likewise.
58596         (FE_INVALID_SQRT): Likewise.
58597         (FE_INVALID_INTEGER_CONVERSION): Likewise.
58598         (FE_TONEAREST): Likewise.
58599         (FE_TOWARDZERO): Likewise.
58600         (FE_UPWARD): Likewise.
58601         (FE_DOWNWARD): Likewise.
58602         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
58603         (FE_DIVBYZERO): Likewise.
58604         (FE_OVERFLOW): Likewise.
58605         (FE_UNDERFLOW): Likewise.
58606         (FE_INEXACT): Likewise.
58607         (FE_TONEAREST): Likewise.
58608         (FE_DOWNWARD): Likewise.
58609         (FE_UPWARD): Likewise.
58610         (FE_TOWARDZERO): Likewise.
58611         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
58612         (FE_UNDERFLOW): Likewise.
58613         (FE_OVERFLOW): Likewise.
58614         (FE_DIVBYZERO): Likewise.
58615         (FE_INVALID): Likewise.
58616         (FE_TONEAREST): Likewise.
58617         (FE_TOWARDZERO): Likewise.
58618         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
58619         (FE_OVERFLOW): Likewise.
58620         (FE_UNDERFLOW): Likewise.
58621         (FE_DIVBYZERO): Likewise.
58622         (FE_INEXACT): Likewise.
58623         (FE_TONEAREST): Likewise.
58624         (FE_TOWARDZERO): Likewise.
58625         (FE_UPWARD): Likewise.
58626         (FE_DOWNWARD): Likewise.
58627         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
58628         (FE_DIVBYZERO): Likewise.
58629         (FE_OVERFLOW): Likewise.
58630         (FE_UNDERFLOW): Likewise.
58631         (FE_INEXACT): Likewise.
58632         (FE_TONEAREST): Likewise.
58633         (FE_DOWNWARD): Likewise.
58634         (FE_UPWARD): Likewise.
58635         (FE_TOWARDZERO): Likewise.
58637 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
58639         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
58641 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
58643         * scripts/cross-test-ssh.sh (command): Use newlines to separate
58644         commands.  Quote $PWD.
58645         (blacklist_exports): Don't use remove_newlines.  Replace "declare
58646         -x" by "export".
58647         (remove_newlines): Remove.
58649 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
58651         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
58652         * stdlib/stdlib.h (atof): Moved to ...
58653         * include/bits/stdlib-float.h: Here.  New file.
58654         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
58655         * stdlib/bits/stdlib-float.h: New file.
58656         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
58657         -mno-sse -mno-mmx.
58658         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
58659         <xmmintrin.h>.
58661 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
58663         * conform/conformtest.pl (@headers): Add fenv.h.
58664         * conform/data/fenv.h-data: New file.
58665         * include/fenv.h [_ISOMAC]: Disable all contents of file except
58666         include of <math/fenv.h>.
58668         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
58669         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
58670         && !UNIX98].  Enables tests for XOPEN2K8.
58671         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
58672         POSIX2008]: Likewise.
58674         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
58675         (struct rusage): Do not expect type or its members.
58677         [BZ #3439]
58678         * math/math.h (FP_NAN): Define macro to integer constant usable in
58679         #if and use that to give value to enum constant.
58680         (FP_INFINITE): Likewise.
58681         (FP_ZERO): Likewise.
58682         (FP_SUBNORMAL): Likewise.
58683         (FP_NORMAL): Likewise.
58685 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
58687         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
58688         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
58689         arguments.
58691 2012-11-02  Roland McGrath  <roland@hack.frob.com>
58693         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
58694         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
58695         autoconf-time if not.
58696         * configure.in: Remove AC_PREREQ.
58698 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58700         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
58701         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
58702         of the internal implementation.
58704 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
58706         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
58707         except include of <misc/sys/syslog.h>.
58709 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
58712         function returns with a NULL context exit with zero.
58714 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58716         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
58718 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
58720         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
58721         (run_program_cmd): This.
58722         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
58723         (tst_langinfo): New variable.  Use it.
58725 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
58727         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
58728         floating point opcodes.
58730 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58732         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
58733         variable.
58735         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
58737         * sysdeps/mach/hurd/powerpc: Remove directory.
58738         * sysdeps/mach/powerpc: Likewise.
58740 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58742         * scripts/check-local-headers.sh: Ignore c++ headers.
58744 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58746         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
58747         __libc_cleanup_region_start argument.
58749 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
58751         [BZ #14784]
58752         [BZ #14785]
58753         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
58754         x * y using scaling, not as x * y + z.
58755         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58756         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58757         * math/libm-test.inc (fma_test): Add more tests.
58758         (fma_test_towardzero): Likewise.
58759         (fma_test_downward): Likewise.
58760         (fma_test_upward): Likewise.
58762 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58764         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
58766 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
58768         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
58769         New variable.
58771 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
58773         * rt/tst-shm.c (worker): Correct checking for mmap failure.
58775 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
58777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58778         Fix sort order.
58779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58780         Likewise.
58782 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58785         Fix the order of the list for glibc 2.17.
58786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58787         Likewise.
58789 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
58791         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58793 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
58795         [BZ #14610]
58796         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
58797         for low part of x being zero before using __atanl (y).
58798         * math/libm-test.inc (atan2_test): Add another test.
58800         * manual/install.texi (Configuring and compiling): Document
58801         general use of test-wrapper and test-wrapper-env.
58802         * INSTALL: Regenerated.
58804         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
58805         (__fma): Do not extract and scale down low bits on after-rounding
58806         systems when result rounded to normal precision would have normal
58807         exponent.
58808         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
58809         (__fmal): Do not extract and scale down low bits on after-rounding
58810         systems when result rounded to normal precision would have normal
58811         exponent.
58812         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
58813         (__fmal): Do not extract and scale down low bits on after-rounding
58814         systems when result rounded to normal precision would have normal
58815         exponent.
58816         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
58817         macro.
58818         (fma_test): Add more tests.
58819         (fma_test_towardzero): Likewise.
58820         (fma_test_downward): Likewise.
58821         (fma_test_upward): Likewise.
58823 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
58825         * sysdeps/i386/tininess.h: Renamed to ...
58826         * sysdeps/x86/tininess.h: This.
58827         * sysdeps/x86_64/tininess.h: Removed.
58829 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
58831         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
58832         input.  Use $(build-program-cmd).
58833         ($(objpfx)tst-array1-static.out): Likewise.
58834         ($(objpfx)tst-array2.out): Likewise.
58835         ($(objpfx)tst-array3.out): Likewise.
58836         ($(objpfx)tst-array4.out): Likewise.
58837         ($(objpfx)tst-array5.out): Likewise.
58838         ($(objpfx)tst-array5-static.out): Likewise.
58840 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
58842         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
58843         if defined.
58845         * nss/nsswitch.h (nss_interface_function): Provide new
58846         macro for use with NSS functions.
58847         * grp/initgroups.c: Use new macro.
58848         * nss/getXXbyYY.c: Likewise.
58849         * nss/getXXbyYY_r.c: Likewise.
58850         * nss/getXXent.c: Likewise.
58851         * nss/getXXent_r.c: Likewise.
58852         * sysdeps/posix/getaddrinfo.c: Likewise.
58854 2012-10-30  Andreas Jaeger  <aj@suse.de>
58856         * po/ru.po: Update Russion translation from translation project.
58858 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
58860         [BZ #14152]
58861         [BZ #14783]
58862         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
58863         result and shift together with sticky bit instead of replicating
58864         round-to-nearest rounding.
58865         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58866         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58867         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
58868         missing underflow exceptions.
58869         (fma_test_towardzero): Add more tests.
58870         (fma_test_downward): Likewise.
58871         (fma_test_upward): Likewise.
58873         [BZ #14047]
58874         * sysdeps/generic/tininess.h: New file.
58875         * sysdeps/i386/tininess.h: Likewise.
58876         * sysdeps/sh/tininess.h: Likewise.
58877         * sysdeps/x86_64/tininess.h: Likewise.
58878         * stdlib/tst-strtod-underflow.c: Likewise.
58879         * stdlib/tst-tininess.c: Likewise.
58880         * stdlib/strtod_l.c: Include <tininess.h>.
58881         (round_and_return): Do not set errno for exact underflow cases.
58882         Force an underflow exception when setting errno for underflow.
58883         Determine underflow based on rounding to normal precision if
58884         TININESS_AFTER_ROUNDING.
58885         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
58886         ERANGE for exact underflow cases.
58887         * stdlib/Makefile (tests): Add tst-tininess and
58888         tst-strtod-underflow.
58889         ($(objpfx)tst-tininess): Use $(link-libm).
58890         ($(objpfx)tst-strtod-underflow): Likewise.
58892 2012-10-30  Andreas Jaeger  <aj@suse.de>
58894         [BZ#14767]
58895         * elf/Makefile (tests): Remove conditional for have-initfini-array
58896         since this is now always required and the variable does not exist
58897         anymore.
58898         (tests-static): Likewise.
58899         (modules-names): Likewise.
58901         * po/eo.po: Add Esperanto translation from translation project.
58903         * elf/tst-array1.c (fini_array): Make writeable so that it can be
58904         merged with constructor/destructor.
58905         (init_array): Likewise.
58906         * elf/tst-array2dep.c (fini_array): Likewise.
58907         (init_array): Likewise.
58909 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
58911         * manual/message.texi: Delete @cartouche tags.
58913 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
58915         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
58916         EOPNOTSUPP.
58917         * sysdeps/mach/hurd/fsync.c: Likewise.
58919         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
58920         [_POSIX_REALTIME_SIGNALS]: Change condition to
58921         [_POSIX_REALTIME_SIGNALS > 0].
58923 2012-10-27  Andreas Jaeger  <aj@suse.de>
58925         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
58926         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
58927         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
58928         [__WORDSIZE != 64]: Likewise.
58930 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
58932         *  iconvdata/tst-table.sh: Remove ${SHELL}.
58933         *  iconvdata/tst-tables.sh: Likewise.
58935 2012-10-25  David S. Miller  <davem@davemloft.net>
58937         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58938         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
58939         of strtoull.
58941         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
58942         ifunc-impl-list.c
58943         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58944         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
58945         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
58946         file.
58948 2012-10-25  Roland McGrath  <roland@hack.frob.com>
58950         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58951         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
58952         __getdirentries.
58954 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
58955             Jim Blandy  <jimb@codesourcery.com>
58957         * scripts/cross-test-ssh.sh: New file.
58958         * manual/install.texi (Configuring and compiling): Document use of
58959         cross-test-ssh.sh.
58960         * INSTALL: Regenerated.
58962 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
58964         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
58965         EOPNOTSUPP.
58967 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
58969         * Makeconfig (run-program-prefix): Fix comment.
58971 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
58972             Jim Blandy  <jimb@codesourcery.com>
58974         * Makeconfig (test-wrapper): New variable,
58975         (test-wrapper-env): Likewise.
58976         [$(cross-compiling) = yes && $(test-wrapper) != ""]
58977         (run-built-tests): Define to yes.
58978         (run-program-prefix): Use $(test-wrapper).
58979         (built-program-cmd): Likewise.
58980         * Rules (make-test-out): Use $(test-wrapper-env) and
58981         $(host-built-program-cmd).
58982         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
58983         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
58984         tst-pathopt.sh.
58985         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
58986         $(test-wrapper-env) to tst-rtld-load-self.sh.
58987         ($(objpfx)order2.out): Use $(test-wrapper).
58988         ($(objpfx)tst-initorder.out): Likewise.
58989         ($(objpfx)tst-initorder2.out): Likewise.
58990         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
58991         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
58992         (test_wrapper_env): New variable.  Use it to run ld.so.
58993         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
58994         Use it to run ld.so.
58995         (test_wrapper_env): Likewise.
58996         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
58997         $(test-wrapper) to run-iconv-test.sh.
58998         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
58999         (ICONV): Use $test_wrapper.
59000         * posix/Makefile ($(objpfx)globtest.out): Pass
59001         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
59002         globtest.sh, not $(run-program-prefix).
59003         * posix/globtest.sh (run_via_rtld_prefix): New variable.
59004         (test_wrapper): Likewise.
59005         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
59006         set together with run_via_rtld_prefix.
59007         (run_program_prefix): Define in terms of test_wrapper and
59008         run_via_rtld_prefix.
59010 2012-10-24  Roland McGrath  <roland@hack.frob.com>
59012         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
59013         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
59014         Targets removed.
59016         [BZ #14743]
59017         * include/time.h: Remove librt_hidden_proto (clock_gettime).
59018         Declare __clock_getres, __clock_gettime, __clock_settime,
59019         __clock_nanosleep, and __clock_getcpuclockid.
59020         * rt/clock_gettime.c: Define __clock_gettime as an alias.
59021         Remove librt_hidden_def (clock_gettime).
59022         * sysdeps/unix/clock_gettime.c: Likewise.
59023         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
59024         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
59025         * rt/clock_getres.c: Define __clock_getres as an alias.
59026         * sysdeps/posix/clock_getres.c: Likewise.
59027         * rt/clock_settime.c: Define __clock_settime as an alias.
59028         * sysdeps/unix/clock_settime.c: Likewise.
59029         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
59030         * sysdeps/unix/clock_nanosleep.c: Likewise.
59031         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
59032         * rt/clock-compat.c: New file.
59033         * rt/Makefile (librt-routines): Add clock-compat and move
59034         $(clock-routines) to ...
59035         (routines): ... here, new variable.
59036         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
59037         Don't add get_clockfreq here.
59038         * rt/Versions (libc: GLIBC_2.17): New version set.
59039         Add clock_* symbols here.
59040         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
59041         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
59042         (GLIBC_2.17): Add clock_* symbols.
59043         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
59044         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
59045         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59047         Likewise.
59048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59049         Likewise.
59050         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59051         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
59052         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
59053         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
59054         * NEWS: Mention the move.
59056         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
59057         Use __open, __read, __close rather than their public counterparts.
59058         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59059         (__get_clockfreq_via_cpuinfo): Likewise.
59060         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
59061         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
59063         * config.h.in (HAVE_IFUNC): New #undef.
59064         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
59065         was successful.
59066         * configure: Regenerated.
59068 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
59070         * configure.in: Move READELF check to start of file.
59071         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
59072         libc_cv_asm_gnu_indirect_function in the process.
59073         * configure: Regenerated.
59075 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
59077         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
59078         send the output to /dev/null.
59079         (libc_cv_cc_with_libunwind): Likewise.
59080         (libc_cv_as_noexecstack): Likewise.
59081         * configure: Regenerate.
59083 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
59085         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
59087         * posix/globtest.sh (TMPDIR): Do not set.
59088         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
59089         (testout): Likewise.
59091 2012-10-24  Andreas Jaeger  <aj@suse.de>
59093         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
59094         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
59095         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
59096         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
59097         posix_fadvise64, posix_fallocate64.
59099         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
59100         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
59101         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
59102         Likewise.
59103         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
59104         Likewise.
59105         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
59107         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
59108         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
59109         <bits/fcntl-linux.h>.
59110         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
59112         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
59113         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
59114         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
59115         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
59116         [__WORDSIZE != 64]: Likewise.
59118 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
59120         * Makeconfig (run-built-tests): New variable.
59121         * Rules [$(cross-compiling) = yes]: Change condition to
59122         [$(run-built-tests) = no].
59123         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
59124         to [$(run-built-tests) = yes].
59125         * elf/Makefile [$(cross-compiling) = no]: Likewise.
59126         * grp/Makefile [$(cross-compiling) = no]: Likewise.
59127         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
59128         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
59129         * intl/Makefile [$(cross-compiling) = no]: Likewise.
59130         * io/Makefile [$(cross-compiling) = no]: Likewise.
59131         * libio/Makefile [$(cross-compiling) = no]: Likewise.
59132         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
59133         * misc/Makefile [$(cross-compiling) = no]: Likewise.
59134         * posix/Makefile [$(cross-compiling) = no]: Likewise.
59135         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
59136         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
59137         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
59138         * string/Makefile [$(cross-compiling) = no]: Likewise.
59140         * posix/Makefile ($(objpfx)globtest.out): Pass
59141         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
59142         $(rtld-installed-name).
59143         * posix/globtest.sh (elf_objpfx): Remove variable.
59144         (rtld_installed_name): Likewise.
59145         (library_path): Likewise.
59146         (run_program_prefix): New variable.  Use for running globtest
59147         binary.
59149 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
59150             Joseph Myers  <joseph@codesourcery.com>
59152         * Makeconfig (host-built-program-cmd): New variable.
59153         * elf/Makefile (tst-stackguard1-ARGS): Use
59154         $(host-built-program-cmd).
59155         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
59156         (tst-spawn-ARGS): Likewise.
59157         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
59159 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
59160             Jim Blandy  <jimb@codesourcery.com>
59162         * Makeconfig (run-via-rtld-prefix): New variable.
59163         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
59164         (built-program-cmd): Likewise.
59166 2012-10-22  Andreas Jaeger  <aj@suse.de>
59168         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
59169         __O_RSYNC if it exists, otherwise to O_SYNC.
59171 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
59172             Joseph Myers  <joseph@codesourcery.com>
59174         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
59175         /dev/null.
59176         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
59177         from /dev/null
59178         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
59179         /dev/null.
59181 2012-10-22  Andreas Jaeger  <aj@suse.de>
59183         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
59184         Define always.
59185         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
59187         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59188         bits/fcntl-linux.h.
59190         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
59191         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
59193         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
59194         to __O_LARGEFILE.
59195         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
59196         to __O_LARGEFILE.
59198 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
59199             Joseph Myers  <joseph@codesourcery.com>
59201         * config.make.in (NM): New variable.
59203 2012-10-21  Andreas Jaeger  <aj@suse.de>
59205         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
59206         definitions and declarations that are provided by
59207         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
59209 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59211         [BZ #14683]
59212         * elf/Makefile (tests-static): Add tst-leaks1-static.
59213         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
59214         ($(objpfx)tst-leaks1-static): New rule.
59215         ($(objpfx)tst-leaks1-static-mem): Likewise.
59216         (tst-leaks1-static-ENV): New macro.
59217         * elf/dl-open.c (dl_open_worker): Check the main application
59218         only if SHARED is defined.
59219         * elf/tst-leaks1-static.c: New file.
59221 2012-10-20  Andreas Jaeger  <aj@suse.de>
59223         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
59224         generic values for Linux.
59225         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
59226         and declarations that are provided by <bits/fcntl-linux.h> and
59227         include <bits/fcntl-linux.h>.
59228         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59229         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59231 2012-10-20  Roland McGrath  <roland@hack.frob.com>
59233         * io/fcntl.h: Move include of <bits/types.h> to the top and
59234         include it unconditionally.
59236 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59238         * wcsmbs/Makefile (tests-ifunc): New variable.
59239         (tests): Add $(tests-ifunc).
59240         * wcsmbs/test-wcschr-ifunc.c: New file.
59241         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
59242         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
59243         * wcsmbs/test-wcslen-ifunc.c: Likewise.
59244         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
59245         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
59247         * string/Makefile (tests-ifunc): New variable.
59248         (tests): Add $(tests-ifunc).
59249         * string/test-memccpy.c (TEST_NAME): New macro.
59250         * string/test-memchr.c (TEST_NAME): Likewise.
59251         * string/test-memcmp.c (TEST_NAME): Likewise.
59252         * string/test-memcpy.c (TEST_NAME): Likewise.
59253         * string/test-memmem.c (TEST_NAME): Likewise.
59254         * string/test-memmove.c (TEST_NAME): Likewise.
59255         * string/test-memset.c (TEST_NAME): Likewise.
59256         * string/test-rawmemchr.c (TEST_NAME): Likewise.
59257         * string/test-stpcpy.c (TEST_NAME): Likewise.
59258         * string/test-stpncpy.c (TEST_NAME): Likewise.
59259         * string/test-strcasecmp.c (TEST_NAME): Likewise.
59260         * string/test-strcasestr.c (TEST_NAME): Likewise.
59261         * string/test-strcat.c (TEST_NAME): Likewise.
59262         * string/test-strchr.c (TEST_NAME): Likewise.
59263         * string/test-strcmp.c(TEST_NAME): Likewise.
59264         * string/test-strcpy.c (TEST_NAME): Likewise.
59265         * string/test-strcspn.c (TEST_NAME): Likewise.
59266         * string/test-strlen.c (TEST_NAME): Likewise.
59267         * string/test-strncasecmp.c (TEST_NAME): Likewise.
59268         * string/test-strncmp.c (TEST_NAME): Likewise.
59269         * string/test-strncpy.c (TEST_NAME): Likewise.
59270         * string/test-strnlen.c (TEST_NAME): Likewise.
59271         * string/test-strpbrk.c (TEST_NAME): Likewise.
59272         * string/test-strrchr.c (TEST_NAME): Likewise.
59273         * string/test-strspn.c (TEST_NAME): Likewise.
59274         * string/test-strstr.c (TEST_NAME): Likewise.
59275         * string/test-bcopy-ifunc.c: New file.
59276         * string/test-bzero-ifunc.c: Likewise.
59277         * string/test-memccpy-ifunc.c: Likewise.
59278         * string/test-memchr-ifunc.c: Likewise.
59279         * string/test-memcmp-ifunc.c: Likewise.
59280         * string/test-memcpy-ifunc.c: Likewise.
59281         * string/test-memmem-ifunc.c: Likewise.
59282         * string/test-memmove-ifunc.c: Likewise.
59283         * string/test-mempcpy-ifunc.c: Likewise.
59284         * string/test-memset-ifunc.c: Likewise.
59285         * string/test-rawmemchr-ifunc.c: Likewise.
59286         * string/test-stpcpy-ifunc.c: Likewise.
59287         * string/test-stpncpy-ifunc.c: Likewise.
59288         * string/test-strcasecmp-ifunc.c: Likewise.
59289         * string/test-strcasestr-ifunc.c: Likewise.
59290         * string/test-strcat-ifunc.c: Likewise.
59291         * string/test-strchr-ifunc.c: Likewise.
59292         * string/test-strchrnul-ifunc.c: Likewise.
59293         * string/test-strcmp-ifunc.c: Likewise.
59294         * string/test-strcpy-ifunc.c: Likewise.
59295         * string/test-strcspn-ifunc.c: Likewise.
59296         * string/test-strlen-ifunc.c: Likewise.
59297         * string/test-strncasecmp-ifunc.c: Likewise.
59298         * string/test-strncat-ifunc.c: Likewise.
59299         * string/test-strncmp-ifunc.c: Likewise.
59300         * string/test-strncpy-ifunc.c: Likewise.
59301         * string/test-strnlen-ifunc.c: Likewise.
59302         * string/test-strpbrk-ifunc.c: Likewise.
59303         * string/test-strrchr-ifunc.c: Likewise.
59304         * string/test-strspn-ifunc.c: Likewise.
59305         * string/test-strstr-ifunc.c: Likewise.
59307         * debug/Makefile (tests-ifunc): New variable.
59308         (tests): Add $(tests-ifunc).
59309         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
59310         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
59311         * debug/test-stpcpy_chk-ifunc.c: New file.
59312         * debug/test-strcpy_chk-ifunc.c: Likewise.
59314 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59316         [BZ #13601]
59317         * elf/dl-load.c (open_verify): Retry read if the entire ELF
59318         header is not read in.
59320 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
59322         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
59323         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
59324         directly.  Pass built executable to script as
59325         $(built-program-cmd).
59326         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
59327         $testprogram without using LD_LIBRARY_PATH and $ldso.
59329         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
59330         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
59331         $(rtld-installed-name).
59332         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
59333         (rtld_installed_name): Likewise.
59334         (library_path): Likewise.
59335         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
59336         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
59337         $(run-program-prefix) to tst-tables.sh.
59338         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
59339         it to run tst-table-from and tst-table-to.
59340         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
59341         Pass it to tst-table.sh.
59342         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
59343         $(run-program-prefix) to tst-gettext.sh.
59344         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
59345         tst-translit.sh.
59346         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
59347         tst-gettext2.sh.
59348         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
59349         to run tst-gettext.
59350         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
59351         to run tst-gettext2.
59352         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
59353         to run tst-translit.
59354         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
59355         $(run-program-prefix) to tst-mtrace.sh.
59356         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
59357         to run tst-mtrace.
59358         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
59359         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
59360         $(rtld-installed-name).
59361         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
59362         (rtld_installed_name): Likewise.
59363         (run_program_prefix): New variable.  Use it to run wordexp-test.
59365         * Makeconfig (ARCH): Remove all definitions.
59366         (machine): Likewise.
59367         [ARCH]: Remove conditional code.
59368         [!objdir]: Give error.
59369         [!objdir] (objpfx): Remove.
59370         [!objdir] (common-objpfx): Likewise.
59371         [!objdir] (common-objdir): Likewise.
59372         * configure.in (config_makefile): Remove.  Hardcode Makefile in
59373         AC_CONFIG_FILES call.
59374         * configure: Regenerated.
59376         [BZ #13888]
59377         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
59378         or TMPDIR.
59379         (testout): Likewise.
59381         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
59382         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
59383         $(rtld-installed-name).
59384         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
59385         (rtld_installed_name): Likwise.
59386         (runit): Remove function.
59387         (run_getconf): New variable,  Use it for running getconf binary.
59389 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
59391         [BZ #14716]
59392         * string/test-memmem.c (check_result): New function.
59393         (do_one_test): Use it.
59394         (check1): New function.
59395         (test_main): Use it.
59397 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
59399         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
59401 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
59403         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
59404         (_G_LSEEK64): Likewise.
59405         (_G_MMAP64): Likewise.
59406         (_G_FSTAT64): Likewise.
59407         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
59408         (_G_LSEEK64): Likewise.
59409         (_G_MMAP64): Likewise.
59410         (_G_FSTAT64): Likewise.
59411         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
59412         unconditional.  Call __mmap64 directly.
59413         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
59414         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
59415         __lseek64 directly.
59416         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
59417         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
59418         __mmap64 directly.
59419         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
59420         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59421         __lseek64 directly.
59422         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
59423         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59424         __lseek64 directly.
59425         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
59426         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
59427         __lseek64 directly.
59428         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
59429         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
59430         __fxstat64 directly.
59431         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
59432         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
59433         unconditional.
59434         (freopen64) [!_G_OPEN64]: Remove conditional code.
59435         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
59436         unconditional.
59437         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
59438         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
59439         unconditional.
59440         (ftello64) [!_G_LSEEK64]: Remove conditional code.
59441         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
59442         unconditional.
59443         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59444         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
59445         unconditional.
59446         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
59447         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
59448         unconditional.
59449         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59450         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
59451         unconditional.
59452         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59453         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
59454         unconditional.
59455         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59457 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59459         [BZ #12140]
59460         * manual/memory.texi (Malloc Tunable Parameters): Add note
59461         about free list pointers overwriting some perturb bytes.
59462         Wording suggested by Roland McGrath.
59464 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
59466         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
59467         (lgamma_test): Likewise.
59468         (tgamma_test): Likewise.
59470 2012-10-16  Florian Weimer  <fweimer@redhat.com>
59472         [BZ #14700]
59473         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
59474         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
59476 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
59478         * NEWS: Mention BZ #14716.
59479         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
59480         when removing AVAILABLE1_USES_J macro.
59482 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
59484         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
59485         (__bswap_64): __uint64_t for unsigned 64-bit int.
59487 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
59489         * include/string.h (memmem): Declare libc hidden alias.
59490         * string/memmem.c (memmem): Define libc hidden alias.
59491         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
59492         __read, __close instead of open, read, close.
59494 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
59496         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
59497         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
59498         global and hidden.
59499         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
59500         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
59501         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
59502         Likewise.
59503         (__rawmemchr_sse2): Likewise.
59504         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
59505         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
59506         (__strchr_sse2): Likewise.
59507         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
59508         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
59509         (__strcasecmp_sse2): Likewise.
59510         (__strncasecmp_sse2): Likewise.
59511         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
59512         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
59513         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
59514         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
59515         (__strrchr_sse2): Likewise.
59516         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
59517         ifunc-impl-list.c.
59518         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
59519         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
59520         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
59521         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59522         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
59523         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
59524         * sysdeps/x86_64/multiarch/memset.S: Likewise.
59525         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
59526         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
59527         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
59528         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
59529         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
59530         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
59531         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
59532         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
59533         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
59534         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
59535         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
59536         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
59537         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
59538         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
59539         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
59540         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
59541         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
59542         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
59543         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59544         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
59545         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59546         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
59547         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
59549         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
59550         global and hidden.
59551         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
59552         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
59553         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
59554         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
59555         Likewise.
59556         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
59557         Likewise.
59558         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
59559         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
59560         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
59561         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
59562         ifunc-impl-list.c.
59563         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
59564         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
59565         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
59566         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
59567         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
59568         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
59569         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
59570         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
59571         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
59572         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
59573         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
59574         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
59575         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
59576         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
59577         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
59578         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
59579         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
59580         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
59581         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
59582         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
59583         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59584         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
59585         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
59586         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
59587         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59588         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
59589         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
59590         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
59591         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
59592         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
59593         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
59594         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
59595         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
59596         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
59597         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
59598         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
59599         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
59600         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
59601         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
59602         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
59603         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
59605         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
59606         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
59607         * include/ifunc-impl-list.h: New file.
59608         * misc/ifunc-impl-list.c: Likewise.
59609         * misc/Makefile (routines): Add ifunc-impl-list.
59610         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
59611         * string/test-string.h: Include <ifunc-impl-list.h>.
59612         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
59613         TEST_NAME]: New variables.
59614         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
59615         are defined.
59616         (test_init): Call __libc_ifunc_impl_list to initialize
59617         func_list if TEST_IFUNC and TEST_NAME are defined.
59619         * string/Makefile (strop-tests): Add bcopy and bzero.
59620         * string/test-bcopy.c: New file.
59621         * string/test-bzero.c: Likewise.
59622         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
59623         defined.
59624         * string/test-memset.c: Support bzero test if TEST_BZERO is
59625         defined.
59626         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
59627         __libc_memmove.
59628         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
59629         __libc_memset.
59630         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
59631         of memset.
59633 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
59635         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
59636         * configure: Regenerated.
59638         * Makeconfig (+link-static-before-libc): Don't include
59639         $(link-static-libc).
59641         * libio/libio.h (_IO_pos_t): Remove.
59643 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59645         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
59646         McGrath.
59648 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59650         * crypt/crypt-entry.c: Include fips-private.h.
59651         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
59652         * crypt/md5c-test.c (main): Tolerate disabled MD5.
59653         * sysdeps/unix/sysv/linux/fips-private.h: New file.
59654         * sysdeps/generic/fips-private.h: New file, dummy fallback.
59656 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59658         * crypt/crypt-private.h: Include stdbool.h.
59659         (_ufc_setup_salt_r): Return bool.
59660         * crypt/crypt-entry.c: Include errno.h.
59661         (__crypt_r): Return NULL with EINVAL for bad salt.
59662         * crypt/crypt_util.c (bad_for_salt): New.
59663         (_ufc_setup_salt_r): Check that salt is long enough and within
59664         the specified alphabet.
59665         * crypt/badsalttest.c: New file.
59666         * crypt/Makefile (tests): Add it.
59667         ($(objpfx)badsalttest): New.
59669 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
59671         * NEWS: Add entry for BZ #14602.
59673 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
59675         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
59676         type-generic.
59677         * math/libm-test.inc: Update comment listing what functions and
59678         macros are tested.
59679         (isgreater_test): New function.
59680         (isgreaterequal_test): Likewise.
59681         (isless_test): Likewise.
59682         (islessequal_test): Likewise.
59683         (islessgreater_test): Likewise.
59684         (isunordered_test): Likewise.
59685         (main): Call the new functions.
59687 2012-10-09  Roland McGrath  <roland@hack.frob.com>
59689         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
59690         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
59691         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
59692         * sysdeps/i386/configure: Regenerated.
59693         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
59694         * sysdeps/mach/configure: Regenerated.
59695         * sysdeps/mach/hurd/configure: Regenerated.
59696         * sysdeps/powerpc/configure: Regenerated.
59697         * sysdeps/powerpc/powerpc32/configure: Regenerated.
59698         * sysdeps/powerpc/powerpc64/configure: Regenerated.
59699         * sysdeps/s390/s390-32/configure: Regenerated.
59700         * sysdeps/s390/s390-64/configure: Regenerated.
59701         * sysdeps/sh/configure: Regenerated.
59702         * sysdeps/sparc/configure: Regenerated.
59703         * sysdeps/unix/sysv/linux/configure: Regenerated.
59704         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
59705         * sysdeps/x86_64/configure: Regenerated.
59707         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
59708         defined.  Don't check if MAP is NULL.
59710 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
59712         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
59713         (_G_stat64): Likewise.
59714         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
59715         (_G_stat64): Likewise.
59716         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
59717         instead of struct _G_stat64.
59718         * libio/fileops.c (mmap_remap_check): Likewise.
59719         (decide_maybe_mmap): Likewise.
59720         (_IO_new_file_seekoff): Likewise.
59721         (_IO_file_stat): Likewise.
59722         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
59723         _G_off64_t.
59724         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
59725         instead of struct _G_stat64.
59726         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
59728 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
59730         [BZ #14602]
59731         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59732         Replace with ...
59733         (CHECK_EOL): New macro.
59734         (two_way_short_needle): Check beginning of haystack for EOL.  Use
59735         CHECK_EOL.
59736         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59737         Replace with CHECK_EOL.
59738         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59739         Replace with CHECK_EOL.
59741 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
59743         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
59744         type-generic.
59745         * math/libm-test.inc: Update comment listing what functions and
59746         macros are tested.
59747         (finite_test): New function.
59748         (isinf_test): Likewise.
59749         (isnan_test): Likewise.
59750         (fpclassify_test): Test subnormal input.
59751         (isfinite_test): Likewise.
59752         (isnormal_test): Likewise.
59753         (main): Call the new functions.
59755 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
59757         [BZ #14660]
59758         * Makerules (%.dynsym): Force C locale when running
59759         $(OBJDUMP) --dynamic-syms.
59761 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
59763         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
59764         <stdint.h>.
59766 2012-10-06  David S. Miller  <davem@davemloft.net>
59768         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
59769         upper 32-bits of the length value in %o2 since we use branch-on-register
59770         tests which consider the entire 64-bit register.
59772 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
59774         * string/test-strstr.c (check2): Add a test for page boundary.
59776 2012-10-05  David S. Miller  <davem@davemloft.net>
59778         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
59779         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
59780         file.
59781         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
59782         sysdep_routines.
59783         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
59784         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
59785         and bzero when HWCAP_SPARC_CRYPTO is present.
59787 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
59789         [BZ #14602]
59790         * string/test-strstr.c (check2): New function.
59791         (test_main): Call check2.
59793         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
59794         and bug-strchr1.
59795         * string/bug-strcasestr1.c (do_test): Moved to ...
59796         * string/test-strcasestr.c (check1): Here.  New function.
59797         (do_one_test): Break out result checking code into ...
59798         (check_result): This.  New function.
59799         (do_one_test): Call check_result.
59800         (test_main): Call check1.
59801         * string/bug-strchr1.c (do_test): Moved to ...
59802         * string/test-strchr.c (check1): Here.  New function.
59803         (do_one_test): Break out result checking code into ...
59804         (check_result): This.  New function.
59805         (do_one_test): Call check_result.
59806         (test_main): Call check1.
59807         * string/bug-strstr1.c (main): Moved to ...
59808         * string/test-strstr.c (check1): Here.  New function.
59809         (do_one_test): Break out result checking code into ...
59810         (check_result): This.  New function.
59811         (do_one_test): Call check_result.
59812         (test_main): Call check1.
59813         * string/bug-strcasestr1.c: Removed.
59814         * string/bug-strchr1.c: Likewise.
59815         * string/bug-strstr1.c: Likewise.
59817         * elf/Makefile (dl-routines): Add hwcaps.
59818         * elf/dl-support.c (_dl_important_hwcaps): Removed.
59819         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
59820         (_dl_important_hwcaps): Moved to ...
59821         * elf/dl-hwcaps.c: Here.  New file.
59822         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
59824         [BZ #14557]
59825         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
59826         if IS_IN_rtld isn't defined.
59828         * elf/dl-support.c (_dl_sysinfo_map): New.
59829         Include "get-dynamic-info.h" and "setup-vdso.h".
59830         (_dl_non_dynamic_init): Call setup_vdso.
59831         * elf/dynamic-link.h: Don't include <assert.h>.
59832         (elf_get_dynamic_info): Moved to ...
59833         * elf/get-dynamic-info.h: Here.  New file.
59834         * elf/dynamic-link.h: Include "get-dynamic-info.h".
59835         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
59836         * elf/setup-vdso.h: Here.  New file.
59837         * elf/rtld.c: Include "setup-vdso.h".
59838         (dl_main): Call setup_vdso.
59840 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
59842         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
59843         creal in comment listing functions tested.  List finite, isinf,
59844         isnan, isless, islessequal, isgreater, isgreaterequal,
59845         islessgreater, isunordered, lgamma_r and pow10 as functions and
59846         macros not tested.  Mention which functions not tested are aliases
59847         for other functions.  Fix typo.  Note that signs of NaNs are not
59848         tested.
59850         * scripts/config.guess: Update from config.git.
59851         * scripts/config.sub: Likewise.
59853 2012-10-04  Roland McGrath  <roland@hack.frob.com>
59855         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
59856         * misc/madvise.c (madvise): Renamed to __madvise.
59857         Make madvise a weak alias.
59858         * include/sys/mman.h: Declare __madvise.
59859         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
59860         * sysdeps/unix/syscalls.list
59861         (madvise): Make __madvise the strong name, and madvise a weak alias.
59862         * sysdeps/unix/sysv/linux/syscalls.list
59863         (madvise, mmap): Remove redundant entries.
59864         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
59865         * malloc/malloc.c (mtrim): Likewise.
59866         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
59868 2012-10-03  Roland McGrath  <roland@hack.frob.com>
59870         * sysdeps/mach/hurd/dl-cache.c: File removed.
59871         * config.h.in (USE_LDCONFIG): New #undef.
59872         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
59873         * configure: Regenerated.
59874         * elf/Makefile (dl-routines): Add dl-cache only under
59875         [$(use-ldconfig) = yes].
59876         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
59877         cache on [USE_LDCONFIG].
59878         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
59879         [USE_LDCONFIG].
59880         * elf/rtld.c (dl_main): Likewise.
59882 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
59884         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
59885         _SC_LEVEL4_CACHE_LINESIZE.
59887 2012-10-03  Roland McGrath  <roland@hack.frob.com>
59889         * sysdeps/unix/bsd/confstr.h: File removed.
59891 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
59893         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
59894         sys/sdt-config.h.
59896 2012-10-02  Roland McGrath  <roland@hack.frob.com>
59898         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
59899         Make 'mapoff' field ElfW(Off) rather than off_t.
59901 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
59903         * nscd/Makefile: Remove nscd-cflags and all its users.
59904         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
59905         (CFLAGS-nonlib): Add compiler flags for nscd modules.
59907         [BZ #10631]
59908         * malloc.c (malloc_printerr): Clarify error message.
59910 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
59912         [BZ #14648]
59913         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59914         Set bit_FMA_Usable if FMA is supported.
59915         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
59916         macro.
59917         (bit_FMA4_Usable): Updated.
59918         (index_FMA_Usable): New macro.
59919         (CPUID_FMA): Likewise.
59920         (HAS_FMA): Defined with bit_FMA_Usable.
59922 2012-10-01  Roland McGrath  <roland@hack.frob.com>
59924         * bits/types.h (__swblk_t): Type removed.
59925         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
59926         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
59927         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59928         (__SWBLK_T_TYPE): Likewise.
59929         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59930         (__SWBLK_T_TYPE): Likewise.
59931         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59932         (__SWBLK_T_TYPE): Likewise.
59933         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59934         (__SWBLK_T_TYPE): Likewise.
59936 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
59937             Honza Horak <hhorak@redhat.com>
59939         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
59940         (xdr_mapname): Use YPMAXMAP as maxsize.
59941         (xdr_peername): Use YPMAXPEER as maxsize.
59942         (xdr_keydat): Use YPAXRECORD as maxsize.
59943         (xdr_valdat): Use YPMAXRECORD as maxsize.
59945 2012-10-01  Roland McGrath  <roland@hack.frob.com>
59947         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
59949         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
59950         * csu/init-first.c: ... here.
59951         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
59952         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
59953         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
59954         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
59955         * sysdeps/i386/init-first.c: File removed.
59956         * sysdeps/sh/init-first.c: File removed.
59958 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
59960         [BZ #14645]
59961         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
59962         if x * y might underflow to zero and z is zero.
59963         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59964         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59965         * math/libm-test.inc (min_subnorm_value): New variable.
59966         (fma_test): Add more tests.
59967         (fma_test_towardzero): Likewise.
59968         (fma_test_downward): Likewise.
59969         (fma_test_upward): Likewise.
59970         (initialize): Set min_subnorm_value.
59972 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
59974         [BZ #14638]
59975         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
59976         0 + 0.
59977         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
59978         mode for addition resulting in exact zero.
59979         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
59980         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
59981         exact 0 + 0.
59982         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
59983         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59984         * math/libm-test.inc (fma_test): Add more tests.
59985         (fma_test_towardzero): New function.
59986         (fma_test_downward): Likewise.
59987         (fma_test_upward): Likewise.
59988         (main): Call the new functions.
59990 2012-09-28  David S. Miller  <davem@davemloft.net>
59992         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
59994 2012-09-28  Roland McGrath  <roland@hack.frob.com>
59996         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
59997         instead of SIGALRM.
59999         * sysdeps/gnu/_G_config.h: Moved to ...
60000         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
60001         * sysdeps/mach/hurd/_G_config.h: Moved to ...
60002         * sysdeps/generic/_G_config.h: ... here.
60004         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
60006         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
60008         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
60009         Conditionalize target on [libnss_test1.so-version].
60011         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
60013         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
60014         (elfobjdir): Move out of conditionals.
60016         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
60017         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
60018         (__nss_lookup_function): Conditionalize label remove_from_tree on
60019         [!DO_STATIC_NSS || SHARED], matching its only use.
60021 2012-09-28  David S. Miller  <davem@davemloft.net>
60023         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
60024         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
60025         file.
60026         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60027         sysdep_routines.
60028         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60029         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
60030         when HWCAP_SPARC_CRYPTO is present.
60032 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60034         * io/tst-mknodat.c: Create a FIFO instead of a socket.
60036 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
60038         [BZ #6530]
60039         * stdio-common/vfprintf.c (process_string_arg): Revert
60040         2000-07-22 change.
60042 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
60044         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
60045         for testcase.
60046         * stdio-common/tst-sprintf.c: Include <locale.h>
60047         (main): Test sprintf's handling of incomplete multibyte
60048         characters.
60050 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
60052         * elf/dl-runtime.c (VERSYMIDX): Removed.
60053         * elf/dl-version.c (VERSYMIDX): Likewise.
60054         * elf/do-rel.h (VERSYMIDX): Likewise.
60055         (VALIDX): Likewise.
60056         * elf/dynamic-link.h (VERSYMIDX): Likewise.
60057         * elf/rtld.c (VALIDX): Likewise.
60058         (ADDRIDX): Likewise.
60059         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
60060         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
60061         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
60062         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
60063         (VALIDX): Likewise.
60064         (ADDRIDX): Likewise.
60066 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60068         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
60070 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
60072         [BZ #11438]
60073         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
60074         to global scope.
60075         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
60076         addresses are in the same scope as 192.0.2/24.
60077         * posix/gai.conf: Document new scope table defaults.
60079 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60081         [BZ #5298]
60082         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
60083         for ftell.  Compute offsets from write pointers instead.
60084         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60086 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60088         [BZ #14543]
60089         * libio/Makefile (tests): New test case tst-fseek.
60090         * libio/tst-fseek.c: New test case to verify that fseek/ftell
60091         combination works in wide mode.
60092         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
60093         state when the external buffer state changes.
60095 2012-09-27  David S. Miller  <davem@davemloft.net>
60097         [BZ #14376]
60098         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
60099         pass reloc->r_addend in as the 'high' argument to
60100         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
60102         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60104 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60106         * rt/tst-aio2.c: Include <pthread.h>.
60107         * rt/tst-aio3.c: Likewise.
60109 2012-09-27  Steve Ellcey  <sellcey@mips.com>
60111         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
60113 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
60115         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
60116         contents on [SHARED].
60118 2012-09-26  Marek Polacek  <polacek@redhat.com>
60120         [BZ #14530]
60121         [BZ #13741]
60122         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
60123         for C++ and GCC <4.3 as well as for non GCC compilers.
60125 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
60127         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60129 2012-09-25  Roland McGrath  <roland@hack.frob.com>
60131         * Makefile.in (all, install): Declare with .PHONY.
60132         Reported by Michael Hope <michael.hope@linaro.org>.
60134 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60136         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
60137         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
60138         system header.
60139         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
60140         Likewise.
60141         (sydep_routines): Add the new and the internal functions.
60142         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
60143         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
60144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
60145         (GLIBC_2.17): Add the new function.
60146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
60147         (GLIBC_2.17): Likewise.
60148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
60149         (GLIBC_2.17): Likewise.
60150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
60151         (GLIBC_2.17): Likewise.
60152         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
60154 2012-09-25  Alan Modra  <amodra@gmail.com>
60156         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
60157         Add release barrier before setting once_control to say
60158         initialisation is done.  Add hints on lwarx.  Use macro in
60159         place of isync.
60160         (clear_once_control): Add release barrier.
60162 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60164         [BZ #13629]
60165         * math/s_clog.c (__clog): Handle more values close to |z| = 1
60166         specially.
60167         * math/s_clog10.c (__clog10): Likewise.
60168         * math/s_clog10f.c (__clog10f): Likewise.
60169         * math/s_clog10l.c (__clog10l): Likewise.
60170         * math/s_clogf.c (__clogf): Likewise.
60171         * math/s_clogl.c (__clogl): Likewise.
60172         * math/Makefile (libm-calls): Add x2y2m1.
60173         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
60174         (__x2y2m1): Likewise.
60175         (__x2y2m1l): Likewise.
60176         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
60177         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
60178         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
60179         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
60180         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
60181         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
60182         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
60183         * sysdeps/i386/fpu/libm-test-ulps: Update.
60184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60186         [BZ #14621]
60187         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
60188         int as type of variable DEPTH.
60189         (glob): Use size_t instead of int as type of variables NEWCOUNT
60190         and OLD_PATHC.
60192 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60194         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
60195         Add s_sincosf-sse2.
60196         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
60197         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
60198         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
60199         macros for using routine as __sincosf_ia32.
60200         Use macro for function declaration and weak_alias.
60201         * sysdeps/i386/fpu/libm-test-ulps: Update.
60203         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
60204         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60206         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
60207         subnormal argument.
60208         * math/s_cexpf.c (__cexpf): Likewise.
60209         * math/s_csinf.c (__csinf): Likewise.
60210         * math/s_csinhf.c (__csinhf): Likewise.
60211         * math/s_ctanf.c (__ctanf): Likewise.
60212         * math/s_ctanhf.c (__ctanhf): Likewise.
60213         * math/s_ccosh.c (__ccoshf): Likewise.
60214         * math/s_cexp.c (__cexpl): Likewise.
60215         * math/s_csin.c (__csin): Likewise.
60216         * math/s_csinh.c (__csinh): Likewise.
60217         * math/s_ctan.c (__ctan): Likewise.
60218         * math/s_ctanh.c (ctanh): Likewise.
60219         * math/s_ccoshl.c (__ccoshl): Likewise.
60220         * math/s_cexpl.c (__cexpl): Likewise.
60221         * math/s_csinl.c (__csinl): Likewise.
60222         * math/s_csinhl.c (__csinhl): Likewise.
60223         * math/s_ctanl.c (__ctanl): Likewise.
60224         * math/s_ctanhl.c (__ctanhl): Likewise.
60226 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60228         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
60229         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
60230         (_IO_off_t): Define to __off_t, not _G_off_t.
60231         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
60232         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
60233         (_IO_wint_t): Define to wint_t, not _G_wint_t.
60234         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
60235         type of __dummy and __dummy2 fields.
60236         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
60237         (_G_ssize_t): Likewise.
60238         (_G_off_t): Likewise.
60239         (_G_pid_t): Likewise.
60240         (_G_uid_t): Likewise.
60241         (_G_wchar_t): Likewise.
60242         (_G_wint_t): Likewise.
60243         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
60244         (_G_ssize_t): Likewise.
60245         (_G_off_t): Likewise.
60246         (_G_pid_t): Likewise.
60247         (_G_uid_t): Likewise.
60248         (_G_wchar_t): Likewise.
60249         (_G_wint_t): Likewise.
60250         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
60251         (_G_ssize_t): Likewise.
60252         (_G_off_t): Likewise.
60253         (_G_pid_t): Likewise.
60254         (_G_uid_t): Likewise.
60255         (_G_wchar_t): Likewise.
60256         (_G_wint_t): Likewise.
60258 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60260         * malloc/arena.c: Include malloc-sysdep.h.
60261         (shrink_heap): Use check_may_shrink_heap to decide if madvise
60262         is sufficient to shrink the heap or an unmap is needed.
60263         * sysdeps/generic/malloc-sysdep.h: New file.  Define
60264         new function check_may_shrink_heap.
60265         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
60266         new function check_may_shrink_heap.
60268 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60270         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
60271         comments.
60273 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
60275         * catgets/test-gencat.sh: Add "set -e".
60276         * elf/tst-pathopt.sh: Likewise.
60277         * grp/tst_fgetgrent.sh: Likewise.
60278         * iconvdata/run-iconv-test.sh: Likewise.
60279         * intl/tst-gettext.sh: Likewise.
60280         * intl/tst-gettext2.sh: Likewise.
60281         * intl/tst-gettext4.sh: Likewise.
60282         * intl/tst-gettext6.sh: Likewise.
60283         * intl/tst-translit.sh: Likewise.
60284         * io/ftwtest-sh: Likewise.
60285         * libio/test-freopen.sh: Likewise.
60286         * malloc/tst-mtrace.sh: Likewise.
60287         * posix/globtest.sh: Likewise.
60288         * posix/tst-getconf.sh: Likewise.
60289         * posix/wordexp-tst.sh: Likewise.
60290         * stdio-common/tst-printf.sh: Likewise.
60291         * stdio-common/tst-unbputc.sh: Likewise.
60292         * stdlib/tst-fmtmsg.sh: Likewise.
60293         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60294         * catgets/Makefile: Do not specify -e option when running
60295         testsuite shell scripts.
60296         * elf/Makefile: Likewise.
60297         * grp/Makefile: Likewise.
60298         * iconvdata/Makefile: Likewise.
60299         * intl/Makefile: Likewise.
60300         * io/Makefile: Likewise.
60301         * libio/Makefile: Likewise.
60302         * malloc/Makefile: Likewise.
60303         * posix/Makefile: Likewise.
60304         * stdio-common/Makefile: Likewise.
60305         * stdlib/Makefile: Likewise.
60306         * sysdeps/x86_64/Makefile: Likewise.
60308         * io/ftwtest-sh: Add copyright header.
60309         * posix/globtest.sh: Likewise.
60310         * posix/tst-getconf.sh: Likewise.
60311         * posix/wordexp-tst.sh: Likewise.
60312         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60314 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
60316         [BZ #13679]
60317         * Makeconfig (+link): Defined as $(+link-static) if
60318         $(build-shared) isn't yes.
60319         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
60320         isn't yes.
60321         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
60323         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
60325         [BZ #14562]
60326         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
60327         new chunk size with MALLOC_ALIGN_MASK.
60329 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
60331         [BZ #5044]
60332         * stdio-common/printf_fphex.c: Include <stdbool.h> and
60333         <rounding-mode.h>.
60334         (__printf_fphex): Determine rounding using get_rounding_mode and
60335         round_away.
60336         * stdio-common/tst-printf-round.c (struct hex_test): New
60337         structure.
60338         (hex_tests): New variable.
60339         (test_hex_in_one_mode): New function.
60340         (do_test): Also run tests for hex float output.
60342 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
60344         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60345         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60346         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
60347         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60348         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60349         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
60350         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60351         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60353 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
60355         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
60356         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
60357         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
60358         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
60360 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
60362         [BZ #14579]
60363         * elf/rtld.c (dl_main): Limit the check for self loading to normal
60364         mode only.
60365         * elf/tst-rtld-load-self.sh: New test.
60366         * elf/Makefile: Run it.
60368 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
60370         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
60371         (tst-writev-ENV): Remove.
60372         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
60374 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
60376         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
60378 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
60380         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
60381         unconditional.
60382         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
60383         Likewise.
60384         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
60385         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
60386         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
60387         Likewise.
60389 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
60391         [BZ #14587]
60392         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
60393         * config.make.in (have-cpp-asm-debuginfo): Removed.
60394         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
60395         * configure: Regenerated.
60397 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
60399         [BZ #5044]
60400         * stdio-common/printf_fp.c: Include <stdbool.h> and
60401         <rounding-mode.h>.
60402         (___printf_fp): Determine rounding using get_rounding_mode and
60403         round_away.
60404         * stdio-common/tst-printf-round.c: New file.
60405         * stdio-common/Makefile (tests): Add tst-printf-round.
60406         (link-libm): New variable.
60407         ($(objpfx)tst-printf-round): Depend in $(link-libm).
60409 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
60411         [BZ #14576]
60412         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
60413         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
60414         Likewise.
60415         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
60416         Likewise.
60418 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
60420         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
60421         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60422         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60423         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60425 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
60427         [BZ #14518]
60428         * include/rounding-mode.h: New file.
60429         * sysdeps/generic/get-rounding-mode.h: Likewise.
60430         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
60431         * stdlib/strtod_l.c: Include <rounding-mode.h>.
60432         (MAX_VALUE): New macro.
60433         (MIN_VALUE): Likewise.
60434         (overflow_value): New function.
60435         (underflow_value): Likewise.
60436         (round_and_return): Use overflow_value and underflow_value to
60437         determine return values in overflow and underflow cases.  Use
60438         round_away to determine rounding depending on rounding mode.
60439         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
60440         determine return values in overflow and underflow cases.
60441         * stdlib/tst-strtod-round.c: Include <fenv.h>.
60442         (struct test_results): New structure.
60443         (struct test): Use struct test_results to store expected results
60444         for all rounding modes.
60445         (TEST): Include expected results for all rounding modes.
60446         (test_in_one_mode): New function.
60447         (do_test): Use test_in_one_mode to compute and check results.
60448         Check results for all rounding modes.
60449         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
60450         $(link-libm).
60452 2012-12-09  Allan McRae  <allan@archlinux.org>
60454         * sysdeps/i386/fpu/libm-test-ulps: Update
60456 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
60458         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
60459         (_G_int32_t): Likewise.
60460         (_G_uint16_t): Likewise.
60461         (_G_uint32_t): Likewise.
60462         (_G_HAVE_BOOL): Likewise.
60463         (_G_HAVE_ATEXIT): Likewise.
60464         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60465         (_G_HAVE_IO_FILE_OPEN): Likewise.
60466         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
60467         (_G_int32_t): Likewise.
60468         (_G_uint16_t): Likewise.
60469         (_G_uint32_t): Likewise.
60470         (_G_HAVE_BOOL): Likewise.
60471         (_G_HAVE_ATEXIT): Likewise.
60472         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60473         (_G_HAVE_IO_FILE_OPEN): Likewise.
60474         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
60475         (_G_int32_t): Likewise.
60476         (_G_uint16_t): Likewise.
60477         (_G_uint32_t): Likewise.
60478         (_G_HAVE_BOOL): Likewise.
60479         (_G_HAVE_ATEXIT): Likewise.
60480         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60481         (_G_HAVE_IO_FILE_OPEN): Likewise.
60483 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
60485         * csu/libc-tls.c: Update copyright years.
60487 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
60489         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
60490         [!_G_USING_THUNKS]: Remove conditional code.
60491         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
60492         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
60494         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
60495         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
60496         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60497         (_G_VTABLE_LABEL_PREFIX): Likewise.
60498         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60499         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60500         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60501         (_G_VTABLE_LABEL_PREFIX): Likewise.
60502         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60503         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60504         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60505         (_G_VTABLE_LABEL_PREFIX): Likewise.
60506         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60508 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
60510         * libio/Makefile: Include ../Makeconfig before tests.
60511         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
60512         only if $(build-shared) is yes.
60514         * iconv/gconv_db.c: Update copyright years.
60516 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60518         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
60519         unwind info if defined PIC. Fix special cases description.
60520         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
60522         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
60523         DP_HI_MASK entry.
60524         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
60526 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
60528         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
60530         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
60531         is NULL.
60533         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
60534         (LDLIBS-tst-chk4): This.
60535         (LDFLAGS-tst-chk5): Renamed to ...
60536         (LDLIBS-tst-chk5): This.
60537         (LDFLAGS-tst-chk6): Renamed to ...
60538         (LDLIBS-tst-chk6): This.
60539         (LDFLAGS-tst-lfschk4): Renamed to ...
60540         (LDLIBS-tst-lfschk4): This.
60541         (LDFLAGS-tst-lfschk5): Renamed to ...
60542         (LDLIBS-tst-lfschk5): This.
60543         (LDFLAGS-tst-lfschk6): Renamed to ...
60544         (LDLIBS-tst-lfschk6): This.
60546         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
60547         on $(common-objpfx)soversions.mk.
60549 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
60551         [BZ #10014]
60552         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
60553         example host name.
60555 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
60557         * malloc/arena.c (arena_get_retry): New function that gets
60558         another arena for the caller to try its request on.
60559         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
60560         current arena cannot fulfill the request.
60561         (__libc_memalign): Likewise.
60562         (__libc_memalign): Likewise.
60563         (__libc_pvalloc): Likewise.
60564         (__libc_calloc): Likewise.
60566 2012-09-05  John Tobey  <john.tobey@gmail.com>
60568         [BZ #13542]
60569         * manual/arith.texi (Operations on Complex): Fix description
60570         of carg branch cut.
60572 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
60574         [BZ #10014]
60575         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
60576         host name.
60578         [BZ #10038]
60579         * manual/memory.texi (Memory): Make order of menu items match
60580         order of sections.
60582 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60584         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
60585         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
60586         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
60588 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60590         * csu/libc-tls.c (static_dtv): Renamed to ...
60591         (_dl_static_dtv): This.  Make it global.
60592         (_dl_initial_dtv): Removed.
60593         (__libc_setup_tls): Updated.
60594         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
60595         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
60596         DL_INITIAL_DTV.
60598 2012-09-06  Petr Machata  <pmachata@redhat.com>
60600         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
60601         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
60602         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
60603         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
60605 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60607         [BZ #14545]
60608         * csu/libc-tls.c (_dl_initial_dtv): New variable.
60609         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
60610         freeing dtv[-1].
60612 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60614         [BZ #14544]
60615         * Makeconfig (link-static-before-libc): Replace $(+prector)
60616         with $(+prectorT).
60617         (link-static-after-libc): Replace $(+postctor) with
60618         $(+postctorT).
60619         (link-bounded): Replace $(+prector)/$(+postctor) with
60620         $(+prectorT)/$(+postctorT).
60621         (+prectorT): New macro.
60622         (+postctorT): Likewise.
60624 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
60626         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
60627         (round_str): Handle values above the maximum for IBM long double
60628         as inexact.
60629         * stdlib/tst-strtod-round.c (tests): Regenerated.
60631 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60633         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
60634         assembler flag.
60635         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
60636         zarch_nohighgprs around the zarch optimized routines.
60637         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
60638         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
60639         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
60640         for zarch.
60642 2012-09-05  David S. Miller  <davem@davemloft.net>
60644         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60646         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
60647         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
60648         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
60649         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
60650         entries.
60652 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60654         * malloc/arena.c: Fold copyright years.
60655         * malloc/mcheck.c, malloc/memusage.c: Likewise.
60657 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60659         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
60661 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60663         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
60665 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60667         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
60668         change internal state upon failure.
60670 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60672         * malloc/mcheck.c (mcheck_check_all): Fix typo.
60673         * malloc/memusage.c (mmap): Likewise.
60674         (mmap64, mremap): Likewise.  Adjust name in comment.
60676 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60678         * libio/fileops.c: Fix typos in comments.
60679         * libio/oldfileops.c: Likewise.
60680         * libio/wfileops.c: Likewise.
60682 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60684         [BZ #1349]
60685         * malloc/Makefile (tests): Add tst-malloc-usable test case.
60686         (tst-malloc-usable-ENV): Set environment for test case.
60687         * malloc/hooks.c (malloc_check_get_size): New function to get
60688         requested size.
60689         * malloc/malloc.c (musable): Use malloc_check_get_size.
60690         * malloc/tst-malloc-usable.c: New test case.
60692 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60694         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
60696 2012-09-05  Allan McRae  <allan@archlinux.org>
60698         [BZ #13966]
60699         * configure.in (CXX_SYSINCLUDES): Use compiler output to
60700         determine header location.
60701         * configure: Regenerated.
60703 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60705         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
60706         float format.
60707         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
60708         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
60709         format.
60710         (test): Regenerate.
60712 2012-09-04  David S. Miller  <davem@davemloft.net>
60714         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
60715         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
60716         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
60718 2012-09-04  Florian Weimer  <fweimer@redhat.com>
60720         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
60721         failures.
60723         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
60725 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
60727         [BZ #9914]
60728         * libio/iogetdelim.c: Include <limits.h>.
60729         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
60730         + len + 1 would overflow.
60732 2012-09-03  Andreas Jaeger  <aj@suse.de>
60734         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60735         * sysdeps/i386/fpu/libm-test-ulps: Update.
60737 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60739         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
60740         Add s_sinf-sse2, s_conf-sse2.
60742         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
60743         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
60744         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
60745         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
60747         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
60748         for using routine as __sinf_ia32.
60749         Use macro for function declaration and weak_alias.
60750         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
60751         for using routine as __cosf_ia32.
60752         Use macro for function declaration and weak_alias.
60754         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
60755         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
60757         * sysdeps/x86_64/fpu/s_sinf.S: New file.
60758         * sysdeps/x86_64/fpu/s_cosf.S: New file.
60759         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60761         * math/libm-test.inc (cos_test): Add more test cases.
60762         (sin_test): Likewise.
60763         (sincos_test): Likewise.
60765 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60767         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
60768         (IFUNC_RESOLVE): Make pointers to the specialized implementations
60769         hidden.
60770         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
60772 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
60774         [BZ #14538]
60775         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
60776         first element of the GOT.
60777         (elf_machine_load_address): Return the difference between
60778         the runtime address of _DYNAMIC and elf_machine_dynamic ().
60780 2012-09-01  Allan McRae  <allan@archlinux.org>
60782         [BZ #13412]
60783         * configure.in (AWK): Require gawk version 3.0 or later.
60784         * configure: Regenerated.
60786 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
60788         * sysdeps/unix/sysv/linux/kernel-features.h
60789         (__ASSUME_POSIX_CPU_TIMERS): Remove.
60790         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
60791         [__NR_clock_getres]: Make code unconditional.
60792         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
60793         (clock_getcpuclockid): Remove code left unreachable by removal of
60794         conditionals.
60795         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
60796         code unconditional.
60797         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
60798         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60799         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
60800         Make code unconditional.
60801         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
60802         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60803         * sysdeps/unix/sysv/linux/clock_settime.c
60804         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
60805         conditional code.
60806         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
60807         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60809 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
60811         [BZ #14476]
60812         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
60813         scripts/test-installation.pl.
60815         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
60816         and $ld_so_version if it is set.
60818 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60820         [BZ #14516]
60821         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
60822         failure if reading from procfs failed.
60823         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
60825 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
60827         * sysdeps/unix/sysv/linux/kernel-features.h
60828         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
60829         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
60830         Remove conditional code.
60831         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60832         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
60833         Remove conditional code.
60834         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60835         * sysdeps/unix/sysv/linux/i386/fxstat.c
60836         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60837         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60838         * sysdeps/unix/sysv/linux/i386/fxstatat.c
60839         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60840         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60841         * sysdeps/unix/sysv/linux/i386/lxstat.c
60842         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60843         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60844         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
60845         Remove conditional code.
60846         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60847         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
60848         Remove conditional code.
60849         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60850         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
60851         <kernel-features.h>.
60852         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
60853         Remove.
60854         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
60855         Remove conditional code.
60856         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60857         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
60858         Remove conditional.
60860 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
60862         [BZ #5400]
60863         * NEWS: Add fixed bug number.
60865 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
60867         [BZ #14519]
60868         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
60869         underflowing exponent in case of negative sign.
60870         * stdlib/tst-strtod-round-data: Add more tests.
60871         * stdlib/tst-strtod-round.c (tests): Regenerated.
60873         [BZ #3479]
60874         * stdlib/strtod_l.c (NDIG): Remove.
60875         (HEXNDIG): Likewise.
60876         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
60877         smallest representable value.
60878         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
60879         lie within an exact representation of 1/2 ulp of the result.
60880         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
60881         unconditionally.
60882         (TENS_P9_IDX): Define unconditionally.
60883         (TENS_P9_SIZE): Likewise.
60884         (TENS_P10_IDX): Likewise.
60885         (TENS_P10_SIZE): Likewise.
60886         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
60887         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
60888         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
60889         entries for 10^2^13 and 10^2^14.
60890         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
60891         (TENS_P13_IDX): Define.
60892         (TENS_P13_SIZE): Likewise.
60893         (TENS_P14_IDX): Likewise.
60894         (TENS_P14_SIZE): Likewise.
60895         (_fpioconst_pow10): Change array size to
60896         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
60897         unconditional.
60898         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
60899         1024]: Add entries for 10^2^13 and 10^2^14.
60900         [LAST_POW10 > _LAST_POW10]: Remove #error.
60901         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
60902         (_fpioconst_pow10): Change array size to
60903         FPIOCONST_POW10_ARRAY_SIZE.
60904         * stdlib/gen-fpioconst.c: New file.
60905         * stdlib/gen-tst-strtod-round.c: Likewise.
60906         * stdlib/tst-strtod-round-data: Likewise.
60907         * stdlib/tst-strtod-round.c: Likewise.
60908         * stdlib/Makefile (tests): Add tst-strtod-round.
60910         [BZ #14459]
60911         * stdlib/strtod_l.c: Include <stdint.h>.
60912         (NDEBUG): Do not define.
60913         (round_and_return): Change EXPONENT parameter to type intmax_t.
60914         Rearrange calculations to avoid internal overflow possibilities.
60915         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
60916         Rearrange calculations to avoid internal overflow possibilities.
60917         Assert that number fits inside MPNSIZE limbs.
60918         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
60919         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
60920         calculations and add assertions to avoid internal overflow
60921         possibilities.  Add casts to avoid signed/unsigned operations.
60922         * stdlib/tst-strtod-overflow.c: New file.
60923         * stdlib/Makefile (tests): Add tst-strtod-overflow.
60925 2012-08-25  Marek Polacek  <polacek@redhat.com>
60927         * time/time.h: Fix some typos in comments.
60929 2012-08-23  Roland McGrath  <roland@hack.frob.com>
60931         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
60932         * posix/tst-rfc3484-2.c: Likewise.
60933         * posix/tst-rfc3484-3.c: Likewise.
60935 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
60937         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
60938         (EF_ARM_ABI_FLOAT_HARD): Likewise.
60940 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
60942         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
60943         #include of fxstatat64.c.
60945 2012-08-22  Roland McGrath  <roland@hack.frob.com>
60947         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
60948         * shadow/getspent_r.c: Likewise.
60949         * shadow/getspnam.c: Likewise.
60950         * shadow/getspnam_r.c: Likewise.
60951         * gshadow/getsgent.c: Likewise.
60952         * gshadow/getsgent_r.c: Likewise.
60953         * gshadow/getsgnam.c: Likewise.
60954         * gshadow/getsgnam_r.c: Likewise.
60955         * inet/getnetbyad.c: Likewise.
60956         * inet/getnetbyad_r.c: Likewise.
60957         * inet/getnetbynm.c: Likewise.
60958         * inet/getnetbynm_r.c: Likewise.
60959         * inet/getnetent.c: Likewise.
60960         * inet/getnetent_r.c: Likewise.
60961         * inet/getproto.c: Likewise.
60962         * inet/getproto_r.c: Likewise.
60963         * inet/getprtent.c: Likewise.
60964         * inet/getprtent_r.c: Likewise.
60965         * inet/getprtname.c: Likewise.
60966         * inet/getprtname_r.c: Likewise.
60967         * inet/getrpcbyname.c: Likewise.
60968         * inet/getrpcbyname_r.c: Likewise.
60969         * inet/getrpcbynumber.c: Likewise.
60970         * inet/getrpcbynumber_r.c: Likewise.
60971         * inet/getrpcent.c: Likewise.
60972         * inet/getrpcent_r.c: Likewise.
60973         * inet/getaliasent.c: Likewise.
60974         * inet/getaliasent_r.c: Likewise.
60975         * inet/getaliasname.c: Likewise.
60976         * inet/getaliasname_r.c: Likewise.
60977         * nscd/getgrgid_r.c: Likewise.
60978         * nscd/getgrnam_r.c: Likewise.
60979         * nscd/gethstbyad_r.c: Likewise.
60980         * nscd/gethstbynm3_r.c: Likewise.
60981         * nscd/getpwnam_r.c: Likewise.
60982         * nscd/getpwuid_r.c: Likewise.
60983         * nscd/getsrvbynm_r.c: Likewise.
60984         * nscd/getsrvbypt_r.c: Likewise.
60985         * nscd/gai.c: Likewise.
60987         * configure.in (build_nscd): New substituted variable, set
60988         by --disable-build-nscd and defaults to $use_nscd.
60989         * configure: Regenerated.
60990         * config.make.in (build-nscd): New substituted variable.
60991         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
60992         Change conditional to require [$(build-nscd) = yes] as well.
60993         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
60995         [BZ# 13696]
60996         * configure.in (use_nscd): New substituted variable, set by
60997         --disable-nscd.  If enabled, define USE_NSCD.
60998         * configure: Regenerated.
60999         * config.h.in: Add USE_NSCD.
61000         * config.make.in (use-nscd): New substituted variable.
61001         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
61002         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
61003         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
61004         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
61005         (CFLAGS-getgrnam_r.c): Likewise.
61006         (CFLAGS-initgroups.c): Likewise.
61007         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
61008         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
61009         Variables removed.
61010         * inet/getnetgrent_r.c
61011         (nscd_setnetgrent): New function, broken out of ...
61012         (setnetgrent): ... here.  Call it.
61013         (innetgr): Conditionalize nscd bits on [USE_NSCD].
61014         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
61015         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
61016         * nscd/Makefile (routines, aux): Move definitions after include of
61017         Makeconfig.  Conditionalize on [$(use-nscd) != no].
61018         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
61019         Conditionalize on [USE_NSCD].
61020         (is_nscd, nscd_init_cb): Likewise.
61021         (nss_load_library): Conditionalize init callback on [USE_NSCD].
61022         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
61023         * nss/nss_db/db-init.c: Likewise.
61024         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
61025         [USE_NSCD].
61026         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
61027         (make_request): Use it.
61028         (cache_valid_p): New function.
61029         (__check_pf): Use it.
61030         * NEWS: Add item for --disable-nscd.
61032 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
61034         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
61035         to support sed >= 4.2.1-20-ga9bf076.
61036         * configure: Regenerated.
61038 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61040         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
61041         Conditionalize whole body on [IREL].
61043 2012-08-22  Jeff Law <law@redhat.com>
61045         [BZ #14505]
61046         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
61047         if the family is PF_UNSPEC.
61049 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
61051         * Makerules (lib-version): Rename from V.
61052         (install-lib-nosubdir): Change V to lib-version.
61054 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
61056         [BZ #14252]
61057         * powerpc32/power6/wcschr.c: New file.
61058         * powerpc32/power6/wcscpy.c: New file.
61059         * powerpc32/power6/wcsrchr.c: New file.
61060         * powerpc64/power6/wcschr.c: New file.
61061         * powerpc64/power6/wcscpy.c: New file.
61062         * powerpc64/power6/wcsrchr.c: New file.
61064 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
61066         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
61067         (two_way_short_needle): Use it.
61068         * string/strstr.c (AVAILABLE1_USES_J): Define.
61069         * string/strcasestr.c: Likewise.
61071         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
61072         array references.
61073         * string/strcasestr.c (TOLOWER): Make side-effect safe.
61075         [BZ #11607]
61076         * NEWS: Add an entry.
61077         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
61078         define their defaults.
61079         (two_way_short_needle): Detect end-of-string on-the-fly.
61080         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
61081         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
61082         * string/bug-strcasestr1.c: New test.
61083         * string/Makefile: Run it.
61085 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
61087         [BZ #11607]
61088         * string/str-two-way.h (two_way_short_needle): Optimize matching of
61089         the first character.
61091 2012-08-21  Roland McGrath  <roland@hack.frob.com>
61093         * csu/elf-init.c (__libc_csu_irel): Function removed.
61094         * csu/libc-start.c (apply_irel): New function.
61095         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
61097 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
61099         * sysdeps/unix/sysv/linux/kernel-features.h
61100         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
61101         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
61102         <kernel-features.h>.
61103         [__NR_fadvise64_64]: Make code unconditional.
61104         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
61105         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
61106         !__NR_fadvise64_64)]: Likewise.
61107         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
61108         !__NR_fadvise64_64))]: Likewise.
61109         [__NR_fadvise64]: Make code unconditional.
61110         [!__NR_fadvise64]: Remove conditional code.
61111         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
61112         <kernel-features.h>.
61113         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61114         unconditional.
61115         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61116         conditional code.
61117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
61118         not include <kernel-features.h>.
61119         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61120         unconditional.
61121         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61122         conditional code.
61123         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
61124         include <kernel-features.h>.
61125         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61126         unconditional.
61127         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61128         conditional code.
61130 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
61132         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
61133         slight instruction rearrangements per scrollpipe analysis.
61134         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
61136 2012-08-20  Roland McGrath  <roland@hack.frob.com>
61138         * manual/syslog.texi (syslog; vsyslog, closelog):
61139         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
61140         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
61142         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
61143         DSOCAPS to match condition on defining it.
61145 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
61147         * sysdeps/unix/sysv/linux/kernel-features.h
61148         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
61149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
61150         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61151         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
61153         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61154         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
61156         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61157         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61159         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
61160         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
61162         * sysdeps/unix/sysv/linux/kernel-features.h
61163         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
61164         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
61165         unconditional.
61166         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61167         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
61168         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61169         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61170         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
61171         Make code unconditional.
61172         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61173         (__mmap64) [!__NR_mmap2]: Likewise.
61174         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
61175         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61176         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61177         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
61178         [__NR_mmap2]: Make code unconditional.
61179         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61180         (__mmap64) [!__NR_mmap2]: Likewise.
61182 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61184         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
61186 2012-08-18  Andreas Jaeger  <aj@suse.de>
61188         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
61190 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61192         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
61193         * include/unistd.h (__have_sock_cloexec): Likewise.
61194         (__have_pipe2): Likewise.
61195         (__have_dup3): Likewise.
61197 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61199         [BZ #9685]
61200         * include/unistd.h (__have_pipe2): Change define into an extern int.
61201         (__have_dup3): Likewise.
61202         * socket/have_sock_cloexec.c: Include fcntl.h.
61203         (__have_pipe2): New variable.
61204         (__have_dup3): Likewise.
61206 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
61208         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
61210 2012-08-17  Marek Polacek  <polacek@redhat.com>
61212         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
61213         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
61215 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61217         * configure.in: Add AC_SUBST for sysheaders.
61218         * configure: Regenerated.
61219         * config.make.in (sysheaders): New substituted variable.
61221         * sysdeps/unix/mkfifo.c: Moved ...
61222         * sysdeps/posix/mkfifo.c: ... here.
61223         * sysdeps/unix/mkfifoat.c: Moved ...
61224         * sysdeps/posix/mkfifoat.c: ... here.
61226         * sysdeps/unix/utime.c: Moved ...
61227         * sysdeps/posix/utime.c: ... here.
61229         * sysdeps/unix/time.c: Moved ...
61230         * sysdeps/posix/time.c: ... here.
61231         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
61232         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
61234         * sysdeps/unix/nice.c: Moved ...
61235         * sysdeps/posix/nice.c: ... here.
61237         * sysdeps/unix/alarm.c: Moved ...
61238         * sysdeps/posix/alarm.c: ... here.
61240         * intl/Makefile ($(codeset_mo)): Depend on the input file.
61242 2012-08-17  Jeff Law <law@redhat.com>
61244         * intl/Makefile (codeset_mo): New variable.
61245         ($(codeset_mo)): New target.
61246         (tst-codeset.out): Depend on that.  Remove explicit rule.
61247         (tst-gettext3.out, tst-gettext5.out): Likewise.
61248         (LOCPATH-ENV, tst-codeset-ENV): New variables.
61249         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
61250         * intl/tst-codeset.sh: Remove.
61251         * intl/tst-gettext3.sh: Likewise.
61252         * intl/tst-gettext5.sh: Likewise.
61254 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61256         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
61257         * sysdeps/unix/syscalls.list: ... here.
61259         * sysdeps/posix/getaddrinfo.c
61260         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
61261         (gaiconf_init, gaiconf_reload): Use them.
61262         [!_STATBUF_ST_NSEC]
61263         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
61264         Define using time_t rather than struct timespec.
61266         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
61267         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
61268         Macros removed.
61269         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
61270         [!NO_THREADS].
61271         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
61272         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
61273         Likewise.
61275         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
61276         __libc_cleanup_push argument.
61278         * bits/param.h: New file.
61279         * misc/sys/param.h: New file.
61280         * include/sys/param.h: New file.
61281         * misc/Makefile (headers): Add bits/param.h.
61282         * sysdeps/generic/sys/param.h: File removed.
61283         * sysdeps/unix/sysv/linux/bits/param.h: New file.
61284         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
61285         * sysdeps/mach/hurd/bits/param.h: New file.
61286         * sysdeps/mach/hurd/sys/param.h: File removed.
61288         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
61289         last change.
61291         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
61292         [_IO_MTSAFE_IO].
61293         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
61294         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
61295         New macros.
61297         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
61298         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
61299         rather than -D_IO_MTSAFE_IO conditionally.
61300         * stdio-common/Makefile (CPPFLAGS): Likewise.
61301         * wcsmbs/Makefile (CPPFLAGS): Likewise.
61302         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
61303         Use $(libio-mtsafe).
61304         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
61305         of -D_IO_MTSAFE_IO.
61306         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
61307         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
61308         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
61309         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
61310         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
61311         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
61312         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
61313         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
61314         (CFLAGS-fread_u_chk.c): Likewise.
61315         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
61316         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
61317         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
61318         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
61319         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
61320         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
61321         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
61322         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
61323         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
61325         * libio/Makefile: Test [$(libc-reentrant) = yes]
61326         instead of [$(filter %REENTRANT, $(defines)) nonempty].
61328         * Makeconfig
61329         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
61330         * sysdeps/pthread/configure: File removed.
61331         * sysdeps/pthread/Makeconfig: New file.
61332         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
61333         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
61335 2012-08-16  Gary Benson  <gbenson@redhat.com>
61337         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
61338         unmapping the first object in a namespace.
61340 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61342         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
61343         (__internal_setnetgrent): ... this.  Add internal_function to
61344         definition.  Add libc_hidden_def.
61345         (setnetgrent): Update caller.
61346         (internal_endnetgrent): Renamed to ...
61347         (__internal_endnetgrent): ... this.  Add internal_function to
61348         definition.  Add libc_hidden_def.
61349         (endnetgrent): Update caller.
61350         (internal_getnetgrent_r): Renamed to ...
61351         (__internal_getnetgrent_r): ... this.  Add internal_function to
61352         definition.  Add libc_hidden_def.
61353         (__getnetgrent_r): Update caller.
61354         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
61356 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61358         * stdlib/longlong.h: Update from GCC.
61360 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61362         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
61363         on _QL, which is set by umul_ppmm but never used.
61364         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
61365         variables, which are set by GMP macros but never used.
61366         * stdio-common/_itowa.c (_itowa): Likewise.
61367         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
61368         * stdlib/mod_1.c (mpn_mod_1): Likewise.
61370 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
61372         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
61373         struct La_sh_regs is not constant.
61374         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
61375         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
61376         and struct La_sparc64_regs are not constant.
61378 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61380         * sysdeps/unix/sysv/linux/kernel-features.h
61381         (__ASSUME_POSIX_TIMERS): Remove.
61382         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61383         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61384         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
61385         Make code unconditional.
61386         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61387         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
61388         Make code unconditional.
61389         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61390         * sysdeps/unix/sysv/linux/clock_nanosleep.c
61391         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
61392         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61393         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
61394         Make code unconditional.
61395         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61396         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
61397         (__libc_missing_posix_timers): Remove.
61399 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61401         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
61402         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
61404         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
61406         * elf/dl-sym.c: Include <stdlib.h>.
61408         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
61409         constants, which avoids warnings in 32-bit builds.
61411         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
61412         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
61414         * misc/lseek.c: File moved to ...
61415         * io/lseek.c: ... here.
61417         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
61419         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
61420         shifting LEN more than 31 bits at once.
61422 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61424         [BZ #14195]
61425         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
61426         segmentation fault for a case of two empty input strings.
61427         * string/test-strncasecmp.c (check1): Renamed to...
61428         (bz12205): ...this.
61429         (bz14195): Add new testcase for two empty input strings and N > 0.
61430         (test_main): Call new testcase, adapt for renamed function.
61432 2012-08-15  Andreas Jaeger  <aj@suse.de>
61434         [BZ #14090]
61435         * crypt/md5test2.c: New test, based on test supplied by Serge
61436         Belyshev <belyshev@depni.sinp.msu.ru>.
61437         * crypt/Makefile (xtests): Add md5test-giant..
61438         * crypt/Makefile ($(objpfx)md5test-giant): Add.
61440 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
61442         [BZ #14090]
61443         * crypt/md5.c (md5_process_block): Don't assume the buffer
61444         length is less than 2**32.
61445         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
61446         length is less than 2**64.
61448 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61450         * string/str-two-way.h: Include <sys/param.h>.
61451         (MAX): Macro removed.
61453         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
61454         Move #define and #undef of memmove to just before and after
61455         including <string.h>.
61457         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
61458         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
61459         and after including <string.h>.  Move declarations of
61460         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
61461         to before #include "string/memmove.c".
61463         * include/dirent.h: Declare __getdirentries.
61465         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
61466         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
61468 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
61470         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
61471         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
61472         * sysdeps/i386/configure: Regenerated.
61473         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
61474         STABS_CURRENT_FILE, and STABS_FUN.
61475         (END): Remove call to STABS_FUN_END.
61476         (STABS_CURRENT_FILE1): Delete.
61477         (STABS_CURRENT_FILE): Likewise.
61478         (STABS_FUN): Likewise.
61479         (STABS_FUN_END): Likewise.
61480         (STABS_FUN2): Likewise.
61481         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
61482         * sysdeps/x86_64/configure: Regenerated.
61484 2012-08-14  Roland McGrath  <roland@hack.frob.com>
61486         * elf/dl-open.c: Include <atomic.h>.
61487         * elf/dl-lookup.c: Likewise.
61489 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
61491         * sysdeps/unix/sysv/linux/kernel-features.h
61492         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
61493         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
61494         unconditionally.
61495         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
61496         unconditionally.
61497         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
61498         condition on __ASSUME_CLONE_THREAD_FLAGS.
61500 2012-08-14  Andreas Jaeger  <aj@suse.de>
61502         * sysdeps/i386/fpu/libm-test-ulps: Update.
61504 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
61506         * include/atomic.h (atomic_exchange_and_add): Split into ...
61507         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
61508         New atomic macros.
61510 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
61512         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61514 2012-08-13  Jeff Law <law@redhat.com>
61516         * manual/stdio.texi (snprintf): Clarify handling of the trailing
61517         null byte in the output string.
61519 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
61521         * sysdeps/unix/sysv/linux/kernel-features.h
61522         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
61523         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
61524         (__ASSUME_ARG_MAX_STACK_BASED): Define.
61525         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
61526         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
61527         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
61528         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
61530 2012-08-09  Jeff Law <law@redhat.com>
61532         [BZ #13939]
61533         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
61534         When avoid_arena is set, don't retry in the that arena.  Pick the
61535         next one, whatever it might be.
61536         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
61537         (arena_lock): Pass in new parameter to arena_get2.
61538         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
61539         arena_get2.
61540         (__libc_malloc): Unify retrying after main arena failure with
61541         __libc_memalign version.
61542         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
61544 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
61546         [BZ #14166]
61547         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
61548         to __redirect_strstr.
61549         (__strstr_sse42): Use typeof __redirect_strstr.
61550         (__strstr_ia32): Likewise.
61551         (__libc_strstr): New prototype.
61552         (strstr): Renamed to ...
61553         (__libc_strstr): This.
61554         (strstr): New strong alias of __libc_strstr.
61555         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
61556         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
61557         __redirect_time.
61558         Include <time.h>.
61559         (__libc_time): New prototype.
61560         (time_ifunc): Replace time with __libc_time.
61561         (time): New strong alias and hidden definition of __libc_time.
61562         (__GI_time): Remove strong alias.
61563         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
61564         Include <stddef.h>.
61565         (memmove): Redefined to __redirect_memmove.
61566         (__memmove_sse2): Use typeof __redirect_memmove.
61567         (__memmove_ssse3): Likewise.
61568         (__memmove_ssse3_back): Likewise.
61569         (__libc_memmove): New prototype.
61570         (memmove): Renamed to ...
61571         (__libc_memmove): This.
61572         (memmove): New strong alias of __libc_memmove.
61574 2012-08-08  Mark Salter  <msalter@redhat.com>
61576         * elf/elf.h
61577         (R_MN10300_TLS_GD): Define.
61578         (R_MN10300_TLS_LD): Likewise.
61579         (R_MN10300_TLS_LDO): Likewise.
61580         (R_MN10300_TLS_GOTIE): Likewise.
61581         (R_MN10300_TLS_IE): Likewise.
61582         (R_MN10300_TLS_LE): Likewise.
61583         (R_MN10300_TLS_DTPMOD): Likewise.
61584         (R_MN10300_TLS_DTPOFF): Likewise.
61585         (R_MN10300_TLS_TPOFF): Likewise.
61586         (R_MN10300_SYM_DIFF): Likewise.
61587         (R_MN10300_ALIGN): Likewise.
61588         (R_MN10300_NUM): Update.
61590 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
61592         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
61593         Remove.
61595 2012-08-08  Roland McGrath  <roland@hack.frob.com>
61597         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
61599         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
61600         sysdeps/unix -> sysdeps/posix move.
61601         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
61603 2012-08-07      Allan McRae     <allan@archlinux.org>
61605         [BZ #14303]
61606         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
61607         (SUNOS_CPP): Likewise.
61608         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
61609         not found.
61610         (open_input): Call CPP using execvp.
61612 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
61614         * sysdeps/unix/sysv/linux/kernel-features.h
61615         (__ASSUME_PROT_GROWSUPDOWN): Remove.
61616         (__ASSUME_NO_CLONE_DETACHED): Likewise.
61617         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
61618         (__ASSUME_WAITID_SYSCALL): Likewise.
61619         * sysdeps/unix/sysv/linux/dl-execstack.c
61620         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
61621         code unconditional.
61622         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
61623         conditional code.
61624         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
61625         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
61626         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
61627         code.
61628         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
61629         unconditional.
61630         [__ASSUME_WAITID_SYSCALL]: Likewise.
61631         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
61633 2012-08-07  Roland McGrath  <roland@hack.frob.com>
61635         * sysdeps/unix/closedir.c: Renamed to ...
61636         * sysdeps/posix/closedir.c: ... here.
61637         * sysdeps/unix/dirfd.c: Renamed to ...
61638         * sysdeps/posix/dirfd.c: ... here.
61639         * sysdeps/unix/dirstream.h: Renamed to ...
61640         * sysdeps/posix/dirstream.h: ... here.
61641         * sysdeps/unix/fdopendir.c: Renamed to ...
61642         * sysdeps/posix/fdopendir.c: ... here.
61643         * sysdeps/unix/opendir.c: Renamed to ...
61644         * sysdeps/posix/opendir.c: ... here.
61645         * sysdeps/unix/readdir.c: Renamed to ...
61646         * sysdeps/posix/readdir.c: ... here.
61647         * sysdeps/unix/readdir_r.c: Renamed to ...
61648         * sysdeps/posix/readdir_r.c: ... here.
61649         * sysdeps/unix/rewinddir.c: Renamed to ...
61650         * sysdeps/posix/rewinddir.c: ... here.
61651         * sysdeps/unix/seekdir.c: Renamed to ...
61652         * sysdeps/posix/seekdir.c: ... here.
61653         * sysdeps/unix/telldir.c: Renamed to ...
61654         * sysdeps/posix/telldir.c: ... here.
61655         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
61656         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
61657         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
61658         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
61660         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
61661         * bits/fcntl.h: ... here.
61663         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
61664         not 0.
61665         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
61666         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
61667         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
61668         (struct flock): Move l_start, l_len to the beginning.
61669         Use __pid_t for l_pid.
61670         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
61671         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
61672         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
61673         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
61674         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
61675         [__USE_LARGEFILE64] (struct flock64): New type.
61676         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
61678         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
61679         * bits/dirent.h: ... here.
61681         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
61682         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
61684 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
61686         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61687         Change from 2.6.0 to 2.6.16.
61688         * sysdeps/unix/sysv/linux/configure: Regenerated.
61689         * sysdeps/unix/sysv/linux/kernel-features.h
61690         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
61691         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
61692         version.
61693         (__ASSUME_UTIMES): Likewise.
61694         (__ASSUME_CLONE_STOPPED): Remove.
61695         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
61696         architectures, not kernel version.
61697         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
61698         (__ASSUME_NO_CLONE_DETACHED): Likewise.
61699         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
61700         (__ASSUME_WAITID_SYSCALL): Likewise.
61701         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
61702         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
61703         * README: State 2.6.16 as minimum Linux kernel version.  Do not
61704         refer to older versions.
61706 2012-08-06  Roland McGrath  <roland@hack.frob.com>
61708         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
61709         Define alphasort64 as an alias.
61710         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
61711         Define versionsort64 as an alias.
61712         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
61713         Define scandir64 as an alias.
61714         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
61715         Define scandirat64 as an alias.
61716         * dirent/alphasort64.c (alphasort64):
61717         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
61718         * dirent/versionsort64.c: Likewise.
61719         * dirent/scandir64.c: Likewise.
61720         * dirent/scandirat64.c: Likewise.
61721         * sysdeps/wordsize-64/alphasort.c: File removed.
61722         * sysdeps/wordsize-64/alphasort64.c: File removed.
61723         * sysdeps/wordsize-64/scandir.c: File removed.
61724         * sysdeps/wordsize-64/scandir64.c: File removed.
61725         * sysdeps/wordsize-64/scandirat.c: File removed.
61726         * sysdeps/wordsize-64/scandirat64.c: File removed.
61727         * sysdeps/wordsize-64/versionsort.c: File removed.
61728         * sysdeps/wordsize-64/versionsort64.c: File removed.
61729         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
61730         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
61731         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
61732         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
61733         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
61734         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
61735         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
61736         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
61738         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
61739         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
61740         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
61741         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61742         [defined __arch64__ || defined __sparcv9]
61743         (__INO_T_MATCHES_INO64_T): New macro.
61744         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61745         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
61746         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
61747         * sysdeps/unix/sysv/linux/bits/dirent.h
61748         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
61749         (_DIRENT_MATCHES_DIRENT64): New macro.
61751         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
61752         Define lockf64 as an alias.
61753         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
61754         Define fseeko64 as an alias.
61755         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
61756         Define ftello64 as an alias.
61757         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
61758         Define _IO_fgetpos64 and fgetpos64 as aliases.
61759         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
61760         Define _IO_fsetpos64 and fsetpos64 as aliases.
61761         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
61762         Conditionalize body on this.
61763         * libio/fseeko64.c: Likewise.
61764         * libio/ftello64.c: Likewise.
61765         * libio/iofgetpos64.c: Likewise.
61766         * libio/iofsetpos64.c: Likewise.
61767         * sysdeps/wordsize-64/lockf.c: File removed.
61768         * sysdeps/wordsize-64/lockf64.c: File removed.
61769         * sysdeps/wordsize-64/fseeko.c: File removed.
61770         * sysdeps/wordsize-64/fseeko64.c: File removed.
61771         * sysdeps/wordsize-64/ftello.c: File removed.
61772         * sysdeps/wordsize-64/ftello64.c: File removed.
61773         * sysdeps/wordsize-64/iofgetpos.c: File removed.
61774         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
61775         * sysdeps/wordsize-64/iofsetpos.c: File removed.
61776         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
61777         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
61778         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
61779         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
61780         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
61781         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
61782         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
61783         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
61784         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
61785         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
61786         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
61788         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
61789         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
61790         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
61791         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61792         [defined __arch64__ || defined __sparcv9]
61793         (__OFF_T_MATCHES_OFF64_T): New macro.
61794         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61795         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
61796         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61797         (__OFF_T_MATCHES_OFF64_T): New macro.
61799 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
61801         * stdlib/secure-getenv.c (__secure_getenv): Replace
61802         GLIBC_2_16 with GLIBC_2_17.
61804 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
61806         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
61807         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
61809 2012-08-03  David S. Miller  <davem@davemloft.net>
61811         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61813 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
61815         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
61816         Remove.
61817         (__ASSUME_CORRECT_SI_PID): Likewise.
61818         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
61819         (__ASSUME_TMPFS_NAME): Likewise.
61820         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
61821         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
61822         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
61823         (HAVE_AUX_SECURE): Make definition unconditional.
61824         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
61825         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
61827 2012-08-03  Roland McGrath  <roland@hack.frob.com>
61829         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
61830         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
61831         * sysdeps/mach/hurd/eloop-threshold.h: New file.
61832         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
61833         __eloop_threshold instead of SYMLOOP_MAX.
61835         * sysdeps/generic/eloop-threshold.h: New file.
61836         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
61837         of MAXSYMLINKS.
61838         * elf/chroot_canon.c (chroot_canon): Likewise.
61840 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
61842         [BZ #13717]
61843         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61844         Change to 2.6.0 everywhere.
61845         * sysdeps/unix/sysv/linux/configure: Regenerated.
61846         * sysdeps/unix/sysv/linux/kernel-features.h
61847         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
61848         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
61849         kernel versions.
61850         (__ASSUME_POSIX_TIMERS): Define unconditionally.
61851         (__ASSUME_FUTEX_REQUEUE): Remove.
61852         (__ASSUME_STATFS64): Define unconditionally.
61853         (__ASSUME_AT_SECURE): Likewise.
61854         (__ASSUME_CORRECT_SI_PID): Likewise.
61855         (__ASSUME_TGKILL): Define without depending on kernel version for
61856         i386.
61857         (__ASSUME_UTIMES): Likewise.
61858         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
61859         kernel version.
61860         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
61861         (__ASSUME_TMPFS_NAME): Likewise.
61862         * README: Update reference to Linux kernel versions.
61864 2012-08-02  Marek Polacek  <polacek@redhat.com>
61866         [BZ# 14150]
61867         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
61868         libc_cv_asm_type_prefix with %.
61869         * configure: Regenerated.
61870         * include/libc-symbols.h: Remove comment about
61871         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
61872         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
61873         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
61874         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
61875         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
61876         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
61877         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
61878         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
61879         * elf/tst-unique2mod1.c: Likewise.
61880         * elf/tst-unique1mod2.c: Likewise.
61881         * elf/tst-unique1mod1.c: Likewise.
61882         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
61883         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
61884         Replace ASM_TYPE_DIRECTIVE with .type.
61885         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61886         * sysdeps/i386/sysdep.h: Likewise.
61887         * sysdeps/x86_64/sysdep.h: Likewise.
61888         * sysdeps/sh/sysdep.h: Likewise.
61889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
61890         Do not define ASM_TYPE_DIRECTIVE.
61891         * sysdeps/powerpc/sysdep.h: Likewise.
61892         * sysdeps/powerpc/powerpc32/sysdep.h:
61893         Replace ASM_TYPE_DIRECTIVE with .type.
61894         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
61895         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
61896         * sysdeps/i386/fpu/e_powf.S: Likewise.
61897         * sysdeps/i386/fpu/e_expl.S: Likewise.
61898         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
61899         * sysdeps/i386/fpu/e_acosh.S: Likewise.
61900         * sysdeps/i386/fpu/e_pow.S: Likewise.
61901         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
61902         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
61903         * sysdeps/i386/fpu/s_expm1.S: Likewise.
61904         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
61905         * sysdeps/i386/fpu/e_log2.S: Likewise.
61906         * sysdeps/i386/fpu/e_log2l.S: Likewise.
61907         * sysdeps/i386/fpu/e_scalb.S: Likewise.
61908         * sysdeps/i386/fpu/e_powl.S: Likewise.
61909         * sysdeps/i386/fpu/e_log10f.S: Likewise.
61910         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
61911         * sysdeps/i386/fpu/e_logl.S: Likewise.
61912         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
61913         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
61914         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
61915         * sysdeps/i386/fpu/e_log2f.S: Likewise.
61916         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
61917         * sysdeps/i386/fpu/e_log.S: Likewise.
61918         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61919         * sysdeps/i386/fpu/e_logf.S: Likewise.
61920         * sysdeps/i386/fpu/e_log10l.S: Likewise.
61921         * sysdeps/i386/fpu/e_atanh.S: Likewise.
61922         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
61923         * sysdeps/i386/fpu/e_log10.S: Likewise.
61924         * sysdeps/i386/fpu/s_frexp.S: Likewise.
61925         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61926         * sysdeps/i386/fpu/s_asinh.S: Likewise.
61927         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
61928         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61929         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
61930         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
61931         * sysdeps/i386/i686/strtok.S: Likewise.
61932         * sysdeps/i386/i386-mcount.S: Likewise.
61933         * sysdeps/i386/strtok.S: Likewise.
61934         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
61935         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61936         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61937         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61938         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
61939         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61940         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
61941         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
61942         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61943         * sysdeps/x86_64/_mcount.S: Likewise.
61944         * sysdeps/x86_64/strtok.S: Likewise.
61945         * sysdeps/sh/_mcount.S: Likewise.
61947 2012-08-01  Roland McGrath  <roland@hack.frob.com>
61949         * libio/iofopen.c: Include <fcntl.h>.
61950         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
61951         (_IO_fopen64, fopen64): Define as aliases.
61952         * libio/iofopen64.c: Include <fcntl.h>.
61953         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
61954         Conditionalize body on this.
61955         * sysdeps/wordsize-64/iofopen.c: File removed.
61956         * sysdeps/wordsize-64/iofopen64.c: File removed.
61958 2012-08-01  Marek Polacek  <polacek@redhat.com>
61960         * libc/Makeconfig: Use elf in place of binfmt-subdir.
61961         Use dlfcn directly instead of a variable.
61962         (binfmt-subdir): Do not define.
61963         (dlfcn): Likewise.
61965 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
61967         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
61968         Remove all definitions.
61969         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
61970         <kernel-features.h>.
61971         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
61972         (miss_F_GETOWN_EX): Remove all definitions.
61973         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
61974         macro definition.
61975         [!__ASSUME_FCNTL64]: Remove conditional code.
61976         [__ASSUME_FCNTL64]: Make code unconditional.
61977         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
61978         <kernel-features.h>.
61979         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
61980         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
61981         (lockf64) [__NR_fcntl64]: Make code unconditional.
61982         (lockf64) [__ASSUME_FCNTL64]: Likewise.
61984         * sysdeps/unix/sysv/linux/kernel-features.h
61985         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
61986         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
61987         Make code unconditional.
61988         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61989         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
61991         [__NR_vfork]: Make code unconditional.
61992         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61993         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
61995         [__NR_vfork]: Make code unconditional.
61996         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61997         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61999 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62001         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
62002         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
62004         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62005         Define mkstemp64 as an alias.
62006         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62007         Define mkstemps64 as an alias.
62008         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62009         Define mkostemp64 as an alias.
62010         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62011         Define mkostemps64 as an alias.
62012         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
62013         Conditionalize body on this.
62014         * misc/mkostemp64.c: Likewise.
62015         * misc/mkostemps64.c: Likewise.
62016         * misc/mkstemps64.c: Likewise.
62017         * sysdeps/wordsize-64/mkstemp64.c: File removed.
62018         * sysdeps/wordsize-64/mkostemp64.c: File removed.
62019         * sysdeps/wordsize-64/mkostemp.c: File removed.
62020         * sysdeps/wordsize-64/mkstemp.c: File removed.
62021         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
62022         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
62023         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
62024         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
62026         [BZ #14138]
62027         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
62028         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
62029         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
62030         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
62032         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
62033         compat_symbol macros from <shlib-compat.h> rather than the underlying
62034         default_symbol_version and symbol_version macros, so that DEFAULT
62035         lines in shlib-versions are respected.
62036         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
62038 2012-08-01  Florian Weimer  <fweimer@redhat.com>
62040         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
62041         Declare with warn_unused_result.
62042         (setgid, setregid, setegid, setresgid): Likewise.
62043         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
62044         Likewise.
62045         * WUR-REPORT: Remove set*id functions.
62047 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
62049         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
62051 2012-07-31  Roland McGrath  <roland@hack.frob.com>
62053         [BZ #10191]
62054         * include/sys/socket.h (__libc_accept, __libc_accept4):
62055         Add attribute_hidden.
62056         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
62058         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
62059         use of PTR_MANGLE.
62060         * inet/getnetgrent_r.c (setup): Likewise.
62062         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
62064 2012-07-31  David S. Miller  <davem@davemloft.net>
62066         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62068 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
62070         [BZ #13629]
62071         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
62072         value between 1.0 and 2.0 and smaller part has absolute value less
62073         than 1.0.
62074         * math/s_clog10.c (__clog10): Likewise.
62075         * math/s_clog10f.c (__clog10f): Likewise.
62076         * math/s_clog10l.c (__clog10l): Likewise.
62077         * math/s_clogf.c (__clogf): Likewise.
62078         * math/s_clogl.c (__clogl): Likewise.
62079         * math/libm-test.inc (clog_test): Add more tests.
62080         (clog10_test): Likewise.
62081         * sysdeps/i386/fpu/libm-test-ulps: Update.
62082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62084 2012-07-31  Florian Weimer  <fweimer@redhat.com>
62086         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
62087         Exit with zero in case no suitable GID is found, and write a
62088         message to standard error.
62090 2012-07-30  Roland McGrath  <roland@hack.frob.com>
62092         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
62093         rather than to 1.
62094         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
62095         (MAXPATHLEN): Removed.
62096         (NOGROUP, NODEV): New macros.
62097         (setbit, clrbit, isset, isclr): New macros.
62098         (howmany, roundup, powerof2): New macros.
62099         (DEV_BSIZE): New macro.
62101         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
62102         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
62104         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
62105         definition on [!__NO_LONG_DOUBLE_MATH].
62107         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
62108         PTR_MANGLE and PTR_DEMANGLE.
62110         * socket/accept4.c (accept4): Rename to __libc_accept4.
62111         Define accept4 as a weak alias.
62113         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
62114         on [_DIRENT_HAVE_D_TYPE].
62115         * io/ftw.c (ftw_dir): Likewise.
62117         * io/xmknod.c (__xmknod): Don't check PATH for being null.
62119         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
62121         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
62122         Use the BSD numbers rather than the arbitrary ones we had.
62123         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
62124         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
62125         (SIGXCPU, SIGXFSZ): New macros.
62126         (_NSIG): Now 32.
62128         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
62129         initializer on [_LIBC_REENTRANT].
62131         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
62132         definitions inside [_POSIX_MAPPED_FILES].
62134         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
62136         * dirent/opendir.c: Include <fcntl.h>.
62138         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
62139         (__libc_getspecific): Likewise.
62140         (__libc_key_create): Likewise.
62142         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
62143         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
62144         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
62145         (tmpfile64): Define as alias.
62146         * sysdeps/wordsize-64/tmpfile.c: File removed.
62147         * sysdeps/wordsize-64/tmpfile64.c: File removed.
62148         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
62149         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
62151         * stdio-common/vfscanf.c: Include <stdbool.h>.
62152         * nss/makedb.c: Likewise.
62153         * stdio-common/_i18n_number.h: Likewise.
62154         * argp/argp-help.c: Likewise.
62155         * posix/wordexp.c: Likewise.
62156         * sysdeps/posix/spawni.c: Likewise.
62157         * nss/nss_files/files-initgroups.c: Likewise.
62158         * stdio-common/reg-modifier.c: Include <stdlib.h>.
62159         * nss/nss_files/files-initgroups.c: Likewise.
62160         * nss/nss_db/db-netgrp.c: Likewise.
62161         * nss/nss_db/db-initgroups.c: Likewise.
62162         * io/fchmodat.c: Include <sys/stat.h>.
62164         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
62165         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
62167         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
62168         [HAVE_MMAP].
62170         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
62171         Add multiple inclusion protection.
62173 2012-07-27  David S. Miller  <davem@davemloft.net>
62175         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62177 2012-07-27  Gary Benson  <gbenson@redhat.com>
62179         [BZ #14298]
62180         * elf/rtld.c: Include <stap-probe.h>.
62181         (dl_main): Added static probes "init_start" and "init_complete".
62182         * elf/dl-load.c: Include <stap-probe.h>.
62183         (lose): Take new parameter "nsid".
62184         Added static probe "map_failed".
62185         (_dl_map_object_from_fd): Pass namespace id to lose.
62186         Added static probe "map_start".
62187         (open_verify): Pass namespace id to lose.
62188         * elf/dl-open.c: Include <stap-probe.h>.
62189         (dl_open_worker) Added static probes "map_complete", "reloc_start"
62190         and "reloc_complete".
62191         * elf/dl-close.c: Include <stap-probe.h>.
62192         (_dl_close_worker): Added static probes "unmap_start" and
62193         "unmap_complete".
62194         * elf/rtld-debugger-interface.txt: New file documenting the above.
62196 2012-07-26  Roland McGrath  <roland@hack.frob.com>
62198         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
62199         rather than a string variable.
62200         * sunrpc/rpc_main.c (h_output): Likewise.
62201         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
62203 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
62205         * inet/check_native.c: New file.
62207 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
62209         [BZ #13629]
62210         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
62211         if larger part has absolute value 1.0.
62212         * math/s_clog10.c (__clog10): Likewise.
62213         * math/s_clog10f.c (__clog10f): Likewise.
62214         * math/s_clog10l.c (__clog10l): Likewise.
62215         * math/s_clogf.c (__clogf): Likewise.
62216         * math/s_clogl.c (__clogl): Likewise.
62217         * math/libm-test.inc (clog_test): Add more tests.
62218         (clog10_test): Likewise.
62219         * sysdeps/i386/fpu/libm-test-ulps: Update.
62220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62222         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
62223         (pltexit): Likewise.
62224         (La_regs): Likewise.
62225         (La_retval): Likewise.
62226         (int_retval): Likewise.
62227         Update #error for removed macros to refer only to definitions in
62228         tst-audit.h.
62229         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
62230         macro.
62231         (pltexit): Likewise.
62232         (La_regs): Likewise.
62233         (La_retval): Likewise.
62234         (int_retval): Likewise.
62235         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
62236         macro.
62237         (pltexit): Likewise.
62238         (La_regs): Likewise.
62239         (La_retval): Likewise.
62240         (int_retval): Likewise.
62241         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
62242         macro.
62243         (pltexit): Likewise.
62244         (La_regs): Likewise.
62245         (La_retval): Likewise.
62246         (int_retval): Likewise.
62247         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
62248         macro.
62249         (pltexit): Likewise.
62250         (La_regs): Likewise.
62251         (La_retval): Likewise.
62252         (int_retval): Likewise.
62253         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
62254         macro.
62255         (pltexit): Likewise.
62256         (La_regs): Likewise.
62257         (La_retval): Likewise.
62258         (int_retval): Likewise.
62259         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
62260         macro.
62261         (pltexit): Likewise.
62262         (La_regs): Likewise.
62263         (La_retval): Likewise.
62264         (int_retval): Likewise.
62265         * sysdeps/generic/tst-audit.h: Update comment to refer only to
62266         macro definitions in tst-audit.h.
62267         * sysdeps/i386/tst-audit.h: New file.
62268         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
62269         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
62270         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
62271         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
62272         * sysdeps/sh/tst-audit.h: Likewise.
62273         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
62274         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
62275         * sysdeps/x86_64/tst-audit.h: Likewise.
62277 2012-07-26  Andreas Jaeger  <aj@suse.de>
62279         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
62280         ptrace.
62282         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
62283         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
62284         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
62285         PTRACE_O_MASK.
62286         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
62287         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
62288         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
62290         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
62291         value.
62293         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
62294         _sigsys.
62295         (si_call_addr, si_syscall, si_arch): Define new macro.
62296         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
62297         _sigsys.
62298         (si_call_addr, si_syscall, si_arch): Define new marcro.
62299         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
62300         _sigsys.
62301         (si_call_addr, si_syscall, si_arch): Define new macro.
62302         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
62303         _sigsys.
62304         (si_call_addr, si_syscall, si_arch): Define new macro.
62306 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62308         [BZ #13717]
62309         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62310         Change to 2.4.21 where previously 2.4.1.
62311         * sysdeps/unix/sysv/linux/configure: Regenerated.
62312         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
62313         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
62314         Linux kernel version.
62315         (__ASSUME_STD_AUXV): Remove.
62316         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
62317         kernel version.
62318         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
62319         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
62320         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
62321         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
62322         (__ASSUME_NETLINK_SUPPORT): Likewise.
62323         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
62324         (__no_netlink_support): Remove conditional definition.
62325         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
62326         Remove.
62327         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62328         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
62329         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
62330         (if_nameindex_ioctl): Remove.
62331         (if_nameindex_netlink): Do not handle __no_netlink_support.
62332         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62333         code.
62334         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
62335         Remove conditional code.
62336         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62337         code.
62338         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
62339         unconditional.
62340         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62341         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
62342         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
62343         Remove.
62344         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
62345         [!__ASSUME_STD_AUXV]: Remove conditional code.
62346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
62347         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
62348         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
62349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
62350         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
62351         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62352         code.
62353         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
62355         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
62356         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62357         conditional code.
62358         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
62360         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62361         code.
62362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
62363         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62364         conditional code.
62365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
62366         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62367         code unconditional.
62368         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62369         conditional code.
62370         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62371         unconditional.
62372         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62373         conditional code.
62374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62375         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62376         unconditional.
62377         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62378         conditional code.
62379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
62380         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62381         code unconditional.
62382         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62383         conditional code.
62384         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62385         unconditional.
62386         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62387         conditional code.
62388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
62389         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62390         code unconditional.
62391         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62392         conditional code.
62393         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62394         unconditional.
62395         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62396         conditional code.
62398 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
62400         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
62401         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
62402         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
62403         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
62404         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
62405         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
62406         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
62407         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
62408         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
62409         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
62410         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
62411         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
62412         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
62413         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
62414         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
62415         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
62416         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
62417         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
62418         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
62419         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
62420         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
62421         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
62422         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
62424 2012-07-25  Florian Weimer  <fweimer@redhat.com>
62426         * Versions.def: Add GLIBC_2.17.
62427         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
62428         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
62429         Introduce __libc_secure_getenv.
62430         * stdlib/Versions (2.17): Add secure_getenv
62431         (GLIBC_PRIVATE): Add __libc_secure_getenv.
62432         * stdlib/secure-getenv.c: Rename __secure_getenv to
62433         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
62434         symbol __secure_getenv for GLIBC_2.0.
62435         * stdlib/tst-secure-getenv.c: New.
62436         * stdlib/Makefile (tests): Add testcase.
62437         * manual/startup.texi (Environment Access): Document
62438         secure_getenv.
62439         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
62440         __libc_secure_getenv.
62441         * inet/ruserpass.c (ruserpass): Likewise.
62442         * malloc/mtrace.c (mtrace): Likewise.
62443         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
62444         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
62445         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
62446         * sysdeps/posix/tempname.c: Likewise.  Evaluate
62447         HAVE_SECURE_GETENV.
62448         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
62449         __secure_getenv to __libc_secure_getenv.
62450         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
62451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62452         Likewise.
62453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62454         Likewise.
62455         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62456         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62457         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62458         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62459         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
62460         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62461         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
62463 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62465         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
62466         (struct La_i86_retval): Likewise.
62467         (struct La_x86_64_regs): Likewise.
62468         (struct La_x86_64_retval): Likewise.
62469         (struct La_x32_regs): Likewise.
62470         (struct La_x32_retval): Likewise.
62471         (struct La_ppc32_regs): Likewise.
62472         (struct La_ppc32_retval): Likewise.
62473         (struct La_ppc64_regs): Likewise.
62474         (struct La_ppc64_retval): Likewise.
62475         (struct La_sh_regs): Likewise.
62476         (struct La_sh_retval): Likewise.
62477         (struct La_s390_32_regs): Likewise.
62478         (struct La_s390_32_retval): Likewise.
62479         (struct La_s390_64_regs): Likewise.
62480         (struct La_s390_64_retval): Likewise.
62481         (struct La_sparc32_regs): Likewise.
62482         (struct La_sparc32_retval): Likewise.
62483         (struct La_sparc64_regs): Likewise.
62484         (struct La_sparc64_retval): Likewise.
62485         (struct audit_ifaces): Remove architecture-specific pltenter and
62486         pltexit members.
62487         * sysdeps/i386/ldsodefs.h: New file.
62488         * sysdeps/powerpc/ldsodefs.h: Likewise.
62489         * sysdeps/s390/ldsodefs.h: Likewise.
62490         * sysdeps/sh/ldsodefs.h: Likewise.
62491         * sysdeps/sparc/ldsodefs.h: Likewise.
62492         * sysdeps/x86_64/ldsodefs.h: Likewise.
62494 2012-07-25  Marek Polacek  <polacek@redhat.com>
62496         [BZ #6808]
62497         * math/libm-test.inc (yn_test): Add another test.
62498         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
62499         to ERANGE when the result is +-Inf.
62500         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
62501         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
62502         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
62503         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
62505 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
62507         * conform/data/time.h-data (NULL): Use macro-constant.  Require
62508         equal to 0.
62509         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
62510         clock_t.
62511         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
62513 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
62515         * configure.in <sysdeps resolving>: Correct printing
62516         Implies_before.
62517         * configure: Regenerate.
62519 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
62521         * math/w_ilogb.c: Include <limits.h>.
62522         * math/w_ilogbl.c: Likewise.
62524 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62526         * manual/lang.texi (__va_copy): Document primarily as ISO C99
62527         va_copy.  Document allowing for unavailable va_copy only as
62528         pre-C99 compatibility.
62529         * manual/string.texi (Copying and Concatenation): Use va_copy
62530         instead of __va_copy in concat example.
62532 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
62534         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
62535         (__sendto): Use create_address_port.  Initialize APORT and deallocate
62536         it if not null.
62538         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
62539         with O_NOLINK passed to __file_name_lookup.
62541         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
62542         with O_NOLINK passed to __file_name_lookup.
62544         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
62545         negative N or less than NGIDS.
62547         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
62548         type to string_t.  Set ERANGE as errno and return it if NAME is not big
62549         enough.  Use memcpy instead of strncpy.
62551 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62553         * elf/Makefile (check-data): Remove.
62554         (localplt.data): New vpath directive.
62555         ($(objpfx)check-localplt.out): Use localplt.data from vpath
62556         instead of $(check-data).
62557         * scripts/data/localplt-generic.data: Move to ...
62558         * sysdeps/generic/localplt.data: ... here.
62559         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
62560         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
62561         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
62562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
62563         ... here.
62564         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
62565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
62566         ... here.
62567         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
62568         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
62569         ... here.
62570         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
62571         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
62572         ... here.
62573         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
62574         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
62575         ... here.
62576         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
62577         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
62578         ... here.
62580 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62582         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
62583         PPC32 and PPC64 files.
62584         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
62585         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
62587 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62589         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
62590         __makecontext_ret to ...
62591         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
62592         ... here and call exit if uc_link is NULL.  New file.
62593         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
62594         __makecontext_ret.S.
62595         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
62596         __makecontext_ret to ...
62597         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
62598         ... here and call exit if uc_link is NULL.  New file.
62599         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
62600         __makecontext_ret.S.
62602 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62604         * elf/elf.h (R_390_IRELATIVE): New definition.
62605         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
62606         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
62607         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
62608         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
62609         (elf_machine_lazy_rel): Likewise.
62610         * sysdeps/s390/dl-irel.h: New file.
62611         * sysdeps/s390/s390-64/memcpy.S: New asm code.
62612         * sysdeps/s390/s390-64/memset.S: New asm code.
62613         * sysdeps/s390/s390-64/memcmp.S: New asm code.
62614         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
62615         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
62616         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
62617         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
62618         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
62619         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
62620         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
62621         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
62622         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
62623         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
62624         * sysdeps/s390/s390-32/memcpy.S: New asm code.
62625         * sysdeps/s390/s390-32/memset.S: New asm code.
62626         * sysdeps/s390/s390-32/memcmp.S: New asm code.
62628 2012-07-17  Marek Polacek  <polacek@redhat.com>
62630         [BZ #14349]
62631         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
62632         * sysdeps/s390/s390-64/configure.in: Likewise.
62633         * sysdeps/sparc/configure.in: Likewise.
62634         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
62635         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
62636         * sysdeps/i386/configure.in: Likewise.
62637         * sysdeps/x86_64/configure.in: Likewise.
62638         * sysdeps/sh/configure.in: Likewise.
62639         * sysdeps/s390/s390-32/configure: Regenerated.
62640         * sysdeps/s390/s390-64/configure: Likewise.
62641         * sysdeps/x86_64/configure: Likewise.
62642         * sysdeps/sh/configure: Likewise.
62643         * sysdeps/powerpc/powerpc64/configure: Likewise.
62644         * sysdeps/powerpc/powerpc32/configure: Likewise.
62645         * sysdeps/sparc/configure: Likwise.
62646         * sysdeps/i386/configure: Likewise.
62648         * elf/dl-open.c: Comment fixes.
62650 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
62652         * Makefile [CXX] (check-data): Remove.
62653         [CXX] (c++-types.data): New vpath directive.
62654         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
62655         vpath.  Do not allow for C++ type data being missing.
62656         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
62657         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
62658         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
62659         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
62660         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
62661         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
62662         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
62663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
62664         ... here.
62665         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
62666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
62667         ... here.
62668         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
62669         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
62670         ... here.
62671         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
62672         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
62673         ... here.
62674         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
62675         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
62676         ... here.
62677         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
62678         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
62679         ... here.
62680         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
62681         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
62682         ... here.
62683         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
62684         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
62686         * elf/tls-macros.h (TLS_LE): Move architecture-specific
62687         definitions to architecture-specific files.
62688         (TLS_IE): Likewise.
62689         (TLS_LD): Likewise.
62690         (TLS_GD): Likewise.
62691         * sysdeps/i386/tls-macros.h: New file.
62692         * sysdeps/powerpc/tls-macros.h: Likewise.
62693         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
62694         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
62695         * sysdeps/sh/tls-macros.h: Likewise.
62696         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
62697         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
62698         * sysdeps/x86_64/tls-macros.h: Likewise.
62700 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
62702         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
62703         zero value for regular exit case.
62705         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
62706         (__start_context): Preserve zero value for regular exit case.
62708 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
62709             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62711         * manual/setjmp.texi (setcontext): Clarify normal process
62712         termination when uc_link is the null pointer.
62713         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
62714         exit call.
62716 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
62718         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
62719         preprocessor.  Test for each exception mask separately.
62721 2012-07-16  Andreas Jaeger  <aj@suse.de>
62723         * po/ru.po: Update from translation team.
62725 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
62727         * conform/data/string.h-data (NULL): Use macro-constant.  Require
62728         equal to 0.
62729         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
62730         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
62731         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
62732         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
62733         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62735 2012-07-13  Andreas Jaeger  <aj@suse.de>
62737         * po/fr.po: Update from translation team.
62739 2012-07-12  Marek Polacek  <polacek@redhat.com>
62741         [BZ #14173]
62742         * math/libm-test.inc (yn_test): Add test for BZ #14173.
62743         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
62744         loop condition.
62746 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
62748         [BZ #13717]
62749         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62750         Change to 2.4.1 where previously 2.4.0.
62751         * sysdeps/unix/sysv/linux/configure: Regenerated.
62752         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
62753         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
62754         version.
62755         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
62756         (__ASSUME_AT_CLKTCK): Remove.
62757         (__ASSUME_AT_PAGESIZE): Likewise.
62758         (__ASSUME_AT_XID): Likewise.
62759         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
62760         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
62761         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
62762         unconditionally.
62763         (HAVE_AUX_PAGESIZE): Likewise.
62764         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
62765         [__ASSUME_AT_CLKTCK]: Make code unconditional.
62766         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
62768 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
62770         [BZ #14307]
62771         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
62772         the temporary buffer used to invoke __gethostbyname2_r,
62773         __gethostbyaddr_r and gethostbyname4_r to make room for struct
62774         host_data / struct gaih_addrtuple.
62775         * resolv/nss_dns/dns-host.c (global scope): Move definition of
62776         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
62777         header file nss/nsswitch.h.
62778         * nss/nsswitch.h (global scope): Add definition of implementation
62779         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
62780         resolv/nss_dns/dns-host.c).
62782 2012-07-11  Andreas Jaeger  <aj@suse.de>
62784         * po/fr.po: Update from translation team.
62786         * po/sv.po: Update from translation team
62787         * po/fr.po: Another update from translation team.
62789 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62791         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
62792         for subnormals or multiply small sinh result by itself.
62793         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
62794         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62796 2012-07-11  David S. Miller  <davem@davemloft.net>
62798         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62800 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
62802         [BZ #14347]
62803         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
62804         (INTERNAL_MARK): Shift it here.
62806 2012-07-10  Marek Polacek  <polacek@redhat.com>
62808         [BZ #14151]
62809         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
62810         libc_cv_asm_global_directive with .globl.
62811         * configure: Regenerated.
62812         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
62813         with .globl.
62814         * sysdeps/i386/configure: Regenerated.
62815         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
62816         with .globl.
62817         * sysdeps/x86_64/configure: Regenerated.
62818         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
62819         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
62820         * elf/tst-unique2mod2.c: Likewise.
62821         * elf/tst-unique2mod1.c: Likewise.
62822         * elf/tst-unique1mod2.c: Likewise.
62823         * elf/tst-unique1mod1.c: Likewise.
62824         * sysdeps/s390/s390-32/sysdep.h: Likewise.
62825         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62826         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62827         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62828         * sysdeps/mach/sysdep.h: Likewise.
62829         * sysdeps/i386/sysdep.h: Likewise.
62830         * sysdeps/i386/i386-mcount.S: Likewise.
62831         * sysdeps/x86_64/_mcount.S: Likewise.
62832         * sysdeps/x86_64/sysdep.h: Likewise.
62833         * sysdeps/sh/_mcount.S: Likewise.
62834         * sysdeps/sh/sysdep.h: Likewise.
62835         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
62836         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
62837         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
62838         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62839         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
62840         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
62841         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
62842         * locale/localeinfo.h: Likewise.
62843         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
62844         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
62846 2012-07-09  Roland McGrath  <roland@hack.frob.com>
62848         [BZ #14336]
62849         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
62850         system".
62851         * manual/message.texi (The Uniforum approach): Likewise.
62852         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
62853         (glibc iconv Implementation): Likewise.
62855 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
62857         [BZ #14337]
62858         * math/s_clog.c (__clog): Avoid scaling a value down where that
62859         could result in underflow.
62860         * math/s_clog10.c (__clog10): Likewise.
62861         * math/s_clog10f.c (__clog10f): Likewise.
62862         * math/s_clog10l.c (__clog10l): Likewise.
62863         * math/s_clogf.c (__clogf): Likewise.
62864         * math/s_clogl.c (__clogl): Likewise.
62865         * math/libm-test.inc (clog_test): Add more tests.
62866         (clog10_test): Likewise.
62867         * sysdeps/i386/fpu/libm-test-ulps: Update.
62868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62870 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
62872         [BZ #14283]
62873         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
62874         by 7 not 8 to examine high bit of fractional part.
62876         [BZ #14042]
62877         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
62878         for call to __mcount_internal.
62879         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
62880         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
62881         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
62883 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
62885         [BZ #14154]
62886         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
62887         approximation for values within 0x1p-13f of an odd multiple of
62888         pi/4.
62889         * math/libm-test.inc (tan_test): Do not allow spurious underflow
62890         exception.  Add more tests.
62891         * sysdeps/i386/fpu/libm-test-ulps: Update.
62893         [BZ #6778]
62894         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
62895         inputs and return -1 for them.  Do not check for +Inf in case not
62896         reachable for +Inf.
62897         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
62898         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
62899         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
62900         and return -1 for them.  Do not check for +Inf in case not
62901         reachable for +Inf.
62902         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
62903         define.
62904         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
62905         and return -1 for them.  Do not check for +Inf in case not
62906         reachable for +Inf.
62907         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
62908         spurious underflow.
62909         * sysdeps/i386/fpu/libm-test-ulps: Update.
62910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62912 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
62914         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
62916 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
62918         [BZ #14157]
62919         [BZ #14331]
62920         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
62921         could result in spurious underflow.  Scale down values above
62922         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
62923         * math/s_csqrtf.c (__csqrtf): Likewise.
62924         * math/s_csqrtl.c (__csqrtl): Likewise.
62925         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
62926         spurious underflow.
62927         * sysdeps/i386/fpu/libm-test-ulps: Update.
62928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62930 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
62932         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
62933         xopen-msg.sed.
62934         * catgets/xopen-msg.awk: New file.
62935         * catgets/xopen-msg.sed: Removed.
62937         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
62938         po2text.sed.
62939         * intl/po2test.awk: New file.
62940         * intl/po2test.sed: Removed.
62942 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
62944         [BZ #14328]
62945         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
62946         or multiply small sinh result by itself.
62947         * math/s_ctanf.c (__ctanf): Likewise.
62948         * math/s_ctanh.c (__ctanh): Likewise.
62949         * math/s_ctanhf.c (__ctanhf): Likewise.
62950         * math/s_ctanhl.c (__ctanhl): Likewise.
62951         * math/s_ctanl.c (__ctanl): Likewise.
62952         * math/libm-test.inc (ctan_test_tonearest): New function.
62953         (ctan_test_towardzero): Likewise.
62954         (ctan_test_downward): Likewise.
62955         (ctan_test_upward): Likewise.
62956         (ctanh_test_tonearest): Likewise.
62957         (ctanh_test_towardzero): Likewise.
62958         (ctanh_test_downward): Likewise.
62959         (ctanh_test_upward): Likewise.
62960         (main): Call these new functions.
62961         * sysdeps/i386/fpu/libm-test-ulps: Update.
62962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62964 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
62966         * .gitignore: Delete /ports entry.
62968 2012-07-03  Andreas Jaeger  <aj@suse.de>
62970         * po/bg.po: Update from translation team.
62971         * po/cs.po: Likewise.
62972         * po/de.po: Likewise.
62973         * po/hr.po: Likewise.
62974         * po/nl.pl: Likewise.
62975         * po/pl.po: Likewise.
62976         * po/vi.po: Likewise.
62978 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
62980         * Makeconfig [!+link] (+link-before-libc): New variable.
62981         [!+link] (+link-after-libc): Likewise.
62982         [!+link] (+link-tests): Likewise.
62983         [!+link] (+link): Define in terms of $(+link-before-libc) and
62984         $(+link-after-libc).
62985         [!+link-static] (+link-static-before-libc): New variable.
62986         [!+link-static] (+link-static-after-libc): Likewise.
62987         [!+link-static] (+link-static-tests): Likewise.
62988         [!+link-static] (+link-static): Define in terms of
62989         $(+link-static-before-libc) and $(+link-static-after-libc).
62990         [build-shared] (link-libc-before-gnulib): New variable.
62991         [build-shared] (link-libc-tests): Likewise.
62992         [build-shared] (link-libc): Define in terms of
62993         $(link-libc-before-gnulib).
62994         [!build-shared] (link-libc-tests): New variable.
62995         (link-libc-static-tests): New variable.
62996         [!gnulib] (gnulib-arch): New variable.
62997         [!gnulib] (gnulib-tests): Likewise.
62998         [!gnulib] (static-gnulib-arch): Likewise.
62999         [!gnulib] (static-gnulib-tests): Likewise.
63000         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
63001         Define with "=" instead of ":=".
63002         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
63003         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
63004         * Rules (binaries-all-notests): New variable.
63005         (binaries-all-tests): Likewise.
63006         (binaries-static-notests): Likewise.
63007         (binaries-static-tests): Likewise.
63008         (binaries-all): Define using $(binaries-all-notests) and
63009         $(binaries-all-tests).
63010         (binaries-static): Define using $(binaries-static-notests) and
63011         $(binaries-static-tests).
63012         (binaries-shared-tests): New variable.
63013         (binaries-shared-notests): Likewise.
63014         (binaries-shared): Remove variable.
63015         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
63016         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
63017         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
63018         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
63019         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
63020         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
63021         * elf/Makefile (sln-modules): New variable.
63022         (extra-objs): Add $(sln-modules:=.o).
63023         (ldconfig-modules): Add static-stubs.
63024         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
63025         * elf/static-stubs.c: New file.
63027         [BZ #14283]
63028         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
63029         by 7 not 8 to examine high bit of fractional part.  Use volatile
63030         variables when splitting into final array of floats if
63031         __FLT_EVAL_METHOD__ != 0.
63032         * math/libm-test.inc (cos_test): Add another test.
63033         (sin_test): Likewise.
63034         * sysdeps/i386/fpu/libm-test-ulps: Update.
63036         [BZ #14273]
63037         * math/libm-test.inc (cosh_test): Add more tests.
63039         * version.h (RELEASE): Set to "development".
63040         (VERSION): Set to "2.16.90".
63042 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
63044         * NEWS: Update copyright. Remove last-updated date.
63045         Mention math library bug fixes and timezone data changes.
63046         * README: Mention GNU/Hurd, x32, and HPPA support status.
63048 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
63050         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
63052 2012-06-27  Andreas Jaeger  <aj@suse.de>
63054         * manual/contrib.texi (Contributors): Add Samuel Thibault.
63056 2012-06-25  Andreas Jaeger  <aj@suse.de>
63058         * sysdeps/s390/fpu/libm-test-ulps: Update.
63060 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
63061             Thomas Schwinge  <thomas@codesourcery.com>
63063         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
63064         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
63065         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
63066         fanotify_mark.
63068 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
63070         * sysdeps/mach/start.c: Remove file.
63071         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
63072         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
63073         * sysdeps/sh/init-first.c: Likewise.
63075         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
63076         registers for frame unwinding purposes, add CFI directives.
63077         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
63078         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
63079         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
63080         Likewise.
63082         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
63083         __fortify_fail returning.
63084         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
63086         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
63087         sysdeps/sh/____longjmp_chk.S.
63088         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
63089         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
63090         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
63091         (gen-as-const-headers): Append sigaltstack-offsets.sym.
63093         * sysdeps/sh/abort-instr.h: New file.
63094         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
63095         process in case exit returns.
63097         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
63098         initialize the GOT register before use.
63100         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
63101         calculation of ARGC > 4.
63103         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
63104         meaningful names to some local labels.
63106 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63107             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63109         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
63110         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
63111         (__arch_compare_and_exchange_val_16_acq): Likewise.
63112         (__arch_compare_and_exchange_val_32_acq): Likewise.
63113         (atomic_exchange_and_add): Fix gUSA sequence.
63114         (atomic_add): Likewise.
63115         (atomic_add_negative): Likewise.
63116         (atomic_add_zero): Likewise.
63117         (atomic_bit_test_set): Likewise.
63119 2012-06-22  Andreas Schwab  <schwab@redhat.com>
63121         [BZ #13579]
63122         * include/link.h (struct link_map): Add l_free_initfini.
63123         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
63124         l_initfini.
63125         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
63126         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
63127         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
63128         set.
63130 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
63132         * configure.in: Use AC_LANG_SOURCE.
63133         * configure: Regenerate.
63135 2012-06-22  Roland McGrath  <roland@hack.frob.com>
63137         * configure.in (libc_cv_localstatedir): New substituted variable.
63138         * configure: Regenerated.
63139         * config.make.in (localstatedir): New variable, substituted from
63140         libc_cv_localstatedir.
63141         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
63142         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
63143         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
63144         * sysdeps/gnu/configure: Regenerated.
63146 2012-06-21  Jeff Law  <law@redhat.com>
63148         [BZ #14277]
63149         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
63150         free.  Simplify list management for _LIBC case.
63152 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
63154         [BZ #14273]
63155         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
63156         Clear sign bit of 64-bit integer value before comparing against
63157         overflow value.
63159         * sysdeps/mach/configure: Regenerated.
63161 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
63163         [BZ #14278]
63164         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
63166 2012-06-21  Jeff Law  <law@redhat.com>
63168         [BZ #13882]
63169         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
63170         uint16_t for elements in the "seen" array to avoid char overflows.
63171         * elf/dl-fini.c (_dl_sort_fini): Likewise.
63172         * elf/dl-open.c (dl_open_worker): Likewise.
63174 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
63176         * scripts/list-sources.sh: Scan PORTS for translations.
63177         * po/libc.pot: Regenerated.
63179 2012-06-21  Andreas Jaeger  <aj@suse.de>
63181         [BZ #12194]
63182         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
63183         warning.
63184         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
63185         * bits/byteswap-16.h (__bswap_16): Likewise.
63186         * bits/byteswap.h (__bswap_constant_16): Likewise.
63188 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
63190         [BZ #14117]
63191         * sysdeps/i386/fpu_control.h: Removed.
63192         * sysdeps/x86_64/fpu_control.h: Moved to ...
63193         * sysdeps/x86/fpu_control.h: Here.
63195         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
63196         (_FPU_SETCW): Likewise.
63198 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
63200         [BZ #14117]
63201         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
63202         * sysdeps/x86/fpu/bits/mathinline.h: This.
63203         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
63205         [BZ #14050]
63206         [BZ #14117]
63207         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
63208         functions if __x86_64__ is defined.
63210 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
63212         * string/endian.h: Add !__ASSEMBLER__ condition for including
63213         conversion interfaces.
63215 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
63217         [BZ #14241]
63218         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
63219         of ABS(x) in calculating zero to negative powers other than odd
63220         integers.
63221         * math/libm-test.inc (pow_test): Add more tests.
63223 2012-06-15  Andreas Jaeger  <aj@suse.de>
63225         * manual/contrib.texi (Contributors): Update entry of Liubov
63226         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
63227         Machado Filho.
63229 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
63231         * string/string.h: Add __wur to GNU version of strerror_r.
63233 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
63235         [BZ #14229]
63236         * string/Makefile (tests): Add tst-strtok_r.
63237         * string/tst-strtok_r.c: New file.
63238         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
63239         RAX_LP/RDX_LP on SAVE_PTR.
63241 2012-06-14  Roland McGrath  <roland@hack.frob.com>
63243         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
63245 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
63247         * libm_test.inc (csqrt_test): Allow more spurious underflow
63248         exceptions.
63249         (j0_test): Likewise.
63250         (j1_test): Likewise.
63251         (y0_test): Likewise.
63252         (y1_test): Likewise.
63254 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
63256         * po/Makefile (libc.pot): Use UTF-8 charset.
63258 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
63260         [BZ #14210]
63261         Suppress sign-conversion warning from FD_SET.
63262         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
63263         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
63264         not unsigned long int.
63265         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
63267 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
63269         [BZ #14050]
63270         [BZ #14117]
63271         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
63272         __extern_always_inline instead of __extern_inline.
63273         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
63274         (__signbit): Likewise.
63275         (__signbitl): Support C++ namespace.
63276         (lrintf): New inline function.
63277         (lrint): Likewise.
63278         (llrintf): Likewise.
63279         (llrint): Likewise.
63280         (fmaxf): Likewise.
63281         (fmax): Likewise.
63282         (fminf): Likewise.
63283         (fmin): Likewise.
63284         (rint): Likewise.
63285         (rintf): Likewise.
63286         (ceil): Likewise.
63287         (ceilf): Likewise.
63288         (floor): Likewise.
63289         (floorf): Likewise.
63290         (nearbyint): Likewise.
63291         (nearbyintf): Likewise.
63293 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
63295         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
63296         non-default versions.
63298 2012-06-11  Roland McGrath  <roland@hack.frob.com>
63300         [BZ #14218]
63301         * manual/argp.texi (Argp): Reword argp_parse description slightly.
63303 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
63305         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
63306         (FE_UPWARD, FE_DOWNWARD): Don't define.
63307         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
63308         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
63310         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
63311         reading it.
63312         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
63313         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63315 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63317         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
63318         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
63319         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
63320         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
63322 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
63324         [BZ #14117]
63325         * sysdeps/i386/fpu/bits/fenv.h: Removed.
63326         * sysdeps/i386/fpu/Implies: New file.
63327         * sysdeps/x86_64/fpu/Implies: Likewise.
63328         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
63329         * sysdeps/x86/fpu/bits/fenv.h: This.
63331         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
63332         __SSE_MATH__.
63334 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
63336         [BZ #14134]
63337         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
63338         character 0xffff that matches the last element of the
63339         conversion table.
63341 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63343         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
63344         fmodl commit.
63346 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63348         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
63349         values higher than 25.6283.
63351 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63353         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
63354         subnormal exponent extraction and add some __builtin_expect.
63355         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
63356         Fix for subnormal mantissa calculation.
63358 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
63360         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
63361         cpu2 is -1 and errno is not ENOSYS.
63363 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
63365         [BZ #14117]
63366         * sysdeps/i386/i486/bits/string.h: Renamed to ...
63367         * sysdeps/x86/bits/string.h: This.
63368         * sysdeps/x86_64/bits/string.h: Removed.
63370         * sysdeps/i386/i486/bits/string.h: Define inline functions only
63371         if not compiling for x86-64, but compiling for >= i486.
63373         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
63374         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
63376         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
63377         New macro from Linux kernel 3.4.0.
63378         (FP_XSTATE_MAGIC2): Likewise.
63379         (FP_XSTATE_MAGIC2_SIZE): Likewise.
63380         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
63381         (struct _fpx_sw_bytes): New struct.
63382         (struct _xsave_hdr): Likewise.
63383         (struct _ymmh_state): Likewise.
63384         (struct _xstate): Likewise.
63386         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
63387         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
63388         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
63389         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
63390         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
63391         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
63393         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
63394         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
63395         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
63396         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
63397         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
63398         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
63400 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63402         [BZ #13743]
63403         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
63404         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
63405         (sysdep_headers): Include sys/platform/ppc.h.
63406         * sysdeps/powerpc/test-gettimebase.c: Test for
63407         __ppc_get_timebase() to catch future ISA opcode/insn changes.
63408         * manual/Makefile (appendices): Include platform.texi.
63409         * manual/contrib.texi (Contributors): Update @node pointers.
63410         * manual/maint.texi (Maintenance): Likewise.
63411         (Platform): New node.
63412         * manual/platform.texi: New file.  Document the new features.
63414 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
63415             Jakub Jelinek  <jakub@redhat.com>
63417         [BZ #14188]
63418         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
63419         where __builtin_expect is unavailable.
63421 2012-06-03  David S. Miller  <davem@davemloft.net>
63423         * stdlib/longlong.h: Updated from GCC.
63425 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
63427         [BZ #14042]
63428         * sysdeps/powerpc/powerpc32/mcount.c: New file.
63429         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
63430         __mcount_internal.
63431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63432         (GLIBC_2.16): Likewise.
63434 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63436         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
63438 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
63441         (default-abi): New variable.
63442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
63443         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
63444         variable.
63445         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
63446         Likewise.
63447         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
63448         Likewise.
63449         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
63450         Likewise.
63452         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
63453         definition.  Document in comment.
63455 2012-06-01  David S. Miller  <davem@davemloft.net>
63457         * stdlib/longlong.h: Updated from GCC.
63459 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63461         [BZ #14117]
63462         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
63463         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
63464         sys/debugreg.h sys/io.h here.
63465         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
63466         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
63467         sys/io.h.
63468         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
63469         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
63470         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
63471         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
63472         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
63473         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
63475         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
63476         Define only if __x86_64__ is defined.
63478 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63480         [BZ #14048]
63481         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
63482         Use int64_t for variable i.
63483         * math/libm-test.inc (fmod_test): Add more tests.
63485         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
63486         z computation is not scheduled after fetestexcept.
63487         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
63488         Use math_force_eval instead of asm to ensure calculation scheduled
63489         before exception test.
63490         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
63491         Ensure a1 + u.d computation is not scheduled after fetestexcept.
63493 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
63495         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
63496         computation is not scheduled after fetestexcept.
63498 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63500         [BZ #14117]
63501         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
63502         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
63504 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63506         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
63507         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
63509 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63511         [BZ #14117]
63512         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
63513         <bits/wordsize.h>.
63514         (__WCHAR_MIN): Support __WORDSIZE == 64.
63515         (__WCHAR_MAX): Likewise.
63517         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
63518         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
63520         [BZ #14183]
63521         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
63522         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
63524         [BZ #14117]
63525         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
63526         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
63528         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
63529         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
63531         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
63532         Defined to 1 if __x86_64__ isn't defined.
63533         (_STAT_VER_LINUX_OLD): New.
63534         (st_atime): Remove duplicate.
63535         (st_mtime): Likewise.
63536         (st_ctime): Likewise.
63538 2012-05-31  David S. Miller  <davem@davemloft.net>
63540         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
63541         entries.
63543 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
63545         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
63546         gen-libm-test.pl.
63548         [BZ #14132]
63549         * elf/dl-reloc.c: Include <_itoa.h>.
63550         (_dl_reloc_bad_type): Remove use of INTUSE.
63551         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
63552         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
63553         * stdio-common/psiginfo.c (psiginfo): Likewise.
63554         * stdio-common/psignal.c (psignal): Likewise.
63555         * string/strsignal.c (strsignal): Likewise.
63556         * include/signal.h (_sys_siglist): Declare hidden proto.
63557         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
63558         INTVARDEF with libc_hidden_data_def.
63559         * stdio-common/itoa-udigits.c: Likewise.
63560         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
63561         (_itoa_lower_digits_internal): Remove declaration.
63562         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
63563         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
63564         (_sys_sigabbrev_internal): Remove aliases.
63565         (_sys_siglist): Define hidden alias.
63567 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
63569         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63570         bits/sysctl.h.
63572 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63574         [BZ #14117]
63575         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
63576         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
63578         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
63579         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
63580         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
63581         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
63582         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
63583         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
63585         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
63586         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
63587         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
63589         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
63590         with __addr.
63591         (insw): Likewise.
63592         (insl): Likewise.
63593         (outsb): Likewise.
63594         (outsw): Likewise.
63595         (outsl): Likewise.
63597         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
63598         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
63599         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
63601         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
63602         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
63603         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
63604         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
63605         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
63606         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
63608         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
63609         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
63611         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
63612         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
63614         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
63615         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
63616         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
63618         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
63619         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
63620         to ...
63621         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
63623         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
63624         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
63625         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
63627         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
63628         for x86-64.
63629         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
63631 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
63633         * math/math.h (M_El): Use two more decimal places.
63634         (M_LOG2El): Likewise.
63635         (M_LOG10El): Likewise.
63636         (M_LN2l): Likewise.
63637         (M_LN10l): Likewise.
63638         (M_PIl): Likewise.
63639         (M_PI_2l): Likewise.
63640         (M_PI_4l): Likewise.
63641         (M_1_PIl): Likewise.
63642         (M_2_PIl): Likewise.
63643         (M_2_SQRTPIl): Likewise.
63644         (M_SQRT2l): Likewise.
63645         (M_SQRT1_2l): Likewise.
63647 2012-05-31  David S. Miller  <davem@davemloft.net>
63649         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
63650         values between float registers.
63651         * sysdeps/sparc/sparc64/memset.S: Likewise.
63652         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
63654 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
63656         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
63657         -D_FORTIFY_SOURCE=1.
63658         (CPPFLAGS-tst-longjmp_chk.c): Define.
63659         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
63660         (CPPFLAGS-tst-longjmp_chk2.c): Define.
63661         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
63662         CFLAGS-tst-wchar-h.c.
63664 2012-05-31  Marek Polacek  <polacek@redhat.com>
63666         [BZ #14132]
63667         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
63668         __endmntent_internal): Remove declaration.
63669         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
63670         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
63671         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
63673 2012-05-30  David S. Miller  <davem@davemloft.net>
63675         * sysdeps/sparc/sparc32/soft-fp/q_util.c
63676         (___Q_simulate_exceptions): Use real FP ops rather than writing
63677         into the %fsr.
63678         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
63679         Likewise.
63681 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63683         [BZ #14117]
63684         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
63685         * sysdeps/x86/bits/xtitypes.h: This.
63687         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
63688         * sysdeps/x86/bits/wordsize.h: This.
63690         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
63691         * sysdeps/x86/bits/huge_vall.h: This.
63693         * sysdeps/i386/bits/select.h: Removed.
63694         * sysdeps/x86_64/bits/select.h: Renamed to ...
63695         * sysdeps/x86/bits/select.h: This.
63697         * sysdeps/i386/bits/setjmp.h: Removed.
63698         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
63699         * sysdeps/x86/bits/setjmp.h: This.
63701         * sysdeps/i386/bits/mathdef.h: Removed.
63702         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
63703         * sysdeps/x86/bits/mathdef.h: This.
63705 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
63707         [BZ #14132]
63708         * include/sys/socket.h (__connect_internal)
63709         (__libc_sa_len_internal): Remove declaration.
63710         (__connect, __libc_sa_len): Declare hidden_proto.
63711         (SA_LEN): Remove use of INTUSE.
63712         * socket/connect.c: Add libc_hidden_def.
63713         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
63714         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
63715         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
63716         alias.
63717         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
63718         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
63719         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
63720         of adding _internal alias.
63722 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63724         [BZ #14117]
63725         * sysdeps/i386/bits/link.h: Removed.
63726         * sysdeps/i386/bits/linkmap.h: Likewise.
63727         * sysdeps/x86_64/bits/link.h: Renamed to ...
63728         * sysdeps/x86/bits/link.h: This.
63729         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
63730         * sysdeps/x86/bits/linkmap.h: This.
63732         * sysdeps/i386/bits/endian.h: Removed.
63733         * sysdeps/x86_64/bits/endian.h: Renamed to ...
63734         * sysdeps/x86/bits/endian.h: This.
63736         * sysdeps/i386/bits/byteswap.h: Removed.
63737         * sysdeps/i386/bits/byteswap-16.h: Likewise.
63738         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
63739         * sysdeps/x86/bits/byteswap.h: This.
63740         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
63741         * sysdeps/x86/bits/byteswap-16.h: This.
63742         * sysdeps/i386/Implies: Add x86.
63743         * sysdeps/x86_64/Implies: Likewise.
63745 2012-05-30  David S. Miller  <davem@davemloft.net>
63747         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
63748         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
63749         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
63750         (FP_TRAPPING_EXCEPTIONS): Define.
63751         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
63752         (FP_TRAPPING_EXCEPTIONS): Define.
63753         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
63754         subnormals only when inexact has been signalled or underflow
63755         exceptions are enabled.
63756         (_FP_PACK_CANONICAL): Likewise.
63758 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63760         [BZ #14183]
63761         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
63762         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
63764 2012-05-30  Richard Henderson  <rth@twiddle.net>
63766         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
63767         with #ifndef NOT_IN_libc.
63769         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
63770         marked to avoid plt entry.
63772 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63774         [BZ #14112]
63775         * Makeconfig (default-abi): New macro.
63776         (abi-includes): Likewise.
63777         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
63778         $(abi-$(default-abi)-lib-soname) for soname if defined.
63779         ($(common-objpfx)gnu/lib-names.stmp): Generate from
63780         abi-variants.
63781         * Makefile (installed-stubs): Likewise.
63782         * include/stubs-biarch.h: Removed.
63783         * scripts/lib-names.awk: Only handle one library at a time.
63784         * scripts/soversions.awk: Remove WORDSIZE support.
63785         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
63786         entries.
63787         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
63788         Removed.
63789         (syscall-list-default-condition): Likewise.
63790         (syscall-list-default-condition): Likewise.
63791         (syscall-list-includes): Likewise.
63792         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
63793         syscall-list-* with abi-*.  Handle undefined abi-variants.
63794         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
63795         * sysdeps/unix/sysv/linux/i386/Implies: New file.
63796         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
63797         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
63798         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
63799         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
63800         Removed.
63801         (syscall-list-32-options): Likewise.
63802         (syscall-list-32-condition): Likewise.
63803         (syscall-list-64-options): Likewise.
63804         (syscall-list-64-condition): Likewise.
63805         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
63806         macro.
63807         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
63808         Renamed to ...
63809         (abi-*): This.
63810         (abi-64-ld-soname): New macro.
63811         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
63812         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
63813         Renamed to ...
63814         (abi-*): This.
63815         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
63816         * sysdeps/x86_64/x32/shlib-versions: Likewise.
63818 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
63820         * sysdeps/unix/sysv/linux/kernel-features.h
63821         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
63822         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
63823         include <kernel-features.h>.
63824         [!__NR_ftruncate64]: Remove conditional code.
63825         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63826         [__NR_ftruncate64]: Make code unconditional.
63827         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63828         * sysdeps/unix/sysv/linux/truncate64.c: Do not
63829         include <kernel-features.h>.
63830         [!__NR_ftruncate64]: Remove conditional code.
63831         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63832         [__NR_ftruncate64]: Make code unconditional.
63833         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
63835         include <kernel-features.h>.
63836         [!__NR_ftruncate64]: Remove conditional code.
63837         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63838         [__NR_ftruncate64]: Make code unconditional.
63839         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
63841         include <kernel-features.h>.
63842         [!__NR_ftruncate64]: Remove conditional code.
63843         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63844         [__NR_ftruncate64]: Make code unconditional.
63845         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63847         * configure.in (libc_cv_fpie): Weaken to a compile test using
63848         LIBC_TRY_CC_OPTION.
63849         * configure: Regenerated.
63851 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63853         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
63854         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
63855         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
63856         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
63857         Refreshed.
63858         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
63859         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
63860         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
63861         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
63862         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
63863         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
63864         Refreshed.
63866 2012-05-27  David S. Miller  <davem@davemloft.net>
63868         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
63869         (___Q_zero): New.
63870         (__Q_simulate_exceptions): Return void.  Change to simulate
63871         exceptions by writing into the %fsr.
63872         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
63873         (__Qp_handle_exceptions): Likewise.
63874         (numbers): Delete.
63875         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
63876         __Qp_handle_exceptions.
63877         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
63878         __Qp_handle_exceptions.
63879         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
63880         as unused and give dummy FP_RND_NEAREST initializer.
63881         (FP_INHIBIT_RESULTS): Define.
63882         (___Q_simulate_exceptions): Update declaration.
63883         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
63884         formatting.
63885         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
63886         as unused and give dummy FP_RND_NEAREST initializer.
63887         (__Qp_handle_exceptions): Update declaration.
63888         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
63889         formatting.
63891 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
63893         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
63894         the temporary FPU control word.
63895         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
63896         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
63897         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
63898         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
63899         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
63900         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
63901         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
63902         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
63903         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
63904         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
63905         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63907 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63909         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
63910         fields.
63912 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
63914         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
63915         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
63916         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
63917         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
63918         Likewise.
63919         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
63920         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
63921         Likewise.
63923 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
63925         * po/h.po: Update from translation team.
63927 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
63929         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
63931         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
63932         handling of denormals.
63933         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
63934         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
63935         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
63936         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
63937         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63938         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
63939         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
63940         Likewise.
63942 2012-05-26  Marek Polacek  <polacek@redhat.com>
63944         [BZ #14152]
63945         * math/libm-test.inc (fma_test): Don't always expect underflow
63946         exception.
63948 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63950         [BZ #12416]
63951         * elf/tst-execstack.c: Include stackinfo.h.
63952         (do_test): Adjust test case to ensure that pthread_getattr_np
63953         behaviour remains the same after marking stack executable.
63955 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
63957         * sysdeps/unix/sysv/linux/kernel-features.h
63958         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
63959         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
63960         kernel-features.h.
63961         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
63962         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
63963         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
63964         kernel-features.h.
63965         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
63966         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
63968 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
63970         * configure.in: Define the default includes to being none.
63971         * configure: Regenerated.
63973 2012-05-25  Roland McGrath  <roland@hack.frob.com>
63975         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
63976         * sysdeps/x86_64/setjmp.S: Likewise.
63977         * sysdeps/i386/bsd-setjmp.S: Likewise.
63978         * sysdeps/i386/bsd-_setjmp.S: Likewise.
63979         * sysdeps/i386/setjmp.S: Likewise.
63980         * sysdeps/i386/__longjmp.S: Likewise.
63981         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
63982         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
63984         * include/stap-probe.h: New file.
63985         * configure.in: Handle --enable-systemtap.
63986         * configure: Regenerated.
63987         * config.h.in (USE_STAP_PROBE): New #undef.
63988         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
63989         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
63990         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
63992 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
63994         [BZ #13717]
63995         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63996         to 2.4.0 where earlier.
63997         * sysdeps/unix/sysv/linux/configure: Regenerated.
63998         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
63999         <kernel-features.h>.
64000         [__ASSUME_32BITUIDS]: Make code unconditional.
64001         [!__ASSUME_32BITUIDS]: Remove conditional code.
64002         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
64003         <kernel-features.h>.
64004         [__ASSUME_32BITUIDS]: Make code unconditional.
64005         [!__ASSUME_32BITUIDS]: Remove conditional code.
64006         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
64007         [__ASSUME_32BITUIDS]: Make code unconditional.
64008         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
64009         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
64010         <kernel-features.h>.
64011         [__ASSUME_32BITUIDS]: Make code unconditional.
64012         [!__ASSUME_32BITUIDS]: Remove conditional code.
64013         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
64014         <kernel-features.h>.
64015         [__ASSUME_32BITUIDS]: Make code unconditional.
64016         [!__ASSUME_32BITUIDS]: Remove conditional code.
64017         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
64018         <kernel-features.h>.
64019         [__ASSUME_32BITUIDS]: Make code unconditional.
64020         [!__ASSUME_32BITUIDS]: Remove conditional code.
64021         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
64022         <kernel-features.h>.
64023         [__ASSUME_32BITUIDS]: Make code unconditional.
64024         [!__ASSUME_32BITUIDS]: Remove conditional code.
64025         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
64026         <kernel-features.h>.
64027         [__ASSUME_32BITUIDS]: Make code unconditional.
64028         [!__ASSUME_32BITUIDS]: Remove conditional code.
64029         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
64030         <kernel-features.h>.
64031         [__ASSUME_32BITUIDS]: Make code unconditional.
64032         [!__ASSUME_32BITUIDS]: Remove conditional code.
64033         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
64034         <kernel-features.h>.
64035         [__ASSUME_32BITUIDS]: Make code unconditional.
64036         [!__ASSUME_32BITUIDS]: Remove conditional code.
64037         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
64038         <kernel-features.h>.
64039         [__ASSUME_32BITUIDS]: Make code unconditional.
64040         [!__ASSUME_32BITUIDS]: Remove conditional code.
64041         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
64042         <kernel-features.h>.
64043         [__ASSUME_32BITUIDS]: Make code unconditional.
64044         [!__ASSUME_32BITUIDS]: Remove conditional code.
64045         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
64046         <kernel-features.h>.
64047         [__ASSUME_32BITUIDS]: Make code unconditional.
64048         [!__ASSUME_32BITUIDS]: Remove conditional code.
64049         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
64050         <kernel-features.h>.
64051         [__NR_setresgid] (__setresgid): Do not declare.
64052         [__ASSUME_32BITUIDS]: Make code unconditional.
64053         [!__ASSUME_32BITUIDS]: Remove conditional code.
64054         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
64055         <kernel-features.h>.
64056         [__NR_setresuid] (__setresuid): Do not declare.
64057         [__ASSUME_32BITUIDS]: Make code unconditional.
64058         [!__ASSUME_32BITUIDS]: Remove conditional code.
64059         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
64060         <kernel-features.h>.
64061         [__ASSUME_32BITUIDS]: Make code unconditional.
64062         [!__ASSUME_32BITUIDS]: Remove conditional code.
64063         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
64064         <kernel-features.h>.
64065         [__ASSUME_32BITUIDS]: Make code unconditional.
64066         [!__ASSUME_32BITUIDS]: Remove conditional code.
64067         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
64068         <kernel-features.h>.
64069         [__ASSUME_32BITUIDS]: Make code unconditional.
64070         [!__ASSUME_32BITUIDS]: Remove conditional code.
64071         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
64072         <kernel-features.h>.
64073         [__ASSUME_32BITUIDS]: Make code unconditional.
64074         [!__ASSUME_32BITUIDS]: Remove conditional code.
64075         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
64076         <kernel-features.h>.
64077         [__ASSUME_32BITUIDS]: Make code unconditional.
64078         [!__ASSUME_32BITUIDS]: Remove conditional code.
64079         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
64080         <kernel-features.h>.
64081         [__ASSUME_32BITUIDS]: Make code unconditional.
64082         [!__ASSUME_32BITUIDS]: Remove conditional code.
64083         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
64084         <kernel-features.h>.
64085         [__ASSUME_32BITUIDS]: Make code unconditional.
64086         [!__ASSUME_32BITUIDS]: Remove conditional code.
64087         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
64088         <kernel-features.h>.
64089         [__ASSUME_32BITUIDS]: Make code unconditional.
64090         [!__ASSUME_32BITUIDS]: Remove conditional code.
64091         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
64092         <kernel-features.h>.
64093         [__ASSUME_32BITUIDS]: Make code unconditional.
64094         [!__ASSUME_32BITUIDS]: Remove conditional code.
64095         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
64096         <kernel-features.h>.
64097         [__ASSUME_32BITUIDS]: Make code unconditional.
64098         [!__ASSUME_32BITUIDS]: Remove conditional code.
64099         * sysdeps/unix/sysv/linux/kernel-features.h
64100         (__ASSUME_SETRESUID_SYSCALL): Remove.
64101         (__ASSUME_SETRESGID_SYSCALL): Likewise.
64102         (__ASSUME_32BITUIDS): Likewise.
64103         (__ASSUME_LDT_WORKS): Likewise.
64104         (__ASSUME_O_DIRECTORY): Likewise.
64105         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
64106         architecture but not kernel version.
64107         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
64108         (__ASSUME_MMAP2_SYSCALL): Likewise.
64109         (__ASSUME_STAT64_SYSCALL): Likewise.
64110         (__ASSUME_IPC64): Likewise.
64111         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
64112         <kernel-features.h>.
64113         [__ASSUME_32BITUIDS]: Make code unconditional.
64114         [!__ASSUME_32BITUIDS]: Remove conditional code.
64115         * sysdeps/unix/sysv/linux/opendir.c: Do not include
64116         <kernel-features.h>.
64117         [__ASSUME_O_DIRECTORY]: Make code unconditional.
64118         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
64119         132096]: Remove conditional code.
64120         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
64121         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
64122         <kernel-features.h>.
64123         [__ASSUME_32BITUIDS]: Make code unconditional.
64124         [!__ASSUME_32BITUIDS]: Remove conditional code.
64125         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
64126         <kernel-features.h>.
64127         [__ASSUME_32BITUIDS]: Make code unconditional.
64128         [!__ASSUME_32BITUIDS]: Remove conditional code.
64129         * sysdeps/unix/sysv/linux/setegid.c: Do not include
64130         <kernel-features.h>.
64131         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
64132         unconditional.
64133         (__setresgid): Do not declare.
64134         [__ASSUME_32BITUIDS]: Make code unconditional.
64135         [!__ASSUME_32BITUIDS]: Remove conditional code.
64136         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
64137         <kernel-features.h>.
64138         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
64139         unconditional.
64140         (__setresuid): Do not declare.
64141         [__ASSUME_32BITUIDS]: Make code unconditional.
64142         [!__ASSUME_32BITUIDS]: Remove conditional code.
64143         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
64144         <kernel-features.h>.
64145         [__ASSUME_32BITUIDS]: Make code unconditional.
64146         [!__ASSUME_32BITUIDS]: Remove conditional code.
64147         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
64148         <kernel-features.h>.
64149         [__ASSUME_32BITUIDS]: Make code unconditional.
64150         [!__ASSUME_32BITUIDS]: Remove conditional code.
64152 2012-05-25  Richard Henderson  <rth@twiddle.net>
64154         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
64155         dl_hwcap to ifunc resolver.
64156         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
64157         elf_ifunc_invoke.
64158         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
64159         dl_hwcap to ifunc resolver.
64160         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
64162 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64164         [BZ #14153]
64165         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
64166         for |x| <= 2**-26, not 2**-57.
64167         * math/libm-test.inc (acos_test): Do not allow spurious underflow
64168         exception.
64170 2012-05-24  Jeff Law  <law@redhat.com>
64172         * stdio-common/Makefile (tests): Add bug25.
64173         * stdio-common/bug25.c: New test.
64175 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64177         [BZ #13576]
64178         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
64179         multiple of MALLOC_ALIGNMENT in size.
64180         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
64182 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64184         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
64185         Require >= 256.
64186         (FILENAME_MAX): Use macro-int-constant.
64187         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
64188         (_IOFBF): Use macro-int-constant.
64189         (_IOLBF): Likewise.
64190         (_IONBF): Likewise.
64191         (SEEK_CUR): Likewise.
64192         (SEEK_END): Likewise.
64193         (SEEK_SET): Likewise.
64194         (TMP_MAX): Likewise.
64195         (EOF): Use macro-int-constant.  Require < 0.
64196         (NULL): Use macro-constant.  Require == 0.
64197         (stdin): Require type to be FILE *.
64198         (stdout): Likewise.
64199         (stderr): Likewise.
64200         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
64201         macro-int-constant.
64202         (EXIT_SUCCESS): Likewise.
64203         (NULL): Use macro-constant.  Require == 0.
64204         (RAND_MAX): Use macro-int-constant.
64205         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
64206         [C99-based standards] (strtof): Require function.
64207         [C99-based standards] (strtold): Likewise.
64208         [C99-based standards] (strtoll): Likewise.
64209         [C99-based standards] (strtoull): Likewise.
64210         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
64211         [ISO || ISO99 || ISO11] (limits.h): Likewise.
64212         [ISO || ISO99 || ISO11] (math.h): Likewise.
64213         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
64214         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
64215         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64217 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
64219         [BZ #14132]
64220         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
64221         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
64222         * intl/dgettext.c (DCGETTEXT): Likewise.
64223         * intl/gettext.c (DCGETTEXT): Likewise.
64224         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
64225         * posix/regex_internal.h (gettext): Likewise.
64226         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
64227         Remove declaration.
64228         * include/argz.h (__argz_count_internal)
64229         (__argz_stringify_internal): Remove declaration.
64230         (__argz_count, __argz_stringify): Declare hidden proto.
64231         * intl/dcgettext.c: Remove use of INTDEF.
64232         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
64233         * string/argz-stringify.c: Likewise.
64234         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64235         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64236         Declare hidden proto.
64237         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64238         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64239         Declare hidden proto.
64240         * include/stdio.h (__asprintf_internal): Don't declare.
64241         (__asprintf): Don't define as macro.  Declare hidden proto.
64242         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
64243         (__fsetlocking): Declare hidden proto.
64244         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
64245         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
64246         hidden proto.
64247         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
64248         (_IO_setlinebuf): Remove use of INTUSE.
64249         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
64250         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
64251         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
64252         Remove declaration.
64253         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
64254         (_IO_do_flush): Remove use of INTUSE.
64255         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
64256         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
64257         (_IO_adjust_column, _IO_least_wmarker)
64258         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
64259         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
64260         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
64261         (_IO_default_doallocate, _IO_wdefault_doallocate)
64262         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
64263         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
64264         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
64265         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
64266         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
64267         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
64268         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
64269         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
64270         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
64271         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
64272         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
64273         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
64274         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
64275         proto.
64276         (_IO_flush_all_internal, _IO_adjust_column_internal)
64277         (_IO_default_uflow_internal, _IO_default_finish_internal)
64278         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
64279         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
64280         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
64281         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
64282         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
64283         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
64284         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
64285         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
64286         (_IO_file_close_internal, _IO_file_close_it_internal)
64287         (_IO_file_underflow_internal, _IO_file_overflow_internal)
64288         (_IO_file_init_internal, _IO_file_attach_internal)
64289         (_IO_file_fopen_internal, _IO_file_read_internal)
64290         (_IO_file_sync_internal, _IO_file_seek_internal)
64291         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
64292         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
64293         (_IO_str_underflow_internal, _IO_str_overflow_internal)
64294         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
64295         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
64296         (_IO_list_all_internal, _IO_link_in_internal)
64297         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
64298         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
64299         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
64300         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
64301         (_IO_do_write_internal, _IO_padn_internal)
64302         (_IO_getline_info_internal, _IO_getline_internal)
64303         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
64304         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
64305         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
64306         (_IO_vfscanf_internal, _IO_vfprintf_internal)
64307         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
64308         (_IO_init_internal, _IO_un_link_internal): Don't declare.
64309         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
64310         with libc_hidden_ver, remove use of INTUSE.
64311         * libio/genops.c: Likewise.
64312         * libio/freopen.c: Likewise.
64313         * libio/freopen64.c: Likewise.
64314         * libio/iofclose.c: Likewise.
64315         * libio/iofdopen.c: Likewise.
64316         * libio/iofflush.c: Likewise.
64317         * libio/iofflush_u.c: Likewise.
64318         * libio/iofgets.c: Likewise.
64319         * libio/iofgets_u.c: Likewise.
64320         * libio/iofopen.c: Likewise.
64321         * libio/iofopncook.c: Likewise.
64322         * libio/iofread.c: Likewise.
64323         * libio/iofread_u.c: Likewise.
64324         * libio/ioftell.c: Likewise.
64325         * libio/iofwrite.c: Likewise.
64326         * libio/iogetline.c: Likewise.
64327         * libio/iogets.c: Likewise.
64328         * libio/iogetwline.c: Likewise.
64329         * libio/iopadn.c: Likewise.
64330         * libio/iopopen.c: Likewise.
64331         * libio/ioseekoff.c: Likewise.
64332         * libio/ioseekpos.c: Likewise.
64333         * libio/iosetbuffer.c: Likewise.
64334         * libio/iosetvbuf.c: Likewise.
64335         * libio/ioungetc.c: Likewise.
64336         * libio/ioungetwc.c: Likewise.
64337         * libio/iovdprintf.c: Likewise.
64338         * libio/iovsprintf.c: Likewise.
64339         * libio/iovsscanf.c: Likewise.
64340         * libio/memstream.c: Likewise.
64341         * libio/obprintf.c: Likewise.
64342         * libio/oldfileops.c: Likewise.
64343         * libio/oldiofclose.c: Likewise.
64344         * libio/oldiofdopen.c: Likewise.
64345         * libio/oldiofopen.c: Likewise.
64346         * libio/oldiopopen.c: Likewise.
64347         * libio/oldstdfiles.c: Likewise.
64348         * libio/putc.c: Likewise.
64349         * libio/setbuf.c: Likewise.
64350         * libio/setlinebuf.c: Likewise.
64351         * libio/stdfiles.c: Likewise.
64352         * libio/strops.c: Likewise.
64353         * libio/vasprintf.c: Likewise.
64354         * libio/vscanf.c: Likewise.
64355         * libio/vsnprintf.c: Likewise.
64356         * libio/vswprintf.c: Likewise.
64357         * libio/wfiledoalloc.c: Likewise.
64358         * libio/wfileops.c: Likewise.
64359         * libio/wgenops.c: Likewise.
64360         * libio/wmemstream.c: Likewise.
64361         * libio/wstrops.c: Likewise.
64362         * libio/__fpurge.c: Likewise.
64363         * libio/__fsetlocking.c: Likewise.
64364         * assert/assert.c: Likewise.
64365         * debug/fgets_chk.c: Likewise.
64366         * debug/fgets_u_chk.c: Likewise.
64367         * debug/fread_chk.c: Likewise.
64368         * debug/fread_u_chk.c: Likewise.
64369         * debug/gets_chk.c: Likewise.
64370         * debug/obprintf_chk.c: Likewise.
64371         * debug/vasprintf_chk.c: Likewise.
64372         * debug/vdprintf_chk.c: Likewise.
64373         * debug/vsnprintf_chk.c: Likewise.
64374         * debug/vsprintf_chk.c: Likewise.
64375         * malloc/mtrace.c: Likewise.
64376         * misc/error.c: Likewise.
64377         * misc/syslog.c: Likewise.
64378         * stdio-common/asprintf.c: Likewise.
64379         * stdio-common/fxprintf.c: Likewise.
64380         * stdio-common/getw.c: Likewise.
64381         * stdio-common/isoc99_fscanf.c: Likewise.
64382         * stdio-common/isoc99_scanf.c: Likewise.
64383         * stdio-common/isoc99_vfscanf.c: Likewise.
64384         * stdio-common/isoc99_vscanf.c: Likewise.
64385         * stdio-common/isoc99_vsscanf.c: Likewise.
64386         * stdio-common/printf-prs.c: Likewise.
64387         * stdio-common/printf_fp.c: Likewise.
64388         * stdio-common/printf_fphex.c: Likewise.
64389         * stdio-common/printf_size.c: Likewise.
64390         * stdio-common/putw.c: Likewise.
64391         * stdio-common/scanf.c: Likewise.
64392         * stdio-common/sprintf.c: Likewise.
64393         * stdio-common/tmpfile.c: Likewise.
64394         * stdio-common/vfprintf.c: Likewise.
64395         * stdio-common/vfscanf.c: Likewise.
64396         * stdlib/strfmon_l.c: Likewise.
64397         * sunrpc/openchild.c: Likewise.
64398         * sunrpc/xdr_stdio.c: Likewise.
64399         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
64400         * sysdeps/mach/hurd/tmpfile.c: Likewise.
64402 2012-05-24  Roland McGrath  <roland@hack.frob.com>
64404         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
64406         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
64407         in the third column, to generate for the shared library an IFUNC
64408         that uses _dl_vdso_vsym.
64409         * Makerules (COMPILE.c, compile-stdin.c): New variables.
64410         * Makeconfig (object-suffixes-noshared): New variable.
64412         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
64413         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
64414         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
64415         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
64417         [BZ #14132]
64418         * include/sys/time.h (__gettimeofday): Remove macro.
64419         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
64420         * time/gettimeofday.c (__gettimeofday): Remove #undef.
64421         Remove INTDEF.
64422         (__gettimeofday): Add libc_hidden_def.
64423         (gettimeofday): Add libc_hidden_weak.
64424         * sysdeps/mach/gettimeofday.c: Likewise.
64425         * sysdeps/posix/gettimeofday.c: Likewise.
64426         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
64427         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
64428         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
64429         (__gettimeofday_internal): Remove strong_alias.
64430         (__gettimeofday): Add libc_hidden_def.
64431         (gettimeofday): Add libc_hidden_weak.
64432         * sysdeps/unix/syscalls.list (gettimeofday):
64433         Remove __gettimeofday_internal alias.
64435 2012-05-24  Daniel Jacobowitz  <drow@false.org>
64436             H.J. Lu  <hongjiu.lu@intel.com>
64438         [BZ #12495]
64439         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
64440         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
64441         (largebin_index_32_big): New.
64442         (largebin_index): Use it for 16-byte alignment.
64443         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
64444         correction with front_misalign.
64446 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64448         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
64449         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
64450         Likewise.
64451         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
64452         Likewise.
64453         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64454         Likewise.
64455         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
64456         Likewise.
64457         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
64458         Likewise.
64459         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
64460         Likewise.
64461         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
64462         Likewise.
64463         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64464         Likewise.
64465         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
64466         Likewise.
64467         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
64468         Likewise.
64469         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
64470         Likewise.
64471         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
64472         Likewise.
64474         * scripts/data/c++-types-x32-linux-gnu.data: New file.
64475         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
64477 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64479         [BZ #10846]
64480         [BZ #14036]
64481         * math/libm-test.inc (exp_test): Add test from bug 14036.
64482         (pow_test): Add test from bug 10846.
64484         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
64485         and other flags.
64486         (special_function): Do not include flags in test name.
64487         (parse_args): Likewise.
64488         * sysdeps/i386/fpu/libm-test-ulps: Update.
64489         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64490         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64491         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64494         * math/gen-libm-test.pl (%beautify): Add entries for underflow
64495         exceptions.
64496         * math/libm-test.inc ("Philosophy"): Update comment about
64497         exception testing.
64498         (UNDERFLOW_EXCEPTION): New macro.
64499         (UNDERFLOW_EXCEPTION_OK): Likewise.
64500         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
64501         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
64502         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
64503         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
64504         (INVALID_EXCEPTION_OK): Update value.
64505         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
64506         (OVERFLOW_EXCEPTION_OK): Likewise.
64507         (IGNORE_ZERO_INF_SIGN): Likewise.
64508         (test_exceptions): Handle underflow exceptions.
64509         (acos_test): Update for underflow exception expectations.
64510         (cexp_test): Likewise.
64511         (clog_test): Likewise.
64512         (clog10_test): Likewise.
64513         (csqrt_test): Likewise.
64514         (ctan_test): Likewise.
64515         (ctanh_test): Likewise.
64516         (exp_test): Likewise.
64517         (exp10_test): Likewise.
64518         (exp2_test): Likewise.
64519         (expm1_test): Likewise.
64520         (fma_test): Likewise.
64521         (j0_test): Likewise.
64522         (jn_test): Likewise.
64523         (nexttoward_test): Likewise.
64524         (pow_test): Likewise.
64525         (scalbn_test): Likewise.
64526         (scalbln_test): Likewise.
64527         (tan_test): Likewise.
64528         (y1_test): Likewise.
64529         * sysdeps/i386/fpu/libm-test-ulps: Update.
64530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64532 2012-05-23  David S. Miller  <davem@davemloft.net>
64534         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
64535         (__libc_sigaction): Remove unused local variables.
64537 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64539         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
64541 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
64543         mktime: avoid signed integer overflow
64544         * time/mktime.c (__mktime_internal): Do not mishandle the case
64545         where diff == INT_MIN.
64547         mktime: simplify computation of average
64548         * time/mktime.c (ranged_convert): Use new time_t_avg function
64549         instead of rolling our own (probably-slower) code.
64551         mktime: do not assume signed right shift propagates sign bit
64552         * time/mktime.c (isdst_differ): New static function.
64553         (__mktime_internal): No need to normalize tm_isdst now.
64554         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
64555         tm_isdst values.
64557         mktime: merge another wrapv change from gnulib
64558         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
64559         from some compilers.
64561         mktime: remove incorrect attempt at unusual arithmetics
64562         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
64563         The code didn't really work on such machines anyway.
64564         (TYPE_MINIMUM): Assume two's complement.
64565         (twos_complement_arithmetic): Verify that long_int and time_t
64566         are two's complement (or unsigned, in the latter case).
64568         mktime: check signed shifts on long_int and time_t, too
64569         * time/mktime.c (SHR): Check that shifts work as desired
64570         on the types long_int and time_t too, as SHR is used on
64571         such types.
64573         mktime: do not assume 'long' is wide enough
64574         * time/mktime.c (verify): Move decl up.
64575         (long_int): New type.
64576         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
64577         to remove assumption in the code that 'long' is wide enough to
64578         store year values.  This assumption is not true on x32 and on
64579         some non-glibc platforms.
64581         mktime: merge wrapv change from gnulib
64582         * time/mktime.c (WRAPV): New macro.
64583         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
64584         (guess_time_tm, __mktime_internal): Do not assume that signed
64585         integer overflow wraps around; modern compilers generate code
64586         where this assumption is no longer valid.
64588 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64590         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
64591         Replace "jmp L(pseudo_end)" with "ret".
64592         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
64593         Likewise.
64595 2012-05-23  Andreas Jaeger  <aj@suse.de>
64597         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
64598         * sysdeps/unix/sysv/linux/poll.c: Remove file.
64600 2012-05-23  Andreas Jaeger  <aj@suse.de>
64601             Maximilian Attems  <max@stro.at>
64603         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
64604         New macros.
64606 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64608         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
64609         code so that pseudo_end is just ret and the stack pointer is
64610         correct also for static library in error case.
64612 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
64614         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
64615         move to syscalls.list.
64616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
64617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
64618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
64619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
64621         * manual/install.texi (Running make install): Do not mention Linux
64622         kernel version for which pt_chown is not needed.
64623         (Linux): Do not mention problems with nscd with 2.0 kernels.
64624         * INSTALL: Regenerated.
64626 2012-05-23  Andreas Jaeger  <aj@suse.de>
64628         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
64629         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
64630         macro.
64631         * sysdeps/unix/sysv/linux/s390/bits/mman.h
64632         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64633         * sysdeps/unix/sysv/linux/sh/bits/mman.h
64634         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64635         * sysdeps/unix/sysv/linux/i386/bits/mman.h
64636         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64637         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
64638         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64639         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
64640         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64641         * sysdeps/unix/sysv/linux/bits/in.h
64642         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
64644 2012-05-22  Roland McGrath  <roland@hack.frob.com>
64646         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
64647         (PREPARE_VERSION): Just use assert instead, it will be elided
64648         under [NDEBUG] anyway.
64650 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64652         * sysdeps/unix/sysv/linux/Makefile: Include
64653         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
64654         (sysdep_routines): Remove sysctl.
64655         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
64656         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
64657         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
64658         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
64659         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
64661 2012-05-22  Andreas Jaeger  <aj@suse.de>
64663         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
64664         that pseudo_end is just ret and the stack pointer is correct also
64665         for static library in error case.
64667 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
64669         [BZ #14122]
64670         * nss/nsswitch.c (defconfig_entries): New variable.
64671         (__nss_database_lookup): Don't leak defconfig entries.
64672         (nss_parse_service_list): Don't leak on error paths.
64673         (free_database_entries): New function.
64674         (free_defconfig): New function.
64675         (free_mem): Move common code to free_database_entries.
64677 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64679         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
64680         Add arch_prctl.
64681         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
64683         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
64684         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
64685         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
64686         New macro.
64687         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
64688         (INTERNAL_SYSCALL_TYPES): Likewise.
64689         (LOAD_ARGS_TYPES_[1-6]): Likewise.
64690         (LOAD_REGS_TYPES_[1-6]): Likewise.
64691         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
64692         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
64694 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64696         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
64697         copysignl for GLIBC_2_0.
64698         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
64699         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
64700         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
64701         logbl for GLIBC_2_0.
64702         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
64703         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
64705 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64707         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
64708         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
64710         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
64711         Use "neg %eax".
64713         * time/mktime.c: Update copyright years.
64715 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
64717         mktime: merge comment-quoting-style change from gnulib
64718         * time/mktime.c: Quote 'like this' in comments.
64719         The GNU coding standards suggest that we no longer quote `like this',
64720         as "`" and "'" are typically rendered asymmetrically nowadays.
64721         The typical gnulib style is to quote 'like this' when quoting
64722         code, and "like this" when quoting English.
64724         * time/mktime.c (compile-command): Add "-I.".
64726         mktime: merge mktime-internal.h change from gnulib
64727         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
64729         mktime: merge time_r change from gnulib
64730         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
64732         mktime: merge DEBUG change from gnulib
64733         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
64734         case system <time.h> has a #define.
64736         mktime: merge <sys/types.h> change from gnulib
64737         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
64738         since <time.t> is now guaranteed to define time_t.
64740         mktime: merge HAVE_CONFIG_H change from gnulib
64741         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
64743 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64745         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
64746         Use "neg %eax".
64748         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
64749         __rlim_t cast.
64750         (struct rusage): Use anonymous union to pad each field to
64751         __syscall_slong_t.
64753 2012-05-21  David S. Miller  <davem@davemloft.net>
64755         * Makefules (o-iterator): Remove .s cases.
64756         (compile-command.s): Delete.
64757         (COMPILE.s): Delete.
64758         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
64760 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
64762         * configure.in (libc_cv_predef_stack_protector): Only consider
64763         "foobar" and "__stack_chk_fail" lines in libc_undefs.
64764         * configure: Regenerated.
64766 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64768         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
64769         New macro.  Use R*LP on int and pointer.
64770         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
64771         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
64772         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
64773         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
64775         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
64776         [__WORDSIZE_TIME64_COMPAT32] instead of
64777         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
64778         (struct utmp): Likewise.
64779         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
64780         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
64781         Renamed to ...
64782         (__WORDSIZE_TIME64_COMPAT32): This.
64783         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
64784         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
64785         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
64786         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
64787         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
64788         (__WORDSIZE_TIME64_COMPAT32): New macro.
64790 2012-05-21  Andreas Jaeger  <aj@suse.de>
64792         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
64793         only if [SHARED]. Add prototype for __wcschr_ia32.
64795 2012-05-21  Roland McGrath  <roland@hack.frob.com>
64797         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
64798         of %rbp unmolested in the jmp_buf while mangling the low bits.
64799         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
64800         unmolested high bits of %rbp while demangling the low bits.
64801         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
64803 2012-05-21  Andreas Jaeger  <aj@suse.de>
64805         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
64806         * sunrpc/svc_simple.c: Use it for registerrpc.
64807         * sunrpc/xcrypt.c: Use it for passwd2des.
64809         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
64811 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64813         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
64814         Don't define if [__SYSCALL_WORDSIZE != 32].
64815         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
64816         New macro.
64818 2012-05-21  Bruno Haible  <bruno@clisp.org>
64819             Andreas Jaeger  <aj@suse.de>
64821         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
64822         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
64823         inptr and inend for must_buffer_ch.
64824         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
64825         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
64826         * stdio-common/Makefile (tests): Remove bug15.
64827         (bug15-ENV): Remove macro.
64828         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
64829         anymore.
64831 2012-05-19  Andreas Jaeger  <aj@suse.de>
64832             Roland McGrath  <roland@hack.frob.com>
64834         * manual/contrib.texi: Completely rewritten. It contains now an
64835         alphabetical list of contributors and their contributions.
64837 2012-05-21  Richard Henderson  <rth@twiddle.net>
64839         * misc/getauxval.c (__getauxval): Use unsigned long int.
64840         * misc/sys/auxv.h: Include <sys/cdefs.h>.
64841         (getauxval): Use unsigned long int.
64843 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64845         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
64847 2012-05-21  Roland McGrath  <roland@hack.frob.com>
64849         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
64850         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
64851         __alignof__ (long double).
64853 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64855         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64857 2012-05-20  Richard Henderson  <rth@twiddle.net>
64859         * misc/getauxval.c: New file.
64860         * misc/sys/auxv.h: New file.
64861         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
64862         (routines): Add getauxval.
64863         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
64864         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
64865         * elf/dl-sysdep.c (_dl_auxv): Remove.
64866         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
64867         * elf/dl-support.c (_dl_auxv): New variable.
64868         (_dl_aux_init): Initialize it.
64869         * manual/startup.texi (Auxiliary Vector): New node.
64870         * sysdeps/generic/bits/hwcap.h: New file.
64871         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
64872         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
64873         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
64874         * sysdeps/sparc/sysdep.h: ... here.  Include it.
64875         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
64876         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
64877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64878         Update.
64879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
64880         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
64881         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
64882         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
64883         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
64884         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
64885         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
64886         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
64888 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64890         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64892 2012-05-19  David S. Miller  <davem@davemloft.net>
64894         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64896 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
64898         [BZ #14123]
64899         * math/s_ccosh.c: Include <float.h>
64900         (__ccosh): Avoid internal overflow calculating sinh and cosh
64901         values before multiplying by sin and cos values.
64902         * math/s_ccoshf.c: Likewise.
64903         * math/s_ccoshl.c: Likewise.
64904         * math/s_csin.c: Likewise.
64905         * math/s_csinf.c: Likewise.
64906         * math/s_csinl.c: Likewise.
64907         * math/s_csinh.c: Likewise.
64908         * math/s_csinhf.c: Likewise.
64909         * math/s_csinhl.c: Likewise.
64910         * math/libm-test.inc (ccos_test): Add more tests.
64911         (ccosh_test): Likewise.
64912         (csin_test): Likewise.
64913         (csinh_test): Likewise.
64914         * sysdeps/i386/fpu/libm-test-ulps: Update.
64915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64917 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
64919         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
64920         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
64922         * sysdeps/x86_64/x32/_itoa.h: Add comment.
64924 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
64926         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
64927         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
64928         * sysdeps/powerpc/soft-fp/Versions: Likewise.
64929         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
64930         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
64931         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
64932         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
64933         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
64934         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
64935         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
64936         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
64937         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
64938         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
64939         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
64940         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
64941         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
64942         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
64943         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
64944         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
64945         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
64946         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
64947         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
64948         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
64949         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
64950         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
64951         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
64952         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
64953         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
64954         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
64955         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
64956         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
64958 2012-05-18  Andreas Jaeger  <aj@suse.de>
64960         * csu/.gitignore: Delete.
64962 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
64964         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
64965         (timex): Use __syscall_slong_t.
64967 2012-05-18  Andreas Jaeger  <aj@suse.de>
64968             Carlos O'Donell  <carlos_odonell@mentor.com>
64970         * manual/install.texi (Configuring and compiling): Update
64971         description about files modified in the source directory.
64972         * INSTALL: Regenerated.
64974 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
64976         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
64977         value.  Use "or" to set return value to -1.
64978         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
64979         negate return value.
64981 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64983         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
64984         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
64985         failure if the compiler has Graphite support disabled.
64986         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
64987         Likewise.
64988         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
64989         (CFLAGS-memmove.c): Likewise.
64990         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
64991         Likewise.
64993 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
64995         * sysdeps/x86_64/x32/_itoa.h: New file.
64997         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
64998         getdents system call only if kernel and user dirents have the
64999         same d_ino and d_off.
65001         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
65002         LLONG_MAX != LONG_MAX.
65003         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65004         (_fitoa_word): Likewise.
65006         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
65007         years.
65008         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
65009         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
65010         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
65012         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
65013         include <bits/wordsize.h>.  Check __x86_64__ instead of
65014         __WORDSIZE.
65015         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
65016         if __x86_64__ is defined.  Use anonymous union on fpstate.
65018         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
65019         anonymous union.
65021 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
65023         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
65024         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
65025         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
65026         Refer to _rtld_local_ro instead of _rtld_global_ro.
65027         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
65028         Likewise.
65029         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
65030         Likewise.
65031         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
65032         Likewise.
65033         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
65034         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
65035         of _rtld_global, and rtld_progname instead of _dl_argv[0].
65037         [BZ #10882]
65038         * sysdeps/powerpc/powerpc32/dl-machine.c
65039         (__elf_machine_runtime_setup) [PROF]: Don't reference
65040         _dl_prof_resolve.
65042 2012-05-18  Andreas Jaeger  <aj@suse.de>
65044         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
65045         function only available for GCCs before 3.4 since GCC 3.4
65046         introduced a builtin.
65047         (lrint): Likewise.
65048         (llrintf): Likewise.
65049         (llrint): Likewise.
65050         (fmaxf): Likewise.
65051         (fmax): Likewise.
65052         (fminf): Likewise.
65053         (fmin): Likewise.
65054         (rint): Likewise.
65055         (rintf): Likewise.
65056         (nearbyint): Likewise.
65057         (nearbyintf): Likewise.
65058         (ceil): Likewise.
65059         (ceilf): Likewise.
65060         (floor): Likewise.
65061         (floorf): Likewise.
65063 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65065         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
65066         on both fields and cast pointer to __syscall_ulong_t.
65068         * bits/types.h (__fsword_t): New type.
65069         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
65070         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
65071         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65072         (__FSWORD_T_TYPE): Likewise.
65073         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65074         (__FSWORD_T_TYPE): Likewise.
65075         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65076         (__FSWORD_T_TYPE): Likewise.
65077         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
65078         (__FSWORD_T_TYPE): Likewise.
65079         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
65080         __SWORD_TYPE with __fsword_t.
65081         (statfs64): Likewise.
65083 2012-05-17  David S. Miller  <davem@davemloft.net>
65085         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
65087 2012-05-17  Andreas Jaeger  <aj@suse.de>
65089         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
65090         warning.
65092 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65094         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
65096 2012-05-17  Andreas Jaeger  <aj@suse.de>
65098         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
65099         when it is used.
65101 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
65103         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
65105 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65107         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
65108         * sysdeps/x86_64/tst-mallocalign1.c: New file.
65110 2012-05-17  Andreas Jaeger  <aj@suse.de>
65111             Carlos O'Donell  <carlos_odonell@mentor.com>
65113         [BZ #14059]
65114         * sysdeps/x86_64/multiarch/init-arch.h
65115         (bit_YMM_Usable): Rename to...
65116         (bit_AVX_Usable): ... this.
65117         (bit_FMA4_Usable): New macro.
65118         (bit_XMM_state): New macro.
65119         (bit_YMM_state): New macro.
65120         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
65121         [__ASSEMBLER__] (index_AVX_Usable): ... this.
65122         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
65123         (CPUID_OSXSAVE): New macro.
65124         (CPUID_AVX): New macro.
65125         (CPUID_FMA4): New macro.
65126         (index_YMM_Usable): Rename to...
65127         (index_AVX_Usable): ... this.
65128         (HAS_AVX): Use HAS_ARCH_FEATURE.
65129         (HAS_FMA4): Likewise.
65130         (HAS_YMM_USABLE): Remove.
65131         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65132         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
65133         are present.
65134         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
65135         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
65136         * sysdeps/x86_64/multiarch/Makefile: Likewise.
65137         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
65138         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
65140 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
65142         * math/libm-test.c: Support platforms without multiple rounding modes.
65143         * math/bug-nextafter.c: Support platforms without FP exceptions.
65144         * math/bug-nexttoward.c: Likewise.
65145         * math/test-fenv.c: Likewise.
65146         * math/test-misc.c: Likewise.
65147         * stdlib/bug-getcontext.c: Likewise.
65149 2012-05-17  Andreas Jaeger  <aj@suse.de>
65151         * manual/examples/search.c (critter_cmp): Change signature to
65152         avoid warnings.
65153         * manual/string.texi (Collation Functions): Likewise.
65155 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65157         * bits/types.h: Fold copyright years.
65158         * bits/typesizes.h: Likewise.
65159         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
65160         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
65161         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
65162         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
65163         * time/time.h: Likewise.
65165 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
65167         [BZ #208]
65168         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
65169         in instead of returning them.  Return void.
65170         (__libc_mallinfo): Accumulate over all arenas.
65171         (__malloc_stats): Adjust for change in int_mallinfo interface.
65173 2012-05-16  Roland McGrath  <roland@hack.frob.com>
65175         [BZ #10375]
65176         * configure.in (NM): Add AC_CHECK_TOOL for it.
65177         (libc_extra_cflags): New substituted variable.
65178         Check for -fstack-protector being used implicitly.
65179         * configure: Regenerated.
65180         * config.make.in (config-extra-cflags): New variable,
65181         gets @libc_extra_cflags@.
65182         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
65184         [BZ #10375]
65185         * configure.in: Check for _FORTIFY_SOURCE being predefined.
65186         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
65187         * configure: Regenerated.
65188         * config.make.in (CPPUNDEFS): New substituted variable.
65189         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
65190         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
65191         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
65193 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65195         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
65196         (mq_attr): Use __syscall_slong_t.
65198 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65200         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
65201         Check __x86_64__ instead of __WORDSIZE.
65202         (_STAT_VER_LINUX): Likewise.
65203         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
65204         __syscall_ulong_t and __syscall_slong_t.
65205         (stat64): Likewise.
65207 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65209         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
65211 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65213         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
65215 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65217         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
65218         __syscall_ulong_t.
65220         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
65221         include <bits/wordsize.h>.  Check __x86_64__ instead of
65222         __WORDSIZE.
65223         (greg_t): Use "__extension__ long long int" if __x86_64__ is
65224         defined.
65225         (mcontext_t): Replace "unsigned long" with "unsigned long long".
65227         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
65228         include <bits/wordsize.h>.  Check __x86_64__ instead of
65229         __WORDSIZE.
65230         (user_regs_struct): Use "__extension__ unsigned long long"
65231         instead of "unsigned long" if __x86_64__ is defined.
65232         (user): Likewise.  Pad after pointer field if __ILP32__ is
65233         defined.
65235 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
65237         * configure.in (makeinfo): Require version 4.5 or later.  Allow
65238         versions 5 to 9.
65239         * configure: Regenerated.
65240         * manual/install.texi (texinfo): Increase version requirement to
65241         4.5 or later.
65242         * INSTALL: Regenerated.
65244         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
65246 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65248         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
65250         * sysdeps/x86_64/x32/ffs.c: New file.
65252         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
65253         __syscall_ulong_t.
65254         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
65255         defined.  Use __syscall_ulong_t.
65256         (shminfo): Use __syscall_ulong_t.
65257         (shm_info): Likewise.
65259         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
65260         __syscall_ulong_t.
65262         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
65263         <bits/wordsize.h>.
65264         (msgqnum_t): Use __syscall_ulong_t.
65265         (msglen_t): Likewise.
65266         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
65267         __syscall_ulong_t.
65269         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
65270         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65272         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
65274         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
65275         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
65277         * sysvipc/sys/msg.h (msgbuf): Replace long int with
65278         __syscall_slong_t.
65280         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
65281         include <bits/wordsize.h>.  Check __x86_64__ instead of
65282         __WORDSIZE.
65284         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
65285         "unsigned long long int" if __x86_64__ is defined.
65286         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
65288         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
65289         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65290         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
65292         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
65293         <stdint.h>.
65294         (GET_PC): Cast to uintptr_t first.
65295         (GET_FRAME): Likewise.
65296         (GET_STACK): Likewise.
65298         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
65299         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
65300         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
65301         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
65302         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
65303         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
65304         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
65305         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
65306         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
65307         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
65308         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
65309         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
65310         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
65311         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
65312         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
65313         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
65314         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
65315         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
65316         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
65317         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
65318         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
65319         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
65320         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
65321         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
65322         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
65323         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
65324         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
65325         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
65326         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
65328 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
65330         * Makerules (+depfiles): Also collect depfiles from .oS in
65331         $(extra-objs).
65332         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
65333         .oS, $(libnldbl-routines)).
65335         * Makerules (native-compile-mkdep-flags): Define.
65336         * sunrpc/Makefile (extra-objs): Add $(addprefix
65337         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
65338         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
65339         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
65340         calling $(make-target-directory).
65342 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65344         * bits/types.h (__snseconds_t): Removed.
65345         * time/time.h (struct timespec): Replace __snseconds_t with
65346         __syscall_slong_t.
65347         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
65348         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
65349         Likewise.
65350         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65351         (__SNSECONDS_T_TYPE): Likewise.
65352         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65353         (__SNSECONDS_T_TYPE): Likewise.
65354         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65355         (__SNSECONDS_T_TYPE): Likewise.
65357 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65359         * sysdeps/mach/hurd/bits/typesizes.h
65360         (__SYSCALL_SLONG_TYPE): New macro.
65361         (__SYSCALL_ULONG_TYPE): Likewise.
65363 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65365         * bits/types.h (__syscall_slong_t): New type.
65366         (__syscall_ulong_t): Likewise.
65368         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
65369         (__SYSCALL_ULONG_TYPE): Likewise.
65370         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65371         (__SYSCALL_SLONG_TYPE): Likewise.
65372         (__SYSCALL_ULONG_TYPE): Likewise.
65373         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65374         (__SYSCALL_SLONG_TYPE): Likewise.
65375         (__SYSCALL_ULONG_TYPE): Likewise.
65376         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65377         (__SYSCALL_SLONG_TYPE): Likewise.
65378         (__SYSCALL_ULONG_TYPE): Likewise.
65380 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65382         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
65383         Add sigaltstack-offsets.sym.
65384         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
65385         <sigaltstack-offsets.h>.
65386         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
65387         longjmp_msg pointer.
65388         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
65389         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
65390         signal stack.
65391         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
65393 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65395         * elf/stackguard-macros.h: Remove file.
65396         * sysdeps/generic/stackguard-macros.h: New file.
65397         * sysdeps/i386/stackguard-macros.h: Likewise.
65398         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
65399         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
65400         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
65401         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
65402         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
65403         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
65404         * sysdeps/x86_64/stackguard-macros.h: Likewise.
65405         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
65406         <elf/stackguard-macros.h>.
65408         [BZ #14109]
65409         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
65410         __aligned__ in attribute.
65411         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
65412         (gregset_t): Likewise.
65414 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65416         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
65417         * sysdeps/x86_64/64/Implies-after: Here.  New file.
65418         * sysdeps/x86_64/x32/Implies-after: New file.
65420 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65422         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
65423         and access return value for _dl_profile_fixup.  Use R10_LP to
65424         load frame size.
65426 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65428         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
65430 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65432         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
65433         * sysdeps/x86_64/x32/sysdep.h: New file.
65435 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65437         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
65438         * sysdeps/x86_64/setjmp.S: Likewise.
65440 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65442         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
65443         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
65444         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
65445         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
65446         remove unused global constant.
65448 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
65450         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
65451         include of <not-cancel.h>.
65453 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65455         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
65457 2012-05-15  Jeff Law  <law@redhat.com>
65458             Andreas Jaeger  <aj@suse.de>
65460         [BZ #13594]
65461         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
65462         out from...
65463         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
65464         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
65465         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
65466         code changing __hst_map_handle.map.
65468 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65470         * configure.in (sysnames): Look for Implies-before and Implies-after
65471         files.
65472         * configure: Regenerated.
65474 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65476         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
65477         8-byte data alignment with LP_SIZE alignment.
65479 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65481         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
65482         into R10_LP.
65484 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65486         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
65488 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65490         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
65491         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
65492         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
65493         Likewise.
65494         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
65496 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65498         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
65499         (stackinfo_sub_sp): Likewise.
65501 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65503         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
65504         RAX_LP.
65506 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65508         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
65509         into R*_LP.
65511 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65513         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
65514         sizes into R*_LP.
65516 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65518         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
65520 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65522         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
65523         into R11_LP and load __x86_64_shared_cache_size_half into
65524         R8_LP.
65526 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65528         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
65529         R8_LP.
65531 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65533         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
65534         logb for POWER7.
65535         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
65536         logbf for POWER7.
65537         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
65538         logbl for POWER7.
65539         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
65540         powerpc32/power7/fpu/s_logb.c via #include.
65541         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
65542         powerpc32/power7/fpu/s_logbf.c via #include.
65543         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
65544         powerpc32/power7/fpu/s_logbl.c via #include.
65546 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65548         * README.libm: Remove file.
65550 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65552         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
65553         count for x32.  Use R*_LP and omit operand-size suffix.
65555 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65557         * shlib-versions: Move x86_64-.*-linux.* entries to ...
65558         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
65559         * sysdeps/x86_64/x32/shlib-versions: New file.
65561 2012-05-14  Roland McGrath  <roland@hack.frob.com>
65563         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
65564         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
65565         Use _dl_fatal_printf instead.
65567 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
65569         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
65570         set if not set by the user.  Do not allow for being unset.
65571         * sysdeps/unix/sysv/linux/configure: Regenerated.
65573 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65575         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
65576         the `q' suffix from lea and replace .quad with ASM_ADDR.
65578 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65580         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
65581         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
65582         instead of $17.
65583         (PTR_DEMANGLE): Likewise.
65585 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65587         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
65588         (LP_OP): Likewise.
65589         (ASM_ADDR): Likewise.
65590         (RAX_LP): Likewise.
65591         (RBP_LP): Likewise.
65592         (RBX_LP): Likewise.
65593         (RCX_LP): Likewise.
65594         (RDI_LP): Likewise.
65595         (RSI_LP): Likewise.
65596         (RSP_LP): Likewise.
65597         (R8_LP): Likewise.
65598         (R9_LP): Likewise.
65599         (R10_LP): Likewise.
65600         (R10_LP): Likewise.
65601         (R11_LP): Likewise.
65602         (R12_LP): Likewise.
65603         (R13_LP): Likewise.
65604         (R14_LP): Likewise.
65605         (R15_LP): Likewise.
65607 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65609         * sysdeps/x86_64/x32/dl-machine.h: New file.
65611 2012-05-14  Andreas Jaeger  <aj@suse.de>
65613         * manual/Makefile (subdir): Remove export of subdir.
65614         (all): Remove target.
65615         (.PHONY): Remove all from list.
65616         (mkinstalldirs): Remove.
65617         (.PHONY): Remove installdirs from list.
65618         ($(inst_infodir)/libc.info): Use make-target-directory.
65619         (installdirs): Remove.
65620         (subdir_%): Remove.
65621         (glibc-targets): Remove.
65622         (lib): Remove.
65623         (stubs): Remove.
65624         ($(objpfx)stubs ../po/manual.pot): Remove.
65625         ($(objpfx)stamp%): Remove.
65626         (make-target-directory): Remove.
65627         (subdir_install): Remove.
65628         (routines): Remove.
65629         (aux): Remove.
65630         (sources): Remove.
65631         (objects): Remove.
65632         (headers): Remove.
65634         [BZ #13750]
65635         * manual/.gitignore: Remove, it's not needed anymore.
65636         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
65637         all files in it.
65638         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
65639         directory.
65640         (texis): Renamed to $(objpfx)texis.
65641         (texis-path): New, contains path to generated files.
65642         (chapters.%): Use texis-path for complete path, add extra argument
65643         libc-texinfo.sh.
65644         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
65645         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
65646         (summary,texi, stamp-summary): Use complete path of
65647         files. Generate files in build dir.
65648         (dir-add.texi): Build in build dir.
65649         (libm-err.texi,stamp-libm-err): Likewise.
65650         (version.texi, stamp-version): Likewise.
65651         (.%c.texi): Likewise.
65652         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
65653         (mostlyclean): Remove target.
65654         (realclean): Remove target.
65655         (generated): Add new variable with contents from mostlyclean and
65656         realclean, remove entries duplicated in common-mostlyclean, add
65657         stamp-libm-err and stamp-version.
65658         (generated-dirs): Add libc directory.
65659         ($(inst_infodir)/libc.info): Install files from build dir.
65661         * manual/install.texi (Configuring and compiling): Adjust since
65662         the info files are not part of the tar ball anymore.
65664 2012-05-14  Andreas Jaeger  <aj@suse.de>
65666         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
65667         variable.
65669 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
65671         [BZ #13717]
65672         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
65673         to 2.2.0 where earlier.
65674         * sysdeps/unix/sysv/linux/configure: Regenerated.
65675         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
65676         Remove conditional code.
65677         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
65678         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
65679         Remove conditional code.
65680         [!__NR_lchown]: Likewise.
65681         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65682         [__NR_lchown]: Likewise.
65683         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
65684         comment referencing __ASSUME_LCHOWN_SYSCALL.
65685         * sysdeps/unix/sysv/linux/i386/sigaction.c
65686         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65687         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65688         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
65689         Remove conditional code.
65690         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
65691         (__protocol_available): Remove #if 0 code.
65692         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
65693         conditional code.
65694         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
65695         * sysdeps/unix/sysv/linux/kernel-features.h
65696         (__ASSUME_GETCWD_SYSCALL): Don't define.
65697         (__ASSUME_REALTIME_SIGNALS): Likewise.
65698         (__ASSUME_PREAD_SYSCALL): Likewise.
65699         (__ASSUME_PWRITE_SYSCALL): Likewise.
65700         (__ASSUME_POLL_SYSCALL): Likewise.
65701         (__ASSUME_LCHOWN_SYSCALL): Likewise.
65702         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
65703         non-SPARC.
65704         (__ASSUME_SIOCGIFNAME): Don't define.
65705         (__ASSUME_MSG_NOSIGNAL): Likewise.
65706         (__ASSUME_SENDFILE): Define unconditionally.
65707         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
65708         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
65709         conditional code.
65710         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
65711         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
65712         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
65713         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65714         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
65715         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
65716         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
65718         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65719         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
65721         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65722         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
65724         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65725         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
65727         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65728         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
65730         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65731         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
65733         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65734         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
65736         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65737         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
65739         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65740         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65741         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
65742         Remove conditional code.
65743         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65744         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
65745         Remove conditional code.
65746         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65747         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
65748         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
65749         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
65750         Remove conditional code.
65751         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65752         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
65753         Remove conditional code.
65754         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65755         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
65756         Remove conditional code.
65757         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65758         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
65759         Remove conditional code.
65760         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65761         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
65762         Remove conditional code.
65763         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65764         * sysdeps/unix/sysv/linux/sh/pwrite64.c
65765         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65766         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65767         * sysdeps/unix/sysv/linux/sigaction.c
65768         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65769         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65770         * sysdeps/unix/sysv/linux/sigpending.c
65771         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65772         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65773         * sysdeps/unix/sysv/linux/sigprocmask.c
65774         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65775         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65776         * sysdeps/unix/sysv/linux/sigsuspend.c
65777         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65778         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65779         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
65780         (__libc_missing_rt_sigs): Remove.
65781         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
65782         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
65783         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
65784         Remove conditional code.
65785         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
65786         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
65787         return 1.
65788         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
65789         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
65790         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
65791         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
65793 2012-05-14  Andreas Jaeger  <aj@suse.de>
65795         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
65796         it's not used in glibc.
65797         (__coshm1): Likewise.
65798         (__acosh1p): Likewise.
65799         (__sgn): Likewise.
65801         * manual/string.texi (Copying and Concatenation): Add missing
65802         variable in concat example.
65803         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
65805 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65807         [BZ #14103]
65808         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
65809         __builtin_clzl with __builtin_clzll.
65811 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65813         [BZ #14104]
65814         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
65815         libc_freeres_ptr.
65817 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65819         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
65820         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
65821         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
65822         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
65824 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
65826         * NEWS: Update ia64 info.
65828 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
65830         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
65831         used as bcopy.
65833 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
65835         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
65836         * sysdeps/unix/syscalls.list (dup3): Likewise.
65837         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
65838         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
65840 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
65842         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
65843         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
65845 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
65847         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
65848         thread pointer.
65849         (TLS_IE): Use mov/add instead of movq/addq to load thread
65850         pointer.
65851         (TLS_GD_PREFIX): New.
65852         (TLS_GD): Use it.
65854 2012-05-11  David S. Miller  <davem@davemloft.net>
65856         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
65857         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
65858         (_FPU_SETCW): Likewise.
65860 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65862         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
65863         is 32-byte aligned.
65865 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
65867         [BZ #11837]
65868         * iconvdata/gb18030.c: Update tables.
65869         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
65870         characters specially.
65871         (BODY for TO_LOOP): Add encoding of missing ranges.
65873 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
65875         [BZ #13673]
65876         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
65877         * sysdeps/mach/hurd/dup3.c: Likewise.
65878         * sysdeps/mach/hurd/readlinkat.c: Likewise.
65879         * sysdeps/powerpc/memmove.c:: Likewise.
65881 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65883         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
65884         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
65886 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65888         * elf/elf.h (R_X86_64_RELATIVE64): New.
65889         (R_X86_64_NUM): Updated.
65890         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
65891         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
65892         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
65893         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
65894         tst-quad1pie tst-quad2pie
65895         (modules-names): Add tst-quadmod1 tst-quadmod2.
65896         ($(objpfx)tst-quad1): New dependency.
65897         ($(objpfx)tst-quad2): Likewise.
65898         ($(objpfx)tst-quad1pie): Likewise.
65899         ($(objpfx)tst-quad2pie): Likewise.
65900         * sysdeps/x86_64/tst-quad1.c: New file.
65901         * sysdeps/x86_64/tst-quad1pie.c: New file.
65902         * sysdeps/x86_64/tst-quad2.c: Likewise.
65903         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
65904         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
65905         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
65906         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
65907         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
65909 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65911         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
65912         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
65913         * streams/stropts.h (t_scalar_t): Define type.
65915         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
65916         (_PATH_PRESERVE): Set to "/var/lib".
65917         (_PATH_RWHODIR): Set to "/var/spool/rwho".
65919         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
65920         instead of int.
65922         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
65923         if __dir_mkfile succeeded.
65925         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
65926         checking for _hurd_dtablesize.  Unlock it right after having
65927         finished _hurd_dtable allocation.
65929 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65931         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
65932         * sysdeps/mach/hurd/configure: Regenerated.
65933         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
65934         special-casing to...
65935         * sysdeps/gnu/configure.in: ... this new file.
65936         * sysdeps/unix/sysv/linux/configure: Regenerated.
65937         * sysdeps/gnu/configure: New generated file.
65939         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
65940         for Linux: use nsec instead of usec, as well as:
65941         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
65942         members of type struct timespec.
65943         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
65944         New macros.
65945         (struct stat64): Likewise.
65946         (_STATBUF_ST_NSEC): New macro.
65947         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
65949         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
65950         __strtoul_internal rather than strtoul.
65952 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65954         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
65955         and reject them.
65957 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65959         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
65960         which preserves existing values.
65961         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
65963 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65965         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
65966         TIMEOUT values.  Return EINVAL for NFDS values either negative or
65967         greater than FD_SETSIZE.
65969 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65971         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
65972         allocated, call __vm_protect to finish enabling the existing space, and
65973         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
65974         allocate the remainder.
65976 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65978         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
65979         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
65981 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65983         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
65984         sysdeps/mach/hurd/readlink.c.
65986         * posix/tst-sysconf.c (posix_options): Only use
65987         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
65988         _POSIX_SYNCHRONIZED_IO when they are defined
65989         * sysdeps/mach/hurd/bits/posix_opt.h:
65990         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
65991         (_XOPEN_REALTIME): Undefine macro.
65992         (_XOPEN_REALTIME_THREADS): Undefine macro.
65993         (_XOPEN_SHM): Undefine macro.
65994         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
65995         macro to -1.
65996         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
65997         macro to -1.
65998         (_POSIX_ASYNC_IO): Undefine macro.
65999         (_POSIX_PRIORITIZED_IO): Undefine macro.
66000         (_POSIX_SPIN_LOCKS): Define macro to -1.
66002         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
66003         SA_NODEFER, SA_RESETHAND.
66004         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
66005         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
66006         F_DUPFD_CLOEXEC.
66008 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66010         * elf/Makefile (pldd-modules): Define unconditionally.
66012 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66014         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
66016 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66018         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
66019         Return ENOENT when name is empty.
66020         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
66022 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66024         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
66026         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
66028 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66030         Fix mlock in all cases except non-readable pages.
66031         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
66032         instead of VM_PROT_ALL as parameter to __vm_wire function.
66034         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
66035         (__mkdir): When path is `/', just fail with EEXIST.
66036         * sysdeps/mach/hurd/mkdirat.c: Likewise.
66038 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66040         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
66041         <sys/uio.h> (for writev).
66042         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
66043         and <sys/param.h> (for MIN).
66045 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66047         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
66048         REQUESTED_TIME.  Properly set the remaining time and return EINTR
66049         if interrupted.
66051 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66053         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
66054         Depend on against $(link-rpcuserlibs).
66056 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66058         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
66059         (__libc_stack_end): Do not use attribute_relro.
66060         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
66061         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
66062         to libthread-provided value.
66063         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
66064         attribute_relro.
66066 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66068         [BZ #3748]
66069         * bits/libc-lock.h (__libc_once_get): New macro.
66070         * sysdeps/mach/bits/libc-lock.h: Likewise.
66071         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
66072         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
66073         instead of using implementation details.
66075         * libio/fileops.c: Unconditionally include <kernel-features.h>.
66076         * libio/freopen.c: Likewise.
66077         * libio/freopen64.c: Likewise.
66078         * misc/syslog.c: Likewise.
66079         * nscd/connections.c: Likewise.
66080         * nscd/netgroupcache.c: Likewise.
66081         * sysdeps/posix/getcwd.c: Likewise.
66083 2012-05-10  Roland McGrath  <roland@hack.frob.com>
66085         * math/w_ilogbf.c: Add #include <limits.h>.
66087 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66089         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
66090         path instead of returning without unlocking.
66092         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
66093         immediate-write ioctls.
66094         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
66096 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66098         * sysdeps/mach/hurd/i386/init-first.c (init): Use
66099         __builtin_frame_address instead of making assumptions about the
66100         location of the return address relative to DATA.  Force early load of
66101         the return address.
66102         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
66103         __builtin_frame_address.
66105         dup3 for GNU Hurd.
66106         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
66107         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
66108         implement dup3 and do some further code clean-ups.
66109         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
66110         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
66112 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66114         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
66116         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
66117         HURD_CRITICAL_END around holding _hurd_dtable_lock.
66118         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
66119         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
66120         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
66121         d->port.lock.
66123         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
66124         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
66125         when handler == SIG_ERR, not when handler != SIG_ERR.
66127 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66129         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
66130         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
66131         definitions.
66133         accept4 for GNU Hurd.
66134         * include/sys/socket.h (__libc_accept4): New prototype.
66135         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
66136         to implement __libc_accept4.
66137         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
66138         __libc_accept4.
66139         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
66141         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
66142         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
66143         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
66144         signal-defines.sym.
66146 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66148         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
66150 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66152         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
66153         assertion on O_CLOEXEC flag.
66154         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
66155         * hurd/intern-fd.c: Likewise.
66156         * hurd/port2fd.c: Likewise.
66158 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66160         [BZ #3906]
66161         * bits/in.h (IPV6_PKTINFO): Define new macro.
66162         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
66164 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66166         [BZ #13954]
66167         [BZ #13955]
66168         [BZ #13956]
66169         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
66170         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
66171         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
66172         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
66173         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66174         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
66175         * math/libm-test.inc (logb_test) : Additional logb tests.
66177 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
66178             Andreas Jaeger  <aj@suse.de>
66180         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
66181         * configure: Regenerated.
66182         * config.h.in (LINK_OBSOLETE_RPC): New macro.
66183         * config.make.in (link-obsolete-rpc): New substituted variable.
66184         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
66185         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
66186         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66187         (shared-only-routines): Don't set it under [link-obsolete-rpc],
66188         so that libc.a contains the symbols.
66189         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66190         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
66191         * sunrpc/auth_none.c: Likewise.
66192         * sunrpc/auth_unix.c: Likewise.
66193         * sunrpc/authdes_prot.c: Likewise.
66194         * sunrpc/authuxprot.c: Likewise.
66195         * sunrpc/clnt_gen.c: Likewise.
66196         * sunrpc/clnt_perr.c: Likewise.
66197         * sunrpc/clnt_raw.c: Likewise.
66198         * sunrpc/clnt_simp.c: Likewise.
66199         * sunrpc/clnt_tcp.c: Likewise.
66200         * sunrpc/clnt_udp.c: Likewise.
66201         * sunrpc/clnt_unix.c: Likewise.
66202         * sunrpc/des_crypt.c: Likewise.
66203         * sunrpc/des_soft.c: Likewise.
66204         * sunrpc/get_myaddr.c: Likewise.
66205         * sunrpc/key_call.c: Likewise.
66206         * sunrpc/key_prot.c: Likewise.
66207         * sunrpc/netname.c: Likewise.
66208         * sunrpc/pm_getmaps.c: Likewise.
66209         * sunrpc/pm_getport.c: Likewise.
66210         * sunrpc/pmap_clnt.c: Likewise.
66211         * sunrpc/pmap_prot.c: Likewise.
66212         * sunrpc/pmap_prot2.c: Likewise.
66213         * sunrpc/pmap_rmt.c: Likewise.
66214         * sunrpc/publickey.c: Likewise.
66215         * sunrpc/rpc_cmsg.c: Likewise.
66216         * sunrpc/rpc_common.c: Likewise.
66217         * sunrpc/rpc_dtable.c: Likewise.
66218         * sunrpc/rpc_prot.c: Likewise.
66219         * sunrpc/rpc_thread.c: Likewise.
66220         * sunrpc/rtime.c: Likewise.
66221         * sunrpc/svc.c: Likewise.
66222         * sunrpc/svc_auth.c: Likewise.
66223         * sunrpc/svc_raw.c: Likewise.
66224         * sunrpc/svc_run.c: Likewise.
66225         * sunrpc/svc_tcp.c: Likewise.
66226         * sunrpc/svc_udp.c: Likewise.
66227         * sunrpc/svc_unix.c: Likewise.
66228         * sunrpc/svcauth_des.c: Likewise.
66229         * sunrpc/xcrypt.c: Likewise.
66230         * sunrpc/xdr.c: Likewise.
66231         * sunrpc/xdr_array.c: Likewise.
66232         * sunrpc/xdr_float.c: Likewise.
66233         * sunrpc/xdr_intXX_t.c: Likewise.
66234         * sunrpc/xdr_mem.c: Likewise.
66235         * sunrpc/xdr_rec.c: Likewise.
66236         * sunrpc/xdr_ref.c: Likewise.
66237         * sunrpc/xdr_sizeof.c: Likewise.
66238         * sunrpc/xdr_stdio.c: Likewise.
66240 2012-05-10  Roland McGrath  <roland@hack.frob.com>
66242         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
66243         change.  Update copyright years.
66245 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
66247         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
66249 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
66250             Joseph Myers  <joseph@codesourcery.com>
66251             Paul Pluzhnikov  <ppluzhnikov@google.com>
66253         [BZ #14012]
66254         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
66255         requiring rpcgen.
66256         [cross-compiling] (extra-libs): Likewise.
66257         [cross-compiling] (extra-libs-others): Likewise.
66258         [cross-compiling] (librpcsvc-routines): Likewise.
66259         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
66260         [cross-compiling] (omit-deps): Likewise.
66261         (sunrpc-CPPFLAGS): New variable.
66262         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
66263         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
66264         (cross-rpcgen-objs): New variable.
66265         (extra-objs): Append $(cross-rpcgen-objs).
66266         ($(cross-rpcgen-objs)): New rule.
66267         ($(objpfx)cross-rpcgen): Likewise.
66268         (rpcgen-cmd): Define to use $(built-program-file).  Expand
66269         comment.
66270         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
66271         ($(objpfx)x%.stmp): Likewise.
66272         * sunrpc/proto.h [IS_IN_build] (_): Define.
66273         [IS_IN_build] (_libc_intl_domainname): Likewise.
66275 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66277         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
66278         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
66279         and R_X86_64_TPOFF64.
66281 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
66283         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
66284         sysdeps/unix/sysv/syscalls.list.
66285         (stime): Likewise.
66286         (utime): Likewise.
66287         * sysdeps/unix/sysv/syscalls.list: Remove file.
66289 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
66291         [BZ #3440]
66292         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
66293         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
66294         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
66295         (__LC_IDENTIFICATION): Make these macros useful in #if
66296         expressions, as required by C99.
66298 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
66300         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
66301         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
66302         after this.
66304 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
66306         * stdlib/longlong.h: Updated from GCC.
66308 2012-05-09  Andreas Jaeger  <aj@suse.de>
66310         * nscd/nscd.c (run_modes): Make named enum, reorder so that
66311         default is first entry.
66312         (run_mode): Set type.
66313         (main): Remove informal message about syslog.
66314         (options): Fix typo.
66316         [BZ #14053]
66317         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
66318         to asm.
66319         (lrint): Likewise.
66320         (llrintf): Likewise.
66321         (llrint): Likewise.
66322         (rint): Likewise.
66323         (rintf): Likewise.
66324         (nearbyint): Likewise.
66325         (nearbyintf): Likewise.
66327 2012-05-09  Andreas Jaeger  <aj@suse.de>
66328             Pedro Alves  <palves@redhat.com>
66330         * nscd/nscd.c (run_mode): Use enum.
66331         (main): Cleanup coding style issue.
66333 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
66334             Andreas Jaeger  <aj@suse.de>
66336         * nscd/nscd.c (go_background): Replaced with...
66337         (run_mode): ... this.
66338         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
66339         (options): Add -F --foreground.
66340         (main): Implement it.
66341         (parse_opt): Parse it.
66343 2012-05-09  Andreas Jaeger  <aj@suse.de>
66345         [BZ #14083]
66346         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
66347         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
66348         -Wconversion warning.
66349         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
66350         Likewise.
66352 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
66354         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
66355         == 0.
66356         (LC_ALL): Use macro-int-constant.
66357         (LC_COLLATE): Likewise.
66358         (LC_CTYPE): Likewise.
66359         (LC_MESSAGES): Likewise.
66360         (LC_MONETARY): Likewise.
66361         (LC_NUMERIC): Likewise.
66362         (LC_TIME): Likewise.
66363         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
66364         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66365         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66366         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
66367         Specify type.
66368         [C99-based standards] (float_t): Expect type.
66369         [C99-based standards] (double_t): Expect type.
66370         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
66371         type.
66372         [C99-based standards] (HUGE_VALL): Likewise.
66373         [C99-based standards] (INFINITY): Likewise.
66374         [C99-based standards] (NAN): Likewise.
66375         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
66376         [C99-based standards] (FP_NAN): Likewise.
66377         [C99-based standards] (FP_NORMAL): Likewise.
66378         [C99-based standards] (FP_SUBNORMAL): Likewise.
66379         [C99-based standards] (FP_ZERO): Likewise.
66380         [C99-based standards] (FP_FAST_FMA): Use
66381         optional-macro-int-constant.  Specify type.  Require == 1.
66382         [C99-based standards] (FP_FAST_FMAF): Likewise.
66383         [C99-based standards] (FP_FAST_FMAL): Likewise.
66384         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
66385         [C99-based standards] (FP_ILOGBNAN): Likewise.
66386         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
66387         Specify type.
66388         [C99-based standards] (MATH_ERREXCEPT): Likewise.
66389         [C99-based standards] (math_errhandling): Specify type.
66390         [ISO99 || ISO11] (signgam): Do not allow.
66391         [non-C99-based standards] (copysignf): Do not allow.
66392         [non-C99-based standards] (exp2f): Likewise.
66393         [non-C99-based standards] (log2f): Likewise.
66394         [non-C99-based standards] (modff): Allow.
66395         [non-C99-based standards] (erff): Do not allow.
66396         [non-C99-based standards] (erfcf): Likewise.
66397         [non-C99-based standards] (gammaf): Likewise.
66398         [non-C99-based standards] (hypotf): Likewise.
66399         [non-C99-based standards] (j0f): Likewise.
66400         [non-C99-based standards] (j1f): Likewise.
66401         [non-C99-based standards] (jnf): Likewise.
66402         [non-C99-based standards] (lgammaf): Likewise.
66403         [non-C99-based standards] (tgammaf): Likewise.
66404         [non-C99-based standards] (y0f): Likewise.
66405         [non-C99-based standards] (y1f): Likewise.
66406         [non-C99-based standards] (ynf): Likewise.
66407         [non-C99-based standards] (isnanf): Likewise.
66408         [non-C99-based standards] (acoshf): Likewise.
66409         [non-C99-based standards] (asinhf): Likewise.
66410         [non-C99-based standards] (atanhf): Likewise.
66411         [non-C99-based standards] (cbrtf): Likewise.
66412         [non-C99-based standards] (expm1f): Likewise.
66413         [non-C99-based standards] (ilogbf): Likewise.
66414         [non-C99-based standards] (log1pf): Likewise.
66415         [non-C99-based standards] (logbf): Likewise.
66416         [non-C99-based standards] (nextafterf): Likewise.
66417         [non-C99-based standards] (remainderf): Likewise.
66418         [non-C99-based standards] (rintf): Likewise.
66419         [non-C99-based standards] (scalbf): Likewise.
66420         [non-C99-based standards] (copysignl): Likewise.
66421         [non-C99-based standards] (exp2l): Likewise.
66422         [non-C99-based standards] (log2l): Likewise.
66423         [non-C99-based standards] (modfl): Allow.
66424         [non-C99-based standards] (erfl): Do not allow.
66425         [non-C99-based standards] (erfcl): Likewise.
66426         [non-C99-based standards] (gammal): Likewise.
66427         [non-C99-based standards] (hypotl): Likewise.
66428         [non-C99-based standards] (j0l): Likewise.
66429         [non-C99-based standards] (j1l): Likewise.
66430         [non-C99-based standards] (jnl): Likewise.
66431         [non-C99-based standards] (lgammal): Likewise.
66432         [non-C99-based standards] (tgammal): Likewise.
66433         [non-C99-based standards] (y0l): Likewise.
66434         [non-C99-based standards] (y1l): Likewise.
66435         [non-C99-based standards] (ynl): Likewise.
66436         [non-C99-based standards] (isnanl): Likewise.
66437         [non-C99-based standards] (acoshl): Likewise.
66438         [non-C99-based standards] (asinhl): Likewise.
66439         [non-C99-based standards] (atanhl): Likewise.
66440         [non-C99-based standards] (cbrtl): Likewise.
66441         [non-C99-based standards] (expm1l): Likewise.
66442         [non-C99-based standards] (ilogbl): Likewise.
66443         [non-C99-based standards] (log1pl): Likewise.
66444         [non-C99-based standards] (logbl): Likewise.
66445         [non-C99-based standards] (nextafterl): Likewise.
66446         [non-C99-based standards] (remainderl): Likewise.
66447         [non-C99-based standards] (rintl): Likewise.
66448         [non-C99-based standards] (scalbl): Likewise.
66449         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66450         [non-C99-based standards] (FP_*): Do not allow.
66451         [C99-based standards] (FP_*): Change to
66452         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66453         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66454         allow.
66455         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
66456         (SIG_ERR): Likewise.
66457         [X/Open-based standards] (SIG_HOLD): Likewise.
66458         (SIG_IGN): Likewise.
66459         (SIGABRT): Use macro-int-constant.  Specify type.  Require
66460         positive value.
66461         (SIGFPE): Likewise.
66462         (SIGILL): Likewise.
66463         (SIGINT): Likewise.
66464         (SIGSEGV): Likewise.
66465         (SIGTER): Likewise.
66466         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
66467         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
66468         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
66469         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
66470         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
66471         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
66472         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
66473         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
66474         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
66475         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
66476         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
66477         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
66478         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
66479         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
66480         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
66481         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
66482         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
66483         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
66484         [X/Open-based standards] (SIGTRAP): Likewise.
66485         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
66486         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
66487         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
66488         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
66489         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66490         allow.
66492 2012-05-08  Ian Wienand  <ianw@vmware.com>
66494         [BZ #14080]
66495         * time/tzset.c (__tzset_parse_tz): Update default rules for
66496         daylight time changes in the Energy Policy Act of 2005.
66498 2012-05-09  Andreas Jaeger  <aj@suse.de>
66500         [BZ #13983]
66501         * elf/ldconfig.c (parse_conf): Change string to make clear that
66502         ldconfig only issued a warning if ld.so.conf does not exist.
66504 2012-05-08  David S. Miller  <davem@davemloft.net>
66506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
66507         movxtod instead of popping the value on the stack.
66509         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66511 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
66513         * config.h.in: Add HAVE_ARM_PCS_VFP.
66515 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
66517         [BZ #13979]
66518         * include/features.h: Warn if user requests __FORTIFY_SOURCE
66519         checking but the checks are disabled for any reason.
66521 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
66523         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
66524         and ELF64_R_TYPE with ELFW(R_TYPE).
66526 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
66528         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
66529         (ulimit): Likewise.
66531         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
66532         (settimeofday): Likewise.
66534 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
66536         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
66537         a struct th_u2 inside the union, and move tu_block/tu_code into
66538         a new th_u3 union of tu_block/tu_code inside of that.  Move
66539         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
66540         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
66541         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
66542         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
66543         (th_stuff): Change to th_u1.tu_stuff.
66544         (th_data): Define.
66545         (th_msg): Change to th_u1.th_u2.tu_data.
66547 2012-05-07  David S. Miller  <davem@davemloft.net>
66549         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66551         [BZ #14074]
66552         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
66553         (SETUP_PIC_REG): Use it.
66554         (SETUP_PIC_REG_LEAF): Use it.
66556 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
66558         [BZ #13885]
66559         [BZ #13923]
66560         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66561         USE_AS_EXPM1L.
66562         (EXPL_FINITE): Likewise.
66563         (FLDLOG): Likewise.
66564         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66565         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
66566         e_expl.S.
66567         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66568         USE_AS_EXPM1L.
66569         (EXPL_FINITE): Likewise.
66570         (FLDLOG): Likewise.
66571         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66572         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
66573         e_expl.S.
66574         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
66575         test of -max_value argument for long double.
66576         * sysdeps/i386/fpu/libm-test-ulps: Update.
66577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66579 2012-05-06  David S. Miller  <davem@davemloft.net>
66581         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
66582         quad soft-float symbols whose references which are compiler
66583         generated.
66584         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
66586 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
66588         [BZ #13884]
66589         [BZ #13914]
66590         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66591         USE_AS_EXP10L.
66592         (EXPL_FINITE): Likewise.
66593         (FLDLOG): Likewise.
66594         (c0): Likewise.
66595         (c1): Likewise.
66596         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
66597         Adjust comments for base varying.
66598         (__expl_finite): Change alias to EXPL_FINITE.
66599         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
66600         e_expl.S.
66601         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
66602         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
66603         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
66604         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
66605         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66606         USE_AS_EXP10L.
66607         (EXPL_FINITE): Likewise.
66608         (FLDLOG): Likewise.
66609         (c0): Likewise.
66610         (c1): Likewise.
66611         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
66612         Adjust comments for base varying.
66613         (__expl_finite): Change alias to EXPL_FINITE.
66614         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
66615         tests for bugs.
66616         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66618         [BZ #14064]
66619         * math/libm-test.inc (check_float_internal): Correct ulp
66620         calculation for subnormal expected results.
66622 2012-05-06  Andreas Jaeger  <aj@suse.de>
66624         * Makeconfig (+math-flags): New, set to -frounding-math.
66625         (+cflags): Add +math-flags so that all of glibc gets compiled with
66626         it.
66628         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
66630 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
66632         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
66633         Disable one test.
66635         [BZ #13787]
66636         [BZ #13922]
66637         [BZ #14036]
66638         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
66639         (__ieee754_expl): Allow for and saturate large arguments.
66640         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
66641         (u_threshold): Likewise.
66642         (__exp): Call __ieee754_exp before checking for overflow and
66643         underflow.
66644         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
66645         (u_threshold): Likewise.
66646         (__expf): Call __ieee754_expf before checking for overflow and
66647         underflow.
66648         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
66649         (u_threshold): Likewise.
66650         (__expl): Call __ieee754_expl before checking for overflow and
66651         underflow.
66652         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
66653         (__ieee754_expl): Allow for and saturate large arguments.
66654         * math/libm-test.inc (exp_test): Add another test.  Do not allow
66655         missing overflow exception on overflow.
66656         (expm1_test): Do not allow missing overflow exception on overflow.
66658         * sysdeps/i386/fpu/e_expl.c: Move to ...
66659         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
66660         rather than using inline asm.
66661         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
66662         * sysdeps/x86_64/fpu/e_expl.S: Copy from
66663         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
66665         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
66666         (nice): Likewise.
66667         (poll): Likewise.
66668         (signal): Likewise.
66669         (time): Likewise.
66670         (times): Likewise.
66672 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66674         * sysdeps/unix/syscalls.list (adjtime): Add entry from
66675         sysdeps/unix/common/syscalls.list.
66676         (fchmod): Likewise.
66677         (fchown): Likewise.
66678         (ftruncate): Likewise.
66679         (getrusage): Likewise.
66680         (gettimeofday): Likewise.
66681         (setpgid): Likewise.
66682         (setregid): Likewise.
66683         (setreuid): Likewise.
66684         (sigaction): Likewise.
66685         (truncate): Likewise.
66686         (vhangup): Likewise.
66687         * sysdeps/unix/common/syscalls.list: Remove file.
66688         * sysdeps/unix/bsd/Implies: Don't include unix/common.
66689         * sysdeps/unix/sysv/linux/Implies: Likewise.
66691 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
66693         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
66694         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
66695         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
66696         Moved to ...
66697         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
66698         Here.
66699         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
66700         to ...
66701         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
66702         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
66703         to ...
66704         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
66705         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
66706         to ...
66707         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
66708         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
66709         to ...
66710         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
66711         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
66712         to ...
66713         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
66714         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
66715         to ...
66716         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
66717         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
66718         to ...
66719         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
66720         Here.
66721         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
66722         to ...
66723         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
66724         Here.
66725         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
66726         to ...
66727         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
66728         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
66729         Moved to ...
66730         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
66731         Here.
66732         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
66733         to ...
66734         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
66736 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66738         * sysdeps/unix/common/bits/dirent.h: Remove file.
66739         * sysdeps/unix/common/bits/fcntl.h: Likewise.
66741         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
66742         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
66743         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
66744         * sysdeps/unix/bsd/isatty.c: Likewise.
66745         * sysdeps/unix/bsd/tcdrain.c: Likewise.
66746         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
66747         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
66749 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66751         [BZ #13563]
66752         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
66753         long double comparison inaccuracies.
66754         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
66755         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66757 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
66759         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
66760         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
66762 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66764         [BZ #14049]
66765         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
66766         nonzero digits before rounding a hex value.
66767         * stdlib/tst-strtod.c (tests): Add another test.
66769 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66771         * sysdeps/s390/fpu/libm-test-ulps: Update.
66773 2012-05-03  Andreas Jaeger  <aj@suse.de>
66775         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
66776         does not get optimized out.
66777         (malloc_opt_barrier): New.
66779 2012-05-03  Andreas Jaeger  <aj@suse.de>
66780             Roland McGrath  <roland@hack.frob.com>
66782         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
66783         intermediate file deletion.
66784         (generated): Add .symlist files.
66786 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
66788         [BZ #13775]
66789         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
66790         Redirect under this condition.
66791         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
66792         [__USE_GNU] (__dprintf_chk): Not under this condition.
66793         [__USE_GNU] (__vdprintf_chk): Likewise.
66794         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
66795         under this condition.
66796         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
66797         [__USE_XOPEN2K8] (dprintf): Define under this condition.
66798         [__USE_XOPEN2K8] (vdprintf): Likewise.
66799         [__USE_GNU] (__dprintf_chk): Not under this condition.
66800         [__USE_GNU] (__vdprintf_chk): Likewise.
66801         [__USE_GNU] (dprintf): Likewise.
66802         [__USE_GNU] (vdprintf): Likewise.
66804 2012-05-03  Roland McGrath  <roland@hack.frob.com>
66806         * elf/Makefile (common-generated): Set this instead of generated for
66807         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
66808         $(all-built-dso)-derived lists.
66810 2012-05-03  Andreas Jaeger  <aj@suse.de>
66812         * sysdeps/i386/fpu/libm-test-ulps: Update.
66814         * FAQ: Removed.
66815         * FAQ.in: Likewise.
66816         * scripts/gen-FAQ.pl: Likewise.
66817         * manual/install.texi (Installation): Point to online location of
66818         FAQ.
66819         * Makefile (files-for-dist): Remove FAQ.
66820         (FAQ): Remove.
66822 2012-05-02  Allan McRae  <allan@archlinux.org>
66824         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
66825         (LDFLAGS-reldepmod5.so): Likewise.
66826         (LDFLAGS-reldep6mod1.so): Likewise.
66827         (LDFLAGS-reldep6mod4.so): Likewise.
66828         (LDFLAGS-reldep8mod3.so): Likewise.
66829         (LDFLAGS-unload4mod1.so): Likewise.
66830         (LDFLAGS-unload4mod2.so): Likewise.
66831         (LDFLAGS-tst-initorder): Likewise.
66832         (LDFLAGS-tst-initordera2.so): Likewise.
66833         (LDFLAGS-tst-initordera3.so): Likewise.
66834         (LDFLAGS-tst-initordera4.so): Likewise.
66835         (LDFLAGS-tst-initorderb2.so): Likewise.
66836         (LDFLAGS-noload): Likewise.
66837         (LDFLAGS-next): Likewise.
66838         (LDFLAGS-order2mod1.so): Likewise.
66839         (LDFLAGS-order2mod2.so): Likewise.
66840         (LDFLAGS-tst-initorder2): Likewise.
66841         (LDFLAGS-tst-initorder2a.so): Likewise.
66842         (LDFLAGS-tst-initorder2b.so): Likewise.
66843         (LDFLAGS-tst-initorder2c.so): Likewise.
66844         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
66846 2012-05-02  David S. Miller  <davem@davemloft.net>
66848         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66850 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
66852         [BZ #14055]
66853         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
66855 2012-05-02  Andreas Jaeger  <aj@suse.de>
66857         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
66858         since we manipulate rounding mode.
66859         (CPPFLAGS-test-idouble.c): Likewise.
66860         (CPPFLAGS-test-ifloat.c): Likewise.
66861         (CFLAGS-test-ldouble.c): Likewise.
66862         (CFLAGS-test-double.c): Likewise.
66863         (CFLAGS-test-float.c): Likewise.
66864         (CFLAGS-test-misc.c): Likewise.
66865         (CFLAGS-test-test-fenv.c): Likewise.
66867 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66869         [BZ #2550]
66870         [BZ #2570]
66871         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
66872         comparisons to determine direction to adjust input.
66874 2012-05-01  Roland McGrath  <roland@hack.frob.com>
66876         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
66877         output to the target.
66879         * scripts/localplt.awk: New file.
66880         * elf/Makefile ($(objpfx)check-localplt): Target removed.
66881         (check-localplt-CFLAGS): Variable removed.
66882         ($(all-built-dso:=.jmprel)): New static pattern rule.
66883         (generated): Add those targets.
66884         (localplt-built-dso): New variable.
66885         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
66887         * elf/check-localplt.c: File removed.
66889         * scripts/check-execstack.awk: New file.
66890         * elf/Makefile ($(objpfx)check-execstack): Target removed.
66891         (check-execstack-CFLAGS): Variable removed.
66892         ($(objpfx)check-execstack.h): Target removed.
66893         ($(objpfx)execstack-default): New target.
66894         (generated): Add that instead of check-execstack.h.
66895         ($(all-built-dso:=.phdr)): New static pattern rule.
66896         (generated): Add those targets.
66897         * elf/check-execstack.c: File removed.
66899         * scripts/check-textrel.awk: New file.
66900         * elf/Makefile ($(objpfx)check-textrel): Target removed.
66901         (check-textrel-CFLAGS): Variable removed.
66902         (all-built-dso): Use := to define.o
66903         ($(all-built-dso:=.dyn)): New static pattern rule.
66904         (generated): Add those targets.
66905         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
66906         * config.make.in (READELF): New substituted variable.
66907         * elf/check-textrel.c: File removed.
66909 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
66911         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66912         allow.
66913         * conform/data/ctype.h-data [C99-based standards] (isblank):
66914         Expect function.
66915         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
66916         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
66917         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66918         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
66919         Specify type.  Require positive value.
66920         (EILSEQ): Likewise.
66921         (ERANGE): Likewise.
66922         [ISO || POSIX] (EILSEQ): Do not expect.
66923         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
66924         Specify type.  Require positive value.
66925         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
66926         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
66927         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
66928         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
66929         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
66930         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
66931         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
66932         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
66933         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
66934         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
66935         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
66936         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
66937         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
66938         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
66939         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
66940         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
66941         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
66942         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
66943         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
66944         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
66945         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
66946         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
66947         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
66948         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
66949         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
66950         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
66951         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
66952         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
66953         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
66954         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
66955         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
66956         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
66957         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
66958         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
66959         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
66960         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
66961         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
66962         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
66963         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
66964         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
66965         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
66966         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
66967         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
66968         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
66969         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
66970         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
66971         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
66972         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
66973         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
66974         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
66975         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
66976         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
66977         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
66978         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
66979         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
66980         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
66981         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
66982         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
66983         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
66984         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
66985         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
66986         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
66987         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
66988         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
66989         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
66990         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
66991         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
66992         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
66993         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
66994         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
66995         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
66996         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
66997         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
66998         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
66999         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
67000         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
67001         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
67002         Require >= 2.
67003         (FLT_ROUNDS): Expect as macro, not constant.
67004         (FLT_MANT_DIG): Use macro-int-constant.
67005         (DBL_MANT_DIG): Likewise.
67006         (LDBL_MANT_DIG): Likewise.
67007         (FLT_DIG): Likewise.
67008         (DBL_DIG): Likewise.
67009         (LDBL_DIG): Likewise.
67010         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
67011         (DBL_MIN_EXP): Likewise.
67012         (LDBL_MIN_EXP): Likewise.
67013         (FLT_MAX_EXP): Use macro-int-constant.
67014         (DBL_MAX_EXP): Likewise.
67015         (LDBL_MAX_EXP): Likewise.
67016         (FLT_MAX_10_EXP): Likewise.
67017         (DBL_MAX_10_EXP): Likewise.
67018         (LDBL_MAX_10_EXP): Likewise.
67019         (FLT_MAX): Use macro-constant.
67020         (DBL_MAX): Likewise.
67021         (LDBL_MAX): Likewise.
67022         (FLT_EPSILON): Use macro-constant.  Give upper bound.
67023         (DBL_EPSILON): Likewise.
67024         (LDBL_EPSILON): Likewise.
67025         (FLT_MIN): Likewise.
67026         (DBL_MIN): Likewise.
67027         (LDBL_MIN): Likewise.
67028         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
67029         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
67030         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
67031         [ISO11] (FLT_HAS_SUBNORM): Likewise.
67032         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
67033         [ISO11] (DBL_DECIMAL_DIG): Likewise.
67034         [ISO11] (FLT_DECIMAL_DIG): Likewise.
67035         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
67036         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
67037         [ISO11] (FLT_TRUE_MIN): Likewise.
67038         [ISO11] (LDBL_TRUE_MIN): Likewise.
67039         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67040         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
67041         (SCHAR_MIN): Use macro-int-constant.  Specify type.
67042         (SCHAR_MAX): Likewise.
67043         (UCHAR_MAX): Likewise.
67044         (CHAR_MIN): Likewise.
67045         (CHAR_MAX): Likewise.
67046         (MB_LEN_MAX): Use macro-int-constant.
67047         (SHRT_MIN): Use macro-int-constant.  Specify type.
67048         (SHRT_MAX): Likewise.
67049         (USHRT_MAX): Likewise.
67050         (INT_MAX): Likewise.
67051         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
67052         bound negative.
67053         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67054         bound with "U".
67055         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67056         bound with "L".
67057         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
67058         bound negative.  Suffix upper bound with "L".
67059         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67060         bound with "UL".
67061         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
67062         Specify type.
67063         [C99-based standards] (LLONG_MAX): Likewise.
67064         [C99-based standards] (ULLONG_MAX): Likewise.
67065         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
67066         == 0.
67067         [ISO11] (max_align_t): Require type.
67068         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67070         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
67071         from $CFLAGS, without defining away __attribute__ calls.
67072         (checknamespace): Use $CFLAGS_namespace.
67074         * conform/conformtest.pl (@keywords): Only include C99 keywords
67075         for standards based on C99 or C11.
67077         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
67078         Disable tests.
67079         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
67080         UNIX98]: Likewise.
67082         * conform/conformtest.pl: Handle "macro-int-constant" and test for
67083         usability of symbols in #if.
67085         * conform/conformtest.pl: If macro or constant types start
67086         "promoted:", expect the symbol to be of the following type
67087         promoted by the integer promotions.
67089         * conform/conformtest.pl: Parse all "constant" and "macro" lines
67090         in one place.  Also handle "macro-constant".
67092         * conform/conformtest.pl: Only accept expected macro values with
67093         "==".  Parse all "macro" lines in one place.
67094         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
67096         * conform/conformtest.pl: Handle braced types on "constant" lines
67097         instead of handling "typed-constant".
67098         * conform/data/signal.h-data: Use "constant" instead of
67099         "typed-constant".
67101         * conform/conformtest.pl: Handle "optional-" at start of lines in
67102         one place rather than duplicating several cases.  Handle each
67103         format of "macro" line with initial "optional-".
67105         * conform/conformtest.pl: Only accept expected constant or
67106         optional-constant values with "==".  Parse all "constant" lines in
67107         one place.  Parse all "optional-constant" lines in one place.
67108         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
67109         * conform/data/fmtmsg.h-data: Likewise.
67110         * conform/data/netinet/in.h-data: Likewise.
67111         * conform/data/tar.h-data: Likewise.
67112         * conform/data/limits.h-data: Use "==" form on "constant" and
67113         "optional-constant" lines.
67115         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
67116         Use -std=c99 for XOPEN2K.
67117         (@knownproblems): Remove.
67118         (newtoken): Don't check %isknown.
67120         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
67121         Do not expect macro.
67122         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
67123         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
67124         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
67125         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
67126         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
67127         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
67128         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
67129         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
67130         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
67131         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
67132         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
67133         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
67134         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
67135         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
67136         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
67137         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
67138         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
67139         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
67140         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
67141         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
67142         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
67143         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
67144         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
67145         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
67146         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
67147         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
67148         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
67149         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
67150         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
67151         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
67152         [XPG3] (acosh): Likewise.
67153         [XPG3] (asinh): Likewise.
67154         [XPG3] (atanh): Likewise.
67155         [XPG3] (cbrt): Likewise.
67156         [XPG3] (expm1): Likewise.
67157         [XPG3] (ilogb): Likewise.
67158         [XPG3] (log1p): Likewise.
67159         [XPG3] (logb): Likewise.
67160         [XPG3] (nextafter): Likewise.
67161         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
67162         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
67163         [XPG3] (remainder): Likewise.
67164         [XPG3] (rint): Likewise.
67165         [XPG3 || XPG4 || UNIX98] (round): Likewise.
67166         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
67167         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
67168         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
67169         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
67170         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
67171         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
67172         [UNIX98 || XOPEN2K] (scalb): Expect.
67173         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
67174         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
67175         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
67176         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
67177         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
67178         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
67179         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
67180         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
67181         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
67182         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
67183         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
67184         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
67185         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
67186         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
67187         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
67188         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
67189         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
67190         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
67191         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
67192         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
67193         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
67194         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
67195         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
67196         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
67197         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
67198         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
67199         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
67200         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
67201         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
67202         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
67203         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
67204         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
67205         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
67206         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
67207         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
67208         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
67209         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
67210         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
67211         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
67212         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
67213         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
67214         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
67215         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
67216         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
67217         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
67218         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
67219         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
67220         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
67221         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
67222         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
67223         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
67224         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
67225         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
67226         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
67227         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
67228         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
67229         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
67230         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
67231         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
67232         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
67233         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
67234         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
67235         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
67236         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
67237         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
67238         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
67239         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
67240         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
67241         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
67242         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
67243         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
67244         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
67245         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
67246         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
67247         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
67248         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
67249         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
67250         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
67251         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
67252         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
67253         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
67254         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
67255         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
67256         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
67257         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
67258         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
67259         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
67260         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
67261         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
67262         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
67263         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
67264         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
67265         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
67266         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
67267         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
67268         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
67269         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
67270         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
67271         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
67272         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
67273         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
67274         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
67275         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
67276         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
67277         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
67278         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
67279         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
67280         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
67281         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
67282         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
67283         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
67284         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
67285         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
67286         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
67287         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
67288         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
67289         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
67290         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
67291         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
67292         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
67293         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
67294         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
67295         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
67296         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
67297         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
67298         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
67299         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
67300         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
67301         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
67302         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
67303         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
67304         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
67305         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
67306         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
67307         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
67308         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
67309         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
67311         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
67312         _XOPEN_SOURCE_EXTENDED for XPG4.
67314         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
67316         * Makeconfig (localtime): Remove variable.
67317         (inst_localtime-file): Likewise.
67319 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
67322         Update.
67323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67324         Update.
67325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
67326         Update.
67327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
67328         Update.
67329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
67330         Update.
67331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
67332         Update.
67333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67334         Update.
67335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
67336         Update.
67337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67338         Update.
67340 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67342         [BZ #2550]
67343         [BZ #2570]
67344         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
67345         comparisons to determine direction to adjust input.
67346         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
67347         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
67348         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
67349         Likewise.
67350         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
67351         Likewise.
67352         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
67353         Likewise.
67354         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
67355         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
67356         Likewise.
67357         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
67358         Likewise.
67359         * math/libm-test.inc (nexttoward_test): Add more tests.
67361 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67363         [BZ #14040]
67364         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
67365         in version GLIBC_2.1, not GLIBC_2.0.
67366         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
67367         Likewise.
67369 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
67371         [BZ #13942]
67372         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
67373         (1 - x) * (1 + x).
67374         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67375         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
67376         * math/libm-test.inc (acos_test): Add more tests.
67377         (asin_test): Likewise.
67378         * sysdeps/i386/fpu/libm-test-ulps: Update.
67379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67381         [BZ #14034]
67382         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
67383         of square root.
67384         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
67385         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67386         * math/libm-test.inc (acos_test_tonearest): New function.
67387         (acos_test_towardzero): Likewise.
67388         (acos_test_downward): Likewise.
67389         (acos_test_upward): Likewise.
67390         (asin_test_tonearest): Likewise.
67391         (asin_test_towardzero): Likewise.
67392         (asin_test_downward): Likewise.
67393         (asin_test_upward): Likewise.
67394         (main): Call the new functions.
67395         * sysdeps/i386/fpu/libm-test-ulps: Update.
67396         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67398         [BZ #13884]
67399         [BZ #13924]
67400         * math/e_exp10.c: Include <float.h>.
67401         (__ieee754_exp10): Handle underflow here rather than multiplying
67402         large negative argument by M_LN10.
67403         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
67404         of __ieee754_expf.
67405         * math/e_exp10l.c: Include <float.h>.
67406         (__ieee754_exp10l): Handle underflow here rather than multiplying
67407         large negative argument by M_LN10l.
67408         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
67409         spurious overflow exception on underflow.
67411 2012-04-29  Marek Polacek  <polacek@redhat.com>
67413         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
67414         (__fortify_function): New macro.
67415         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
67416         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
67417         __extern_always_inline.
67418         * libio/bits/stdio2.h: Likewise.
67419         * libio/bits/stdio.h: Likewise.
67420         * string/string.h: Likewise.
67421         * string/bits/string3.h: Likewise.
67422         * include/stdio.h: Likewise.
67423         * stdlib/bits/stdlib.h: Likewise.
67424         * stdlib/stdlib.h: Likewise.
67425         * rt/bits/mqueue2.h: Likewise.
67426         * rt/mqueue.h: Likewise.
67427         * posix/bits/unistd.h: Likewise.
67428         * posix/unistd.h: Likewise.
67429         * io/bits/poll2.h: Likewise.
67430         * io/bits/fcntl2.h: Likewise.
67431         * io/fcntl.h: Likewise.
67432         * io/sys/poll.h: Likewise.
67433         * misc/bits/syslog.h: Likewise.
67434         * misc/bits/syslog-ldbl.h: Likewise.
67435         * misc/sys/syslog.h: Likewise.
67436         * socket/bits/socket2.h: Likewise.
67437         * socket/sys/socket.h: Likewise.
67438         * debug/tst-chk1.c: Likewise.
67439         * wcsmbs/bits/wchar2.h: Likewise.
67440         * wcsmbs/bits/wchar-ldbl.h: Likewise.
67441         * wcsmbs/wchar.h: Likewise.
67443 2012-04-29  Andreas Jaeger  <aj@suse.de>
67445         * Makerules (tests): Remove enable-check-abi protection.
67446         (check-abi-warn): Remove.
67447         (check-abi-%): Remove check-abi-warn usage.
67449         * configure.in: Remove check-abi configure option.
67450         * configure: Regenerated.
67451         * config.make.in (enable-check-abi): Remove.
67453 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
67455         [BZ #14033]
67456         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
67457         double functions to double *_finite functions.
67459         [BZ #13941]
67460         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
67461         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
67462         LDBL_MIN_EXP.
67463         * stdio-common/Makefile (tests): Add tst-sprintf3.
67464         * stdio-common/tst-sprintf3.c: New file.
67466         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
67467         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
67469 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
67471         * conform/conformtest.pl: Remove duplicate typed-constant
67472         handling.
67474 2012-04-28  David S. Miller  <davem@davemloft.net>
67476         * Makerules (%.abilist): Add vpath on sysdep_dirs.
67477         (check-abi-%): Remove AWK script prerequisite and explicit
67478         abilist directory.
67479         (check-abi): Rewrite to just diff the symlist with the abilist.
67480         (config-tls, config-abi-config): Delete, no longer used.
67481         (update-abi-%): Remove AWK script and explicit abilist directory.
67482         (update-abi): Rewrite to simply compare and conditionally copy the
67483         symlist and the sysdep abilist file.  Remove update-abi-config
67484         checks.
67485         * abilist/ld.abilist: Remove.
67486         * abilist/libBrokenLocale.abilist: Remove.
67487         * abilist/libanl.abilist: Remove.
67488         * abilist/libcrypt.abilist: Remove.
67489         * abilist/libdl.abilist: Remove.
67490         * abilist/librt.abilist: Remove.
67491         * abilist/libthread_db.abilist: Remove.
67492         * abilist/libutil.abilist: Remove.
67493         * scripts/extract-abilist.awk: Remove.
67494         * scripts/merge-abilist.awk: Remove.
67495         * sysdeps/generic/libcidn.abilist: New file.
67496         * sysdeps/generic/libnss_compat.abilist: New file.
67497         * sysdeps/generic/libnss_db.abilist: New file.
67498         * sysdeps/generic/libnss_dns.abilist: New file.
67499         * sysdeps/generic/libnss_files.abilist: New file.
67500         * sysdeps/generic/libnss_hesiod.abilist: New file.
67501         * sysdeps/generic/libnss_nis.abilist: New file.
67502         * sysdeps/generic/libnss_nisplus.abilist: New file.
67503         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
67504         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
67505         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
67506         file.
67507         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
67508         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
67509         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
67510         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
67511         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
67512         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
67513         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
67514         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
67515         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
67516         file.
67517         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
67518         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
67519         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
67520         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
67521         file.
67522         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
67523         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
67524         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
67525         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
67526         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
67527         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
67528         file.
67529         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
67530         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
67531         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
67532         file.
67533         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
67534         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
67535         New file.
67536         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
67537         New file.
67538         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
67539         New file.
67540         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
67541         New file.
67542         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
67543         New file.
67544         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
67545         New file.
67546         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
67547         New file.
67548         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
67549         New file.
67550         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
67551         New file.
67552         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
67553         New file.
67554         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
67555         New file.
67556         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
67557         New file.
67558         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
67559         New file.
67560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
67561         file.
67562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
67563         New file.
67564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
67565         New file.
67566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
67567         file.
67568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
67569         New file.
67570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
67571         New file.
67572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
67573         file.
67574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
67575         New file.
67576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67577         New file.
67578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
67579         New file.
67580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
67581         New file.
67582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
67583         New file.
67584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
67585         New file.
67586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
67587         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
67588         file.
67589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
67590         New file.
67591         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
67592         file.
67593         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
67594         file.
67595         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
67596         file.
67597         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
67598         file.
67599         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
67600         file.
67601         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
67602         New file.
67603         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
67604         file.
67605         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
67606         file.
67607         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
67608         New file.
67609         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
67610         file.
67611         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
67612         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
67613         file.
67614         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
67615         New file.
67616         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
67617         file.
67618         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
67619         file.
67620         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
67621         file.
67622         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
67623         file.
67624         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
67625         file.
67626         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
67627         New file.
67628         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
67629         file.
67630         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
67631         file.
67632         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
67633         New file.
67634         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
67635         file.
67636         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
67637         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
67638         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
67639         file.
67640         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
67641         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
67642         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
67643         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
67644         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
67645         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
67646         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
67647         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
67648         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
67649         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
67650         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
67651         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
67652         file.
67653         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
67654         New file.
67655         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
67656         file.
67657         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
67658         file.
67659         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
67660         file.
67661         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
67662         file.
67663         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
67664         file.
67665         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
67666         New file.
67667         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
67668         New file.
67669         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
67670         file.
67671         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
67672         New file.
67673         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
67674         file.
67675         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
67676         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
67677         file.
67678         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
67679         New file.
67680         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
67681         file.
67682         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
67683         file.
67684         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
67685         file.
67686         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
67687         file.
67688         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
67689         file.
67690         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
67691         New file.
67692         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
67693         New file.
67694         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
67695         file.
67696         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
67697         New file.
67698         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
67699         file.
67701 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
67703         * conform/conformtest.pl: Fix typo in handling typed-constant from
67704         allow-header.
67706 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
67708         * README: Cut down references to pre-2.6 Linux kernels and
67709         Linuxthreads.  Update lists of configurations in libc and ports
67710         and sort alphabetically.  Say "or newer" with Linux kernel version
67711         requirements.
67713         * config.h.in [IS_IN_build]: Allow compiling without optimization.
67715 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
67717         [BZ #887]
67718         * math/libm-test.inc (logb_test_downward): New test to expose
67719         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
67720         rounding mode.
67722 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
67724         [BZ #14027]
67725         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
67726         to be done.
67727         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
67728         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
67730 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
67732         * sysdeps/unix/i386/brk.S: Remove file.
67733         * sysdeps/unix/i386/dl-brk.S: Likewise.
67734         * sysdeps/unix/i386/pipe.S: Likewise.
67735         * sysdeps/unix/i386/sigreturn.S: Likewise.
67736         * sysdeps/unix/i386/syscall.S: Likewise.
67737         * sysdeps/unix/i386/vfork.S: Likewise.
67738         * sysdeps/unix/i386/wait.S: Likewise.
67740         * sysdeps/unix/common/tcsendbrk.c: Move to ...
67741         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
67743         * configure.in (arm*-none*): Do not allow without
67744         --enable-hacker-mode.
67745         (netbsd*): Remove case setting base_os.
67746         (386bsd*): Likewise.
67747         (freebsd*): Likewise.
67748         (bsdi*): Likewise.
67749         (osf*): Likewise.
67750         (sunos*): Likewise.
67751         (ultrix*): Likewise.
67752         (newsos*): Likewise.
67753         (dynix*): Likewise.
67754         (*bsd*): Likewise.
67755         (sysv*): Likewise.
67756         (isc*): Likewise.
67757         (esix*): Likewise.
67758         (sco*): Likewise.
67759         (minix*): Likewise.
67760         (irix4*): Likewise.
67761         (irix6*): Likewise.
67762         (solaris[2-9]*): Likewise.
67763         (none): Likewise.
67764         * configure: Regenerated.
67766 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67768         [BZ #11521]
67769         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
67770         overflow or cancellation in calculating denominator.
67771         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
67772         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
67773         down expression to avoid unexpected rounding in newer GCCs.
67774         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
67776 2012-04-26  David S. Miller  <davem@davemloft.net>
67778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
67779         long-double compat symbols.
67780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
67782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
67783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
67784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
67785         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
67786         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
67787         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
67788         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
67789         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
67790         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
67791         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
67792         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
67794 2012-04-25  David S. Miller  <davem@davemloft.net>
67796         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
67797         HWCAP_* values only after the memory barriers have been defined.
67798         (atomic_full_barrier): Define.
67799         (atomic_read_barrier): Define.
67800         (atomic_write_barrier): Define.
67802 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67804         * shlib-versions: Add libgcc_s version information.
67805         * sysdeps/generic/libgcc_s.h: Remove.
67806         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
67807         libgcc_s.h.
67808         * sysdeps/gnu/unwind-resume.c: Likewise.
67809         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
67811 2012-04-25  David S. Miller  <davem@davemloft.net>
67813         * sysdeps/unix/sparc/brk.S: Delete.
67814         * sysdeps/unix/sparc/dl-brk.S: Delete.
67815         * sysdeps/unix/sparc/pipe.S: Delete.
67816         * sysdeps/unix/sparc/sysdep.S: Delete.
67817         * sysdeps/unix/sparc/sysdep.h: Delete.
67818         * sysdeps/unix/sparc/vfork.S: Delete.
67819         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
67820         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
67821         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
67822         (ret_ERRVAL, r0, r1, MOVE): Define.
67823         (JUMPTARGET): Remove.
67824         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
67825         sysdeps/unix/sparc/sysdep.h
67826         (ENTRY, END): Remove.
67827         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67829 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
67831         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
67832         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
67833         -DIS_IN_build.
67835         * timezone/README: Update upstream location and email address for
67836         tzcode and tzdata.
67837         * timezone/zdump.c: Update from tzcode 2012b.
67838         * timezone/zic.c: Likewise.
67840         * configure.in (libc_cv_as_needed): Remove test.
67841         * configure: Regenerated.
67842         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
67843         conditional definition.
67844         [$(have-as-needed) != yes] (no-as-needed): Likewise.
67845         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
67846         * config.make.in (have-as-needed): Remove variable.
67848 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
67849             Paul Pluzhnikov  <ppluzhnikov@google.com>
67851         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
67852         strings correctly.
67854 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
67856         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
67857         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
67858         * sysdeps/sh/strlen.S: Likewise.
67860 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
67862         * sysdeps/unix/fork.S: Remove file.
67863         * sysdeps/unix/i386/fork.S: Likewise.
67864         * sysdeps/unix/sparc/fork.S: Likewise.
67866         * sysdeps/unix/system.c: Remove file.
67867         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
67869         * sysdeps/unix/getegid.S: Remove file.
67870         * sysdeps/unix/geteuid.S: Likewise.
67872 2012-04-24  Roland McGrath  <roland@hack.frob.com>
67874         * scripts/check-localplt.awk: New file.
67875         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
67876         of diff.
67877         * scripts/data/localplt-generic.data: Add a comment.
67879         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
67880         NODE when __dir_mkfile failed.
67881         * sysdeps/mach/hurd/symlinkat.c: Likewise.
67882         Reported by Ludovic Courtès <ludo@gnu.org>.
67884 2012-04-24  Andreas Jaeger  <aj@suse.de>
67886         * Makerules (common-clean): Also remove gen-as-const-headers
67887         files.
67889 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
67891         * Makerules (native-compile): Do not change working directory for
67892         build.  Use $(OUTPUT_OPTION) in command.
67893         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
67895 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67897         [BZ #13886]
67898         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
67899         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
67900         * math/libm-test.inc (floor_test): Add more tests.
67901         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
67903 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
67905         * sysdeps/unix/getdents.c: Remove file.
67906         * sysdeps/unix/sysv/getdents.c: Likewise.
67907         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
67909         * sysdeps/unix/syscalls.list (madvise): Add syscall from
67910         sysdeps/unix/mman/syscalls.list.
67911         (mmap): Likewise.
67912         (mprotect): Likewise.
67913         (msync): Likewise.
67914         (munmap): Likewise.
67915         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
67916         * sysdeps/unix/mman/syscalls.list: Remove.
67917         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
67919         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
67920         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
67921         * configure: Regenerated.
67922         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
67923         $(libgcc_s_suffix).
67924         * config.make.in (libgcc_s_suffix): Remove variable.
67926 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
67928         * sysdeps/unix/sysv/gethostname.c: Move to ...
67929         * sysdeps/posix/gethostname.c: ... here.
67931         * sysdeps/unix/execve.S: Remove file.
67933         * sysdeps/unix/_exit.S: Remove file.
67935 2012-04-23  Andreas Jaeger  <aj@suse.de>
67937         [BZ #13739]
67938         * manual/Makefile: Remove make dist support, there's no
67939         need for a stand-alone documentation tar ball.
67940         (TEXI2DVI): Define always, it's not in Makeconfig.
67941         (dist): Removed.
67942         (tar-it): Removed.
67943         (edition): Removed.
67944         (glibc-doc-$(edition).tar): Removed
67945         (%.Z): Removed.
67946         (%.gz): Removed.
67947         (%.uu): Removed.
67948         (ETAGS): Remove, it's in Makeconfig.
67949         (move-if-change): Remove, it's in Makeconfig.
67951 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
67953         [BZ #13970]
67954         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
67955         (strtod, strtof, strtold, strtol, strtoul, strtoq)
67956         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
67957         (strtod_l, strtof_l, strtold_l): Remove __wur.
67958         It is not necessarily an error to ignore strtol's return value.
67959         One can reliably look at the stored endptr to decide whether
67960         the number had valid syntax.
67962 2012-04-21  Andreas Jaeger  <aj@suse.de>
67964         [BZ #13739]
67965         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
67967 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
67969         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
67970         * sysdeps/unix/sysv/Versions: Remove file.
67972 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
67974         [BZ #13927]
67975         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67977 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
67979         [BZ #7064]
67980         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
67981         version from __vm86.
67983 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
67985         * sysdeps/unix/common/lxstat.c: Remove file.
67986         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
67988         * sysdeps/unix/sysv/Makefile: Remove file.
67990         * sysdeps/unix/sysv/direct.h: Remove file.
67992         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
67993         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
67994         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
67995         * sysdeps/unix/sysv/bits/signum.h: Likewise.
67996         * sysdeps/unix/sysv/bits/stat.h: Likewise.
67997         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
67998         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
68000         * sysdeps/unix/sysv/setrlimit.c: Remove file.
68002         * sysdeps/unix/xmknod.c: Remove file.
68003         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
68005         * sysdeps/unix/sysv/settimeofday.c: Remove file.
68007         * sysdeps/unix/sysv/i386/time.S: Remove file.
68009         * sysdeps/unix/fxstat.c: Remove file.
68010         * sysdeps/unix/xstat.c: Likewise.
68011         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
68013         * sysdeps/unix/sysv/sigaction.c: Remove file.
68015         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
68016         (sysdep_headers): Remove variable.
68017         [termio.h not in sysdep_headers] (generated): Likewise.
68018         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
68019         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
68020         * sysdeps/unix/sysv/tcdrain.c: Likewise.
68021         * sysdeps/unix/sysv/tcflow.c: Likewise.
68022         * sysdeps/unix/sysv/tcflush.c: Likewise.
68023         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
68024         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
68025         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
68026         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
68027         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
68029         * sysdeps/unix/siglist.c: Remove file.
68031         * sysdeps/unix/getppid.S: Remove file.
68033         * sysdeps/unix/mkdir.c: Remove file.
68034         * sysdeps/unix/rmdir.c: Likewise.
68036 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
68038         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
68039         ERR_MAX value.
68040         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
68041         errlist-compat value.
68043 2012-04-18  David S. Miller  <davem@davemloft.net>
68045         * sysdeps/generic/memcopy.h (reg_char): Delete.
68046         * debug/strcat_chk.c: Use char, not reg_char.
68047         * debug/strcpy_chk.c: Likewise.
68048         * debug/strncat_chk.c: Likewise.
68049         * debug/strncpy_chk.c: Likewise.
68050         * string/memchr.c: Likewise.
68051         * string/memrchr.c: Likewise.
68052         * string/rawmemchr.c: Likewise.
68053         * string/strcat.c: Likewise.
68054         * string/strchr.c: Likewise.
68055         * string/strchrnul.c: Likewise.
68056         * string/strcmp.c: Likewise.
68057         * string/strcpy.c: Likewise.
68058         * string/strncat.c: Likewise.
68059         * string/strncmp.c: Likewise.
68060         * string/strncpy.c: Likewise.
68062 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68064         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
68065         __builtin_memcopy is called when src and dest ranges are known to not
68066         overlap.
68068 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68070         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
68071         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
68072         fwd_align_merge macro call.
68073         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
68074         bwd_align_merge macro call.
68075         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
68077 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68079         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
68080         bwd_align_merge macros.
68081         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
68082         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
68083         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
68085 2012-04-18  David S. Miller  <davem@davemloft.net>
68087         * sysdeps/sparc/sparc64/memcopy.h: Delete.
68089 2012-04-18  Andreas Jaeger  <aj@suse.de>
68091         [BZ# 6794]
68092         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
68093         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
68094         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68096         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
68097         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
68098         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68100         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
68101         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
68102         Adjust for changed ldbl-128 files.
68104         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
68105         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
68106         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68108 2012-04-17  David S. Miller  <davem@davemloft.net>
68110         * sysdeps/sparc/sparc32/memcopy.h: Delete.
68112 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
68114         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
68115         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
68116         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
68117         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
68118         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
68119         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
68121 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68123         [BZ #6794]
68124         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
68125         * math/libm-test.inc: Add ilogb errno and exception tests.
68126         * math/w_ilogb.c: New file: ilogb wrapper.
68127         * math/w_ilogbf.c: New file: ilogbf wrapper.
68128         * math/w_ilogbl.c: New file: ilogbl wrapper.
68129         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
68130         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
68131         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
68132         exception being thrown with 0.0 as argument.
68133         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
68134         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
68135         exception being thrown with 0.0 as argument.
68136         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
68137         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
68138         exception being thrown with 0.0 as argument.
68139         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
68140         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
68141         exception being thrown with 0.0 as argument.
68142         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
68143         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
68144         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
68145         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
68146         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
68147         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
68148         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
68149         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
68150         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
68152 2012-04-17  Petr Baudis  <pasky@ucw.cz>
68154         * include/sys/uio.h: Change __vector to __iovec to avoid clash
68155         with altivec.
68157 2012-04-16  Marek Polacek  <polacek@redhat.com>
68159         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
68161 2012-04-16  Marek Polacek  <polacek@redhat.com>
68163         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
68164         operands of fdivp instruction.
68166 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68168         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
68169         * elf/tst-auditmod3b.c: Likewise.
68170         * elf/tst-auditmod4b.c: Likewise.
68171         * elf/tst-auditmod5b.c: Likewise.
68172         * elf/tst-auditmod6b.c: Likewise.
68173         * elf/tst-auditmod6c.c: Likewise.
68174         * elf/tst-auditmod7b.c: Likewise.
68175         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
68176         * sysdeps/x86_64/preconfigure.in: Likewise.
68177         * sysdeps/x86_64/preconfigure: Regenerated.
68179 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68181         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
68182         __ILP32__.
68184 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
68186         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68187         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
68189 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
68191         [BZ #13973]
68192         * locale/iso-639.def: Fix gl language name. Spotted by
68193         Yaron Shahrabani.
68195 2012-04-12  Roland McGrath  <roland@hack.frob.com>
68197         [BZ #2074]
68198         * libio/libio.h (__io_write_fn): Update comment.
68200 2012-04-12  Petr Baudis  <pasky@ucw.cz>
68202         [BZ #2074]
68203         * stdio.texi (Hook Functions): The user provided writer function
68204         is not allowed to return -1.
68206 2012-04-11  David S. Miller  <davem@davemloft.net>
68208         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68210 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
68212         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
68213         Add a leading slash to rtkaio.
68215 2012-04-11  Jim Meyering  <meyering@redhat.com>
68217         [BZ #11959]
68218         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
68219         It is not necessarily an error to ignore fwrite's return
68220         value.  One can reliably use ferror to test for errors after
68221         the fact.
68223 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68225         * bits/types.h (__snseconds_t): New type.
68226         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
68228         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
68229         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68230         (__SNSECONDS_T_TYPE): Likewise.
68231         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68232         (__SNSECONDS_T_TYPE): Likewise.
68233         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68234         (__SNSECONDS_T_TYPE): Likewise.
68236 2012-04-10  Andreas Jaeger  <aj@suse.de>
68238         [BZ #2636]
68239         * manual/time.texi (Processor Time): Return type of times is
68240         elapsed real time since an arbitrary point in the past.
68241         (CPU Time): Move CLK_TCK from here...
68242         (Processor Time): ...to here.  Correct description.
68243         * manual/conf.texi (Constants for Sysconf): Correct description of
68244         _SC_CLK_TCK.
68246 2012-04-10  David S. Miller  <davem@davemloft.net>
68248         [BZ #13967]
68249         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
68250         where the is a gap between DT_REL(A) and DT_JMPREL.
68252 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68254         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
68255         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68256         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68258 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68260         * elf/dl-support.c (_dl_inhibit_cache): New variable.
68261         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
68262         (dl_main): Handle --inhibit-cache.
68263         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
68264         _dl_inhibit_cache.
68265         * elf/dl-load.c (_dl_map_object): Use it.
68266         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
68268 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68270         [BZ #13872]
68271         * sysdeps/i386/fpu/e_powl.S (p78): New object.
68272         (__ieee754_powl): Saturate large exponents rather than testing for
68273         overflow of y*log2(x).
68274         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68275         * math/libm-test.inc (pow_test): Do not permit spurious overflow
68276         exceptions.
68278         [BZ #11521]
68279         * math/s_ctan.c: Include <float.h>.
68280         (__ctan): Avoid internal overflow or cancellation in calculating
68281         denominator.
68282         * math/s_ctanf.c: Likewise.
68283         * math/s_ctanl.c: Likewise.
68284         * math/s_ctanh.c: Likewise.
68285         * math/s_ctanhf.c: Likewise.
68286         * math/s_ctanhl.c: Likewise.
68287         * math/libm-test.inc (ctan_test): Add more tests.
68288         (ctanh_test): Likewise.
68289         * sysdeps/i386/fpu/libm-test-ulps: Update.
68290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68292 2012-04-09  Andreas Jaeger  <aj@suse.de>
68294         [BZ #6894]
68295         * manual/filesys.texi (Directory Entries): Mention that d_namlen
68296         is an optional BSD extension.
68298         [BZ #10254]
68299         * manual/stdio.texi (Opening Streams): Document additional fopen
68300         parameters.
68302 2012-04-09  Roland McGrath  <roland@hack.frob.com>
68304         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
68305         %eax without telling the compiler.
68307 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
68309         [BZ # 13963]
68310         * manual/install.texi: Use sourceware.org.
68312 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68314         [BZ #13873]
68315         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
68316         (__ieee754_pow): Generate overflow and underflow using huge*huge
68317         and tiny*tiny rather than just returning constant infinity or zero
68318         for large exponents.
68319         * math/libm-test.inc (pow_test): Require overflow exceptions for
68320         applicable cases of large exponents.
68322         [BZ #706]
68323         * sysdeps/i386/fpu/e_pow.S (p10): New object.
68324         (__ieee754_pow): Use iterative multiplication algorithm only for
68325         integer exponents with absolute value below 1024.  Check for odd
68326         integer exponents when using algorithm for real exponents.
68327         * math/libm-test.inc (pow_test): Add more tests.
68328         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68330 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
68332         [BZ #13705]
68333         * math/libm-test.inc (exp_test): Do not allow overflow exception
68334         on underflow test.
68336 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
68338         [BZ #13705]
68339         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
68340         instead of __kernel_standard_f.
68342 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
68344         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
68345         * sysdeps/x86_64/memset_chk.S: Likewise.
68347 2012-04-08  Andreas Jaeger  <aj@suse.de>
68349         [BZ #10153]
68350         * manual/startup.texi (Environment Access): Describe return value
68351         for putenv and setenv.
68353         [BZ #6895]
68354         * manual/filesys.texi (Directory Entries): Add description for
68355         DT_LNK.
68357         [BZ #6890]
68358         * manual/filesys.texi (Directory Entries): Clarify that it's file
68359         system not operating system in the description of DT_UNKNOWN.
68361         [BZ #6578]
68362         * manual/syslog.texi (closelog): Fix reference, it's openlog.
68364 2012-04-08  Stephen Compall  <s11@member.fsf.org>
68366         [BZ #6649]
68367         * manual/llio.texi (Opening and Closing Files): Add cross
68368         reference to explain mode argument.
68370 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
68372         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
68373         * sysdeps/x86_64/memset_chk.S: Likewise.
68375 2012-04-07  David S. Miller  <davem@davemloft.net>
68377         * elf/elf.h (R_SPARC_WDISP10): Define.
68378         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
68379         R_SPARC_SIZE32.
68380         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
68381         R_SPARC_SIZE64 and R_SPARC_H34.
68383 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
68385         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
68386         conditions and remove no longer applicable assertion.
68388 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68390         * bits/byteswap.h: Include <features.h>.
68391         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68392         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68394 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68396         * bits/byteswap.h (__bswap_16): Removed.
68397         Include <bits/byteswap-16.h> to get __bswap_16.
68398         * sysdeps/i386/bits/byteswap.h: Likewise.
68399         * sysdeps/s390/bits/byteswap.h: Likewise.
68400         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68401         * bits/byteswap-16.h: New file.
68402         * sysdeps/i386/bits/byteswap-16.h: Likewise.
68403         * sysdeps/s390/bits/byteswap-16.h: Likewise.
68404         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
68405         * string/Makefile (headers): Add bits/byteswap-16.h.
68407 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68409         [BZ #13895]
68410         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
68411         extra indirection.
68412         * nss/Makefile (tests-static, tests): Add tst-nss-static.
68413         * nss/tst-nss-static.c: New.
68415 2012-04-06  Robert Millan  <rmh@gnu.org>
68417         [BZ #6486]
68418         * manual/llio.texi (File Position Primitive): lseek
68419         refers to WHENCE when it really means OFFSET.
68421 2012-04-06  Andreas Jaeger  <aj@suse.de>
68423         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
68424         strncmp declarations.
68426         * abilist/libc.abilist: Add __poll and __ppoll.
68428 2012-04-05  David S. Miller  <davem@davemloft.net>
68430         * scripts/check-local-headers.sh: Accept a host triplet in the
68431         path matched by the exclude regexp.
68433         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
68434         definition.
68435         * sysdeps/powerpc/powerpc32/dl-machine.h
68436         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
68437         * sysdeps/s390/s390-32/dl-machine.h
68438         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68439         * sysdeps/sparc/sparc32/dl-machine.h
68440         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68441         * sysdeps/sparc/sparc64/dl-machine.h
68442         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68444         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
68445         lazy binding.
68446         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
68447         undefined symbol errors.
68449         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
68450         DT_NEEDED entries.
68452 2012-04-05  Michael Matz  <matz@suse.de>
68454         [BZ #13592]
68455         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
68457 2012-04-05  Andreas Jaeger  <aj@suse.de>
68459         [BZ #13908]
68460         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
68461         comment.
68463 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68465         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
68466         which ROUND is no valid rounding mode.
68468 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68470         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
68471         read again.
68472         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
68474 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68476         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
68477         an exception using FPU order intentionally.
68479 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68481         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
68482         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
68483         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
68484         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
68486 2012-04-05  Simon Josefsson  <simon@josefsson.org>
68488         [BZ #12340]
68489         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
68490         EINVAL when BUFLEN is too smal.
68492 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
68494         [BZ #13553]
68495         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
68496         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
68498 2012-04-03  Andreas Jaeger  <aj@suse.de>
68500         [BZ #13938]
68501         * manual/setjmp.texi (System V contexts): Fix sentence.
68503         [BZ #13926]
68504         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
68505         New macro for this case.
68506         [!__GNUC__] (__bswap_64): New inline function for this case.
68507         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68508         * bits/byteswap.h: Likewise.
68509         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
68510         ull, guard with __GLIBC_HAVE_LONG_LONG.
68512         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
68513         __GLIBC_HAVE_LONG_LONG.
68515         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
68516         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
68518 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
68520         [BZ #13691]
68521         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
68522         inptr and inend, rather than using last_ch.
68524 2012-04-02  David S. Miller  <davem@davemloft.net>
68526         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
68527         * stdio-common/printf-parse.h (read_int): Change return type to
68528         'int', return -1 on INT_MAX overflow.
68529         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
68530         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
68531         overflows INT_MAX.  Check for overflow of in-format-string precision
68532         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
68533         SIZE_MAX not INT_MAX for integer overflow test.
68534         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
68535         skip the construct in the format string but do not record anything.
68536         * stdio-common/bug22.c: Adjust to test both width/prevision
68537         INT_MAX overflow as well as total length INT_MAX overflow.  Check
68538         explicitly for proper errno values.
68540 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
68542         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
68543         CHAR_MAX.
68544         * string/test-strcmp.c [! WIDE]: Likewise.
68545         * time/tst-mktime2.c: Likewise for INT_MAX.
68546         * string/test-string.h: #include <sys/param.h> for MIN.
68548         * csu/init-first.c (__libc_init_first): Call __ctype_init.
68549         * sysdeps/i386/init-first.c (init): Likewise.
68550         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
68551         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
68552         * sysdeps/sh/init-first.c (init): Likewise.
68554 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
68556         * po/ru.po: Update from translation team.
68557         * po/vi.po: Likewise.
68559 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
68561         * resolv/nss_dns/dns-host.c: Merge copyright years.
68563 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68565         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
68566         Optimize memcpy with prefetch if
68567         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
68568         src, dst pointers have unequal 16 byte alignments.
68570 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
68572         [BZ #13928]
68573         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
68574         from a CNAME entry and return the minimum ttl for the query.
68575         (gaih_getanswer_slice): Likewise.
68577 2012-03-30  Jeff Law  <law@redhat.com>
68579         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
68580         due to long keys.
68581         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
68582         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
68584         * resolv/nss_dns/dns-host.c: Update copyright year.
68586 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
68588         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
68589         requests to save a system call.  Fix check that all bytes are sent.
68591         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
68592         comments for sendmmsg.
68594 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68596         [BZ #13691]
68597         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
68598         with only 1 character between 0x0041 and 0x01b0.
68599         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
68600         * wcsmbs/tst-mbsnrtowcs.c: New file.
68602 2012-03-29  David S. Miller  <davem@davemloft.net>
68604         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
68605         small copies by hand.
68607 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68609         [BZ #13761]
68610         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
68611         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
68612         group memberships.
68614 2012-03-28  David S. Miller  <davem@davemloft.net>
68616         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
68617         that branches into memcpy.
68618         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
68619         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
68620         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
68621         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
68622         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
68623         bits.
68624         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
68625         implementation too.
68626         * sysdeps/sparc/mempcpy.S: New file.
68628         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
68629         the IFUNC routine in the libc case.
68630         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
68632         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
68633         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
68634         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
68635         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
68636         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
68637         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
68638         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
68639         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
68641         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
68642         loop to 256 bytes instead of 64 bytes and fix test signedness.
68644         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
68645         * sysdeps/sparc/sparc32/Makefile: rather than here...
68646         * sysdeps/sparc/sparc64/Makefile: and here.
68648 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
68650         * malloc/mallocbug.c: Avoid warnings about unused variables.
68652 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
68654         [BZ #13760]
68655         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
68656         in the right place. Discard and retry query if response is
68657         larger than input buffer size.
68659 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
68661         [BZ #369]
68662         [BZ #2678]
68663         [BZ #3866]
68664         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
68665         x for large integer exponent.
68666         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
68667         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
68668         sign of result as needed afterwards.
68669         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
68670         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
68671         result for underflowing pow the same as for overflow.
68672         (__kernel_standard_l): Handle powl overflow and underflow here
68673         rather than calling __kernel_standard.
68674         * math/libm-test.inc (pow_test): Add more tests.
68676         [BZ #3868]
68677         [BZ #13879]
68678         [BZ #13910]
68679         [BZ #13911]
68680         [BZ #13912]
68681         [BZ #13913]
68682         [BZ #13915]
68683         [BZ #13916]
68684         [BZ #13917]
68685         [BZ #13918]
68686         [BZ #13919]
68687         [BZ #13920]
68688         [BZ #13921]
68689         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
68690         * sysdeps/ieee754/k_standard.c: Include <float.h>.
68691         (__kernel_standard_l): New function.
68692         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
68693         __kernel_standard.
68694         * math/w_acosl.c (__acosl): Likewise.
68695         * math/w_asinl.c (__asinl): Likewise.
68696         * math/w_atan2l.c (__atan2l): Likewise.
68697         * math/w_atanhl.c (__atanhl): Likewise.
68698         * math/w_coshl.c (__coshl): Likewise.
68699         * math/w_exp10l.c (__exp10l): Likewise.
68700         * math/w_exp2l.c (__exp2l): Likewise.
68701         * math/w_fmodl.c (__fmodl): Likewise.
68702         * math/w_hypotl.c (__hypotl): Likewise.
68703         * math/w_j0l.c (__j0l, __y0l): Likewise.
68704         * math/w_j1l.c (__j1l, __y1l): Likewise.
68705         * math/w_jnl.c (__jnl, __ynl): Likewise.
68706         * math/w_lgammal.c (__lgammal): Likewise.
68707         * math/w_log10l.c (__log10l): Likewise.
68708         * math/w_log2l.c (__log2l): Likewise.
68709         * math/w_logl.c (__logl): Likewise.
68710         * math/w_powl.c (__powl): Likewise.
68711         * math/w_remainderl.c (__remainderl): Likewise.
68712         * math/w_scalbl.c (sysv_scalbl): Likewise.
68713         * math/w_sinhl.c (__sinhl): Likewise.
68714         * math/w_sqrtl.c (__sqrtl): Likewise.
68715         * math/w_tgammal.c (__tgammal): Likewise.
68716         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
68717         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
68718         * math/libm-test.inc (acos_test): Add more tests.
68719         (acosh_test): Likewise.
68720         (asin_test): Likewise.
68721         (atanh_test): Likewise.
68722         (exp_test): Likewise.
68723         (exp10_test): Likewise.
68724         (exp2_test): Likewise.
68725         (expm1_test): Likewise.
68726         (lgamma_test): Likewise.
68727         (log_test): Likewise.
68728         (log10_test): Likewise.
68729         (log1p_test): Likewise.
68730         (log2_test): Likewise.
68731         (pow_test): Do not allow some spurious overflow exceptions.
68732         (sqrt_test): Add more tests.
68733         (tgamma_test): Likewise.
68734         (y0_test): Likewise.
68735         (y1_test): Likewise.
68736         (yn_test): Likewise.
68738 2012-03-27  Anton Blanchard  <anton@samba.org>
68740         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
68741         MAP_HUGETLB.
68742         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
68743         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
68744         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
68746 2012-03-27  David S. Miller  <davem@davemloft.net>
68748         * conform/Makefile: Run run-conformtest.sh using $(BASH).
68750         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
68751         have-as-vis3 check.
68753 2012-03-27  Andreas Jaeger  <aj@suse.de>
68755         * sysdeps/x86_64/elf/configure.in: Moved to ...
68756         * sysdeps/x86_64/configure.in: ... here.
68757         * sysdeps/x86_64/elf/start.S: Moved to ...
68758         * sysdeps/x86_64/start.S: ... here.
68759         * sysdeps/x86_64/elf/configure: Delete.
68761         * sysdeps/x86_64/configure.in: Merge contents from
68762         sysdeps/i386/configure.in (without i686 check).
68764         * sysdeps/i386/elf/Versions: Merge into ...
68765         * sysdeps/i386/Versions: ... this.
68766         * sysdeps/i386/elf/Versions: Delete file.
68767         * sysdeps/i386/elf/start.S: Moved to ...
68768         * sysdeps/i386/start.S: ...here.
68769         * sysdeps/i386/elf/configure.in: Merge into...
68770         * sysdeps/i386/configure.in: ...here.
68771         * sysdeps/i386/elf/configure.in: Delete file.
68772         * sysdeps/i386/elf/configure: Delete file.
68774         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
68775         * debug/backtracesyms.c: ... here.
68776         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
68777         * debug/backtracesymsfd.c: ... here.
68778         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
68779         * sysdeps/generic/ifunc-sel.h: ... here.
68781         * sysdeps/unix/i386/start.c: Delete file.
68782         * sysdeps/unix/sparc/start.c: Delete file.
68783         * sysdeps/unix/start.c: Delete file.
68785         * sysdeps/sh/elf/configure.in: Moved to ...
68786         * sysdeps/sh/configure.in: ... here.
68787         * sysdeps/sh/elf/start.S: Moved to ...
68788         * sysdeps/sh/start.S: ... here.
68789         * sysdeps/sh/elf/configure: Delete file.
68791         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
68792         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
68793         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
68794         * sysdeps/powerpc/powerpc64/entry.h: ... here.
68795         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
68796         * sysdeps/powerpc/powerpc64/start.S: here.
68797         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
68798         * sysdeps/powerpc/powerpc64/Makefile: ... this.
68799         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
68800         * sysdeps/powerpc/powerpc64/configure.in: ... this.
68801         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
68803         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
68804         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
68805         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
68806         * sysdeps/powerpc/powerpc32/start.S: ... here.
68807         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
68808         * sysdeps/powerpc/powerpc32/configure.in: ... this.
68809         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
68811         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
68812         * sysdeps/powerpc/ifunc-sel.h: ... here.
68813         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
68814         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
68816         * sysdeps/sparc/elf/configure.in: Moved to ...
68817         * sysdeps/sparc/configure.in: ... here.
68818         * sysdeps/sparc/elf/configure: Delete file.
68819         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
68820         * sysdeps/sparc/sparc32/start.S: ... here.
68821         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
68822         * sysdeps/sparc/sparc64/start.S: ... here.
68823         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
68824         * sysdeps/sparc/sparc32/Makefile: ... this.
68825         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
68826         * sysdeps/sparc/sparc64/Makefile: ... this.
68828         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
68829         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
68830         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
68831         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
68832         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
68833         * sysdeps/s390/s390-32/setjmp.S: ... here.
68834         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
68835         * sysdeps/s390/s390-32/configure.in: ... here.
68836         * sysdeps/s390/s390-32/elf/configure: Delete file.
68837         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
68838         * sysdeps/s390/s390-32/start.S: ... here.
68840         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
68841         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
68842         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
68843         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
68844         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
68845         * sysdeps/s390/s390-64/setjmp.S: ... here.
68846         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
68847         * sysdeps/s390/s390-64/configure.in: ... here
68848         * sysdeps/s390/s390-64/elf/configure: Delete file.
68849         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
68850         * sysdeps/s390/s390-64/start.S: ... here.
68851         * sysdeps/s390/s390-64/elf/configure: Delete.
68853         * configure.in: Remove support for elf directories in sysdeps.
68855         * configure: Regenerated.
68856         * sysdeps/i386/configure: Regenerated.
68857         * sysdeps/powerpc/powerpc32/configure: Regenerated.
68858         * sysdeps/powerpc/powerpc64/configure: Regenerated.
68859         * sysdeps/s390/s390-32/configure: Regenerated.
68860         * sysdeps/s390/s390-64/configure: Regenerated.
68861         * sysdeps/sh/configure: Regenerated.
68862         * sysdeps/sparc/configure: Regenerated.
68863         * sysdeps/x86_64/configure: Regenerated.
68865 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
68867         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68869         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
68870         denormal result into account.
68872 2012-03-25  Roland McGrath  <roland@hack.frob.com>
68874         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
68875         Reported by Allan McRae <allan@archlinux.org>.
68877 2012-03-23  Jeff Law  <law@redhat.com>
68879         * nss/getnssent.c (__nss_getent): Fix typo.
68881 2012-03-23  David S. Miller  <davem@davemloft.net>
68883         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68885 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
68887         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
68888         to pad to uint64_t for each field.
68889         (dl_tls_index): Replace unsigned long with uint64_t.
68891 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
68892         Paul Pluzhnikov  <ppluzhnikov@google.com>
68894         [BZ #6528]
68895         * grp/Makefile (otherlibs): Don't set it.
68896         * inet/Makefile (otherlibs): Likewise.
68897         * login/Makefile (otherlibs): Likewise.
68898         * nscd/Makefile (otherlibs): Likewise.
68899         * posix/Makefile (otherlibs): Likewise.
68900         * pwd/Makefile (otherlibs): Likewise.
68901         * rt/Makefile (otherlibs): Likewise.
68902         * sunrpc/Makefile (otherlibs): Likewise.
68903         * nss/Makefile (otherlibs): Likewise.
68904         Add libnss_files to routines and static-only-routines.
68905         ($(objpfx)getent): Remove rule.
68906         * resolv/Makefile: Add libnss_dns and libresolv to routines and
68907         static-only-routines.
68909 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
68911         [BZ #13892]
68912         * math/s_cexp.c: Include <float.h>.
68913         (__cexp): Handle exp result overflowing not necessarily
68914         overflowing both real and imaginary parts of result.
68915         * math/s_cexpf.c: Likewise.
68916         * math/s_cexpl.c: Likewise.
68917         * math/libm-test.inc (cexp_test): Add more tests.
68918         * sysdeps/i386/fpu/libm-test-ulps: Update.
68919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68921 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68923         * include/link.h (ELFW): New macro.
68924         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
68925         Replace ELF64_R_TYPE with ELFW(R_TYPE).
68927 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68929         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
68930         with uint64_t.
68932 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68934         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
68935         declaration.
68936         (struct La_x32_retval): Likewise.
68938 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68940         * sysdeps/x86_64/preconfigure.in: New file.
68941         * sysdeps/x86_64/preconfigure: New generated file.
68943 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
68945         [BZ #13824]
68946         * math/e_exp2l.c: Include <float.h>.
68947         (__ieee754_exp2l): Handle overflow and underflow cases
68948         separately.  Only pass fractional part of argument to
68949         __ieee754_expl.
68950         * math/libm-test.inc (exp2_test): Add more tests.
68952         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
68953         negating x to take absolute value.
68954         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
68955         Likewise.
68956         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
68957         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
68958         Likewise.
68959         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
68960         computing low part if x was negated.
68961         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
68963 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
68965         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
68966         la_x32_gnu_pltexit.
68967         (pltexit): Cast int_retval to ptrdiff_t.
68968         * elf/tst-auditmod3b.c: Likewise.
68969         * elf/tst-auditmod4b.c: Likewise.
68970         * elf/tst-auditmod5b.c: Likewise.
68971         * elf/tst-auditmod6b.c: Likewise.
68972         * elf/tst-auditmod6c.c: Likewise.
68973         * elf/tst-auditmod7b.c: Likewise.
68975         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
68976         and x32_gnu_pltexit.
68978         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
68979         __ELF_NATIVE_CLASS.
68980         (La_x32_regs): New macro.
68981         (La_x32_retval): Likewise.
68982         (la_x32_gnu_pltenter): New function prototype.
68983         (la_x32_gnu_pltexit): Likewise.
68985 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
68987         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
68988         exponent.
68990         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68992         * configure.in (libc_cv_cc_nofma): Check for option to disable
68993         generation of FMA instructions.
68994         * configure: Regenerate.
68995         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
68996         * sysdeps/ieee754/dbl-64/Makefile: New file.
68997         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
68998         Remove brandred-fma4.
68999         (CFLAGS-brandred-fma4.c): Remove.
69000         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
69001         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
69002         define.
69003         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
69004         define.
69006 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69008         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
69009         LLONG_MAX != LONG_MAX.
69010         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69011         (_fitoa_word): Likewise.
69012         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
69013         LLONG_MAX != LONG_MAX.
69014         * stdio-common/_itowa.h: Include <_itoa.h>.
69015         (_itowa_word): Use _ITOA_WORD_TYPE on value.
69016         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
69017         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
69018         only if not defined.
69019         (_ITOA_WORD_TYPE): Likewise.
69020         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69021         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
69023 2012-03-21  David S. Miller  <davem@davemloft.net>
69025         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69027 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69029         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
69030         of x86_64 when setting libc_cv_slibdir, libdir and
69031         libc_cv_localedir.
69032         * sysdeps/unix/sysv/linux/configure: Regenerated.
69034 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69036         * manual/lang.texi (Old Varargs): Remove section.
69037         (How Variadic): Update menu.
69038         (va_start): Do not mention varargs.h.
69040 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69041             Joseph Myers  <joseph@codesourcery.com>
69043         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
69044         link test.
69045         * configure: Regenerated.
69047 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69049         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
69050         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
69051         conformtest.pl
69053 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69055         * NOTES: Remove.
69056         * Makefile (files-for-dist): Remove NOTES.
69057         (NOTES): Remove rule.
69058         * README: Don't refer to NOTES.
69059         * manual/creature.texi: Don't include macros.texi.
69060         * manual/intro.texi (creature.texi): Remove comment referring to
69061         NOTES.
69063         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
69064         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
69065         * configure: Regenerated.
69066         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
69067         LIBC_TRY_CC_OPTION.
69068         (libc_cv_as_i686): Likewise.
69069         (libc_cv_cc_avx): Likewise.
69070         (libc_cv_cc_sse2avx): Likewise.
69071         (libc_cv_cc_fma4): Likewise.
69072         (libc_cv_cc_novzeroupper): Likewise.
69073         * sysdeps/i386/configure: Regenerated.
69075         [BZ #13883]
69076         * sysdeps/i386/fpu/s_cexp.S: Remove.
69077         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
69078         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
69079         * math/libm-test.inc (cexp_test): Add more tests.
69080         * sysdeps/i386/fpu/libm-test-ulps: Update.
69081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69083 2012-03-21  Allan McRae  <allan@archlinux.org>
69085         * timezone/Makefile: Do not install iso3166.tab and zone.tab
69087 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69089         [BZ #13871]
69090         * math/w_exp2.c: Do not include <float.h>.
69091         (o_threshold, u_threshold): Remove.
69092         (__exp2): Calculate result before checking finiteness and calling
69093         __kernel_standard.
69094         * math/w_exp2f.c: Likewise.
69095         * math/w_exp2l.c: Likewise.
69096         * math/libm-test.inc (exp2_test): Require overflow exception for
69097         1e6 input.
69099         [BZ #3866]
69100         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
69101         range of signed 64-bit integers before using fistpll.  Remove
69102         checks for whether integers fit in mantissa bits.
69103         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
69104         the range of signed 32-bit integers before using fistpl.  Remove
69105         checks for whether integers fit in mantissa bits.
69106         * sysdeps/i386/fpu/e_powl.S (p64): New object.
69107         (__ieee754_powl): Test for y outside the range of signed 64-bit
69108         integers before using fistpll.  Reduce 64-bit values to 63-bit
69109         ones as needed.
69110         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
69111         divide-by-zero is raised for zero to large negative powers.
69112         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
69113         (__ieee754_powl): Test for y outside the range of signed 64-bit
69114         integers before using fistpll.  Reduce 64-bit values to 63-bit
69115         ones as needed.
69116         * math/libm-test.inc (pow_test): Add more tests.
69118 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69120         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
69121         <stdio-common/_itoa.h>.
69122         * debug/segfault.c: Likewise.
69123         * elf/dl-cache.c: Likewise.
69124         * elf/dl-minimal.c: Likewise.
69125         * elf/dl-misc.c: Likewise.
69126         * elf/dl-sysdep.c: Likewise.
69127         * elf/dl-version.c: Likewise.
69128         * elf/rtld.c: Likewise.
69129         * hurd/hurdsock.c: Likewise.
69130         * hurd/lookup-retry.c: Likewise.
69131         * malloc/malloc.c: Likewise.
69132         * malloc/mtrace.c: Likewise.
69133         * nscd/nscd_getgr_r.c: Likewise.
69134         * nscd/nscd_getpw_r.c: Likewise.
69135         * nscd/nscd_getserv_r.c: Likewise.
69136         * posix/getopt_init.c: Likewise.
69137         * posix/wordexp.c: Likewise.
69138         * stdio-common/_itoa.c: Likewise.
69139         * stdio-common/printf_fphex.c: Likewise.
69140         * stdio-common/vfprintf.c: Likewise.
69141         * string/_strerror.c: Likewise.
69142         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
69143         * sysdeps/i386/i686/hp-timing.h: Likewise.
69144         * sysdeps/mach/_strerror.c: Likewise.
69145         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
69146         * sysdeps/mach/hurd/sethostid.c: Likewise.
69147         * sysdeps/mach/hurd/xmknodat.c: Likewise.
69148         * sysdeps/mach/xpg-strerror.c: Likewise.
69149         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
69150         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
69151         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
69152         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
69153         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
69154         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
69155         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
69156         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
69157         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
69158         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
69159         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
69160         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
69161         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
69162         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
69163         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
69164         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
69165         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
69166         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
69167         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
69168         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
69169         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
69171         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
69173         * stdio-common/_itoa.h: Moved to ...
69174         * sysdeps/generic/_itoa.h: Here.
69176         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
69178         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
69179         instead of "_itoa.h" and "_itowa.h".
69180         * stdio-common/vfprintf.: Likewise.
69182 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69184         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
69185         <bits/wordsize.h>.
69186         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
69187         (__signbit): Likwise.
69188         (llrintf): Likwise.
69189         (llrint): Likwise.
69191 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69193         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
69194         __WORDSIZE != 64.
69196 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
69198         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
69199         OVERFLOW_EXCEPTION_OK.
69200         * math/libm-test.inc ("Philosophy"): Update comment about
69201         exception testing.
69202         (OVERFLOW_EXCEPTION): Define.
69203         (OVERFLOW_EXCEPTION_OK): Likewise.
69204         (INVALID_EXCEPTION_OK): Renumber.
69205         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
69206         (IGNORE_ZERO_INF_SIGN): Likewise.
69207         (test_exceptions): Handle FE_OVERFLOW.
69208         (exp10_test): Expect overflow exceptions.
69209         (exp2_test): Likewise.
69210         (expm1_test): Likewise.
69211         (nextafter_test): Likewise.
69212         (pow_test): Likewise.
69213         (scalbn_test): Likewise.
69214         (scalbln_test): Likewise.
69216 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69218         * sysdeps/x86_64/bits/atomic.h
69219         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
69220         64bit integer.
69221         (atomic_exchange_acq): Likewise.
69222         (__arch_exchange_and_add_body): Likewise.
69223         (__arch_add_body): Likewise.
69224         (atomic_add_negative): Likewise.
69225         (atomic_add_zero): Likewise.
69227 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69229         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
69230         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
69232 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69234         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
69235         Check __x86_64__ instead of __WORDSIZE.
69237 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69239         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
69241 2012-03-19  David S. Miller  <davem@davemloft.net>
69243         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69245         * sysdeps/sparc/fpu/fenv_private.h: New file.
69246         * sysdeps/sparc/fpu/math_private.h: Use it.
69247         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
69248         Remove.
69249         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
69250         (libc_feholdexcept_setroundl): Remove.
69251         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
69252         Remove.
69253         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
69254         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
69256 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69258         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
69259         int64_t instead of long int.
69260         (INSERT_WORDS64): Likwise.
69262 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69264         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
69265         _Unwind_GetCFA return to _Unwind_Ptr first.
69267 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
69269         [BZ #13629]
69270         * math/s_clog.c: Include <float.h>.
69271         (__clog): Scale large or subnormal inputs.
69272         * math/s_clogf.c: Likewise.
69273         * math/s_clogl.c: Likewise.
69274         * math/s_clog10.c: Include <float.h>.
69275         (M_LOG10_2): Define.
69276         (__clog10): Scale large or subnormal inputs.
69277         * math/s_clog10f.c: Likewise.
69278         * math/s_clog10l.c: Likewise.
69279         * math/libm-test.inc (clog_test): Add more tests.
69280         (clog10_test): Likewise.
69281         * sysdeps/i386/fpu/libm-test-ulps: Update.
69282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69284         [BZ #11451]
69285         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
69286         x and y.
69287         * math/libm-test.inc (atan2_test): Add another test.
69289         * Makerules (common-objdir-compile): Remove.
69290         * sysdeps/unix/Makefile (config-generated): Do not add
69291         $(unix-generated) to variable.
69292         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
69293         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
69294         Remove rule.
69295         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
69296         Likewise.
69297         [generic bits/local_lim.h] (before-compile): Do not append to
69298         variable.
69299         [generic bits/local_lim.h] (common-generated): Likewise.
69300         [generic sys/param.h] (before-compile): Do not append to variable.
69301         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
69302         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
69303         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
69304         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
69305         include.
69306         [generic sys/param.h] (sys/param.h-includes): Remove variable.
69307         [generic sys/param.h] (sys/param.h-includes): Remove rule.
69308         [generic sys/param.h] ($(addprefix
69309         $(common-objpfx),$(sys/param.h-includes))): Likewise.
69310         [generic sys/param.h] (common-generated): Do not append to
69311         variable.
69312         [generic sys/param.h] (sysdep_headers): Likewise.
69313         [generic bits/errno.h] (before-compile): Do not append to
69314         variable.
69315         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
69316         rule.
69317         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
69318         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
69319         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
69320         [generic bits/errno.h] (common-generated): Do not append to
69321         variable.
69322         [generic bits/ioctls.h] (before-compile): Do not append to
69323         variable.
69324         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
69325         rule.
69326         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
69327         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
69328         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
69329         rule.
69330         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
69331         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
69332         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
69333         [generic bits/ioctls.h] (common-generated): Do not append to
69334         variable.
69335         [generic sys/syscall.h] (syscall.h): Remove variable.
69336         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
69337         rule.
69338         [generic sys/syscall.h] (before-compile): Do not append to
69339         variable.
69340         [generic sys/syscall.h] (common-generated): Likewise.
69341         * sysdeps/unix/errnos-tmpl.c: Remove file.
69342         * sysdeps/unix/errnos.awk: Likewise.
69343         * sysdeps/unix/ioctls-tmpl.c: Likewise.
69344         * sysdeps/unix/ioctls.awk: Likewise.
69345         * sysdeps/unix/mk-local_lim.c: Likewise.
69346         * sysdeps/unix/snarf-ioctls: Likewise.
69348 2012-03-19  Richard Henderson  <rth@twiddle.net>
69350         * sysdeps/i386/fpu/fenv_private.h: New file.
69351         * sysdeps/i386/fpu/math_private.h: Use it.
69352         (math_opt_barrier, math_force_eval): Remove.
69353         (libc_feholdexcept_setround_53bit): Remove.
69354         (libc_feupdateenv_53bit): Remove.
69355         * sysdeps/x86_64/fpu/math_private.h: Likewise.
69356         (math_opt_barrier, math_force_eval): Remove.
69357         (libc_feholdexcept): Remove.
69358         (libc_feholdexcept_setround): Remove.
69359         (libc_fetestexcept, libc_fesetenv): Remove.
69360         (libc_feupdateenv_test): Remove.
69361         (libc_feupdateenv, libc_feholdsetround): Remove.
69362         (libc_feresetround): Remove.
69364         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
69365         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
69367         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
69368         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
69369         (libc_feupdateenv_testl): New.
69370         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
69371         (libc_feupdateenv_testf): New.
69372         (libc_feupdateenv): Use libc_feupdateenv_test.
69373         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
69374         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
69376         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
69377         (libc_feholdsetroundf, libc_feholdsetroundl): New.
69378         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
69379         (libc_feresetround_noex): New.
69380         (libc_feresetround_noexf): New.
69381         (libc_feresetround_noexl): New.
69382         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
69383         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
69384         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
69385         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
69386         SET_RESTORE_ROUND.
69387         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
69388         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
69389         (__cos): Likewise.
69390         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
69391         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
69392         SET_RESTORE_ROUND_NOEX.
69393         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
69394         SET_RESTORE_ROUND_NOEXF.
69395         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
69396         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
69397         (libc_feholdsetroundf): New.
69398         (libc_feresetround, libc_feresetroundf): New.
69400         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
69401         (libc_feholdexcept_setround_53bit): Convert from macro to function.
69402         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
69404         * sysdeps/generic/math_private.h: Include <fenv.h>.
69405         (default_libc_feholdexcept): New.
69406         (default_libc_feholdexcept_setround): New.
69407         (default_libc_fesetenv, default_libc_feupdateenv): New.
69408         (libc_feholdexcept): Only define if undefined.
69409         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
69410         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
69411         (libc_feholdexcept_setroundl): Likewise.
69412         (libc_feholdexcept_setround_53bit): Likewise.
69413         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
69414         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
69415         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
69416         (libc_feupdateenv_53bit): Likewise.
69417         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
69418         (libc_feholdexcept): Convert from macro to inline function.
69419         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
69420         (libc_fesetenv, libc_feupdateenv): Likewise.
69422         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
69423         not previously defined.
69424         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
69425         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
69426         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
69427         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
69428         * sysdeps/ieee754/flt-32/math_private.h: New file.
69429         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
69430         math_private.h below SET_FLOAT_WORD.
69431         (__isnan, __isinf_ns, __finite): Remove.
69432         (__isnanf, __isinf_nsf, __finitef): Remove.
69434 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
69436         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69438 2012-03-17  David S. Miller  <davem@davemloft.net>
69440         [BZ #6471]
69441         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
69442         for 2.16.
69444 2012-03-16  David S. Miller  <davem@davemloft.net>
69446         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
69447         warnings.
69449         [BZ #6471]
69450         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
69451         properly.
69452         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
69453         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
69454         sysdep_routines when subdir is sysvipc.
69455         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
69456         __getshmlba helper.
69458         * sysdeps/sparc/fpu/libm-test/ulps: Update.
69460 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69462         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
69463         [__LP64__].
69465 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69467         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
69468         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
69469         (__lround): Renamed to ...
69470         (__llround): This.  Replace long int with long long int.
69471         Define lround functions as aliases of llround functions.
69472         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
69474 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69476         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
69477         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
69478         adresses to uintptr_t.  Replace "long int" and "unsigned long
69479         int" with "greg_t" on va_arg.
69481 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69483         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
69484         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
69486         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
69487         Move e_machine check before EI_CLASS check.  Handle x32
69488         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
69489         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
69490         SKIP_EM_IA_64 and include
69491         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
69493         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
69494         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
69495         (add_system_dir): New macro.
69497         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
69498         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
69500 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69502         [BZ #2551]
69503         [BZ #2552]
69504         [BZ #2553]
69505         [BZ #2554]
69506         [BZ #2562]
69507         [BZ #2563]
69508         [BZ #2565]
69509         [BZ #2566]
69510         [BZ #2576]
69511         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
69512         (y0): Likewise.
69513         * math/w_j0f.c (j0f): Likewise.
69514         (y0f): Likewise.
69515         * math/w_j0l.c (__j0l): Likewise.
69516         (__y0l): Likewise.
69517         * math/w_j1.c (j1): Likewise.
69518         (y1): Likewise.
69519         * math/w_j1f.c (j1f): Likewise.
69520         (y1f): Likewise.
69521         * math/w_j1l.c (__j1l): Likewise.
69522         (__y1l): Likewise.
69523         * math/w_jn.c (jn): Likewise.
69524         (yn): Likewise.
69525         * math/w_jnf.c (jnf): Likewise.
69526         (ynf): Likewise.
69527         * math/w_jnl.c (__jnl): Likewise.
69528         (__ynl): Likewise.
69529         * math/libm-test.inc (j0_test): Add more tests.
69530         (j1_test): Likewise.
69531         (jn_test): Likewise.  Add trailing semicolon to existing test.
69532         (y0_test): Likewise.
69533         (y1_test): Likewise.
69534         * sysdeps/i386/fpu/libm-test-ulps: Update.
69535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69537         [BZ #13851]
69538         [BZ #13854]
69539         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
69540         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
69541         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
69542         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
69543         (__tanl): Set errno for infinite argument.
69544         * sysdeps/i386/fpu/mptan.c: Remove.
69545         * sysdeps/i386/fpu/s_tan.S: Likewise.
69546         * sysdeps/i386/fpu/s_tanl.S: Likewise.
69547         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
69548         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
69549         * math/libm-test.inc (tan_test): Add more tests and enable more
69550         tests for double and long double.
69551         * sysdeps/i386/fpu/libm-test-ulps: Update.
69552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69554 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
69556         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
69557         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
69559 2012-03-16  Roland McGrath  <roland@hack.frob.com>
69561         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
69562         * configure.in: Use it for both main tree and add-ons.
69563         * configure: Regenerated.
69565 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69567         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
69569 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69571         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
69572         in comment.
69574         [BZ #13851]
69575         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
69576         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
69577         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
69578         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
69579         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
69580         infinite argument.
69581         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
69582         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
69583         != 0 for prec == 2.
69584         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
69585         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
69586         * sysdeps/i386/fpu/s_cosl.S: Likewise.
69587         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
69588         * sysdeps/i386/fpu/s_sinl.S: Likewise.
69589         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
69590         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
69591         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
69592         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
69593         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
69594         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
69595         * math/libm-test.inc (cos_test): Add more tests and enable more
69596         tests for long double.
69597         (sin_test): Likewise.
69598         (sincos_test): Likewise.
69599         * sysdeps/i386/fpu/libm-test-ulps: Update.
69600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69602 2012-03-16  David S. Miller  <davem@davemloft.net>
69604         * sysdeps/sparc/fpu/math_private.h: New file.
69606 2012-03-15  David S. Miller  <davem@davemloft.net>
69608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
69609         file.
69610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
69611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
69612         file.
69613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
69614         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
69615         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
69616         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
69617         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
69618         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
69619         sysdep routines.
69620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
69622         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
69623         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
69625         * sysdeps/sparc/sparc-ifunc.h: New file.
69626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
69627         sparc-ifunc.h
69628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
69629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
69630         Likewise.
69631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
69632         Likewise.
69633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
69634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
69635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
69636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
69637         Likewise.
69638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
69639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
69640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
69641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
69642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
69643         Likewise.
69644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
69645         Likewise.
69646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
69647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
69648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
69649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
69650         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
69651         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
69652         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
69653         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
69654         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
69655         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
69656         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
69657         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
69658         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
69659         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
69660         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
69661         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
69662         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
69663         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
69664         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
69665         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
69666         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
69667         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
69668         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
69669         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
69671 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
69673         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
69674         scaling.
69675         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69677 2012-03-15  Andreas Jaeger  <aj@suse.de>
69679         [BZ #13852]
69680         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
69681         ieee754/flt-32 implementation for sin, cos and sincos.
69682         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
69683         * sysdeps/i386/fpu/s_cosf.S: Likewise.
69684         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
69685         * sysdeps/i386/fpu/s_sinf.S: Likewise.
69686         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
69687         ieee754/flt-32 implementation for tan.
69689         * math/libm-test.inc (cos_test): Enable some large input tests for
69690         float as well
69691         (sin_test): Likewise.
69692         (sincos_test): Likewise.
69693         (tan_test): Add tests for large input.
69695         * sysdeps/i386/fpu/libm-test-ulps: Update.
69697 2012-03-15  Andreas Jaeger  <aj@suse.de>
69699         [BZ #13658]
69700         * math/libm-test.inc (cos_test): Add more test cases.
69701         (sin_test): Likewise.
69702         (sincos_test): Likewise.
69704 2012-03-15  Andreas Jaeger  <aj@suse.de>
69706         [BZ #13837]
69707         * math/libm-test.inc (cos_test): Add a test case for large input
69708         value.
69709         (sin_test): Likewise.
69710         (sincos_test): Likewise.
69712 2012-03-15  Andreas Jaeger  <aj@suse.de>
69713             Joseph Myers  <joseph@codesourcery.com>
69715         [BZ #13658]
69716         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
69717         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
69718         * sysdeps/i386/fpu/branred.c: Likewise.
69719         * sysdeps/i386/fpu/dosincos.c: Likewise.
69720         * sysdeps/i386/fpu/mpa.c: Likewise.
69721         * sysdeps/i386/fpu/s_cos.S: Likewise.
69722         * sysdeps/i386/fpu/s_sin.S: Likewise.
69723         * sysdeps/i386/fpu/s_sincos.S: Likewise.
69724         * sysdeps/i386/fpu/sincos32.c: Likewise.
69726         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
69727         Define.
69728         (libc_feupdateenv_53bit): Define.
69729         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
69730         Define.
69731         (libc_feupdateenv_53bit): Define.
69733         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
69734         53 bit (without extend i386 double precision).
69736         * math/libm-test.inc (sincos_test): Add tests for large input.
69737         (sin): Likewise.
69738         (cos): Likewise.
69740         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
69742 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
69744         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69746 2012-03-15  David S. Miller  <davem@davemloft.net>
69748         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
69749         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
69750         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
69751         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
69752         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
69753         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
69754         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
69755         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
69756         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
69757         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
69758         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
69759         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
69760         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
69761         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
69762         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
69763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
69764         file.
69765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
69766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
69767         file.
69768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
69769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
69770         file.
69771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
69772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
69773         file.
69774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
69775         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
69776         fmin/fmax sysdep routines.
69777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
69779 2012-03-14  David S. Miller  <davem@davemloft.net>
69781         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
69782         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
69783         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
69784         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
69785         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
69786         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
69787         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
69788         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
69789         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
69790         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
69791         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
69792         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
69793         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
69794         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
69795         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
69796         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
69797         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
69798         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
69799         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
69800         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
69801         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
69802         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
69803         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
69804         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
69805         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
69806         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
69807         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
69808         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
69809         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
69810         routines.
69811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
69812         file.
69813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
69814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
69815         file.
69816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
69817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
69818         file.
69819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
69820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
69821         file.
69822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
69823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
69824         file.
69825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
69826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
69827         file.
69828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
69829         file.
69830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
69831         file.
69832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
69833         file.
69834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
69835         New file.
69836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
69837         file.
69838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
69839         file.
69840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
69841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
69842         file.
69843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
69844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
69845         file.
69846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
69847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
69848         file.
69849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
69850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
69851         VIS3 routines.
69853         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
69854         New file.
69856         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69858         * sysdeps/sparc/configure.in: New file.
69859         * sysdeps/sparc/configure: Generate.
69860         * configure.in (libc_cv_sparc_as_vis3): Substitute.
69861         * configure: Regenerate.
69862         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
69863         * config.make.in (have-as-vis3): New.
69864         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
69865         available use -Av9d instead of -Av9a.
69866         * sysdeps/sparc/sparc64/Makefile: Likewise.
69867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
69868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
69869         New file.
69870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
69871         file.
69872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
69873         New file.
69874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
69875         file.
69876         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
69877         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
69878         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
69879         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
69880         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
69882         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
69883         fzeros/fnegs to load 0x80000000 into a float register instead of
69884         using the stack.
69885         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
69887 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
69889         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69890         bits/syscall.h.
69891         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
69892         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
69893         ($(inst_includedir)/bits/syscall.h): Remove rule.
69894         ($(objpfx)bits/syscall.d): Include instead of
69895         $(objpfx)syscall-list.d.
69896         (generated): Change syscall-list.h and syscall-list.d to
69897         bits/syscall.h and bits/syscall.d.
69899 2012-03-14  Roland McGrath  <roland@hack.frob.com>
69901         [BZ #13846]
69902         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
69904 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
69906         [BZ #13841]
69907         * math/s_csqrt.c: Include <float.h>.
69908         (__csqrt): Scale large or subnormal inputs.
69909         * math/s_csqrtf.c: Likewise.
69910         * math/s_csqrtl.c: Likewise.
69911         * math/libm-test.inc (csqrt_test): Add more tests.
69912         * sysdeps/i386/fpu/libm-test-ulps: Update.
69913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69915         [BZ #13840]
69916         * math/libm-test.inc (hypot_test): Add more tests.
69918 2012-03-13  David S. Miller  <davem@davemloft.net>
69920         [BZ #13840]
69921         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
69922         double-precision for the calculation instead of scaling.
69924 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
69926         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
69927         manipulate bits before adding and subtracting TWO52[sx].
69928         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
69929         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
69930         Likewise.
69931         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
69933 2012-03-13  David S. Miller  <davem@davemloft.net>
69935         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
69936         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
69937         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
69938         rtld-global-offsets.h
69939         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69941         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
69942         large parameters.
69944         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
69946         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
69947         'err' in the ifdef scope in which it is actually used.
69949         * nss/nss_db/db-init.c: Include string.h
69951 2012-03-12  David S. Miller  <davem@davemloft.net>
69953         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
69954         masking out of the most significant byte of random value used.
69955         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69956         Fix coding style in previous change.
69958         * sysdeps/unix/sysv/linux/kernel-features.h
69959         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
69960         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
69961         expression.
69962         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
69963         later.
69965 2012-03-11  David S. Miller  <davem@davemloft.net>
69967         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
69968         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
69969         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
69970         for 'resultvar' otherwise things get truncated on 64-bit.
69972         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69973         Fix masking out of the most significant byte of random value used.
69975         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69977 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
69979         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69981 2012-03-09  David S. Miller  <davem@davemloft.net>
69983         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
69984         variables with appropriate CPP guards.
69985         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
69986         from the frame pointer, not the stack pointer.  Correct layout
69987         comments.  Fix test on resulting framesize and the management of
69988         the outregs buffer for pltexit.  Preserve floating point return
69989         values across _dl_call_pltexit call.
69990         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
69991         framesize and the management of the outregs buffer for pltexit.
69992         Preserve floating point return values across _dl_call_pltexit
69993         call.
69994         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
69995         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
69996         (la_sparc64_gnu_pltexit): New functions.
69997         (print_exit): Fix format string for return register value.
69999 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
70001         * sunrpc/Makefile (others): Add rpcgen.
70002         ($(objpfx)rpcgen): Remove special build rule and dependency on
70003         libc.
70004         * sunrpc/rpcgen.c: New file.
70006 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
70008         [BZ #13673]
70009         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
70010         * stdio-common/bug-vfprintf-nargs.c: Likewise.
70011         * sysdeps/i386/crti.S: Likewise.
70012         * sysdeps/i386/crtn.S: Likewise.
70013         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
70014         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
70015         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
70016         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
70017         * sysdeps/sh/crti.S: Likewise.
70018         * sysdeps/sh/crtn.S: Likewise.
70019         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
70021         [BZ #13673]
70022         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
70023         with URL.
70024         * locale/programs/locfile-kw.gperf: Likewise.
70025         * locale/programs/charmap-kw.h: Regenerated.
70026         * locale/programs/locfile-kw.h: Likewise.
70028         [BZ #13673]
70029         * intl/plural.y: Replace FSF snail mail address with URL.
70030         * intl/plural.c: Regenerated.
70032 2012-03-09  Richard Henderson  <rth@twiddle.net>
70034         * include/math_private.h: Remove file.
70035         * math/math_private.h: Move file ...
70036         * sysdeps/generic/math_private.h: ... here.
70038         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
70039         * sysdeps/powerpc/fpu/math_private.h: Likewise.
70040         * sysdeps/x86_64/fpu/math_private.h: Likewise.
70042         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
70043         and <math_private.h>.
70044         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70045         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70046         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70047         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70048         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70049         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
70050         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70051         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70052         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
70053         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70054         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70055         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70056         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
70057         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70058         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
70059         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
70060         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70061         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
70062         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
70063         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
70064         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70065         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
70066         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
70067         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70068         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
70069         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70070         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
70071         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70072         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70073         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
70074         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
70075         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70076         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
70077         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
70078         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
70079         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
70080         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
70081         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
70082         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
70083         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70084         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
70085         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
70086         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
70087         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
70088         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
70089         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
70090         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
70091         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
70092         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
70093         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
70094         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
70095         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
70096         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
70097         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
70098         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
70099         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
70100         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70101         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
70102         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
70103         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
70104         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70105         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
70106         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70107         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
70108         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
70109         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70110         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70111         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70112         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
70113         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
70114         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
70115         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70116         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
70117         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70118         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
70119         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
70120         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
70121         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
70122         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
70123         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
70124         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
70125         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
70126         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
70127         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
70128         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
70129         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
70130         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
70131         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
70132         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
70133         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70134         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70135         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
70136         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70137         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
70138         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
70139         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
70140         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70141         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
70142         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70143         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
70144         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
70145         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
70146         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
70147         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
70148         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
70149         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
70150         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
70151         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
70152         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
70153         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
70154         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
70155         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
70156         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
70157         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
70158         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
70159         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70160         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
70161         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
70162         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
70163         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
70164         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
70165         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70166         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70167         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
70168         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
70169         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
70170         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
70171         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
70172         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70173         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
70174         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
70175         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
70176         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70177         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
70178         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
70179         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70180         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
70181         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70182         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
70183         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
70184         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70185         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70186         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70187         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
70188         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
70189         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70190         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70191         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70192         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
70193         * sysdeps/ieee754/k_standard.c: Likewise.
70194         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
70195         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
70196         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70197         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
70198         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
70199         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
70200         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
70201         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
70202         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
70203         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
70204         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70205         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
70206         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
70207         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
70208         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
70209         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
70210         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
70211         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
70212         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
70213         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
70214         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
70215         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
70216         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70217         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70218         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
70219         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
70220         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70221         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70222         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70223         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70224         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
70225         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70226         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70227         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70228         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
70229         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70230         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70231         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
70232         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
70233         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70234         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
70235         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
70236         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
70237         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70238         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
70239         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
70240         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70241         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70242         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70243         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70244         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
70245         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
70246         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
70247         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
70248         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
70249         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
70250         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
70251         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
70252         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
70253         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
70254         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
70255         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
70256         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
70257         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
70258         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70259         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70260         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
70261         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
70262         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
70263         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
70264         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
70265         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70266         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
70267         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
70268         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
70269         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
70270         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
70271         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
70272         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70273         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
70274         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
70275         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
70276         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
70277         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
70278         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
70279         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
70280         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
70281         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
70282         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
70283         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
70284         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
70285         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
70286         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
70287         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
70288         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
70289         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
70290         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
70291         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
70292         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
70293         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
70294         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
70295         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
70296         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
70297         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
70298         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
70299         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
70300         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
70301         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
70302         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
70303         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
70304         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
70305         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
70306         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
70307         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70308         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
70309         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70310         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
70311         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70312         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70313         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
70314         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70315         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
70316         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
70317         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
70318         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70319         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
70320         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
70321         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
70322         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
70323         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
70324         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
70325         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
70326         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
70327         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
70328         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
70329         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
70330         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
70331         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
70332         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
70333         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
70334         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
70335         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
70336         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
70337         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
70338         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70339         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
70340         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
70341         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
70342         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
70343         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
70344         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
70345         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
70346         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70347         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70348         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
70349         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
70350         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
70351         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
70352         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
70353         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
70354         * sysdeps/ieee754/s_lib_version.c: Likewise.
70355         * sysdeps/ieee754/s_matherr.c: Likewise.
70356         * sysdeps/ieee754/s_signgam.c: Likewise.
70357         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
70358         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
70359         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
70360         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
70361         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
70362         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
70363         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
70364         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
70365         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
70366         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
70367         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
70368         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
70369         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
70370         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
70371         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
70372         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
70373         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
70374         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
70375         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
70376         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
70377         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
70379 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70381         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
70382         * sunrpc/rpc_main.c: Likewise.
70383         * sunrpc/rpc_svcout.c: Likewise.
70385 2012-03-09  David S. Miller  <davem@davemloft.net>
70387         * include/math_private.h: New file.
70389 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70391         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
70392         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
70393         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
70394         from <bits/socket_type.h>.
70395         (enum __socket_type): Don't define here.
70396         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
70397         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70398         bits/socket_type.h.
70400         [BZ #13566]
70401         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
70402         checking __USE_GNU.
70404         * Makerules ($(inst_includedir)/%.h): New rule.
70405         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
70406         (install-others): Remove variable setting.
70407         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
70409 2012-03-08  Richard Henderson  <rth@twiddle.net>
70411         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
70412         from macro to inline function; merge with the
70413         !__LIBC_INTERNAL_MATH_INLINES version.
70414         (__ieee754_sqrtf): Likewise.
70416         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
70417         to inline function.
70418         (__rintf, __floor, __floorf): Likewise.
70420         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
70421         macro to inline function.
70422         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
70424         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
70425         not <math/math_private.h>.
70427 2012-03-08  David S. Miller  <davem@davemloft.net>
70429         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
70430         copyright year.
70431         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
70433 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
70435         * resolv/gai_misc.c (handle_requests): Fix struct timespec
70436         normalization.
70437         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
70438         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
70440 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
70442         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
70443         be defined individually, they must be defined as a block.  Define
70444         S for printing a string instead of hidint the different by using a
70445         macro for adding the 'l'.
70446         * stdio-common/tst-fphex-wide.c: Adjust.
70448 2012-03-07  Marek Polacek  <polacek@redhat.com>
70450         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
70452 2012-03-08  Marek Polacek  <polacek@redhat.com>
70454         [BZ #13806]
70455         * stdio-common/Makefile (tests): Add tst-fphex-wide.
70456         * stdio-common/tst-fphex.c: Define a few macros to make the
70457         test reusable.  Use them.
70458         * stdio-common/tst-fphex-wide.c: New file.
70460 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
70462         [BZ #6911]
70463         * manual/macros.texi (gnusystems): New macro.
70464         (nongnusystems): Likewise.
70465         (gnulinuxhurdsystems): Likewise.
70466         (gnuhurdsystems): Likewise..
70467         (gnulinuxsystems): Likewise.
70468         * manual/charset.texi: Use new macros or @theglibc{} to refer to
70469         variants of the GNU system, not "GNU system".
70470         * manual/conf.texi: Likewise.
70471         * manual/errno.texi: Likewise.  Update example of errno macro
70472         expansion.
70473         * manual/filesys.texi: Likewise.
70474         (getumask): Document as specific to GNU/Hurd.
70475         * manual/install.texi: Likewise.  Reword some references to
70476         GNU/Linux.
70477         * manual/intro.texi: Likewise.
70478         * manual/io.texi: Likewise.
70479         (File Name Portability): Detail which constraints are inapplicable
70480         to all GNU systems and which are only inapplicable to GNU/Hurd.
70481         * manual/job.texi: Likewise.
70482         * manual/llio.texi: Likewise.
70483         (O_NOCTTY): Document as present on GNU/Linux.
70484         * manual/maint.texi: Likewise.
70485         * manual/memory.texi: Likewise.
70486         * manual/pattern.texi: Likewise.
70487         * manual/pipe.texi: Likewise.
70488         * manual/process.texi: Likewise.
70489         * manual/resource.texi: Likewise.
70490         (RUSAGE_CHILDREN): Remove statement about specifying a particular
70491         child on GNU/Hurd.
70492         * manual/setjmp.texi: Likewise.
70493         * manual/signal.texi: Likewise.
70494         * manual/startup.texi: Likewise.
70495         * manual/stdio.texi: Likewise.
70496         * manual/terminal.texi: Likewise.
70497         (ONLCR): Document as POSIX.
70498         (OXTABS): Document availability on GNU/Linux as XTABS.
70499         (ONOEOT): Document availability separately from other bits.
70500         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
70501         * manual/time.texi: Likewise.
70502         * manual/users.texi: Likewise.
70503         * INSTALL: Regenerated.
70504         * sysdeps/gnu/errlist.c: Regenerated.
70506         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
70507         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
70508         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
70509         puts.
70510         * configure: Regenerated.
70512 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
70514         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
70515         default includes instead of AC_HEADER_CHECK.
70516         * sysdeps/i386/configure: Regenerated.
70518         [BZ #10716]
70519         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
70520         * math/s_cacoshf.c (__cacoshf): Likewise.
70521         * math/s_cacoshl.c (__cacoshl): Likewise.
70522         * math/s_casinh.c (__casinh): Set signs of result from argument.
70523         * math/s_casinhf.c (__casinhf): Likewise.
70524         * math/s_casinhl.c (__casinhl): Likewise.
70525         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
70526         (casinh_test): Add more tests.
70527         * sysdeps/i386/fpu/libm-test-ulps: Update.
70528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70530 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
70532         * po/zh_TW.po: Update from translation team.
70534         * login/Makefile (distribute): Remove variable.
70535         * catgets/Makefile: Likewise.
70536         * mach/Makefile: Likewise.
70537         * malloc/Makefile: Likewise.
70538         * misc/Makefile: Likewise.
70539         * iconv/Makefile: Likewise.
70540         * nscd/Makefile: Likewise.
70541         * hurd/Makefile: Likewise.
70542         * manual/Makefile: Likewise.
70543         * locale/Makefile: Likewise.
70544         * intl/Makefile: Likewise.
70545         * conform/Makefile: Likewise.
70546         * nss/Makefile: Likewise.
70547         * time/Makefile: Likewise.
70548         * soft-fp/Makefile: Likewise.
70549         * dirent/Makefile: Likewise.
70550         * gmon/Makefile: Likewise.
70551         * po/Makefile: Likewise.
70552         * rt/Makefile: Likewise.
70553         * socket/Makefile: Likewise.
70554         * math/Makefile: Likewise.
70555         * signal/Makefile: Likewise.
70556         * debug/Makefile: Likewise.
70557         * elf/Makefile: Likewise.
70558         * timezone/Makefile: Likewise.
70559         * stdlib/Makefile: Likewise.
70560         * iconvdata/Makefile: Likewise.
70561         * sunrpc/Makefile: Likewise.
70562         * io/Makefile: Likewise.
70563         * argp/Makefile: Likewise.
70564         * inet/Makefile: Likewise.
70565         * hesiod/Makefile: Likewise.
70566         * grp/Makefile: Likewise.
70567         * csu/Makefile: Likewise.
70568         * wctype/Makefile: Likewise.
70569         * crypt/Makefile: Likewise.
70570         * libio/Makefile: Likewise.
70571         * string/Makefile: Likewise.
70572         * nis/Makefile: Likewise.
70573         * resolv/Makefile: Likewise.
70574         * stdio-common/Makefile: Likewise.
70575         * wcsmbs/Makefile: Likewise.
70576         * dlfcn/Makefile: Likewise.
70577         * posix/Makefile: Likewise.
70579         [BZ #6959]
70580         * timezone/Makefile: Don't install timezone files, just the programs
70581         and scripts.
70583 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
70585         * nss/databases.def: Add missing gshadow entry.
70587         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
70589 2012-03-06  Marek Polacek  <polacek@redhat.com>
70591         [BZ #13726]
70592         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
70593         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
70594         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
70595         * stdio-common/tst-long-dbl-fphex.c: New file.
70597 2012-03-06  David S. Miller  <davem@davemloft.net>
70599         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70600         (set_obp_int): New function.
70601         (get_obp_int): New function.
70602         (__get_clockfreq_via_dev_openprom): Likewise.
70603         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
70604         Avoid unused variable warnings on 'val' and use builtin_expect.
70605         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
70606         __builtin_expect.
70607         (INLINE_CLONE_SYSCALL): Likewise.
70609 2012-03-05  David S. Miller  <davem@davemloft.net>
70611         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70613 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
70615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70617         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
70618         only for |x| >= 40.
70619         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70621 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
70623         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
70624         Replace gettimeofday with __vdso_gettimeofday.
70626         * sysdeps/unix/sysv/linux/x86_64/init-first.c
70627         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
70628         __vdso_clock_gettime and __vdso_getcpu.
70630         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
70631         time with __vdso_time.
70633 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
70635         * manual/lang.texi (size_t): Note types to which size_t may be
70636         equivalent with the GNU C Library, but do not describe when
70637         differences between them are significant.
70639 2012-03-05  Andreas Jaeger  <aj@suse.de>
70641         * sysdeps/i386/fpu/libm-test-ulps: Update.
70643 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
70645         [BZ #3976]
70646         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
70647         (__ieee754_pow): Save and restore rounding mode and use
70648         round-to-nearest for main computations.
70649         * math/libm-test.inc (pow_test_tonearest): New function.
70650         (pow_test_towardzero): Likewise.
70651         (pow_test_downward): Likewise.
70652         (pow_test_upward): Likewise.
70653         (main): Call the new functions.
70654         * sysdeps/i386/fpu/libm-test-ulps: Update.
70655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70657         [BZ #3976]
70658         * math/libm-test.inc (cosh_test_tonearest): New function.
70659         (cosh_test_towardzero): Likewise.
70660         (cosh_test_downward): Likewise.
70661         (cosh_test_upward): Likewise.
70662         (sinh_test_tonearest): Likewise.
70663         (sinh_test_towardzero): Likewise.
70664         (sinh_test_downward): Likewise.
70665         (sinh_test_upward): Likewise.
70666         (main): Call the new functions.
70667         * sysdeps/i386/fpu/libm-test-ulps: Update.
70668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70670 2012-03-05  Tom de Vries  <tom@codesourcery.com>
70672         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
70673         default stack guard is set in last bytes.
70674         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
70676 2012-03-05  Kees Cook  <keescook@chromium.org>
70678         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
70680         [BZ #13656]
70681         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
70682         possibly allocate from heap instead of stack.
70683         * stdio-common/bug-vfprintf-nargs.c: New file.
70684         * stdio-common/Makefile (tests): Add nargs overflow test.
70686 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
70688         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70690 2012-03-03  Marek Polacek  <polacek@redhat.com>
70692         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
70693         * math/math_private.h: Likewise.
70694         * stdlib/tst-strtod.c: Likewise.
70695         * sysdeps/i386/i486/bits/atomic.h: Likewise.
70696         * sysdeps/x86_64/bits/atomic.h: Likewise.
70698 2012-03-02  David S. Miller  <davem@davemloft.net>
70700         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
70701         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
70702         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
70703         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
70704         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
70705         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
70706         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
70707         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
70709 2012-03-02  Roland McGrath  <roland@hack.frob.com>
70711         [BZ #13792]
70712         * manual/examples/README: New file, says the example source files
70713         can be used under GPL>=2.
70714         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
70715         line containing just "*/".
70716         * manual/examples/add.c: Add copyright header (GPL>=2).
70717         * manual/examples/argp-ex1.c: Likewise.
70718         * manual/examples/argp-ex2.c: Likewise.
70719         * manual/examples/argp-ex3.c: Likewise.
70720         * manual/examples/argp-ex4.c: Likewise.
70721         * manual/examples/atexit.c: Likewise.
70722         * manual/examples/db.c: Likewise.
70723         * manual/examples/dir.c: Likewise.
70724         * manual/examples/dir2.c: Likewise.
70725         * manual/examples/execinfo.c: Likewise.
70726         * manual/examples/filecli.c: Likewise.
70727         * manual/examples/filesrv.c: Likewise.
70728         * manual/examples/fmtmsgexpl.c: Likewise.
70729         * manual/examples/genpass.c: Likewise.
70730         * manual/examples/inetcli.c: Likewise.
70731         * manual/examples/inetsrv.c: Likewise.
70732         * manual/examples/isockad.c: Likewise.
70733         * manual/examples/longopt.c: Likewise.
70734         * manual/examples/memopen.c: Likewise.
70735         * manual/examples/memstrm.c: Likewise.
70736         * manual/examples/mkfsock.c: Likewise.
70737         * manual/examples/mkisock.c: Likewise.
70738         * manual/examples/mygetpass.c: Likewise.
70739         * manual/examples/pipe.c: Likewise.
70740         * manual/examples/popen.c: Likewise.
70741         * manual/examples/rprintf.c: Likewise.
70742         * manual/examples/search.c: Likewise.
70743         * manual/examples/select.c: Likewise.
70744         * manual/examples/setjmp.c: Likewise.
70745         * manual/examples/sigh1.c: Likewise.
70746         * manual/examples/sigusr.c: Likewise.
70747         * manual/examples/stpcpy.c: Likewise.
70748         * manual/examples/strdupa.c: Likewise.
70749         * manual/examples/strftim.c: Likewise.
70750         * manual/examples/strncat.c: Likewise.
70751         * manual/examples/subopt.c: Likewise.
70752         * manual/examples/swapcontext.c: Likewise.
70753         * manual/examples/termios.c: Likewise.
70754         * manual/examples/testopt.c: Likewise.
70755         * manual/examples/testpass.c: Likewise.
70756         * manual/examples/timeval_subtract.c: Likewise.
70758         [BZ #13792]
70759         * manual/time.texi (Elapsed Time): Move timeval_subtract example
70760         function to ...
70761         * manual/timeval_subtract.c.texi: ... here, new file.
70763 2012-03-02  David S. Miller  <davem@davemloft.net>
70765         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
70767 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
70769         [BZ #3976]
70770         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
70771         (__sin): Save and restore rounding mode and use round-to-nearest
70772         for all computations.
70773         (__cos): Save and restore rounding mode and use round-to-nearest
70774         for all computations.
70775         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
70776         <fenv.h>.
70777         (tan): Save and restore rounding mode and use round-to-nearest for
70778         all computations.
70779         * math/libm-test.inc (cos_test_tonearest): New function.
70780         (cos_test_towardzero): Likewise.
70781         (cos_test_downward): Likewise.
70782         (cos_test_upward): Likewise.
70783         (sin_test_tonearest): Likewise.
70784         (sin_test_towardzero): Likewise.
70785         (sin_test_downward): Likewise.
70786         (sin_test_upward): Likewise.
70787         (tan_test_tonearest): Likewise.
70788         (tan_test_towardzero): Likewise.
70789         (tan_test_downward): Likewise.
70790         (tan_test_upward): Likewise.
70791         (main): Call the new functions.
70792         * sysdeps/i386/fpu/libm-test-ulps: Update.
70793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70795         [BZ #10135]
70796         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
70797         small n, then large n, before computing and testing k+n.
70798         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
70799         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
70800         Likewise.
70801         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
70802         Likewise.
70803         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
70804         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
70805         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
70806         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
70807         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
70808         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
70809         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
70810         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
70811         * math/libm-test.inc (scalbn_test): Add more tests.
70812         (scalbln_test): Likewise.
70814         * manual/filesys.texi (mode_t): Describe constraints on size and
70815         signedness, not exact equivalence to a particular type.
70816         (ino_t): Likewise.
70817         (ino64_t): Likewise.
70818         (dev_t): Likewise.
70819         (nlink_t): Likewise.
70820         (blkcnt_t): Likewise.
70821         (blkcnt64_t): Likewise.
70822         * manual/llio.texi (off_t): Likewise.
70824         [BZ #3976]
70825         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
70826         (__ieee754_exp): Save and restore rounding mode and use
70827         round-to-nearest for all computations.
70828         * math/libm-test.inc (exp_test_tonearest): New function.
70829         (exp_test_towardzero): Likewise.
70830         (exp_test_downward): Likewise.
70831         (exp_test_upward): Likewise.
70832         (main): Call the new functions.
70833         * sysdeps/i386/fpu/libm-test-ulps: Update.
70834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70836 2012-03-01  Chris Demetriou  <cgd@google.com>
70838         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
70839         have predictable order.
70841 2012-03-01  David S. Miller  <davem@davemloft.net>
70843         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
70845         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
70846         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
70847         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
70848         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
70850         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
70851         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
70852         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
70853         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
70854         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
70855         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
70856         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
70857         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
70858         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
70860         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70862         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
70863         * sysdeps/sparc/fpu/libm-test-ulps: to here.
70864         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
70866         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
70867         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
70868         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
70869         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
70870         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
70871         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
70872         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
70873         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
70874         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
70875         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
70876         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
70877         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
70878         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
70879         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
70880         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
70881         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70882         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
70883         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
70884         * sysdeps/sparc/elf/configure: Regenerated.
70886 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
70888         * configure.in (AS, LD): Require binutils 2.20 or later.
70889         * configure: Regenerated.
70890         * manual/install.texi (Tools for Compilation): Give binutils 2.20
70891         as required minimum version.
70892         * INSTALL: Regenerated.
70894         [BZ #2541]
70895         [BZ #4108]
70896         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
70897         before squaring exponent.
70898         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
70899         bottom long double and 27 bits of top long double before squaring
70900         exponent.
70901         * math/libm-test.inc (erfc_test): Add more tests.
70902         * sysdeps/i386/fpu/libm-test-ulps: Update.
70903         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70906 2012-03-01  Kai Tietz  <ktietz@redhat.com>
70908         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
70909         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
70910         containing bit-fields.
70911         * soft-fp/extended.h (_FP_UNION_E): Likewise.
70912         * soft-fp/single.h (_FP_UNION_S): Likewise.
70913         * soft-fp/double.h (_FP_UNION_D): Likewise.
70915 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
70917         [BZ #13786]
70918         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
70919         not include ../strcmp.S.
70920         [USE_AS_STRNCASECMP_L]: Likewise.
70921         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
70922         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
70923         * sysdeps/i386/i686/multiarch/strncase_l-c.c
70924         (__strncasecmp_l_ia32): Define as alias to
70925         __strncasecmp_l_nonascii.
70927         [BZ #5794]
70928         * math/libm-test.inc (expm1_test): Add test for bug 5794.
70929         * sysdeps/i386/fpu/libm-test-ulps: Update.
70930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70932         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
70933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70935 2012-02-29  Jeff Law  <law@redhat.com>
70937         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
70938         out of bounds read.
70940 2012-02-29  Marek Polacek  <polacek@redhat.com>
70942         [BZ #13706]
70943         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
70944         * elf/Makefile: Add rules to run tst-unused-dep.out.
70946 2012-02-28  David S. Miller  <davem@davemloft.net>
70948         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
70949         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
70950         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
70951         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
70952         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
70953         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
70955 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
70957         * math/libm-test.inc (llround_test): Move one test from
70958         lround_test.  Use TEST_f_L in moved test.
70959         (lround_test): Move misplaced test to llround_test.  Add testcase
70960         from bug 2561.
70962 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
70964         * sysdeps/x86_64/fpu/e_expf.S: New file.
70965         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
70967 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
70969         [BZ #13637]
70970         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
70971         of remain_len that may cause incomplete multi-byte character and
70972         false match.
70973         * posix/bug-regex33.c: New file.
70974         * posix/Makefile (tests): Add bug-regex33.
70976 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
70978         * manual/macros.texi: New file.
70979         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
70980         * manual/libc.texinfo: Include macros.texi.
70981         * manual/creatute.texi: Likewise.
70982         * manual/install.texi: Likewise.
70983         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
70984         @glibcadj{} in references to the GNU C Library.
70985         * manual/charset.texi: Likewise.
70986         * manual/conf.texi: Likewise.
70987         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
70988         when not using those macros.
70989         * manual/creature.texi: Likewise.
70990         * manual/crypt.texi: Likewise.
70991         * manual/errno.texi: Likewise.
70992         * manual/filesys.texi: Likewise.
70993         * manual/header.texi: Likewise.
70994         * manual/install.texi: Likewise.
70995         * manual/intro.texi: Likewise.
70996         * manual/io.texi: Likewise.
70997         * manual/job.texi: Likewise.
70998         * manual/lang.texi: Likewise.
70999         * manual/libc.texiinfo: Likewise.
71000         * manual/llio.texi: Likewise.
71001         * manual/locale.texi: Likewise.
71002         * manual/maint.texi: Likewise.
71003         * manual/math.texi: Likewise.
71004         * manual/memory.texi: Likewise.
71005         * manual/message.texi: Likewise.
71006         * manual/nss.texi: Likewise.
71007         * manual/pattern.texi: Likewise.
71008         * manual/process.texi: Likewise.
71009         * manual/resource.texi: Likewise.
71010         * manual/search.texi: Likewise.
71011         * manual/setjmp.texi: Likewise.
71012         * manual/signal.texi: Likewise.
71013         * manual/socket.texi: Likewise.
71014         * manual/startup.texi: Likewise.
71015         * manual/stdio.texi: Likewise.
71016         * manual/string.texi: Likewise.
71017         * manual/sysinfo.texi: Likewise.
71018         * manual/syslog.texi: Likewise.
71019         * manual/terminal.texi: Likewise.
71020         * manual/time.texi: Likewise.
71021         * manual/users.texi: Likewise.
71022         * INSTALL: Regenerated.
71023         * NOTES: Regenerated.
71024         * sysdeps/gnu/errlist.c: Regenerated.
71026 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
71028         * include/dirent.h: Include <dirstream.h> before
71029         <dirent/dirent.h>.
71031 2012-02-28  David S. Miller  <davem@davemloft.net>
71033         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
71034         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
71035         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
71036         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
71038 2012-02-27  David S. Miller  <davem@davemloft.net>
71040         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
71041         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
71042         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
71043         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
71045         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
71046         frame pointer instead of stack pointer relative arg slot.
71047         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71048         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71049         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71051 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
71053         [BZ #3992]
71054         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
71056 2012-02-27  David S. Miller  <davem@davemloft.net>
71058         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
71059         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71060         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
71061         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
71062         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71063         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71064         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
71065         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
71067 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
71069         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
71070         later.  Allow versions 5-9.
71071         * configure: Regenerated.
71072         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
71073         required minimum version and 4.6 as recommended version.  Do not
71074         mention bugs in GCC 2.7 and 2.8.
71075         * INSTALL: Regenerated.
71077 2012-02-27  David S. Miller  <davem@davemloft.net>
71079         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
71080         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
71081         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
71082         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
71083         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
71084         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
71085         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
71086         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
71088         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
71089         manipulate bits before adding and subtracting TWO112[sx].
71090         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
71092 2012-02-27  Roland McGrath  <roland@hack.frob.com>
71094         [BZ #13775]
71095         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
71096         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
71097         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
71098         being in POSIX, because they are in 1003.1-2008.
71100         * rt/tst-aio.c: Include <fcntl.h>.
71101         * rt/tst-aio7.c: Likewise.
71102         * rt/tst-aio64.c: Likewise.
71104         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
71106 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
71108         * manual/install.texi (--with-headers): Describe headers as
71109         interface headers, not private headers.
71110         (Specific advice for GNU/Linux systems): Describe use of headers
71111         from "make headers_install", not private headers from older
71112         kernels.
71113         * INSTALL: Regenerated.
71114         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
71115         Change to 2.6.19.
71116         * sysdeps/unix/sysv/linux/configure: Regenerated.
71118         * manual/llio.texi (fclean): Remove documentation.
71120         * manual/Makefile (libc-texi-generated): New variable.  Include
71121         version.texi.
71122         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
71123         $(libc-texi-generated), not duplicated list of files.
71124         (version.texi, stamp-version): New rules.
71125         (realclean): Remove $(libc-texi-generated), not individual files
71126         from that list.  Do not remove dir-add.texinfo.
71127         * manual/libc.texinfo: Comment out uses of edition numbers and
71128         references to printed manual.  Remove last-updated dates.
71129         (EDITION): Comment out.
71130         (ISBN): Likewise.
71131         (VERSION, UPDATED): Remove.
71132         (version.texi): Include.
71134 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
71136         * sysdeps/posix/spawni.c: Include <signal.h>.
71137         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
71138         * sysdeps/pthread/aio_fsync.c: Likewise.
71140 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
71142         * conform/Makefile (tests): Run only when not cross-compiling and
71143         when fast-check is not defined.
71145         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
71146         * conform/data/limits.h-data: Fixes for POSIX2008.
71147         * conform/run-conformtest.sh: Run all tests.
71148         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
71149         headers.
71150         * include/bits/dlfcn.h: Likewise.
71151         * include/langinfo.h: Likewise.
71152         * include/monetary.h: Likewise.
71153         * include/sys/poll.h: Likewise.
71155         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
71156         for __USE_GNU.
71157         * posix/spawn.h: Define __need_sigset_t.
71158         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
71159         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
71160         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
71161         to get sigevent_t only.
71162         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
71163         only for __USE_GNU.
71164         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71165         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71166         process_vm_writev only for __USE_GNU.
71167         * termios/termios.h: Declare tcgetsid also for POSIX2008.
71169         * conform/Makefile: For now ignore errors from run-conformtest.
71170         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
71171         POSIX to avoid namespace pollution.  Don't prepend headers.
71172         * conform/data/aio.h-data: Fixes for POSIX testing.
71173         * conform/data/fcntl.h-data: Likewise.
71174         * conform/data/glob.h-data: Likewise.
71175         * conform/data/grp.h-data: Likewise.
71176         * conform/data/pthread.h-data: Likewise.
71177         * conform/data/pwd.h-data: Likewise.
71178         * conform/data/signal.h-data: Likewise.
71179         * conform/data/spawn.h-data: Likewise.
71180         * conform/data/stdio.h-data: Likewise.
71181         * conform/data/stdlib.h-data: Likewise.
71182         * conform/data/stropts.h-data: Likewise.
71183         * conform/data/sys/mman.h-data: Likewise.
71184         * conform/data/sys/stat.h-data: Likewise.
71185         * conform/data/sys/types.h-data: Likewise.
71186         * conform/data/sys/wait.h-data: Likewise.
71187         * conform/data/time.h-data: Likewise.
71188         * conform/data/unistd.h-data: Likewise.
71189         * conform/data/utime.h-data: Likewise.
71191         * io/sys/stat.h: fchmod was always in POSIX.
71192         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
71193         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
71194         * rt/aio.h: Define __need_timespec before including <time.h>.
71195         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
71196         struct.  Add forward declaration of pthread_attr_t and use it in
71197         sigevent.
71198         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
71199         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
71200         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
71201         always remove CLK_TCK definition.
71203 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
71205         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
71207 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
71209         * conform/run-conformtest.sh: New file.
71210         * conform/Makefile: Run run-conformtest for tests.
71211         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
71212         support.
71214         * conform/data/uchar.h-data: New file.
71215         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
71216         * conform/data/arpa/inet.h-data: Likewise.
71217         * conform/data/assert.h-data: Likewise.
71218         * conform/data/complex.h-data: Likewise.
71219         * conform/data/cpio.h-data: Likewise.
71220         * conform/data/ctype.h-data: Likewise.
71221         * conform/data/dirent.h-data: Likewise.
71222         * conform/data/dlfcn.h-data: Likewise.
71223         * conform/data/errno.h-data: Likewise.
71224         * conform/data/fcntl.h-data: Likewise.
71225         * conform/data/float.h-data: Likewise.
71226         * conform/data/fmtmsg.h-data: Likewise.
71227         * conform/data/fnmatch.h-data: Likewise.
71228         * conform/data/ftw.h-data: Likewise.
71229         * conform/data/glob.h-data: Likewise.
71230         * conform/data/grp.h-data: Likewise.
71231         * conform/data/iconv.h-data: Likewise.
71232         * conform/data/inttypes.h-data: Likewise.
71233         * conform/data/langinfo.h-data: Likewise.
71234         * conform/data/libgen.h-data: Likewise.
71235         * conform/data/limits.h-data: Likewise.
71236         * conform/data/locale.h-data: Likewise.
71237         * conform/data/math.h-data: Likewise.
71238         * conform/data/monetary.h-data: Likewise.
71239         * conform/data/mqueue.h-data: Likewise.
71240         * conform/data/ndbm.h-data: Likewise.
71241         * conform/data/net/if.h-data: Likewise.
71242         * conform/data/netdb.h-data: Likewise.
71243         * conform/data/netinet/in.h-data: Likewise.
71244         * conform/data/nl_types.h-data: Likewise.
71245         * conform/data/poll.h-data: Likewise.
71246         * conform/data/pthread.h-data: Likewise.
71247         * conform/data/pwd.h-data: Likewise.
71248         * conform/data/regex.h-data: Likewise.
71249         * conform/data/sched.h-data: Likewise.
71250         * conform/data/search.h-data: Likewise.
71251         * conform/data/semaphore.h-data: Likewise.
71252         * conform/data/setjmp.h-data: Likewise.
71253         * conform/data/signal.h-data: Likewise.
71254         * conform/data/spawn.h-data: Likewise.
71255         * conform/data/stdarg.h-data: Likewise.
71256         * conform/data/stdio.h-data: Likewise.
71257         * conform/data/stdlib.h-data: Likewise.
71258         * conform/data/string.h-data: Likewise.
71259         * conform/data/strings.h-data: Likewise.
71260         * conform/data/stropts.h-data: Likewise.
71261         * conform/data/sys/ipc.h-data: Likewise.
71262         * conform/data/sys/mman.h-data: Likewise.
71263         * conform/data/sys/msg.h-data: Likewise.
71264         * conform/data/sys/resource.h-data: Likewise.
71265         * conform/data/sys/select.h-data: Likewise.
71266         * conform/data/sys/sem.h-data: Likewise.
71267         * conform/data/sys/shm.h-data: Likewise.
71268         * conform/data/sys/socket.h-data: Likewise.
71269         * conform/data/sys/stat.h-data: Likewise.
71270         * conform/data/sys/statvfs.h-data: Likewise.
71271         * conform/data/sys/time.h-data: Likewise.
71272         * conform/data/sys/timeb.h-data: Likewise.
71273         * conform/data/sys/times.h-data: Likewise.
71274         * conform/data/sys/types.h-data: Likewise.
71275         * conform/data/sys/uio.h-data: Likewise.
71276         * conform/data/sys/un.h-data: Likewise.
71277         * conform/data/sys/utsname.h-data: Likewise.
71278         * conform/data/sys/wait.h-data: Likewise.
71279         * conform/data/syslog.h-data: Likewise.
71280         * conform/data/tar.h-data: Likewise.
71281         * conform/data/termios.h-data: Likewise.
71282         * conform/data/utime.h-data: Likewise.
71283         * conform/data/utmpx.h-data: Likewise.
71284         * conform/data/varargs.h-data: Likewise.
71285         * conform/data/wchar.h-data: Likewise.
71286         * conform/data/wctype.h-data: Likewise.
71287         * conform/data/wordexp.h-data: Likewise.
71289         * include/stropts.h: New file.
71290         * include/uchar.h: New file.
71291         * include/aio.h: Changes to allow conformtest.pl to use the headers.
71292         * include/assert.h: Likewise.
71293         * include/ctype.h: Likewise.
71294         * include/dirent.h: Likewise.
71295         * include/dlfcn.h: Likewise.
71296         * include/fcntl.h: Likewise.
71297         * include/fnmatch.h: Likewise.
71298         * include/glob.h: Likewise.
71299         * include/grp.h: Likewise.
71300         * include/libio.h: Likewise.
71301         * include/locale.h: Likewise.
71302         * include/math.h: Likewise.
71303         * include/net/if.h: Likewise.
71304         * include/netdb.h: Likewise.
71305         * include/netinet/in.h: Likewise.
71306         * include/pthread.h: Likewise.
71307         * include/pwd.h: Likewise.
71308         * include/regex.h: Likewise.
71309         * include/sched.h: Likewise.
71310         * include/search.h: Likewise.
71311         * include/setjmp.h: Likewise.
71312         * include/signal.h: Likewise.
71313         * include/stdio.h: Likewise.
71314         * include/stdlib.h: Likewise.
71315         * include/string.h: Likewise.
71316         * include/sys/cdefs.h: Likewise.
71317         * include/sys/mman.h: Likewise.
71318         * include/sys/msg.h: Likewise.
71319         * include/sys/resource.h: Likewise.
71320         * include/sys/select.h: Likewise.
71321         * include/sys/socket.h: Likewise.
71322         * include/sys/stat.h: Likewise.
71323         * include/sys/statvfs.h: Likewise.
71324         * include/sys/time.h: Likewise.
71325         * include/sys/times.h: Likewise.
71326         * include/sys/uio.h: Likewise.
71327         * include/sys/utsname.h: Likewise.
71328         * include/sys/wait.h: Likewise.
71329         * include/termios.h: Likewise.
71330         * include/time.h: Likewise.
71331         * include/ulimit.h: Likewise.
71332         * include/unistd.h: Likewise.
71333         * include/utime.h: Likewise.
71334         * include/wchar.h: Likewise.
71335         * include/wctype.h: Likewise.
71336         * include/wordexp.h: Likewise.
71338         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
71340         * time/time.h: TIME_UTC must be a macro.
71341         Make timespec_get available for ISO C11 only as well.
71343 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
71345         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
71346         Reported by Peng Haitao <penght@cn.fujitsu.com>.
71348 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71350         * configure.in: Use -o not -a in test for unsupported multi-arch.
71352 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71354         * manual/texinfo.tex: Update to version 2012-01-19.16.
71356 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71358         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
71360 2012-02-24  Roland McGrath  <roland@hack.frob.com>
71362         [BZ #13738]
71363         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
71364         * manual/fdl-1.3.texi: New file.
71365         * manual/fdl-1.1.texi: File removed.
71367         [BZ #13738]
71368         * manual/libc.texinfo (FDL_VERSION): New @set.
71369         Use it for mention of FDL in cover text.
71370         (Documentation License): Use it in @include file name.
71372 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71373             Roland McGrath  <roland@hack.frob.com>
71375         [BZ #5461]
71376         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
71377         (not LONG_LONG_MAX and LONG_LONG_MIN.
71378         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
71379         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
71380         name.
71381         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
71383 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71385         [BZ #2547]
71386         [BZ #11365]
71387         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
71388         manipulate bits before adding and subtracting TWO23[sx].
71389         * math/libm-test.inc (nearbyint_test): Add more tests.
71391 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71393         [BZ #2548]
71394         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
71395         bits before adding and subtracting TWO23[sx].
71396         * math/libm-test.inc (rint_test): Add more tests.
71397         (rint_test_tonearest): Likewise.
71398         (rint_test_towardzero): Likewise.
71399         (rint_test_downward): Likewise.
71400         (rint_test_upward: Likewise.
71402 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71404         [BZ #10110]
71405         * include/stdc-predef.h: New file.  Extracted from features.h.
71406         * include/features.h: Include stdc-predef.h.
71407         * Makefile (headers): Add stdc-predef.h.
71408         * CONFORMANCE (Compiler limitations): Update.
71410 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71412         * manual/libc.texinfo (VERSION, UPDATED): Revert.
71414 2012-02-21  David S. Miller  <davem@davemloft.net>
71416         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
71417         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71419 2012-02-20  David S. Miller  <davem@davemloft.net>
71421         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
71422         using a normal save/restore sequence, rather than allocating a
71423         dummy stack frame just to store a frame pointer and restore.
71424         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71426 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71428         * manual/install.texi: Fix stray word in line-wrapped comment.
71430 2012-02-20  David S. Miller  <davem@davemloft.net>
71432         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
71433         both binutils and gcc support GOTDATA.
71435         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
71436         "rd %pc" in the PIC register setup sequences.
71438         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
71439         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
71440         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71441         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
71442         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71443         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
71444         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71445         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71446         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
71447         (SYSCALL_ERROR_HANDLER): Likewise.
71448         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71449         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71450         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
71451         (SYSCALL_ERROR_HANDLER): Likewise.
71453         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
71454         (HAVE_GCC_GOTDATA): New.
71455         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
71456         relocation support in both binutils and gcc.
71457         * sysdeps/sparc/elf/configure: Regenerate.
71459         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
71460         * sysdeps/sparc/sparc32/elf/configure: Delete.
71461         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
71462         * sysdeps/sparc/sparc64/elf/configure: Delete.
71463         * sysdeps/sparc/elf/configure.in: New file.
71464         * sysdeps/sparc/elf/configure: Generate.
71466         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
71467         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
71468         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71469         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
71470         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
71472 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71474         * manual/install.texi: Do not mention specific glibc version
71475         numbers.
71476         * manual/libc.texinfo (VERSION, UPDATED): Update.
71477         (@copying): Use @copyright{} and range of years.
71479 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71481         [BZ #13695]
71482         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
71483         [crti.S not in sysdirs] (generated): Do not append.
71484         [crti.S not in sysdirs] (omit-deps): Likewise.
71485         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
71486         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
71487         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
71488         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
71489         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
71490         Likewise.
71491         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
71492         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
71493         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
71494         * csu/defs.awk: Remove file.
71495         * sysdeps/generic/initfini.c: Likewise.
71496         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
71497         variable.
71498         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
71499         Likewise.
71501 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71503         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
71504         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
71505         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
71506         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
71507         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71508         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
71509         <bits/epoll.h>.
71510         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
71511         (__EPOLL_PACKED): Define to empty if not defined by
71512         <bits/epoll.h>.
71513         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
71514         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71515         bits/epoll.h.
71517 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71519         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
71520         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
71521         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
71522         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
71523         <bits/timerfd.h>.
71524         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
71525         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71526         bits/timerfd.h.
71528 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71530         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
71531         in C locale.
71532         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71533         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
71534         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
71535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71537 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
71539         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71540         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71542 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
71544         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
71545         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
71546         defined.
71547         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
71548         Likewise.
71549         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
71550         entry for 2.16.
71552 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
71554         * math/w_acos.c: Use non-signaling floating-point comparisons.
71555         * math/w_acosf.c: Likewise.
71556         * math/w_acosh.c: Likewise.
71557         * math/w_acoshf.c: Likewise.
71558         * math/w_acoshl.c: Likewise.
71559         * math/w_acosl.c: Likewise.
71560         * math/w_asin.c: Likewise.
71561         * math/w_asinf.c: Likewise.
71562         * math/w_asinl.c: Likewise.
71563         * math/w_atanh.c: Likewise.
71564         * math/w_atanhf.c: Likewise.
71565         * math/w_atanhl.c: Likewise.
71566         * math/w_exp2.c: Likewise.
71567         * math/w_exp2f.c: Likewise.
71568         * math/w_exp2l.c: Likewise.
71569         * math/w_j0.c: Likewise.
71570         * math/w_j0f.c: Likewise.
71571         * math/w_j0l.c: Likewise.
71572         * math/w_j1.c: Likewise.
71573         * math/w_j1f.c: Likewise.
71574         * math/w_j1l.c: Likewise.
71575         * math/w_jn.c: Likewise.
71576         * math/w_jnf.c: Likewise.
71577         * math/w_log.c: Likewise.
71578         * math/w_log10.c: Likewise.
71579         * math/w_log10f.c: Likewise.
71580         * math/w_log10l.c: Likewise.
71581         * math/w_log2.c: Likewise.
71582         * math/w_log2f.c: Likewise.
71583         * math/w_log2l.c: Likewise.
71584         * math/w_logf.c: Likewise.
71585         * math/w_logl.c: Likewise.
71586         * math/w_sqrt.c: Likewise.
71587         * math/w_sqrtf.c: Likewise.
71588         * math/w_sqrtl.c: Likewise.
71589         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71590         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
71591         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71592         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
71593         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
71595 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71597         [BZ #9739]
71598         * manual/string.texi (strnlen): Use correct parameter name in
71599         equivalent expression.
71601 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71603         [BZ #11174]
71604         * manual/users.texi (seteuid): Consistently use neweuid for
71605         argument name.
71607 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71609         [BZ #13704]
71610         * manual/nss.texi (Services in the NSS configuration): Correct
71611         list of services in example configuration file.
71613 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
71615         [BZ #11322]
71616         * manual/arith.texi: Remove statements about negative zero
71617         behaving identically to zero.
71619 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
71621         [BZ #5993]
71622         * manual/install.texi: Do not document upgrading from libc5.
71624 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
71626         [BZ #4596]
71627         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
71629 2012-02-18  David S. Miller  <davem@davemloft.net>
71631         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
71632         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
71633         %o7 across the call.
71634         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
71635         instead.
71636         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
71637         SETUP_PIC_REG_LEAF.
71638         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71639         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
71640         * sysdeps/sparc/crtn.S: Likewise.
71642 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
71644         * aout/Makefile: Remove.
71646 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
71648         [BZ #13058]
71649         * manual/examples/argp-ex1.c (main): Format definition in GNU
71650         style.
71651         * manual/examples/argp-ex2.c (main): Likewise.
71652         * manual/examples/argp-ex3.c (main): Likewise.
71653         * manual/examples/argp-ex4.c (main): Likewise.
71654         * manual/examples/longopt.c (main): Use new-style prototype
71655         definition.
71656         * manual/examples/strncat.c (main): Specify return type and use
71657         (void) for arguments.
71658         * manual/examples/subopt.c (main): Use char **argv argument.
71660 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71662         [BZ #5077]
71663         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
71664         rounding modes.
71666 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
71668         [BZ #6907]
71669         * manual/string.texi (strchr): Change when strchrnul is
71670         recommended.
71672 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
71674         [BZ #174]
71675         * manual/locale.texi (setlocale): Document LOCPATH.
71677 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71679         [BZ #10210]
71680         * manual/process.texi (execle): Move @dots{} before last argument.
71682 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
71684         [BZ #12047]
71685         * manual/charset.texi (Generic Charset Conversion): Fix typo
71686         (LC_TYPE -> LC_CTYPE).
71688 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
71690         [BZ #5805]
71691         * manual/arith.texi (scalbn): Use @var{} on parameter names.
71692         (scalbnf): Likewise.
71693         (scalbnl): Likewise.
71694         (scalbln): Likewise.
71695         (scalblnf): Likewise.
71696         (scalblnl): Likewise.
71697         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
71698         (vwarnx): Likewise.
71699         (verr): Likewise.
71700         (verrx): Likewise.
71701         * manual/filesys.texi (telldir): Use braces around return type.
71702         * manual/llio.texi (mmap): Add space after comma.
71703         (mmap64): Likewise.
71704         * manual/math.texi (jn): Use @var{} on parameter names.
71705         (jnf): Likewise.
71706         (jnl): Likewise.
71707         (yn): Likewise.
71708         (ynf): Likewise.
71709         (ynl): Likewise.
71710         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
71711         line.
71712         * manual/resource.texi (ulimit): Use @dots{} instead of literal
71713         "...".
71714         (sched_get_priority_min): Remove semicolon on @deftypefun line.
71715         (sched_get_priority_max): Likewise.
71716         * manual/signal.texi (sigvec): Add space after comma.
71717         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
71718         names.
71719         (if_indextoname): Likewise.
71720         (if_freenameindex): Likewise.
71721         (sendto): Use ',' instead of '.' in prototype.
71722         * manual/startup.texi (syscall): Use @dots{} instead of literal
71723         "...".
71724         * manual/stdio.texi (__fpending): Separate initial words of
71725         paragraph from @deftypefun line.
71726         * manual/syslog.texi (syslog): Use @dots{} instead of literal
71727         "...".
71728         (vsyslog): Use @var{} on parameter names.
71729         * manual/terminal.texi (stty): Use @var{} on parameter names.
71730         * manual/users.texi (getutmp): Use @var{} on parameter names.
71731         (getutmpx): Likewise.
71733 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71735         [BZ #6884]
71736         * manual/stdio.texi (fopen): Fix typos in description of
71737         ",ccs=STRING".
71739 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
71741         [BZ #4026]
71742         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
71743         get clock_id definition.
71745 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
71747         [BZ #4822]
71748         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
71749         (madvise): Cast every argument to void on its own.
71751 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71753         [BZ #9902]
71754         * manual/startup.texi (Exit Status): Fix typo.
71756 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71758         [BZ #10140]
71759         * manual/examples/argp-ex1.c: Include <stdlib.h>.
71760         * manual/examples/argp-ex2.c: Likewise.
71761         * manual/examples/argp-ex3.c: Likewise.
71763 2012-02-16  Richard Henderson  <rth@redhat.com>
71765         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
71766         * sysdeps/s390/s390-32/initfini.c: Remove.
71767         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
71768         * sysdeps/s390/s390-64/initfini.c: Remove.
71770 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71772         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
71773         compiler output for sysdeps/generic/initfini.c.
71774         * sysdeps/sh/elf/initfini.c: Remove file.
71776 2012-02-16  David S. Miller  <davem@davemloft.net>
71778         [BZ #11494]
71779         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
71781         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
71782         * sysdeps/sparc/crti.S: New file.
71783         * sysdeps/sparc/crtn.S: New file.
71784         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
71785         * sysdeps/sparc/sparc64/Makefile: Likewise.
71787 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
71789         [BZ #3335]
71790         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
71792 2012-02-15  Roland McGrath  <roland@hack.frob.com>
71794         [BZ #4822]
71795         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
71797         * mach/devstream.c (cookie_io_functions_t): Macro removed.
71798         (write, read, close): Likewise.
71799         Patch by Aurelien Jarno <aurelien@aurel32.net>.
71801 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
71803         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
71804         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
71805         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
71806         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
71807         <bits/signalfd.h>.
71808         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
71809         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71810         bits/signalfd.h.
71812 2012-02-14  Marek Polacek  <polacek@redhat.com>
71814         * sysdeps/x86_64/crti.S: New file.
71815         * sysdeps/x86_64/crtn.S: New file.
71816         * sysdeps/x86_64/elf/initfini.c: Remove file.
71818 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
71820         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
71821         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
71822         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
71823         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
71824         <bits/inotify.h>.
71825         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
71826         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71827         bits/inotify.h.
71829 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
71831         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
71832         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
71833         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
71834         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
71835         <bits/eventfd.h>.
71836         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
71837         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71838         bits/eventfd.h.
71840 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
71842         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
71843         __feraiseexcept instead of feraiseexcept.
71845         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
71846         nanosleep invocations.
71847         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
71848         strings, and add error checking for a nanosleep invocations.
71850 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
71852         Replace FSF snail mail address with URLs, as per GNU coding standards.
71853         Most of the snail mail addresses were wrong anyway, and omitting
71854         them makes the source code easier to maintain.  Almost all of the
71855         changes are to license notices and to locale LC_IDENTIFICATION
71856         addresses, except for this one:
71857         * manual/libc.texinfo: In "Published by", give the FSF's URL,
71858         not its snail mail address.
71860 2012-02-09  Richard Henderson  <rth@twiddle.net>
71862         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
71863         of kernel-features.h.
71865         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
71867 2012-02-08  Marek Polacek  <polacek@redhat.com>
71869         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
71870         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
71871         * sysdeps/gnu/_G_config.h: Likewise.
71872         * sysdeps/generic/_G_config.h: Likewise.
71874 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
71876         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
71877         tests.
71878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71880         * sysdeps/powerpc/powerpc32/crti.S: New file.
71881         * sysdeps/powerpc/powerpc32/crtn.S: New file.
71882         * sysdeps/powerpc/powerpc64/crti.S: New file.
71883         * sysdeps/powerpc/powerpc64/crtn.S: New file.
71885         * Makeconfig (have-initfini): Don't set.
71886         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
71887         * configure.in (nopic_initfini): Don't substitute.
71888         * config.h.in (HAVE_INITFINI): Don't #undef.
71889         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
71890         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
71892 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
71894         Support crti.S and crtn.S provided directly by architectures.
71895         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
71896         [crti.S in sysdirs] (omit-deps): Likewise.
71897         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
71898         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
71899         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
71900         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
71901         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
71902         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
71903         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
71904         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
71905         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
71906         compiler output for sysdeps/generic/initfini.c.
71907         * sysdeps/i386/elf/Makefile: Remove file.
71908         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
71910 2012-02-07  Marek Polacek  <polacek@redhat.com>
71912         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
71913         * sysdeps/gnu/_G_config.h: Likewise.
71914         * sysdeps/mach/hurd/_G_config.h: Likewise.
71916 2012-02-07  Marek Polacek  <polacek@redhat.com>
71918         * math/Makefile (tests): Add tst-CMPLX2.
71919         * math/tst-CMPLX2.c: New file.
71921 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
71923         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71925         * math/libm-test.inc (jn_test): Add missing L suffix.
71927 2012-02-06  Marek Polacek  <polacek@redhat.com>
71929         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
71930         * sysdeps/i386/fpu/e_powf.S: Likewise.
71931         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71932         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
71933         * sysdeps/i386/fpu/e_acosh.S: Likewise.
71934         * sysdeps/i386/fpu/e_pow.S: Likewise.
71935         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
71936         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71937         * sysdeps/i386/fpu/s_expm1.S: Likewise.
71938         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
71939         * sysdeps/i386/fpu/e_log2.S: Likewise.
71940         * sysdeps/i386/fpu/e_log2l.S: Likewise.
71941         * sysdeps/i386/fpu/e_scalb.S: Likewise.
71942         * sysdeps/i386/fpu/e_powl.S: Likewise.
71943         * sysdeps/i386/fpu/s_log1p.S: Likewise.
71944         * sysdeps/i386/fpu/e_log10f.S: Likewise.
71945         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
71946         * sysdeps/i386/fpu/e_logl.S: Likewise.
71947         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
71948         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
71949         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
71950         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
71951         * sysdeps/i386/fpu/e_log2f.S: Likewise.
71952         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71953         * sysdeps/i386/fpu/e_log.S: Likewise.
71954         * sysdeps/i386/fpu/s_cexp.S: Likewise.
71955         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71956         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
71957         * sysdeps/i386/fpu/e_logf.S: Likewise.
71958         * sysdeps/i386/fpu/e_log10l.S: Likewise.
71959         * sysdeps/i386/fpu/e_atanh.S: Likewise.
71960         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
71961         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
71962         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
71963         * sysdeps/i386/fpu/e_log10.S: Likewise.
71964         * sysdeps/i386/fpu/s_frexp.S: Likewise.
71965         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71966         * sysdeps/i386/fpu/s_asinh.S: Likewise.
71967         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
71968         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71969         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
71970         * sysdeps/i386/asm-syntax.h: Likewise.
71971         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
71972         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71973         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
71974         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
71975         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
71976         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
71977         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
71978         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
71979         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
71980         * sysdeps/powerpc/sysdep.h: Likewise.
71981         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
71982         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
71984 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
71986         [BZ #411]
71987         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
71989 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
71991         * sysdeps/i386/sysdep.h: Include <features.h>.
71992         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
71993         version.
71995 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
71997         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
71998         Define.
71999         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
72000         LOAD_PIC_REG_STR.
72002 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72004         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
72005         (SETUP_PIC_REG): Use GET_PC_THUNK.
72006         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
72007         macro.
72009 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72011         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
72012         for non-PIC compilation.
72013         (SETUP_PIC_REG): Add .p2align directive.
72014         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
72015         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
72016         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
72017         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
72018         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
72019         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
72020         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
72021         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
72022         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
72023         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
72024         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
72025         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
72026         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
72027         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
72028         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
72029         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
72030         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
72031         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
72032         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
72033         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
72034         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
72035         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
72036         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
72037         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
72038         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
72039         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
72040         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72041         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
72042         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
72043         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
72044         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
72045         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72046         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
72047         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
72048         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
72049         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
72050         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
72051         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
72052         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
72053         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
72054         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
72056 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72058         * math/tst-CMPLX.c: Include <stdio.h>.
72060 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
72062         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
72063         float.
72064         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72065         * sysdeps/sparc/bits/mathdef.h: Likewise.
72067 2012-01-31  Marek Polacek  <polacek@redhat.com>
72069         * libio/libio.h: Don't define _PARAMS.
72070         * locale/programs/config.h: Don't define PARAMS.
72071         * stdlib/strtol_l.c: Likewise.
72072         (__strtol_l): Remove PARAMS from the prototype.
72074 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
72076         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
72077         names.  Just use the correct names.  Remove unnecessary wrapper
72078         functions.
72079         * malloc/arena.c: Likewise.
72080         * malloc/hooks.c: Likewise.
72082         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
72083         ARENA_TEST says not to.  Simplify test for creation of a new arena.
72084         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
72086 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
72088         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
72089         into tail calls.
72090         (update_get_addr): New function.
72091         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
72092         GET_ADDR_MODULE parameter.
72094 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
72096         * crypt/cert.c: Remove __STDC__ conditionals.
72097         * crypt/crypt-entry.c: Likewise.
72098         * crypt/crypt_util.c: Likewise.
72099         * libio/filedoalloc.c: Likewise.
72100         * libio/fileops.c: Likewise.
72101         * libio/genops.c: Likewise.
72102         * libio/iofclose.c: Likewise.
72103         * libio/iofdopen.c: Likewise.
72104         * libio/iofopen.c: Likewise.
72105         * libio/iofopen64.c: Likewise.
72106         * libio/iogetdelim.c: Likewise.
72107         * libio/iopopen.c: Likewise.
72108         * libio/obprintf.c: Likewise.
72109         * libio/oldfileops.c: Likewise.
72110         * libio/oldiofclose.c: Likewise.
72111         * libio/oldiofdopen.c: Likewise.
72112         * libio/oldiofopen.c: Likewise.
72113         * libio/oldiopopen.c: Likewise.
72114         * libio/wfiledoalloc.c: Likewise.
72115         * libio/wgenops.c: Likewise.
72116         * locale/programs/xmalloc.c: Likewise.
72117         * misc/syslog.c: Likewise.
72118         * stdio-common/xbug.c: Likewise.
72119         * string/memchr.c: Likewise.
72120         * string/memcmp.c: Likewise.
72121         * string/memrchr.c: Likewise.
72122         * string/rawmemchr.c: Likewise.
72123         * sysdeps/posix/getcwd.c: Likewise.
72124         * time/strftime_l.c: Likewise.
72126 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
72128         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
72129         * config.make.in (config-cflags-sse2avx): Define.
72130         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
72131         Fix typo.
72133 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
72135         * scripts/config.guess: Update from upstream config git repository.
72136         * scripts/config.sub: Likewise.
72138 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
72140         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
72141         (EM_NUM): Update.
72142         (R_TILEPRO_*, R_TILEGX_*): New macros.
72144         * scripts/firstversions.awk: Fix bug in version range handling.
72146         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
72148         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
72150         * include/sys/epoll.h: New file.
72151         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
72152         libc_hidden_def.
72154 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
72156         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
72157         Avoid unnecessary __WORDSIZE == 64 test.
72158         (fmaxf): Use VEX format if possible.
72159         (fmax): Likewise.
72160         (fminf): Likewise.
72161         (fmin): Likewise.
72163         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
72164         * math/math_private.h: Remove libc_fegetround* and
72165         libc_fesetround*.
72166         * sysdeps/i386/configure.in: Check for -msse2avx.
72167         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
72168         also if SSE2AVX is defined.
72169         Remove libc_fegetround* and libc_fesetround*.
72170         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
72171         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
72172         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
72173         of HAS_YMM_USABLE.
72174         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72175         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72176         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72177         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72178         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72180         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
72182 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72184         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
72185         size is not set.
72186         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
72188 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
72190         [BZ #13618]
72191         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
72192         relocation.
72193         * Makeconfig (libm): Define.
72194         * elf/Makefile: Add rules to build and run tst-relsort1.
72195         * elf/tst-relsort1.c: New file.
72196         * elf/tst-relsort1mod1.c: New file.
72197         * elf/tst-relsort1mod2.c: New file.
72199 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
72201         * math/s_ldexp.c: Remove __STDC__ conditionals.
72202         * math/s_ldexpf.c: Likewise.
72203         * math/s_ldexpl.c: Likewise.
72204         * math/s_nextafter.c: Likewise.
72205         * math/s_nexttowardf.c: Likewise.
72206         * math/s_significand.c: Likewise.
72207         * math/s_significandf.c: Likewise.
72208         * math/s_significandl.c: Likewise.
72209         * math/w_jnl.c: Likewise.
72210         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
72211         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
72212         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
72213         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
72214         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
72215         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
72216         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
72217         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
72218         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
72219         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
72220         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
72221         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72222         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
72223         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
72224         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
72225         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
72226         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
72227         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
72228         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
72229         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72230         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72231         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
72232         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
72233         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
72234         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
72235         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
72236         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
72237         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
72238         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
72239         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
72240         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
72241         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
72242         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
72243         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
72244         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
72245         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
72246         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
72247         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
72248         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
72249         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
72250         * sysdeps/ieee754/k_standard.c: Likewise.
72251         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72252         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
72253         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
72254         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
72255         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
72256         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
72257         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
72258         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
72259         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
72260         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
72261         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
72262         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
72263         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
72264         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
72265         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
72266         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
72267         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
72268         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
72269         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
72270         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
72271         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
72272         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
72273         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
72274         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
72275         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
72276         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
72277         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72278         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72279         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72280         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
72281         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
72282         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
72283         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
72284         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
72285         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
72286         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
72287         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
72288         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
72289         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
72290         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
72291         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
72292         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
72293         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
72294         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
72295         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
72296         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
72297         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
72298         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
72299         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
72300         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
72301         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
72302         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
72303         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
72304         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
72305         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
72306         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
72307         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
72308         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72309         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72310         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72311         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
72312         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
72313         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
72314         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
72315         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
72316         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
72317         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
72318         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
72319         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
72320         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
72321         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
72322         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
72323         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
72324         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
72325         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
72326         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
72327         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
72328         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
72329         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
72330         * sysdeps/ieee754/s_matherr.c: Likewise.
72331         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
72332         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
72333         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
72334         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
72336 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72338         * crypt/md5.h: Remove __STDC__ conditionals.
72339         * libio/libioP.h: Likewise.
72340         * locale/programs/config.h: Likewise.
72341         * sysdeps/generic/sysdep.h: Likewise.
72342         * sysdeps/i386/asm-syntax.h: Likewise.
72343         * sysdeps/s390/asm-syntax.h: Likewise.
72344         * sysdeps/unix/sysdep.h: Likewise.
72345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
72346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72348 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72350         * libio/libio.h: Remove __STDC__ conditionals.
72351         * malloc/obstack.h: Likewise.
72352         * math/complex.h: Likewise.
72353         * math/math.h: Likewise.
72354         * sysdeps/generic/_G_config.h: Likewise.
72355         * sysdeps/gnu/_G_config.h: Likewise.
72356         * sysdeps/mach/hurd/_G_config.h: Likewise.
72357         * sysdeps/powerpc/bits/mathdef.h: Likewise.
72358         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72359         * sysdeps/sparc/bits/mathdef.h: Likewise.
72361 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
72363         [BZ #13583]
72364         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
72365         Clean up HAS_* macros.
72366         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
72367         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
72368         possible.
72369         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
72370         HAS_AVX.
72371         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72372         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72373         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72374         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72375         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72377 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
72379         * elf/tst-unique3.cc (gets): Remove declaration.
72380         * elf/tst-unique3lib.cc (gets): Likewise.
72381         * elf/tst-unique3lib2.cc (gets): Likewise.
72382         * elf/tst-unique4.cc (gets): Likewise.
72384 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
72386         * include/stdio.h: Add C++ protection.  Add gets declarations and
72387         definitions.
72388         * debug/tst-chk1.c: Don't declare gets here.
72389         * stdio-common/tst-gets.c: Likewise.
72391 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72393         * posix/glob: Remove directory.
72395 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72397         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
72399 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
72401         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
72402         of the non-standard EPFNOSUPPORT.
72404 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72406         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
72407         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
72408         ANYWHERE set to 1 only on KERN_NO_SPACE error.
72410 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
72412         * wcsmbs/uchar.h: Test __STDC_VERSION__.
72414 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
72416         * nscd/aicache.c (addhstaiX): Do not cache negative results of
72417         transient errors.
72418         * nscd/grpcache.c (cache_addgr): Likewise.
72419         * nscd/hstcache.c (cache_addhst): Likewise.
72420         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72421         * nscd/pwdcache.c (cache_addpw): Likewise.
72422         * nscd/servicescache.c (cache_addserv): Likewise.
72424 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
72426         * malloc/malloc.c: Various cleanups.
72427         * malloc/hooks.c: Likewise.
72429         * stdlib/Makefile (tests): Add bug-fmtmsg1.
72430         * stdlib/bug-fmtmsg1.c: New file.
72432         * stdlib/fmtmsg.c (init): Add missing unlock.
72433         Patch by Peng Haitao <penght@cn.fujitsu.com>.
72435 2012-01-12  Marek Polacek  <polacek@redhat.com>
72437         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
72438         and _GNU_SOURCE.
72440 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72442         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
72443         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
72444         macro to ensure uniqueness of label name.
72445         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
72446         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
72448 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
72450         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
72452         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
72453         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
72454         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
72455         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
72457 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
72459         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
72461         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
72462         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
72463         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
72465         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
72467         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
72468         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
72469         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
72470         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
72472         * math/bits/math-finite.h: Add ldexp support.
72474 2012-01-10  Marek Polacek  <polacek@redhat.com>
72476         * locale/programs/localedef.h (show_archive_content): Add noreturn
72477         attribute.
72479 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
72481         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
72483 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72485         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
72487         * io/Makefile (headers): Add bits/poll2.h.
72489 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
72491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
72492         typo #include statement.
72494 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72496         * include/sys/cdefs.h: Define __attribute_alloc_size.
72497         * catgets/gencat.c: Add alloc_size attribute and apply consistently
72498         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
72499         * elf/pldd.c: Likewise.
72500         * iconv/iconv_charmap.c: Likewise.
72501         * iconv/iconvconfig.c: Likewise.
72502         * iconv/strtab.c: Likewise.
72503         * locale/programs/locale.c: Likewise.
72504         * locale/programs/localedef.h: Likewise.
72505         * locale/programs/simple-hash.c: Likewise.
72506         * nscd/nscd.h: Likewise.
72507         * nss/makedb.c: Likewise.
72508         * sysdeps/generic/ldconfig.h: Likewise.
72509         * locale/programs/localedef.c: Remove xmalloc prototype.
72510         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
72512 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
72514         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
72515         appropriate.
72517 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72519         * math/Makefile (tests): Add tst-CMPLX.
72520         * math/tst-CMPLX.c: New file.
72522         * math/complex.h (CMPLXL): Fix typo.
72524         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
72525         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
72526         GLIBC_2.16.
72527         * debug/tst-chk1.c: Add poll and ppoll tests.
72528         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
72529         * include/sys/poll.h: Add hidden proto for ppoll.
72530         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
72531         * sysdeps/mach/hurd/ppoll.c: Likewise.
72532         * io/ppoll.c: Likewise.
72533         * debug/poll_chk.c: New file.
72534         * debug/ppoll_chk.c: New file.
72535         * include/bits/poll2.h: New file.
72536         * io/bits/poll2.h: New file.
72538         [BZ #1350]
72539         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
72541         * configure.in: static is always set to yes.  Remove.
72542         * config.make.in: Don't set build-static.
72543         * Makeconfig: Remove use of build-static.
72544         * dlfcn/Makefile: Likewise.
72545         * elf/Makefile: Likewise.
72546         * math/Makefile: Likewise.
72547         * misc/Makefile: Likewise.
72548         * nptl/Makefile: Likewise.
72549         * sysdeps/mach/hurd/Makefile: Likewise.
72551         * configure.in: PWD_P is not used anymore.
72552         * config.make.in: Remove PWD_P entry.
72554         * configure.in: Remove last remnants of RANLIB.
72555         No need to check for signed size_t anymore.
72556         Don't set libc_commonpagesize and libc_relro_required here for Alpha
72557         and IA-64.
72558         Remove __builtin_expect test because we require at least gcc 3.4.
72559         * aclocal.m4: Likewise.
72561         * wcsmbs/mbrtoc16.c: Implement using towc function.
72562         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
72563         * wcsmbs/wcsmbsload.c: Likewise.
72564         * iconv/gconv_simple.c: Likewise.
72565         * iconv/gconv_int.h: Likewise.
72566         * iconv/gconv_builtin.h: Likewise.
72567         * iconv/iconv_prog.c: Remove CHAR16 handling.
72569         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
72571         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
72573         * configure.in: Remove --with-elf and --enable-bounded options.
72574         Dont set base_machine for ia64.  More non-ELF conditions removed.
72575         Remove testing and setting of leading underscore information.
72576         * config.make.in (build-bounded): Set to no.
72577         * config.h.in: Remove NO_UNDERSCORES entry.
72578         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
72579         them.
72580         * csu/start.c: Remove !NO_UNDERSCORE code.
72581         * locale/localeinfo.h: Likewise.
72582         * sysdeps/generic/machine-gmon.h: Likewise.
72583         * sysdeps/generic/sysdep.h: Likewise.
72584         * sysdeps/i386/sysdep.h: Likewise.
72585         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
72586         * sysdeps/mach/sysdep.h: Likewise.
72587         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72588         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72589         * sysdeps/sh/sysdep.h: Likewise.
72590         * sysdeps/sparc/sparc32/alloca.S: Likewise.
72591         * sysdeps/unix/i386/sysdep.S: Likewise.
72592         * sysdeps/unix/sparc/start.c: Likewise.
72593         * sysdeps/unix/sparc/sysdep.S: Likewise.
72594         * sysdeps/unix/sparc/sysdep.h: Likewise.
72595         * sysdeps/unix/start.c: Likewise.
72596         * sysdeps/unix/x86_64/sysdep.S: Likewise.
72597         * sysdeps/x86_64/sysdep.h: Likewise.
72599 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
72601         [BZ #13553]
72602         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
72603         for non-gcc.
72604         * argp/argp-fmtstream.h: Use const instead __const.
72605         * argp/argp.h: Likewise.
72606         * assert/assert.h: Likewise.
72607         * bits/fenv.h: Likewise.
72608         * bits/sched.h: Likewise.
72609         * bits/sigset.h: Likewise.
72610         * bits/sigthread.h: Likewise.
72611         * catgets/nl_types.h: Likewise.
72612         * conform/data/pthread.h-data: Likewise.
72613         * crypt/crypt-private.h: Likewise.
72614         * crypt/crypt.h: Likewise.
72615         * crypt/crypt_util.c: Likewise.
72616         * ctype/ctype.h: Likewise.
72617         * debug/execinfo.h: Likewise.
72618         * debug/mbsnrtowcs_chk.c: Likewise.
72619         * debug/mbsrtowcs_chk.c: Likewise.
72620         * debug/wcsnrtombs_chk.c: Likewise.
72621         * debug/wcsrtombs_chk.c: Likewise.
72622         * debug/wcstombs_chk.c: Likewise.
72623         * dirent/dirent.h: Likewise.
72624         * dlfcn/dlfcn.h: Likewise.
72625         * elf/neededtest4.c: Likewise.
72626         * grp/grp.h: Likewise.
72627         * gshadow/gshadow.h: Likewise.
72628         * iconv/gconv.h: Likewise.
72629         * iconv/gconv_int.h: Likewise.
72630         * iconv/gconv_simple.c: Likewise.
72631         * iconv/iconv.h: Likewise.
72632         * iconv/loop.c: Likewise.
72633         * iconv/skeleton.c: Likewise.
72634         * include/aio.h: Likewise.
72635         * include/aliases.h: Likewise.
72636         * include/argz.h: Likewise.
72637         * include/arpa/inet.h: Likewise.
72638         * include/assert.h: Likewise.
72639         * include/dirent.h: Likewise.
72640         * include/dlfcn.h: Likewise.
72641         * include/execinfo.h: Likewise.
72642         * include/fcntl.h: Likewise.
72643         * include/fenv.h: Likewise.
72644         * include/glob.h: Likewise.
72645         * include/grp.h: Likewise.
72646         * include/libintl.h: Likewise.
72647         * include/mntent.h: Likewise.
72648         * include/netdb.h: Likewise.
72649         * include/pwd.h: Likewise.
72650         * include/rpc/netdb.h: Likewise.
72651         * include/sched.h: Likewise.
72652         * include/search.h: Likewise.
72653         * include/shadow.h: Likewise.
72654         * include/signal.h: Likewise.
72655         * include/stdio.h: Likewise.
72656         * include/stdlib.h: Likewise.
72657         * include/string.h: Likewise.
72658         * include/sys/socket.h: Likewise.
72659         * include/sys/stat.h: Likewise.
72660         * include/sys/statfs.h: Likewise.
72661         * include/sys/statvfs.h: Likewise.
72662         * include/sys/syslog.h: Likewise.
72663         * include/sys/time.h: Likewise.
72664         * include/sys/uio.h: Likewise.
72665         * include/time.h: Likewise.
72666         * include/unistd.h: Likewise.
72667         * include/utmp.h: Likewise.
72668         * include/wchar.h: Likewise.
72669         * include/wctype.h: Likewise.
72670         * inet/aliases.h: Likewise.
72671         * inet/arpa/inet.h: Likewise.
72672         * inet/netinet/ether.h: Likewise.
72673         * inet/netinet/in.h: Likewise.
72674         * intl/libintl.h: Likewise.
72675         * io/bits/fcntl2.h: Likewise.
72676         * io/fcntl.h: Likewise.
72677         * io/ftw.h: Likewise.
72678         * io/sys/poll.h: Likewise.
72679         * io/sys/stat.h: Likewise.
72680         * io/sys/statfs.h: Likewise.
72681         * io/sys/statvfs.h: Likewise.
72682         * io/utime.h: Likewise.
72683         * libio/bits/stdio.h: Likewise.
72684         * libio/bits/stdio2.h: Likewise.
72685         * libio/libio.h: Likewise.
72686         * libio/libioP.h: Likewise.
72687         * libio/stdio.h: Likewise.
72688         * locale/lc-ctype.c: Likewise.
72689         * locale/locale.h: Likewise.
72690         * login/utmp.h: Likewise.
72691         * malloc/arena.c: Likewise.
72692         * malloc/malloc.c: Likewise.
72693         * malloc/malloc.h: Likewise.
72694         * malloc/mcheck.c: Likewise.
72695         * malloc/mtrace.c: Likewise.
72696         * math/bits/mathcalls.h: Likewise.
72697         * math/fenv.h: Likewise.
72698         * math/math_private.h: Likewise.
72699         * misc/bits/error.h: Likewise.
72700         * misc/bits/syslog.h: Likewise.
72701         * misc/err.h: Likewise.
72702         * misc/error.h: Likewise.
72703         * misc/fstab.h: Likewise.
72704         * misc/mntent.h: Likewise.
72705         * misc/regexp.h: Likewise.
72706         * misc/search.h: Likewise.
72707         * misc/sgtty.h: Likewise.
72708         * misc/sys/mman.h: Likewise.
72709         * misc/sys/syslog.h: Likewise.
72710         * misc/sys/uio.h: Likewise.
72711         * misc/sys/xattr.h: Likewise.
72712         * misc/ttyent.h: Likewise.
72713         * nis/rpcsvc/ypclnt.h: Likewise.
72714         * nss/nss.h: Likewise.
72715         * posix/bits/unistd.h: Likewise.
72716         * posix/fnmatch.h: Likewise.
72717         * posix/glob.h: Likewise.
72718         * posix/sched.h: Likewise.
72719         * posix/spawn.h: Likewise.
72720         * posix/sys/wait.h: Likewise.
72721         * posix/unistd.h: Likewise.
72722         * posix/wordexp.h: Likewise.
72723         * pwd/pwd.h: Likewise.
72724         * resolv/netdb.h: Likewise.
72725         * resource/sys/resource.h: Likewise.
72726         * rt/aio.h: Likewise.
72727         * rt/bits/mqueue2.h: Likewise.
72728         * rt/mqueue.h: Likewise.
72729         * shadow/shadow.h: Likewise.
72730         * signal/signal.h: Likewise.
72731         * socket/send.c: Likewise.
72732         * socket/sendto.c: Likewise.
72733         * socket/sys/socket.h: Likewise.
72734         * stdio-common/printf.h: Likewise.
72735         * stdlib/bits/stdlib.h: Likewise.
72736         * stdlib/fmtmsg.h: Likewise.
72737         * stdlib/monetary.h: Likewise.
72738         * stdlib/stdlib.h: Likewise.
72739         * stdlib/ucontext.h: Likewise.
72740         * streams/stropts.h: Likewise.
72741         * string/argz.h: Likewise.
72742         * string/bits/string2.h: Likewise.
72743         * string/string.h: Likewise.
72744         * string/strings.h: Likewise.
72745         * sunrpc/rpc/auth.h: Likewise.
72746         * sunrpc/rpc/auth_des.h: Likewise.
72747         * sunrpc/rpc/clnt.h: Likewise.
72748         * sunrpc/rpc/netdb.h: Likewise.
72749         * sunrpc/rpc/pmap_clnt.h: Likewise.
72750         * sunrpc/rpc/xdr.h: Likewise.
72751         * sysdeps/generic/inttypes.h: Likewise.
72752         * sysdeps/generic/net/if.h: Likewise.
72753         * sysdeps/generic/sys/swap.h: Likewise.
72754         * sysdeps/gnu/net/if.h: Likewise.
72755         * sysdeps/gnu/utmpx.h: Likewise.
72756         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
72757         * sysdeps/i386/i486/bits/string.h: Likewise.
72758         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
72759         * sysdeps/s390/bits/string.h: Likewise.
72760         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
72761         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
72762         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
72763         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
72764         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
72765         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
72766         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
72767         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
72768         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
72769         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
72770         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
72771         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
72772         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
72773         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
72774         * sysdeps/unix/sysv/linux/readv.c: Likewise.
72775         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
72776         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
72777         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72778         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
72779         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
72780         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
72781         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
72782         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
72783         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
72784         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
72785         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
72786         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
72787         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72788         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
72789         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
72790         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
72791         * sysvipc/sys/ipc.h: Likewise.
72792         * sysvipc/sys/msg.h: Likewise.
72793         * sysvipc/sys/sem.h: Likewise.
72794         * sysvipc/sys/shm.h: Likewise.
72795         * termios/termios.h: Likewise.
72796         * time/sys/time.h: Likewise.
72797         * time/time.h: Likewise.
72798         * wcsmbs/bits/wchar2.h: Likewise.
72799         * wcsmbs/uchar.h: Likewise.
72800         * wcsmbs/wchar.h: Likewise.
72801         * wctype/wctype.h: Likewise.
72803         [BZ #13551]
72804         * Makeconfig: Remove all but ELF support including AIX support.
72805         * Makerules: Likewise.
72806         * config.h.in: Likewise.
72807         * config.make.in: Likewise.
72808         * configure: Likewise.
72809         * configure.in: Likewise.
72810         * csu/Makefile: Likewise.
72811         * csu/version.c: Likewise.
72812         * debug/Makefile: Likewise.
72813         * dlfcn/Makefile: Likewise.
72814         * elf/Makefile: Likewise.
72815         * extra-lib.mk: Likewise.
72816         * iconv/Makefile: Likewise.
72817         * include/libc-symbols.h: Likewise.
72818         * include/shlib-compat.h: Likewise.
72819         * resolv/Makefile: Likewise.
72820         * resolv/res_libc.c: Likewise.
72821         * rt/Makefile: Likewise.
72822         * sysdeps/i386/asm-syntax.h: Likewise.
72823         * sysdeps/i386/sysdep.h: Likewise.
72824         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
72825         * sysdeps/mach/sysdep.h: Likewise.
72826         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
72827         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
72828         * sysdeps/s390/asm-syntax.h: Likewise.
72829         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72830         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72831         * sysdeps/sh/sysdep.h: Likewise.
72832         * sysdeps/unix/sparc/sysdep.h: Likewise.
72833         * sysdeps/wordsize-32/divdi3.c: Likewise.
72834         * sysdeps/x86_64/sysdep.h: Likewise.
72836         * argp/Versions: Remove _argp_unlock_xxx.
72838         [BZ #13559]
72839         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
72840         * abilist/libBrokenLocale.abilist: Likewise.
72841         * abilist/libanl.abilist: Likewise.
72842         * abilist/libc.abilist: Likewise.
72843         * abilist/libcrypt.abilist: Likewise.
72844         * abilist/libdl.abilist: Likewise.
72845         * abilist/libm.abilist: Likewise.
72846         * abilist/libnsl.abilist: Likewise.
72847         * abilist/libpthread.abilist: Likewise.
72848         * abilist/libresolv.abilist: Likewise.
72849         * abilist/librt.abilist: Likewise.
72850         * abilist/libthread_db.abilist: Likewise.
72851         * abilist/libutil.abilist: Likewise.
72852         * abilist/libnss_db.abilist: New file.
72854         * scripts/abilist.awk: Add support for indirect functions.
72856         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
72858         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
72860         * shlib-versions: Remove entries for ports architectures.
72862         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
72863         files in ports.
72864         * elf/stackguard-macros.h: Remove support for IA-64.
72865         * elf/tst-auditmod1.c: Likewise.
72866         * sysdeps/generic/ldsodefs.h: Likewise.
72868         * sysdeps/unix/sysv/linux/configure.in: Ports should define
72869         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
72870         configure files.
72872         [BZ #13552]
72873         * configure.in: Remove --enable-omitfp support.
72874         * FAQ.in: Adjust.
72875         * config.make.in: Likewise.
72876         * Makeconfig: Likewise.
72877         * manual/install.texi: Likewise.
72879         In case anyone cares, the IA-64 architecture could move to ports.
72880         * sysdeps/ia64/*: Removed.
72881         * sysdeps/unix/sysv/linux/ia64/*: Removed.
72882         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
72884         [BZ #13555]
72885         * configure.in: Remove entries for unsupported architectures.
72887         [BZ #13533]
72888         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
72889         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
72890         routines.
72891         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
72892         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
72893         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
72894         fall back to using wcrtomb.
72895         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
72896         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
72897         renaming.
72898         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
72899         * wcsmbs/tst-c16c32-1.c: New file.
72901         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
72902         local variable.
72904         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
72906         * elf/tst-unique3.cc: Add explicit declaration of gets.
72907         * elf/tst-unique3lib.cc: Likewise.
72908         * elf/tst-unique3lib2.cc: Likewise.
72909         * elf/tst-unique4.cc: Likewise.
72911         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
72913 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
72915         [BZ #13566]
72916         * assert/assert.h (static_assert): Don't define for C++.
72917         * libio/stdio.h (gets): Do declare for C++ <= C++11.
72918         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
72920 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
72922         * iconv/loop.c (single loop): Fix assertion in storing of
72923         remaining bytes.
72925         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
72927 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
72929         * posix/getconf.c: Update copyright year.
72930         * nss/getent.c: Likewise.
72931         * nss/makedb.c: Likewise.
72932         * iconv/iconvconfig.c: Likewise.
72933         * iconv/iconv_prog.c: Likewise.
72934         * elf/ldconfig.c: Likewise.
72935         * elf/pldd.c: Likewise.
72936         * elf/sotruss.ksh: Likewise.
72937         * catgets/gencat.c: Likewise.
72938         * csu/version.c: Likewise.
72939         * elf/ldd.bash.in: Likewise.
72940         * elf/sprof.c (print_version): Likewise.
72941         * locale/programs/locale.c: Likewise.
72942         * locale/programs/localedef.c: Likewise.
72943         * login/programs/pt_chown.c: Likewise.
72944         * nscd/nscd.c (print_version): Likewise.
72945         * debug/xtrace.sh: Likewise.
72946         * malloc/memusage.sh: Likewise.
72947         * malloc/mtrace.pl: Likewise.
72948         * debug/catchsegv.sh: Likewise.
72950 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
72952         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
72953         pure attribute.
72955 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
72957         [BZ #13533]
72958         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
72959         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
72960         transformations.
72961         * iconv/gconv_int.h: Likewise.
72962         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
72963         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
72964         from libc for GLIBC_2.16.
72965         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
72966         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
72967         * wcsmbs/uchar.h: Really define mbstate_t.
72968         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
72969         * wcsmbs/c16rtomb.c: New file.
72970         * wcsmbs/mbrtoc16.c: New file.
72971         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
72972         for C/POSIX locale.
72973         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
72974         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
72976         * wcsmbs/wchar.h: Add missing __restrict.
72978 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
72980         [BZ #13532]
72981         * time/Makefile (routines): Add timespec_get.
72982         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
72983         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
72984         timespec for ISO C11.
72985         * time/timespec_get.c: New file.
72986         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
72987         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
72989         [BZ #13531]
72990         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
72991         * stdlib/stdlib.h: Declare aligned_alloc.
72992         * Versions.def: Add GLIBC_2.16 for libc.
72993         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
72995         [BZ 13527]
72996         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
72997         ISO C11.
72999         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
73000         code.
73002         [BZ #13528]
73003         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
73005         [BZ #13529]
73006         * assert/assert.h (static_assert): Define.
73008         * version.h: Update for 2.16 development version.
73010         [BZ #13526]
73011         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
73012         _ISOC11_SOURCE.
73014         * version.h (RELEASE): Bump for 2.15 release.
73015         * include/features.h (__GLIBC_MINOR__): Bump to 15.
73017         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
73018         Patch by Marek Polacek <mpolacek@redhat.com>.
73020         * bits/byteswap.h: Protect long long constants with __extension__.
73021         * sysdeps/i386/bits/byteswap.h: Likewise.
73022         * sysdeps/ia64/bits/byteswap.h: Likewise.
73023         * sysdeps/s390/bits/byteswap.h: Likewise.
73024         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73026 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73028         [BZ #13540]
73029         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
73030         destination buffer.
73031         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
73033 2011-12-23  Marek Polacek  <polacek@redhat.com>
73035         * elf/dl-addr.c (determine_info): Add inline keyword.
73036         * elf/tst-auditmod4b.c (check_avx): Likewise.
73037         * elf/tst-auditmod6b.c (check_avx): Likewise.
73038         * elf/tst-auditmod6c.c (check_avx): Likewise.
73039         * elf/tst-auditmod7b.c (check_avx): Likewise.
73041 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73043         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
73044         !__SSE_MATH__.
73046 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73048         [BZ #13540]
73049         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
73050         processing for last bytes.
73052 2011-08-06  Bruno Haible  <bruno@clisp.org>
73054         [BZ #13061]
73055         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
73056         U+0385, not to U+1FEE.
73058         [BZ #13062]
73059         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
73060         entry for U+00A5 U+0301.
73062 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
73064         [BZ #13166]
73065         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
73066         buffer for the output is too small.
73068         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
73069         optimization.
73071         [BZ #13185]
73072         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
73073         SSE flags if possible.
73075 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73077         [BZ #13540]
73078         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
73079         processing for last bytes.
73081 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
73083         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
73084         (syscall-list-default-options, syscall-list-default-condition)
73085         (syscall-list-includes): Define.
73086         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
73087         list of ABIs and options and #if conditions for each ABI.  Do not
73088         handle common syscalls between ABIs specially.
73089         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
73090         Remove.
73091         (syscall-list-variants, syscall-list-32bit-options)
73092         (syscall-list-32bit-condition, syscall-list-64bit-options)
73093         (syscall-list-64bit-condition): Define.
73094         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
73095         (syscall-list-variants, syscall-list-32bit-options)
73096         (syscall-list-32bit-condition, syscall-list-64bit-options)
73097         (syscall-list-64bit-condition): Define.
73098         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
73099         Remove.
73100         (syscall-list-variants, syscall-list-32bit-options)
73101         (syscall-list-32bit-condition, syscall-list-64bit-options)
73102         (syscall-list-64bit-condition): Define.
73103         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
73104         Remove.
73105         (syscall-list-variants, syscall-list-32bit-options)
73106         (syscall-list-32bit-condition, syscall-list-64bit-options)
73107         (syscall-list-64bit-condition): Define.
73109 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
73111         * locale/iso-639.def: Add brx entry.
73113         [BZ #13328]
73114         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
73115         Proposed by Mariusz_Cukr <marcukr@op.pl>.
73117         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
73118         __feraiseexcept_renamed.
73120 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
73122         [BZ #13538]
73123         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
73124         EPOLLET with unsigned values.
73125         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73126         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73128         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
73129         to large cancellation.
73130         * math/s_cacoshf.c: Likewise.
73131         * math/s_cacoshl.c: Likewise.
73133 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
73135         [BZ #13305]
73136         [BZ #12786]
73137         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
73138         * math/s_cacoshf.c: Likewise.
73139         * math/s_cacoshl.c: Likewise.
73141 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
73143         [BZ #13439]
73144         * iconv/gconv.h: Define __GCONV_SWAP.
73145         * iconvdata/unicode.c: The swap bit must be stored in __flags.
73146         * iconvdata/utf-16.c: Likewise.
73147         * iconvdata/utf-32.c: Likewise.
73149 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
73151         [BZ #13524]
73152         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
73153         numerator after shifting it by one limb.
73155 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
73157         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
73158         under [__USE_EXTERN_INLINES].
73160 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73162         [BZ #13446]
73163         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
73165 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73167         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
73168         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
73169         optimized code.
73170         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
73171         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
73172         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
73173         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
73174         for strncasecmp/strncasecmp_l compilation.
73175         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
73176         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
73178 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
73180         [BZ #13484]
73181         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
73182         of __asm__.
73184 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73186         [BZ #13506]
73187         * time/tzfile.c (__tzfile_read): Check values from file header.
73189 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
73191         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
73192         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
73193         * powerpc/powerpc32/dl-start.S: Likewise.
73194         * powerpc/powerpc32/elf/start.S: Likewise.
73195         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
73196         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
73197         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
73198         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
73199         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
73200         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
73201         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
73202         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
73203         * powerpc/powerpc32/fpu/s_round.S: Likewise.
73204         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
73205         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
73206         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
73207         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
73208         * powerpc/powerpc32/memset.S: Likewise.
73209         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
73210         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
73211         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
73212         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
73213         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
73214         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
73215         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
73216         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
73217         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
73218         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
73219         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
73220         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73221         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73223 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73225         * math/libm-test.inc: Added more nearbyint tests.
73226         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
73227         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
73228         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
73229         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
73231 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
73233         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
73234         FD_CLOEXEC.
73236 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73238         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
73239         Add wcscpy-ssse3 wcscpy-c.
73240         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
73241         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
73242         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
73243         * sysdeps/x86_64/wcschr.S: New file.
73244         * sysdeps/x86_64/wcsrchr.S: New file.
73245         * string/test-strcmp.c: Remove checking of wcscmp function for
73246         wrong alignments.
73247         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
73248         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
73249         wcsrchr-sse2 wcsrchr-c.
73250         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
73251         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
73252         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
73253         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
73254         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
73255         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
73256         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
73257         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
73258         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
73259         * wcsmbc/wcschr.c (WCSCHR): New macro.
73261 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73263         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
73264         * wcsmbs/test-wcsrchr.c: New file.
73265         * string/test-strrchr.c: Add wcsrchr support.
73266         (WIDE): New macro.
73267         * wcsmbs/test-wcscpy.c: New file.
73268         * string/test-strcpy.c: Add wcscpy support.
73269         (WIDE): New macro.
73271 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
73273         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
73274         the inner loop.
73276 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
73278         [BZ #13472]
73279         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
73281 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
73283         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
73284         Minor optimizations.
73286         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
73287         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
73288         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
73290 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
73292         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
73293         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
73294         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
73295         for gcc to avoid warnings.
73296         * inet/Makefile (tests): Add tst-checks.
73297         * inet/tst-checks.c: New file.
73299         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
73300         warning.
73302         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
73303         __wmemcmp_sse2.
73305         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
73306         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
73308         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
73310 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
73312         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
73313         problem.
73315         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
73317 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
73319         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
73320         conditional on GCC version.
73321         (__arch_compare_and_exchange_val_8_acq)
73322         (__arch_compare_and_exchange_val_16_acq)
73323         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
73324         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
73325         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
73327 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
73329         * sysdeps/sh/backtrace.c: New file.
73331 2011-12-02  Andreas Schwab  <schwab@redhat.com>
73333         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
73334         parenthesis.
73336 2011-12-01  Andreas Schwab  <schwab@redhat.com>
73338         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
73339         falling back to utime.
73341 2011-11-30  Andreas Schwab  <schwab@redhat.com>
73343         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
73344         expectations for float.
73346 2011-11-29  Andreas Schwab  <schwab@redhat.com>
73348         * locale/weight.h (findidx): Add parameter len.
73349         * locale/weightwc.h (findidx): Likewise.
73350         * posix/fnmatch_loop.c (FCT): Adjust caller.
73351         * posix/regcomp.c (build_equiv_class): Likewise.
73352         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
73353         * posix/regexec.c (check_node_accept_bytes): Likewise.
73354         * string/strcoll_l.c (STRCOLL): Likewise.
73355         * string/strxfrm_l.c (STRXFRM): Likewise.
73357 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
73359         * Makefile.in: Remove CVSOPT handling.
73360         * configure.in: Remove use of AC_REVISION.
73361         * iconvdata/Makefile (distribute): No need to filter out CVS.
73362         * scripts/list-sources.sh: Remove CVS, subversion and monotone
73363         handling.
73365 2011-11-16  Andreas Schwab  <schwab@redhat.com>
73367         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
73368         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
73369         [USE_AS_STRNCASECMP_L]: Likewise.
73370         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
73371         NO_TLS_DIRECT_SEG_REFS.
73372         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
73373         Fix argument offsets for non-PIC.
73374         [USE_AS_STRNCASECMP_L]: Likewise.
73375         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
73376         NO_TLS_DIRECT_SEG_REFS.
73378 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73380         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
73381         O_CLOEXEC.
73382         * locale/loadlocale.c (_nl_load_locale): Likewise.
73384 2011-11-15  Andreas Schwab  <schwab@redhat.com>
73386         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
73387         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
73388         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
73389         (SYSCALL_GETTIME): Set errno on error.
73391         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
73392         count references to noai6ai_cached.
73394 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73396         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
73398         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
73399         FD_CLOEXEC for /proc/self/maps.
73401         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
73402         FD_CLOEXEC for /proc/meminfo.
73404         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
73405         gai.conf.
73407         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
73408         FD_CLOEXEC for given file.
73410         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
73412         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
73413         FD_CLOEXEC for /etc/hosts.
73414         (_gethtent): Likewise.
73416         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
73418         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
73419         cancellation and set FD_CLOEXEC for /etc/netgroup.
73421         * nss/nss_files/files-key.c (search): Don't allow cancellation when
73422         reading /etc/publickey.
73424         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
73425         allow cancellation when reading /etc/group.
73427         * nss/nss_files/files-alias.c (internal_setent): Don't allow
73428         cancellation.
73429         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
73431         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
73432         when using data file.
73434         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
73436         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
73437         (write_nis_obj): Use "c" and "e" in fopen.
73439         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
73441         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
73443         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
73445         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
73447         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
73448         locale.alias.
73450         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
73452         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
73454         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
73456         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
73457         file parsing and set FD_CLOEXEC.
73459 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73461         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
73463 2011-11-14  Andreas Schwab  <schwab@redhat.com>
73465         * malloc/arena.c (arena_get2): Don't call reused_arena when
73466         _int_new_arena failed.
73468 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73470         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
73471         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
73472         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
73473         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73474         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73475         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
73476         to compile strcasecmp and strncasecmp.
73477         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
73478         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
73480         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
73482 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
73484         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
73485         locale-defines.sym to gen-as-const-headers.
73486         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
73487         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
73488         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
73489         to compile strcasecmp and strncasecmp.
73490         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
73491         strcasecmp_l and strncasecmp_l.
73492         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
73493         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
73494         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
73495         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
73496         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
73497         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
73498         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
73499         * sysdeps/i386/i686/multiarch/strncase.S: New file.
73500         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
73501         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
73502         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
73504 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
73506         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
73507         result of SYSDEP_GETTIME_CPU to retval.
73508         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
73509         parameter list to macro.  Remove trailing semicolon.  Adjust users.
73511         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
73512         variable.
73514         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
73515         mantissa words.
73516         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
73518         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
73519         from unused variable.
73521         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
73522         DWARF definitions.
73523         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
73524         for assembling.
73526         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
73527         over namespaces.
73529         * sunrpc/rpc_prot.c (rejected): Fix case value.
73531         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
73532         unsigned long long int to avoid warnings in shift.
73534         * posix/regex_internal.c (re_string_reconstruct): Actually use result
73535         of use of trans.
73536         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
73537         variable tmp.
73539         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
73540         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
73541         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
73543         * nis/nis_table.c (nis_list): Use variable of correct type for
73544         result of __follow_path call.
73546 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73548         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
73549         of math functions ceil, trunc, floor, round, and sqrt, when
73550         avaliable on the platform.
73551         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
73552         name clash.
73553         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
73554         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
73555         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
73557 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
73559         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
73560         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
73562 2011-11-11  Roland McGrath  <roland@hack.frob.com>
73564         * include/unistd.h: Fix __readlink return type.
73565         Reported by Chris Metcalf <cmetcalf@tilera.com>.
73567 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
73569         * stdlib/ucontext.h: Undo last change for makecontext.
73571 2011-11-11  Andreas Schwab  <schwab@redhat.com>
73573         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
73575         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
73576         * setjmp/setjmp.h: Mark functions as non-leaf.
73577         * setjmp/bits/setjmp2.h: Likewise.
73578         * stdlib/ucontext.h: Likewise.
73580 2011-11-10  Andreas Schwab  <schwab@redhat.com>
73582         * malloc/arena.c (_int_new_arena): Don't increment narenas.
73583         (reused_arena): Don't check arena limit.
73584         (arena_get2): Atomically check arena limit.
73586 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
73588         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
73589         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
73591         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
73592         instructions.
73594 2011-11-07  Andreas Schwab  <schwab@redhat.com>
73596         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
73597         handler when locking.
73599         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
73600         Fix size of allocated buffer.
73602 2011-11-04  Andreas Schwab  <schwab@redhat.com>
73604         [BZ #10103]
73605         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
73606         declarations for long double functions.
73607         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
73609         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
73611 2011-11-03  Andreas Schwab  <schwab@redhat.com>
73613         * nscd/nscd.c (main): Don't start AVC thread until credentials are
73614         installed.
73616         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
73617         is disabled.
73619 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73621         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
73623 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
73625         * include/alloca.h (stackinfo_alloca_round): Define.
73626         (extend_alloca): Use it.
73627         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
73628         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
73629         here.
73631         * scripts/check-local-headers.sh: Ignore libaudit.h.
73633         * nscd/Makefile (extra-objs): Make recursively expanded.
73635 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
73637         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
73638         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
73640         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
73641         * posix/tst-rfc3484-2.c: Likewise.
73642         * posix/tst-rfc3484-3.c: Likewise.
73644         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
73645         process_vm_writev.
73646         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
73647         process_vm_writev.
73648         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
73649         process_vm_writev from libc using GLIBC_2.15 version.
73651         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
73653 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
73655         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
73656         stack usage.
73658 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
73660         [BZ #13367]
73661         * nss/getent.c (initgroups_keys): Show error message in case no group
73662         names are given.
73664         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
73665         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
73666         __bump_nl_timestamp.
73667         * nscd/connections (nscd_init): When host database is served open
73668         netlink socket and request notification about configuration changes.
73669         (main_loop_poll): Track netlink file descriptor and bump timestamp
73670         in case data becomes available.
73671         (main_loop_epoll): Likewise.
73672         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
73673         (database_pers_head): Add extra_data fileds.
73674         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
73675         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
73676         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
73677         Adjust caller.
73678         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
73679         in6ai data, call __free_in6ai.
73680         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
73681         Add -DHAVE_NETLINK.
73682         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
73683         interface information.  Reuse previous data if netlink timestamp
73684         is not changed.
73685         (__bump_nl_timestamp): New function.
73686         (__free_in6ai): New function.
73688 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
73690         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
73691         close_not_cancel_no_status here.
73692         (__check_pf): Reorganize code a bit to not call close twice if OOM.
73694 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
73696         [BZ #13276]
73697         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
73698         return value.
73700         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
73701         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
73702         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
73704 2011-07-03  Andreas Jaeger  <aj@suse.de>
73706         [BZ #10709]
73707         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
73708         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
73709         * math/libm-test.inc (sin_test): Add test case.
73711 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
73713         [BZ #13337]
73714         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
73715         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
73717         * elf/chroot_canon.c (chroot_canon): Cleanups.
73719         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
73721         [BZ #13335]
73722         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
73723         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
73725         * string/test-strchr.c: Make usable for strchrnul testing.
73726         * string/test-strchrnul.c: New file.
73727         * string/Makefile (strop-tests): Add strchrnul.
73729         * po/it.po: Update from translation team.
73730         * po/es.po: Likewise.
73732 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
73734         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
73735         the three constants needed as parameters.  Drop the others.
73736         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
73737         __m128i_strloadu_tolower.
73738         Create and initialize variable zero and use it in all the places
73739         where _mm_setzero_si128 was used.
73741         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
73742         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
73743         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
73744         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
73745         anymore.
73746         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
73747         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
73748         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
73749         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
73750         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
73751         __mpranred, __mptan.
73752         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
73753         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
73754         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
73755         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
73756         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
73757         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
73758         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
73759         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
73760         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
73762 2011-10-28  Andreas Schwab  <schwab@redhat.com>
73764         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
73765         redefine if SHARED.
73766         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
73768         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
73769         wide char related routines to wcsmbs subdir.
73771 2011-10-27  Andreas Schwab  <schwab@redhat.com>
73773         [BZ #13344]
73774         * misc/sys/cdefs.h (__THROWNL): Define.
73775         * posix/unistd.h: Use __THREADNL instead of __THREAD
73776         for memory synchronization functions.
73778 2011-10-26  Roland McGrath  <roland@hack.frob.com>
73780         [BZ #13349]
73781         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
73782         doesn't exist.
73783         * manual/stdio.texi (Obstack Streams): Node removed.
73785 2011-10-26  Andreas Schwab  <schwab@redhat.com>
73787         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
73788         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73789         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73791         * math/math_private.h (math_force_eval): Allow non-addressable
73792         arguments.
73793         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
73795 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73797         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
73798         file is not needed.
73800         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
73801         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
73802         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73803         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73804         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73805         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73806         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73807         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
73808         Add AVX variants.
73809         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
73810         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
73811         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
73812         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
73813         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
73814         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
73815         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
73816         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
73817         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
73818         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
73819         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
73820         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
73821         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
73822         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
73823         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
73824         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
73825         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
73826         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
73827         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
73829         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
73830         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
73832         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
73833         place.  Use VEX encoding when compiling for AVX.
73835 2011-10-25  Andreas Schwab  <schwab@redhat.com>
73837         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
73838         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
73840         * string/test-strchr.c (do_test): Don't generate NUL bytes.
73842 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73844         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
73845         useless if() expression.
73846         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73847         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
73848         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
73849         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73850         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
73851         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73852         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73853         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73854         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
73855         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73856         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73857         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73858         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
73859         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73860         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
73861         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73862         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73863         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73864         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
73866         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
73868 2011-10-25  Andreas Schwab  <schwab@redhat.com>
73870         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
73871         condition.
73872         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73874 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73876         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
73877         .text section.  Avoid duplicate constants.
73878         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73879         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73880         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73881         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73882         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73883         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73884         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73885         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73886         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
73887         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
73888         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
73889         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73890         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
73891         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
73892         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
73893         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
73894         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
73895         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
73896         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73897         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73898         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73899         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73900         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73901         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
73902         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
73903         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
73904         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
73905         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
73906         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
73907         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
73908         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
73909         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
73910         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
73911         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
73912         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
73913         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
73914         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
73915         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
73916         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
73917         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
73918         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
73919         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
73920         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
73921         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
73922         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
73924 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
73926         * sysdeps/x86_64/dla.h: Move to ...
73927         * sysdeps/x86_64/fpu/dla.h: ...here.
73928         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
73929         situations.  Use __builtin_fma only for gcc 4.6 and up.
73931         * config.make.in: Add have-mfma4 entry.
73932         * configure.in: Substitute libc_cv_cc_fma4.
73933         * math/Makefile (dbl-only-routines): Add sincostab.
73934         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
73935         Use __sincostab not sincos.
73936         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
73937         name is a macro.
73938         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73939         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73940         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73941         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
73942         using __copysign.
73943         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
73944         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
73945         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
73946         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
73947         and __inv.
73948         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
73949         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
73950         __copysign.
73951         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
73952         define aliases when function name is a macro.
73953         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
73954         sysdeps/ieee754/dbl-64/sincos.tbl.
73955         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
73956         fma4-enabled routines.
73957         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
73958         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
73959         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
73960         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
73961         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
73962         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
73963         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
73964         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
73965         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
73966         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
73967         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
73968         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
73969         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
73970         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
73971         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
73972         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
73973         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
73974         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
73975         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
73976         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
73977         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
73978         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
73979         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
73980         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
73981         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
73982         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
73983         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
73984         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
73985         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
73986         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
73988         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
73989         rename.
73990         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73991         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73992         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73993         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73994         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73995         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73996         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73997         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73999 2011-10-24  Andreas Schwab  <schwab@redhat.com>
74001         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
74003 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74005         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
74007         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
74008         prediction.
74009         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
74011         * string/strnlen.c: Don't define STRNLEN, reverse logic.
74012         Remove unused variable magic_bits.
74013         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
74015         * string/strnlen.c: Define and use STRNLEN macro.
74016         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
74017         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
74018         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
74019         * wcsmbs/wcslen.c: Define and use WCSLEN.
74020         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
74021         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
74022         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
74023         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
74024         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
74025         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
74026         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
74028 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74030         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74031         strnlen-sse2-no-bsf.
74032         Rename strlen-no-bsf to strlen-sse2-no-bsf.
74033         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
74034         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
74035         Add strnlen support.
74036         (USE_AS_STRNLEN): New macro.
74037         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
74038         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
74039         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
74040         * sysdeps/x86_64/wcslen.S: New file.
74042 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
74044         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74045         XMM-moves are used for copying on small sizes.
74047 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74049         * wcsmbs/Makefile (strop-tests): Add wcschr.
74050         * wcsmbs/test-wcschr.c: New file.
74051         * string/test-strchr.c: Update.
74052         Add wcschr support.
74053         (WIDE): New macro.
74055 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74057         * wcsmbs/Makefile (strop-tests): Add wcslen.
74058         * wcsmbs/test-wcslen.c: New file.
74059         * string/test-strlen.c: Update.
74060         Add wcslen support.
74061         (WIDE): New macro.
74063 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74065         * po/it.po: Update from translation team.
74067 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74069         * sysdeps/x86_64/wcscmp.S: Update.
74070         Fix wrong comparison semantics.
74071         wcscmp shall use signed comparison not unsigned.
74072         Don't use substraction to avoid overflow bug.
74073         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
74074         * wcsmbc/wcscmp.c: Likewise.
74075         * string/test-strcmp.c: Likewise.
74076         Add new tests to check cases with negative values.
74078 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74080         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
74081         * sysdeps/x86_64/dla.h: ...here.  New file.
74082         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
74083         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74084         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74085         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74086         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74087         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74088         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74089         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74090         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74092 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
74094         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
74095         __ynl_finite aliases.
74097 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
74099         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74101         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
74102         define DLA_FMA.
74103         [DLA_FMA] (EMULV): Use DLA_FMA.
74104         [DLA_FMA] (MUL12): Use EMULV.
74105         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
74106         that are not needed.
74107         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74108         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74109         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74110         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74111         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74112         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74113         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74115 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
74117         * math/s_nan.c: Undef __nan.
74118         * math/s_nanf.c: Undef __nanf.
74119         * math/s_nanl.c: Undef __nanl.
74120         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
74121         "math_private.h".
74123 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
74125         * math/s_catan.c: Add branch predictions.
74126         * math/s_catanf.c: Likewise.
74127         * math/s_catanh.c: Likewise.
74128         * math/s_catanhf.c: Likewise.
74129         * math/s_catanhl.c: Likewise.
74130         * math/s_catanl.c: Likewise.
74131         * math/s_cexp.c: Likewise.
74132         * math/s_cexpf.c: Likewise.
74133         * math/s_cexpl.c: Likewise.
74134         * math/s_clog.c: Likewise.
74135         * math/s_clog10.c: Likewise.
74136         * math/s_clog10f.c: Likewise.
74137         * math/s_clog10l.c: Likewise.
74138         * math/s_clogf.c: Likewise.
74139         * math/s_clogl.c: Likewise.
74140         * math/s_csqrt.c: Likewise.
74141         * math/s_csqrtf.c: Likewise.
74142         * math/s_csqrtl.c: Likewise.
74143         * math/s_ctanf.c: Likewise.
74144         * math/s_ctanh.c: Likewise.
74145         * math/s_ctanhf.c: Likewise.
74146         * math/s_ctanhl.c: Likewise.
74147         * math/s_ctanl.c: Likewise.
74149         * math/math_private.h: Define __nan, __nanf, __nanl.
74150         * math/s_cacosh.c: Include <math_private.h>.
74151         * math/s_cacoshl.c: Likewise.
74152         * math/s_casinh.c: Likewise.
74153         * math/s_casinhf.c: Likewise.
74154         * math/s_casinhl.c: Likewise.
74155         * math/s_ccos.c: Rely entire on ccosh.
74156         * math/s_ccosf.c: Rely entire on ccoshf.
74157         * math/s_ccosl.c: Rely entirely on ccoshl.
74158         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
74159         Remove tests for FE_INVALID.
74160         * math/s_ccoshf.c: Likewise.
74161         * math/s_ccoshl.c: Likewise.
74162         * math/s_csin.c: Likewise.
74163         * math/s_csinf.c: Likewise.
74164         * math/s_csinh.c Likewise.
74165         * math/s_csinhf.c: Likewise.
74166         * math/s_csinhl.c: Likewise.
74167         * math/s_csinl.c: Likewise.
74168         * math/s_ctan.c: Likewise.
74169         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
74170         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
74171         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
74173 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
74175         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
74176         compilation problems.
74178         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
74179         __builtin_expect.
74181 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
74183         * sysdeps/i386/configure.in: Test for -mfma4 option.
74184         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
74185         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
74186         COMMON_CPUID_INDEX_80000001.
74187         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
74188         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
74189         use it if FMA3 is not supported.
74190         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
74192         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
74193         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
74195 2011-10-20  Andreas Schwab  <schwab@redhat.com>
74197         [BZ #12892]
74198         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
74199         it would create a cycle with a link time dependency.
74201 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
74203         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
74204         instruction.
74205         * string/Makefile (strop-tests): Add rawmemchr.
74206         * string/test-rawmemchr.c: New file.
74208         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
74209         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
74210         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
74211         when compiling str{,n}casecmp and when AVX is available.  Hook up
74212         new optimized code in initializers.
74214 2011-10-19  Andreas Schwab  <schwab@redhat.com>
74216         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
74217         __feraiseexcept instead of feraiseexcept.
74219 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
74221         * math/math_private.h: Define defaults for libc_fetestexcept and
74222         libc_feupdateenv.
74223         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
74224         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
74225         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
74226         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74227         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
74228         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74229         libc_fetestexcept and libc_feupdateenv.
74231         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
74232         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
74233         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
74234         * sysdeps/x86_64/fpu/math_private.h: Define special version of
74235         libc_feholdexcept_setround.
74237         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
74238         Add s_nearbyint-c and s_nearbyintf-c.
74239         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
74240         nearbyintf inlines.
74241         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
74242         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
74243         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
74244         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
74246         * math/math_private.h: Define defaults for libc_fegetround,
74247         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
74248         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
74249         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
74250         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
74251         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
74252         standard functions.
74253         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
74254         Remove comments and hacks for old compiler versions.
74255         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74256         libc_fegetround, libc_fesetround, libc_feholdexcept, and
74257         libc_feholdexceptl.
74259 2011-10-18  Andreas Schwab  <schwab@redhat.com>
74261         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
74262         (__feraiseexcept_renamed): Add __NTH.
74263         (feraiseexcept): Add __NTH.  Rename local variables to fix
74264         namespace violations.
74266 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
74268         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
74270         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
74272         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
74273         recently added interfaces.
74274         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
74276         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
74277         about macro parameter expansion.
74279         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
74280         __NO_MATH_INLINES is defined.  Cleanups.
74282         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
74283         and __floorf is target has SSE4.1.
74284         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
74285         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
74286         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
74287         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
74289         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
74290         name.
74291         (floorf): Likewise.
74293         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
74295 2011-10-17  Andreas Schwab  <schwab@redhat.com>
74297         * misc/sys/cdefs.h: Fix last change.
74299         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
74300         database lookup.
74302 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
74304         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
74306         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
74307         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74308         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
74309         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74310         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74311         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
74312         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74313         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74314         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
74315         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
74316         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
74317         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
74318         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
74319         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
74320         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
74321         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
74322         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
74323         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
74324         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
74325         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
74326         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
74327         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
74329         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
74330         ceil, ceilf, floor, floorf.
74332         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
74333         Perform IRELATIVE relocations last.
74335         * elf/do-rel.h: Add another parameter nrelative, replacing the
74336         local variable with the same name.  Change name of the function
74337         to end in Rel or Rela (uppercase).
74338         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
74339         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
74340         elf_dynamic_do_##reloc function.
74342 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74344         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
74345         is sufficient, at least on modern CPUs.
74347         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
74349         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
74350         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
74352         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
74353         __expl_finite.
74354         * math/bits/math-finite.h: Add entries for exp.
74355         * math/e_expl.c: Add __*_finite alias.
74356         * sysdeps/i386/fpu/e_exp.S: Likewise.
74357         * sysdeps/i386/fpu/e_expf.S: Likewise.
74358         * sysdeps/i386/fpu/e_expl.c: Likewise.
74359         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74360         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74361         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
74362         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
74363         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
74364         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
74365         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
74367         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
74368         is sufficient, at least on modern CPUs.
74370         * ctype/ctype-info.c (__ctype_init): Define.
74371         * include/ctype.h (__ctype_init): Declare.
74372         (__ctype_b_loc): The variable is always initialized.
74373         (__ctype_toupper_loc): Likewise.
74374         (__ctype_tolower_loc): Likewise.
74375         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
74376         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
74378 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
74380         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
74382         * configure.in: Also look in $cxxmachine/include for C++ system
74383         headers.
74385 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74387         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
74388         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
74389         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
74390         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
74391         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
74392         (USE_AS_WMEMCMP): New macro.
74393         Fixing indents.
74394         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
74395         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
74396         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
74397         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
74398         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74399         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
74400         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
74401         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
74402         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
74403         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
74404         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
74405         (USE_AS_WMEMCMP): New macro.
74406         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
74407         * sysdeps/string/test-memcmp.c: Update.
74408         Fix simple_wmemcmp.
74409         Add new tests.
74410         * wcsmbs/wmemcmp.c: Update.
74411         (WMEMCMP): New macro.
74412         Fix overflow bug.
74414 2011-10-12  Andreas Jaeger  <aj@suse.de>
74416         [BZ #13268]
74417         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
74419 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74421         * libio/iofwide.c (do_length): Avoid warning.
74423         * ctype/ctype.h (__isctype_f): Add missing __THROW.
74425 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
74427         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
74429         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
74430         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
74431         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
74432         * sysdeps/i386/i686/fpu/e_log.S: New file.
74433         * sysdeps/i386/i686/fpu/e_logf.S: New file.
74434         * sysdeps/i386/i686/fpu/e_logl.S: New file.
74436         * ctype/ctype.h: Add support for inlined isXXX functions when
74437         compiling C++ code.
74439 2011-10-14  Andreas Schwab  <schwab@redhat.com>
74441         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74443         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
74445 2011-10-13  Roland McGrath  <roland@hack.frob.com>
74447         [BZ #13291]
74448         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
74450 2011-10-13  Andreas Schwab  <schwab@redhat.com>
74452         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
74453         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
74454         feraiseexcept.
74456         * sysdeps/x86_64/memrchr.S: Check for zero size.
74458         * string/stratcliff.c: Add memrchr tests.
74460 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74462         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74463         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
74464         rawmemchr-sse2 rawmemchr-sse2-bsf.
74465         * sysdeps/i386/i686/multiarch/memchr.S: New file.
74466         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
74467         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
74468         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
74469         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
74470         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
74471         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
74472         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
74473         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
74474         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
74475         * string/memrchr.c (MEMRCHR): New macro.
74477 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
74479         Add integration with gcc's -ffinite-math-only and optimize wrapper
74480         functions in libm.
74481         * Versions.def: Define GLIBC_2.15 version for libm.
74482         * math/Makefile (headers): Add bits/math-finite.h.
74483         * math/bits/math-finite.h: New file.
74484         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
74485         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
74486         * math/e_acoshl.c: Add __*_finite alias.
74487         * math/e_acosl.c: Likewise.
74488         * math/e_asinl.c: Likewise.
74489         * math/e_atan2l.c: Likewise.
74490         * math/e_atanhl.c: Likewise.
74491         * math/e_coshl.c: Likewise.
74492         * math/e_exp10.c: Likewise.
74493         * math/e_exp10f.c: Likewise.
74494         * math/e_exp10l.c: Likewise.
74495         * math/e_exp2l.c: Likewise.
74496         * math/e_fmodl.c: Likewise.
74497         * math/e_gammal_r.c: Likewise.
74498         * math/e_hypotl.c: Likewise.
74499         * math/e_j0l.c: Likewise.
74500         * math/e_j1l.c: Likewise.
74501         * math/e_jnl.c: Likewise.
74502         * math/e_lgammal_r.c: Likewise.
74503         * math/e_log10l.c: Likewise.
74504         * math/e_log2l.c: Likewise.
74505         * math/e_logl.c: Likewise.
74506         * math/e_powl.c: Likewise.
74507         * math/e_sinhl.c: Likewise.
74508         * math/e_sqrtl.c: Likewise.
74509         * math/e_scalb.c: Completely rewritten and optimized.
74510         * math/e_scalbf.c: Likewise.
74511         * math/e_scalbl.c: Likewise.
74512         * math/w_acos.c: Likewise.
74513         * math/w_acosf.c: Likewise.
74514         * math/w_acosl.c: Likewise.
74515         * math/w_acosh.c: Likewise.
74516         * math/w_acoshf.c: Likewise.
74517         * math/w_acoshl.c: Likewise.
74518         * math/w_asin.c: Likewise.
74519         * math/w_asinf.c: Likewise.
74520         * math/w_asinl.c: Likewise.
74521         * math/w_atan2.c: Likewise.
74522         * math/w_atan2f.c: Likewise.
74523         * math/w_atan2l.c: Likewise.
74524         * math/w_atanh.c: Likewise.
74525         * math/w_atanhf.c: Likewise.
74526         * math/w_atanhl.c: Likewise.
74527         * math/w_exp10.c: Likewise.
74528         * math/w_exp10f.c: Likewise.
74529         * math/w_exp10l.c: Likewise.
74530         * math/w_fmod.c: Likewise.
74531         * math/w_fmodf.c: Likewise.
74532         * math/w_fmodl.c: Likewise.
74533         * math/w_j0.c: Likewise.
74534         * math/w_j0f.c: Likewise.
74535         * math/w_j0l.c: Likewise.
74536         * math/w_j1.c: Likewise.
74537         * math/w_j1f.c: Likewise.
74538         * math/w_j1l.c: Likewise.
74539         * math/w_jn.c: Likewise.
74540         * math/w_jnf.c: Likewise.
74541         * math/w_log.c: Likewise.
74542         * math/w_logf.c: Likewise.
74543         * math/w_logl.c: Likewise.
74544         * math/w_log10.c: Likewise.
74545         * math/w_log10f.c: Likewise.
74546         * math/w_log10l.c: Likewise.
74547         * math/w_log2.c: Likewise.
74548         * math/w_log2f.c: Likewise.
74549         * math/w_log2l.c: Likewise.
74550         * math/w_pow.c: Likewise.
74551         * math/w_powf.c: Likewise.
74552         * math/w_powl.c: Likewise.
74553         * math/w_remainder.c: Likewise.
74554         * math/w_remainderf.c: Likewise.
74555         * math/w_remainderl.c: Likewise.
74556         * math/w_scalb.c: Likewise.
74557         * math/w_scalbf.c: Likewise.
74558         * math/w_scalbl.c: Likewise.
74559         * math/w_sqrt.c: Likewise.
74560         * math/w_sqrtf.c: Likewise.
74561         * math/w_sqrtl.c: Likewise.
74562         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
74563         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
74564         used.
74565         * math/math_private.h: Declare __kernel_standard_f.
74566         * math/w_cosh.c: Remove cruft and optimize a bit.
74567         * math/w_coshf.c: Likewise.
74568         * math/w_coshl.c: Likewise.
74569         * math/w_exp2.c: Likewise.
74570         * math/w_exp2f.c: Likewise.
74571         * math/w_exp2l.c: Likewise.
74572         * math/w_hypot.c: Likewise.
74573         * math/w_hypotf.c: Likewise.
74574         * math/w_hypotl.c: Likewise.
74575         * math/w_lgamma.c: Likewise.
74576         * math/w_lgamma_r.c: Likewise.
74577         * math/w_lgammaf.c: Likewise.
74578         * math/w_lgammaf_r.c: Likewise.
74579         * math/w_lgammal.c: Likewise.
74580         * math/w_lgammal_r.c: Likewise.
74581         * math/w_sinh.c: Likewise.
74582         * math/w_sinhf.c: Likewise.
74583         * math/w_sinhl.c: Likewise.
74584         * math/w_tgamma.c: Likewise.
74585         * math/w_tgammaf.c: Likewise.
74586         * math/w_tgammal.c: Likewise.
74587         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
74588         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74589         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
74590         Minor optimizations.  Pretty printing.  Remove cruft.
74591         * sysdeps/i386/fpu/e_acosf.S: Likewise.
74592         * sysdeps/i386/fpu/e_acosh.S: Likewise.
74593         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
74594         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
74595         * sysdeps/i386/fpu/e_acosl.c: Likewise.
74596         * sysdeps/i386/fpu/e_asin.S: Likewise.
74597         * sysdeps/i386/fpu/e_asinf.S: Likewise.
74598         * sysdeps/i386/fpu/e_atan2.S: Likewise.
74599         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
74600         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
74601         * sysdeps/i386/fpu/e_atanh.S: Likewise.
74602         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
74603         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
74604         * sysdeps/i386/fpu/e_exp10.S: Likewise.
74605         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
74606         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
74607         * sysdeps/i386/fpu/e_exp2.S: Likewise.
74608         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
74609         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
74610         * sysdeps/i386/fpu/e_fmod.S: Likewise.
74611         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
74612         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
74613         * sysdeps/i386/fpu/e_hypot.S: Likewise.
74614         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
74615         * sysdeps/i386/fpu/e_log.S: Likewise.
74616         * sysdeps/i386/fpu/e_log10.S: Likewise.
74617         * sysdeps/i386/fpu/e_log10f.S: Likewise.
74618         * sysdeps/i386/fpu/e_log10l.S: Likewise.
74619         * sysdeps/i386/fpu/e_log2.S: Likewise.
74620         * sysdeps/i386/fpu/e_log2f.S: Likewise.
74621         * sysdeps/i386/fpu/e_log2l.S: Likewise.
74622         * sysdeps/i386/fpu/e_logf.S: Likewise.
74623         * sysdeps/i386/fpu/e_logl.S: Likewise.
74624         * sysdeps/i386/fpu/e_pow.S: Likewise.
74625         * sysdeps/i386/fpu/e_powf.S: Likewise.
74626         * sysdeps/i386/fpu/e_powl.S: Likewise.
74627         * sysdeps/i386/fpu/e_remainder.S: Likewise.
74628         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
74629         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
74630         * sysdeps/i386/fpu/e_scalb.S: Likewise.
74631         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
74632         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
74633         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
74634         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
74635         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
74636         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
74637         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74638         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74639         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
74640         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
74641         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
74642         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
74643         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
74644         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74645         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
74646         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
74647         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
74648         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74649         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
74650         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
74651         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74652         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
74653         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
74654         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74655         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74656         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
74657         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
74658         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
74659         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
74660         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
74661         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
74662         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
74663         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
74664         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
74665         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
74666         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74667         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
74668         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
74669         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
74670         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
74671         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
74672         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
74673         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
74674         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
74675         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
74676         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
74677         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
74678         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
74679         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
74680         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
74681         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
74682         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
74683         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
74684         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
74685         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
74686         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
74687         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
74688         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
74689         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
74690         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
74691         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
74692         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
74693         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
74694         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
74695         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
74696         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
74697         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
74698         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
74699         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
74700         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
74701         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
74702         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
74703         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
74704         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
74705         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
74706         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
74707         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
74708         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
74709         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
74710         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
74711         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74712         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
74713         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
74714         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
74715         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
74716         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74717         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
74718         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
74719         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
74720         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74721         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
74722         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
74723         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
74724         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
74725         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
74726         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
74727         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
74728         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
74729         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
74730         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
74731         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
74732         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
74733         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
74734         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
74735         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
74736         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
74737         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
74738         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
74739         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
74740         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
74741         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
74742         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
74743         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74744         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
74745         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
74746         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
74747         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
74748         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
74749         (__isnanf): Likewise.
74750         (__isinf_ns): Likewise.
74751         (__isinf_nsf): Likewise.
74752         (__finite): Likewise.
74753         (__finitef): Likewise.
74754         (__ieee754_sqrt): Define as macro.
74755         (__ieee754_sqrtf): Define as macro.
74756         (__ieee754_sqrtl): Define as macro.
74757         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
74758         inlined copy.
74759         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
74760         __FINITE_MATH_ONLY__ consistent.
74761         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
74763 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
74765         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
74766         of rawmemchr.
74768         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
74770 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
74772         * po/ja.po: Update from translation team.
74774 2011-10-08  Roland McGrath  <roland@hack.frob.com>
74776         * locale/programs/locarchive.c (prepare_address_space): New function.
74777         (create_archive, enlarge_archive, open_archive): Use it.
74779         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
74780         inside [SHARED], where it is used.
74782         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
74784         * nss/getent.c (netgroup_keys): Remove unused variable.
74785         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
74787 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
74789         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
74790         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
74791         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
74792         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
74793         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
74794         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
74795         * math/Makefile (libm-calls): Add s_isinf_ns.
74796         * math/divtc3.c: Use __isinf_nsl instead of isinf.
74797         * math/multc3.c: Likewise.
74798         * math/s_casin.c: Likewise.
74799         * math/s_casinf.c: Likewise.
74800         * math/s_casinl.c: Likewise.
74801         * math/s_ccos.c: Likewise.
74802         * math/s_ccosf.c: Likewise.
74803         * math/s_ccosl.c: Likewise.
74804         * math/s_ctan.c: Likewise.
74805         * math/s_ctanf.c: Likewise.
74806         * math/s_ctanh.c: Likewise.
74807         * math/s_ctanhf.c: Likewise.
74808         * math/s_ctanhl.c: Likewise.
74809         * math/s_ctanl.c: Likewise.
74810         * math/w_fmod.c: Likewise.
74811         * math/w_fmodf.c: Likewise.
74812         * math/w_fmodl.c: Likewise.
74813         * math/w_remainder.c: Likewise.
74814         * math/w_remainderf.c: Likewise.
74815         * math/w_remainderl.c: Likewise.
74816         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
74817         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
74818         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
74819         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
74820         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
74821         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
74822         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
74823         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
74825         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
74826         of the number.
74827         * stdio-common/printf_fphex.c: Likewise.
74828         * stdio-common/printf_size.c: Likewise.
74830         * math/e_exp10.c: Include math_private.h using <...> not "...".
74831         * math/e_exp10f.c: Likewise.
74832         * math/e_exp10l.c: Likewise.
74833         * math/e_exp2l.c: Likewise.
74834         * math/e_j0l.c: Likewise.
74835         * math/e_j1l.c: Likewise.
74836         * math/e_jnl.c: Likewise.
74837         * math/e_lgammal_r.c: Likewise.
74838         * math/e_rem_pio2l.c: Likewise.
74839         * math/e_scalb.c: Likewise.
74840         * math/e_scalbf.c: Likewise.
74841         * math/e_scalbl.c: Likewise.
74842         * math/k_cosl.c: Likewise.
74843         * math/k_sinl.c: Likewise.
74844         * math/k_tanl.c: Likewise.
74845         * math/s_cacoshf.c: Likewise.
74846         * math/s_catan.c: Likewise.
74847         * math/s_catanf.c: Likewise.
74848         * math/s_catanh.c: Likewise.
74849         * math/s_catanhf.c: Likewise.
74850         * math/s_catanhl.c: Likewise.
74851         * math/s_catanl.c: Likewise.
74852         * math/s_ccosh.c: Likewise.
74853         * math/s_ccoshf.c: Likewise.
74854         * math/s_ccoshl.c: Likewise.
74855         * math/s_cexp.c: Likewise.
74856         * math/s_cexpf.c: Likewise.
74857         * math/s_cexpl.c: Likewise.
74858         * math/s_clog.c: Likewise.
74859         * math/s_clog10.c: Likewise.
74860         * math/s_clog10f.c: Likewise.
74861         * math/s_clog10l.c: Likewise.
74862         * math/s_clogf.c: Likewise.
74863         * math/s_clogl.c: Likewise.
74864         * math/s_csin.c: Likewise.
74865         * math/s_csinf.c: Likewise.
74866         * math/s_csinh.c: Likewise.
74867         * math/s_csinhf.c: Likewise.
74868         * math/s_csinhl.c: Likewise.
74869         * math/s_csinl.c: Likewise.
74870         * math/s_csqrt.c: Likewise.
74871         * math/s_csqrtf.c: Likewise.
74872         * math/s_csqrtl.c: Likewise.
74873         * math/s_ctan.c: Likewise.
74874         * math/s_ctanf.c: Likewise.
74875         * math/s_ctanh.c: Likewise.
74876         * math/s_ctanhf.c: Likewise.
74877         * math/s_ctanhl.c: Likewise.
74878         * math/s_ctanl.c: Likewise.
74879         * math/s_ldexp.c: Likewise.
74880         * math/s_ldexpf.c: Likewise.
74881         * math/s_ldexpl.c: Likewise.
74882         * math/s_significand.c: Likewise.
74883         * math/s_significandf.c: Likewise.
74884         * math/s_significandl.c: Likewise.
74885         * math/w_acos.c: Likewise.
74886         * math/w_acosf.c: Likewise.
74887         * math/w_acosh.c: Likewise.
74888         * math/w_acoshf.c: Likewise.
74889         * math/w_acoshl.c: Likewise.
74890         * math/w_acosl.c: Likewise.
74891         * math/w_asin.c: Likewise.
74892         * math/w_asinf.c: Likewise.
74893         * math/w_asinl.c: Likewise.
74894         * math/w_atan2.c: Likewise.
74895         * math/w_atan2f.c: Likewise.
74896         * math/w_atan2l.c: Likewise.
74897         * math/w_atanh.c: Likewise.
74898         * math/w_atanhf.c: Likewise.
74899         * math/w_atanhl.c: Likewise.
74900         * math/w_cosh.c: Likewise.
74901         * math/w_coshf.c: Likewise.
74902         * math/w_coshl.c: Likewise.
74903         * math/w_dremf.c: Likewise.
74904         * math/w_exp10.c: Likewise.
74905         * math/w_exp10f.c: Likewise.
74906         * math/w_exp10l.c: Likewise.
74907         * math/w_exp2.c: Likewise.
74908         * math/w_exp2f.c: Likewise.
74909         * math/w_fmod.c: Likewise.
74910         * math/w_fmodf.c: Likewise.
74911         * math/w_fmodl.c: Likewise.
74912         * math/w_hypot.c: Likewise.
74913         * math/w_hypotf.c: Likewise.
74914         * math/w_hypotl.c: Likewise.
74915         * math/w_j0.c: Likewise.
74916         * math/w_j0f.c: Likewise.
74917         * math/w_j0l.c: Likewise.
74918         * math/w_j1.c: Likewise.
74919         * math/w_j1f.c: Likewise.
74920         * math/w_j1l.c: Likewise.
74921         * math/w_jn.c: Likewise.
74922         * math/w_jnf.c: Likewise.
74923         * math/w_jnl.c: Likewise.
74924         * math/w_lgamma.c: Likewise.
74925         * math/w_lgamma_r.c: Likewise.
74926         * math/w_lgammaf.c: Likewise.
74927         * math/w_lgammaf_r.c: Likewise.
74928         * math/w_lgammal.c: Likewise.
74929         * math/w_lgammal_r.c: Likewise.
74930         * math/w_log.c: Likewise.
74931         * math/w_log10.c: Likewise.
74932         * math/w_log10f.c: Likewise.
74933         * math/w_log10l.c: Likewise.
74934         * math/w_log2.c: Likewise.
74935         * math/w_log2f.c: Likewise.
74936         * math/w_log2l.c: Likewise.
74937         * math/w_logf.c: Likewise.
74938         * math/w_logl.c: Likewise.
74939         * math/w_pow.c: Likewise.
74940         * math/w_powf.c: Likewise.
74941         * math/w_powl.c: Likewise.
74942         * math/w_remainder.c: Likewise.
74943         * math/w_remainderf.c: Likewise.
74944         * math/w_remainderl.c: Likewise.
74945         * math/w_scalb.c: Likewise.
74946         * math/w_scalbf.c: Likewise.
74947         * math/w_scalbl.c: Likewise.
74948         * math/w_sinh.c: Likewise.
74949         * math/w_sinhf.c: Likewise.
74950         * math/w_sinhl.c: Likewise.
74951         * math/w_sqrt.c: Likewise.
74952         * math/w_sqrtf.c: Likewise.
74953         * math/w_sqrtl.c: Likewise.
74954         * math/w_tgamma.c: Likewise.
74955         * math/w_tgammaf.c: Likewise.
74956         * math/w_tgammal.c: Likewise.
74958         * po/ja.po: Update from translation team.
74960 2011-09-29  Andreas Jaeger  <aj@suse.de>
74962         [BZ #13179]
74963         * sunrpc/netname.c (netname2host): Fix logic.
74965         [BZ #6779]
74966         [BZ #6783]
74967         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
74968         correctly.
74969         * math/w_remainder.c (__remainder): Likewise.
74970         * math/w_remainderf.c (__remainderf): Likewise.
74971         * math/libm-test.inc (remainder_test): Add test cases.
74973 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74975         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
74976         sdiv_qrnnd.
74978 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
74980         * string/test-memcmp.c: Avoid unncessary #defines.
74981         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
74983 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74985         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
74986         Use new sse2 version for core i3 - i7 as it's faster
74987         than sse42 version.
74988         (bit_Prefer_PMINUB_for_stringop): New.
74989         * sysdeps/x86_64/rawmemchr.S: Update.
74990         Replace with faster SSE2 version.
74991         * sysdeps/x86_64/memrchr.S: New file.
74992         * sysdeps/x86_64/memchr.S: Update.
74993         Replace with faster SSE2 version.
74995 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
74997         * elf/dl-load.c (lose): Add cast to avoid warning.
74999 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75001         * po/ca.po: Update from translation team.
75003         * inet/getnetgrent_r.c: Hook up nscd.
75004         * nscd/Makefile (routines): Add nscd_netgroup.
75005         (nscd-modules): Add netgroupcache.
75006         (CFLAGS-netgroupcache.c): Define.
75007         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
75008         (cache_search): Add const to second parameter.
75009         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
75010         INNETGR.
75011         (dbs): Add netgrdb entry.
75012         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
75013         (verify_persistent_db): Handle netgrdb.
75014         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
75015         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
75016         GETFDNETGR.
75017         (netgroup_response_header): Define.
75018         (innetgroup_response_header): Define.
75019         (datahead): Add netgroup_response_header and innetgroup_response_header
75020         elements.
75021         * nscd/nscd.conf: Add entries for netgroup cache.
75022         * nscd/nscd.h (dbtype): Add netgrdb.
75023         (_PATH_NSCD_NETGROUP_DB): Define.
75024         (netgroup_iov_disabled): Declare.
75025         (xmalloc, xcalloc, xrealloc): Move declarations here.
75026         (cache_search): Adjust prototype.
75027         Add netgroup-related prototypes.
75028         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
75029         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
75030         (__nscd_innetgr): Declare.
75031         * nscd/selinux.c (perms): Use access_vector_t as element type and
75032         add netgroup-related initializers.
75033         * nscd/netgroupcache.c: New file.
75034         * nscd/nscd_netgroup.c: New file.
75035         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
75036         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
75037         For four parameters use innetgr.
75038         * nss/nss_files/files-init.c: Add definition and callback for netgr.
75039         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
75040         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
75041         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
75043         * nscd/connections.c (register_traced_file): Don't register file
75044         for disabled databases.
75046 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
75048         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
75050         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
75051         from tree and freeing node.
75053 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
75055         * nss/nsswitch.c (__nss_database_lookup): Handle
75056         nss_parse_service_list out of memory case.
75058 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
75060         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
75061         out of memory case.
75063 2011-10-04  Andreas Schwab  <schwab@redhat.com>
75065         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
75066         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
75067         pass it down.
75068         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
75069         elf_machine_rela, elf_machine_lazy_rel.
75070         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
75071         (ELF_DYNAMIC_DO_REL): Likewise.
75072         (ELF_DYNAMIC_DO_RELA): Likewise.
75073         (ELF_DYNAMIC_RELOCATE): Likewise.
75074         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
75075         to ELF_DYNAMIC_DO_REL.
75076         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
75077         (dl_main): In trace mode always set __RTLD_NOIFUNC.
75078         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
75079         elf_machine_rela.
75080         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
75081         skip_ifunc, don't call ifunc function if non-zero.
75082         (elf_machine_rela): Likewise.
75083         (elf_machine_lazy_rel): Likewise.
75084         (elf_machine_lazy_rela): Likewise.
75085         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
75086         (elf_machine_lazy_rel): Likewise.
75087         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
75088         Likewise.
75089         (elf_machine_lazy_rel): Likewise.
75090         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75091         Likewise.
75092         (elf_machine_lazy_rel): Likewise.
75093         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
75094         (elf_machine_lazy_rel): Likewise.
75095         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
75096         (elf_machine_lazy_rel): Likewise.
75097         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
75098         (elf_machine_lazy_rel): Likewise.
75099         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
75100         (elf_machine_lazy_rel): Likewise.
75101         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
75102         (elf_machine_lazy_rel): Likewise.
75103         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
75104         (elf_machine_lazy_rel): Likewise.
75106 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
75108         * nss/nss_files/files-init.c (_nss_files_init): Use static
75109         initialization for all the *_traced_file variables.
75111 2011-09-28  Andreas Schwab  <schwab@redhat.com>
75113         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75115 2011-09-27  Roland McGrath  <roland@hack.frob.com>
75117         [BZ #13226]
75118         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
75120 2011-09-27  Andreas Schwab  <schwab@redhat.com>
75122         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
75123         Reread the line before reparsing it.
75125 2011-09-26  Andreas Schwab  <schwab@redhat.com>
75127         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
75129 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
75130             Maxim Kuvyrkov  <maxim@codesourcery.com>
75131             Joseph Myers  <joseph@codesourcery.com>
75133         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
75134         if needed for __stack_chk_guard.
75136 2011-09-19  Roland McGrath  <roland@hack.frob.com>
75138         * sysdeps/posix/spawni.c (script_execute): Always define it.
75139         It will be optimized away if unused.
75140         (maybe_script_execute): New function.
75141         (__spawni): Call it.
75143         * Makerules: Don't include tls.make.
75144         (config-tls): Always set to thread.
75145         * tls.make.c: File removed.
75147 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
75149         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
75150         * config.make.in (CPPFLAGS-config): New substituted variable.
75152 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
75154         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
75156         [BZ #13192]
75157         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
75158         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
75160 2011-09-15  Roland McGrath  <roland@hack.frob.com>
75162         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
75163         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
75164         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
75165         (CALL_FAIL): Likewise.
75166         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
75167         (CALL_FAIL): Macro removed.
75168         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
75170 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
75172         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
75173         for __FINITE_MATH_ONLY__ == 1.
75175 2011-09-15  Andreas Schwab  <schwab@redhat.com>
75177         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
75178         __ieee754_sqrt instead of sqrt.
75179         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
75180         __ieee754_sqrtf instead of sqrtf.
75181         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
75182         __floorf instead of floorf.
75183         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
75184         __floorf, __truncf instead of floorf, truncf.
75186 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
75188         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
75190         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
75191         __extern_always_inline.
75192         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
75193         32-bit.
75195 2011-09-14  Andreas Schwab  <schwab@redhat.com>
75197         * elf/rtld.c (dl_main): Also relocate in dependency order when
75198         doing symbol dependency testing.
75200 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
75202         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75203         Always define `refsym'.
75205 2011-09-13  Andreas Schwab  <schwab@redhat.com>
75207         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
75208         (__FD_ELT): Renamed from __FDELT.
75209         * misc/bits/select2.h (__FD_ELT): Likewise.
75210         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
75211         __FD_MASK instead of __FDELT, __FDMASK.
75212         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75213         Likewise.
75214         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75215         Likewise.
75217         * elf/Makefile (gen-ldd): Fix pattern.
75219         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
75220         (init_tls): Likewise.
75222 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
75224         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
75226 2011-09-12  Andreas Schwab  <schwab@redhat.com>
75228         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
75229         `struct cmsghdr *' instead of `void *'.
75230         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
75231         Likewise.
75233 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
75235         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
75236         if non-absolute.
75237         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
75238         ldd_rewrite_script.
75240 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
75242         * configure.in: Remove --with-tls option.
75243         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
75244         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
75245         out in case it is missing.
75246         * sysdeps/ia64/elf/configure.in: Likewise.
75247         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
75248         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
75249         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
75250         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
75251         * sysdeps/sh/elf/configure.in: Likewise.
75252         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
75253         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
75254         * sysdeps/x86_64/elf/configure.in: Likewise.
75255         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
75256         * sysdeps/mach/hurd/tls.h: Likewise.
75258         [BZ #13067]
75259         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
75261         [BZ #13090]
75262         * configure.in: Fix use of AC_INIT.
75264         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
75266 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
75268         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
75269         __set_errno.
75270         * malloc/hooks.c: Likewise.
75272         [BZ #11929]
75273         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
75274         variables statically.
75275         (narenas): Initialize.
75276         (list_lock): Initialize.
75277         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
75278         initializtion of main_arena and list_lock.  Small cleanups.
75279         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
75280         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
75281         Add initializers to main_arena and mp_.
75282         (malloc_state): Remove pagesize member.  Change all users to use
75283         GLRO(dl_pagesize).
75285         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
75286         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
75287         is always initialized.
75289         * malloc/malloc.c: Removed unused configurations and dead code.
75290         * malloc/arena.c: Likewise.
75291         * malloc/hooks.c: Likewise.
75292         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
75294         * include/tls.h: Removed.  USE___THREAD must always be defined.
75295         * bits/libc-tsd.h: Don't handle !USE___THREAD.
75296         * elf/dl-libc.c: Likewise.
75297         * elf/dl-tsd.c: Likewise.
75298         * include/errno.h: Likewise.
75299         * include/netdb.h: Likewise.
75300         * include/resolv.h: Likewise.
75301         * inet/herrno-loc.c: Likewise.
75302         * inet/herrno.c: Likewise.
75303         * malloc/arena.c: Likewise.
75304         * malloc/hooks.c: Likewise.
75305         * malloc/malloc.c: Likewise.
75306         * resolv/res-state.c: Likewise.
75307         * resolv/res_libc.c: Likewise.
75308         * sysdeps/i386/dl-machine.h: Likewise.
75309         * sysdeps/ia64/dl-machine.h: Likewise.
75310         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
75311         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
75312         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
75313         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
75314         * sysdeps/sh/dl-machine.h: Likewise.
75315         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
75316         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
75317         * sysdeps/unix/i386/sysdep.S: Likewise.
75318         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
75319         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
75320         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
75321         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
75322         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
75323         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
75324         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
75325         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
75326         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75327         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
75328         * sysdeps/unix/x86_64/sysdep.S: Likewise.
75329         * sysdeps/x86_64/dl-machine.h: Likewise.
75330         * tls.make.c: Likewise.
75332         * configure.in: Remove --with-__thread option.  Make tests for
75333         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
75334         tls_model attribute fail if no support is available.  Remove
75335         USE_IN_LIBIO.
75336         * Makeconfig: Adjust for dropped configure option.  All features are
75337         now mandatory.
75338         * Makerules: Likewise.
75339         * Versions.def: Likewise.
75340         * argp/argp-fmtstream.c: Likewise.
75341         * argp/argp-fmtstream.h: Likewise.
75342         * argp/argp-help.c: Likewise.
75343         * assert/assert.c: Likewise.
75344         * config.h.in: Likewise.
75345         * config.make.in: Likewise.
75346         * configure: Likewise.
75347         * configure.in: Likewise.
75348         * csu/Versions: Likewise.
75349         * csu/init.c: Likewise.
75350         * elf/tst-audit2.c: Likewise.
75351         * elf/tst-tls10.c: Likewise.
75352         * elf/tst-tls10.h: Likewise.
75353         * elf/tst-tls11.c: Likewise.
75354         * elf/tst-tls12.c: Likewise.
75355         * elf/tst-tls14.c: Likewise.
75356         * elf/tst-tlsmod11.c: Likewise.
75357         * elf/tst-tlsmod12.c: Likewise.
75358         * elf/tst-tlsmod13.c: Likewise.
75359         * elf/tst-tlsmod13a.c: Likewise.
75360         * elf/tst-tlsmod14a.c: Likewise.
75361         * elf/tst-tlsmod15b.c: Likewise.
75362         * elf/tst-tlsmod16a.c: Likewise.
75363         * elf/tst-tlsmod16b.c: Likewise.
75364         * elf/tst-tlsmod7.c: Likewise.
75365         * elf/tst-tlsmod8.c: Likewise.
75366         * elf/tst-tlsmod9.c: Likewise.
75367         * gmon/gmon.c: Likewise.
75368         * grp/fgetgrent_r.c: Likewise.
75369         * grp/putgrent.c: Likewise.
75370         * hurd/fopenport.c: Likewise.
75371         * include/libc-symbols.h: Likewise.
75372         * include/tls.h: Likewise.
75373         * intl/gettextP.h: Likewise.
75374         * intl/loadinfo.h: Likewise.
75375         * locale/global-locale.c: Likewise.
75376         * locale/localeinfo.h: Likewise.
75377         * mach/devstream.c: Likewise.
75378         * malloc/arena.c: Likewise.
75379         * malloc/set-freeres.c: Likewise.
75380         * misc/err.c: Likewise.
75381         * misc/getttyent.c: Likewise.
75382         * misc/mntent_r.c: Likewise.
75383         * posix/getopt.c: Likewise.
75384         * posix/wordexp.c: Likewise.
75385         * pwd/fgetpwent_r.c: Likewise.
75386         * resolv/Versions: Likewise.
75387         * resolv/res_hconf.c: Likewise.
75388         * shadow/fgetspent_r.c: Likewise.
75389         * shadow/putspent.c: Likewise.
75390         * stdio-common/printf_fphex.c: Likewise.
75391         * stdio-common/tmpfile.c: Likewise.
75392         * stdlib/abort.c: Likewise.
75393         * stdlib/fmtmsg.c: Likewise.
75394         * sunrpc/auth_unix.c: Likewise.
75395         * sunrpc/clnt_perr.c: Likewise.
75396         * sunrpc/clnt_tcp.c: Likewise.
75397         * sunrpc/clnt_udp.c: Likewise.
75398         * sunrpc/clnt_unix.c: Likewise.
75399         * sunrpc/openchild.c: Likewise.
75400         * sunrpc/svc_simple.c: Likewise.
75401         * sunrpc/svc_tcp.c: Likewise.
75402         * sunrpc/svc_udp.c: Likewise.
75403         * sunrpc/svc_unix.c: Likewise.
75404         * sunrpc/xdr.c: Likewise.
75405         * sunrpc/xdr_array.c: Likewise.
75406         * sunrpc/xdr_rec.c: Likewise.
75407         * sunrpc/xdr_ref.c: Likewise.
75408         * sunrpc/xdr_stdio.c: Likewise.
75410 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75412         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75414 2011-07-03  Andreas Jaeger  <aj@suse.de>
75416         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
75417         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
75418         regenerate with gen-libm-tests.pl.
75420 2010-05-12  Petr Baudis  <pasky@suse.cz>
75422         [BZ #11589]
75423         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
75424         around j0() zero points by switching to j1().
75425         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75426         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75427         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75428         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75430 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75432         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
75433         instead of 0.
75434         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
75435         instead of 0.
75436         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75437         Patch in part by Pavel Roskin <proski@gnu.org>.
75439         [BZ #13138]
75440         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
75441         realloc.
75442         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
75443         Free memory block if necessary.
75445         [BZ #12847]
75446         * libio/genops.c (INTDEF): For string streams the _lock pointer can
75447         be NULL.  Don't lock in this case.
75449 2011-09-09  Roland McGrath  <roland@hack.frob.com>
75451         * elf/elf.h (ELFOSABI_GNU): New macro.
75452         (ELFOSABI_LINUX): Define to that.
75454 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
75456         * string/strncat.c (strncat): Undef the symbol in case it has been
75457         defined in bits/string.h.
75459 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75461         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
75463         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
75464         link map.
75466 2011-08-17  Andreas Jaeger  <aj@suse.de>
75468         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
75470 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
75471             Ian Lance Taylor  <iant@google.com>
75473         * math/libm-test.inc (lround_test): New testcase.
75474         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
75476 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
75478         * Makefile: Remove support for automatic cvs check-ins.
75479         * Makerules: Likewise.
75480         * config.make.in: Likewise.
75481         * configure.in: Likewise.
75482         * intl/Makefile: Likewise.
75483         * locale/Makefile: Likewise.
75484         * po/Makefile: Likewise.
75485         * posix/Makefile: Likewise.
75486         * sysdeps/gnu/Makefile: Likewise.
75487         * sysdeps/mach/hurd/Makefile: Likewise.
75488         * sysdeps/sparc/sparc32/Makefile: Likewise.
75490         [BZ #13118]
75491         * posix/Makefile (bug-regex32-ENV): Define.
75492         Patch by John Stanley <jpsinthemix@verizon.net>.
75494         * misc/Makefile (headers): Add bits/select2.h.
75495         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
75496         * misc/bits/select2.h: New file.
75497         * include/bits/select2.h: New file.
75498         * debug/Makefile (routines): Add fdelt_chk.
75499         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
75500         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
75501         FD_ISSET.
75502         * debug/fdelt_chk.c: New file.
75504         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
75505         * wcsmbs/test-wmemcmp.c: Likewise.
75506         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
75507         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
75509 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75511         * string/Makefile (strop-tests): Add memcmp.
75512         * string/test-wmemcmp.c: New file.
75513         * string/test-memcmp.c: Add wmemcmp support.
75515 2011-09-08  Roland McGrath  <roland@hack.frob.com>
75517         [BZ #13153]
75518         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
75519         2011-07-19 change.
75521         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
75522         garbage value in a __mach_port_mod_refs call in the cases of the
75523         task-self and thread-self ports.
75525 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75527         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
75529 2011-09-08  Andreas Schwab  <schwab@redhat.com>
75531         * elf/dl-load.c (lose): Check for non-null L.
75533 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
75535         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
75537         * elf/dl-libc.c (dlerror_run): Pass back error code from
75538         dl_catch_error.
75540         [BZ #13123]
75541         * elf/dl-load.c (lose): Free l_origin if it is valid.
75543         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
75544         names.
75545         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
75546         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
75547         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
75548         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
75549         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
75550         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
75552 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75554         * sysdeps/powerpc/fpu/e_hypot.c: New file.
75555         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
75556         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
75557         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
75558         * sysdeps/powerpc/fpu/k_cosf.c: New file.
75559         * sysdeps/powerpc/fpu/k_sinf.c: New file.
75560         * sysdeps/powerpc/fpu/s_cosf.c: New file.
75561         * sysdeps/powerpc/fpu/s_sinf.c: New file.
75562         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
75563         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
75565 2011-08-15  Alan Modra  <amodra@gmail.com>
75567         [BZ #13092]
75568         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
75569         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
75570         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
75571         ppc_mcount to static-only-routines.
75572         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
75573         __mcount_internal.
75574         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
75575         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
75577 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
75579         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
75580         for finite and infinity parameters.
75582 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
75584         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
75585         and add nop instructions for throughput optimization.
75586         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75588 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
75590         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
75591         aligned copy for power7 with vector-scalar instructions.
75592         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
75594 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
75596         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
75597         AVX check.
75599 2011-09-07  Andreas Schwab  <schwab@redhat.com>
75601         [BZ #13144]
75602         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
75603         last change.
75605 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
75607         * sysdeps/unix/sysv/linux/x86_64/init-first.c
75608         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
75609         syscall wrapper around clock_gettime in __vdso_clock_gettime.
75610         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
75611         clock_gettime.
75613 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
75615         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
75616         Forgot to demangle the pointer.
75618         * sysdeps/i386/sysdep.h: Define atom_text_section.
75619         * sysdeps/x86_64/sysdep.h: Likewise.
75620         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
75621         section with atom_text_section.
75622         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
75623         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
75624         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
75625         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
75626         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
75628         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
75629         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
75630         already be defined.  Change to take two parameters and don't assign
75631         result to variable.  Adjust all users.
75632         Define INTERNAL_GETTIME if not already defined.
75633         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
75634         call.
75635         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
75636         HAVE_CLOCK_GETTIME_VSYSCALL.
75637         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
75639         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
75640         gettimeofday vsyscall, just use time.
75642 2011-09-06  Andreas Schwab  <schwab@redhat.com>
75644         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
75645         <errno.h>.
75647 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
75649         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
75650         syscall on x86-64.
75651         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
75652         syscall.
75653         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
75654         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
75655         syscall if possible.
75657 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75659         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
75660         e_ident.  Don't pass to find_mapsXX.
75661         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
75663 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75665         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75666         strchr-sse2-no-bsf strrchr-sse2-no-bsf
75667         * sysdeps/x86_64/multiarch/strchr.S: Update.
75668         Check bit_slow_BSF bit.
75669         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
75670         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
75671         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
75673 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75675         [BZ #13134]
75676         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
75677         before glibc 2.15.
75678         (tryshell): Define.
75679         (__spawni): Change last parameter to be flag.  Test
75680         SPAWN_XFLAGS_USE_PATH flag to use path or not.
75681         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
75682         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
75683         * posix/spawni.c: Likewise.
75684         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
75685         * posix/spawnp.c: Likewise.  Change normal version to use
75686         SPAWN_XFLAGS_USE_PATH.
75687         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
75688         SPAWN_XFLAGS_TRY_SHELL.
75690         [BZ #13150]
75691         * posix/glob.h: Remove gcc 1.x support.
75693         [BZ #13068]
75694         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
75696 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75698         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75699         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
75700         strrchr-sse2-bsf
75701         * sysdeps/i386/i686/multiarch/strchr.S: New file.
75702         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
75703         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
75704         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
75705         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
75706         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
75708 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75710         * sysdeps/x86_64/wcscmp.S: New file.
75712         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
75713         wcscmp-c wcscmp-sse2
75714         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
75715         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
75716         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
75717         * wcsmbs/wcscmp.c: Allow renaming.
75719 2011-09-05  David S. Miller  <davem@davemloft.net>
75721         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
75722         stack slot, rather than the struct return pointer slot.
75723         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
75724         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
75725         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
75726         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
75728 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75730         * po/ja.po: Update from translation team.
75732         [BZ #13144]
75733         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
75734         kernel in 64-bit binaries.
75736 2011-09-01  David S. Miller  <davem@davemloft.net>
75738         * elf/elf.h (HWCAP_SPARC_*): Move to..
75739         * sysdeps/sparc/sysdep.h: this new file and add new values.
75740         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
75741         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
75742         _DL_HWCAP_COUNT to 24.
75743         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
75744         entries.
75745         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
75746         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
75747         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
75748         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
75749         instead of magic constants.
75750         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75752 2011-08-31  David S. Miller  <davem@davemloft.net>
75754         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
75755         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
75756         Reimplement to do errno handling inline.
75757         (SYSCALL_ERROR_HANDLER): New macro.
75758         (__SYSCALL_STRING): Do not do errno handling in asm.
75759         (__CLONE_SYSCALL_STRING): Delete.
75760         (__INTERNAL_SYSCALL_STRING): Delete.
75761         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
75762         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
75763         (PSEUDO): Reimplement to do errno handling inline.
75764         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
75765         (SYSCALL_ERROR_HANDLER): New macro.
75766         (__SYSCALL_STRING): Do not do errno handling in asm.
75767         (__CLONE_SYSCALL_STRING): Delete.
75768         (__INTERNAL_SYSCALL_STRING): Delete.
75769         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
75770         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
75771         i386.
75772         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
75773         (inline_syscall*): Add 'err' argument.
75774         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
75775         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
75776         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
75777         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
75779         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
75780         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
75782 2011-08-30  Andreas Schwab  <schwab@redhat.com>
75784         * elf/rtld.c (dl_main): Relocate objects in dependency order.
75786 2011-08-29  Jiri Olsa <jolsa@redhat.com>
75788         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
75789         directive.
75791 2011-08-24  David S. Miller  <davem@davemloft.net>
75793         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
75795 2011-08-24  Andreas Schwab  <schwab@redhat.com>
75797         * elf/Makefile: Add rules to build and run unload8 test.
75798         * elf/unload8.c: New file.
75799         * elf/unload8mod1.c: New file.
75800         * elf/unload8mod1x.c: New file.
75801         * elf/unload8mod2.c: New file.
75802         * elf/unload8mod3.c: New file.
75804         * elf/dl-close.c (_dl_close_worker): Reset private search list if
75805         it wasn't used.
75807 2011-08-23  David S. Miller  <davem@davemloft.net>
75809         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
75810         subtract stack bias.
75811         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
75812         %sp not %fp in calculations.
75813         (_JMPBUF_UNWINDS_ADJ): Likewise.
75815         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
75816         (aio_suspend): Call it to force an exception region around the
75817         AIO_MISC_WAIT() invocation.
75819 2011-08-23  Andreas Schwab  <schwab@redhat.com>
75821         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
75822         backslash.
75824 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
75826         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
75827         protection macro.
75828         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
75829         and <dl-machine.h>.
75830         (Elf64_FuncDesc): Remove.
75832 2011-08-22  David S. Miller  <davem@davemloft.net>
75834         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
75835         sigaltstack check, add missing cfi directives.
75836         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
75837         missing cfi directives, and sigaltstack handling.
75839 2011-08-16  Andreas Schwab  <schwab@redhat.com>
75841         [BZ #11724]
75842         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
75843         object is seen twice.
75844         * elf/dl-fini.c (_dl_sort_fini): Likewise.
75846         * elf/Makefile (distribute): Add tst-initorder2.c.
75847         (tests): Add tst-initorder2.
75848         (modules-names): Add tst-initorder2a tst-initorder2b
75849         tst-initorder2c tst-initorder2d.  Add rules to build them.
75850         ($(objpfx)tst-initorder2.out): New rule.
75851         * elf/tst-initorder2.c: New file.
75852         * elf/tst-initorder2.exp: New file.
75854 2011-08-22  Andreas Schwab  <schwab@redhat.com>
75856         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
75858         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
75859         dependencies back to end of function.
75861         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
75862         $(elfobjdir)/ld.so.
75864 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
75866         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
75867         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
75868         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
75869         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
75870         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
75871         of __vdso_gettimeofday.
75872         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
75873         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
75874         attribute_hidden.
75875         (_libc_vdso_platform_setup): Remove initialization of
75876         __vdso_gettimeofday and __vdso_time.
75878 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
75880         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
75881         and fgetc_unlocked.
75882         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
75883         getc_unlocked.
75885         * elf/dl-open.c (add_to_global): Report additions to the global scope
75886         for LD_DEBUG=scopes.
75887         (dl_open_worker): Also print scope of newly loaded dependencies.
75888         (_dl_show_scope): Indicate if there is no scope.
75890         [BZ #13114]
75891         * stdio-common/Makefile (tests): Add bug24.
75892         * stdio-common/bug24.c: New file.
75894 2011-08-19  Andreas Jaeger  <aj@suse.de>
75896         [BZ #13114]
75897         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
75898         non-existant file when using close-on-exec mode.
75900 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
75902         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
75903         the very first instruction.
75905         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
75906         the CFI state in the end.
75907         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
75908         inclusion of dl-trampoline.h.
75909         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
75911 2011-08-19  Andreas Schwab  <schwab@redhat.com>
75913         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
75914         expectations for long double.
75916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
75917         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
75919 2011-08-14  David S. Miller  <davem@davemloft.net>
75921         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
75922         artificual limit depends upon the system page size.
75924 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
75926         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
75927         * resolv/Makefile: Define CFLAGS-libresolv.
75929 2011-08-17  Andreas Schwab  <schwab@redhat.com>
75931         * nss/makedb.c (compute_tables): Make variables used in nested
75932         function static.
75934 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
75936         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
75937         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
75938         if buffer was too small.
75940         * elf/pldd.c (main): Attach to all threads in the process.
75941         Rewrite /proc handling to use *at functions.
75943 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
75945         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
75946         specifies first scope to show.
75947         (dl_open_worker): Update callers.  Move printing scope of new
75948         object to before the relocation.
75949         * elf/rtld.c (dl_main): Update _dl_show_scope call.
75950         * sysdeps/generic/ldsodefs.h: Update declaration.
75952         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
75953         string for the scope number.
75955 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
75957         * nscd/servicescache.c (cache_addserv): Make sure written is always
75958         initialized.
75960 2011-08-14  Roland McGrath  <roland@hack.frob.com>
75962         * sysdeps/i386/i486/bits/atomic.h
75963         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
75964         statement expression, so as to suppress "set but not used" warning.
75965         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
75967         * string/strncat.c (STRNCAT): Use prototype definition.
75969         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
75970         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
75971         -Iprograms here.
75972         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
75973         (localedef-modules): Add localedef.
75974         (locale-modules): Add locale.
75976         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
75977         * elf/rtld.c (dl_main): Invert order of assignment in last change,
75978         to avoid a warning.
75980 2011-08-14  David S. Miller  <davem@davemloft.net>
75982         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
75983         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
75985 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
75987         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
75988         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
75989         * elf/rtld.c (dl_main): Set l_name of vDSO.
75990         Call _dl_show_scope when DL_DEBUG_SCOPES.
75991         (process_dl_debug): Recognize scopes flag and also set it for all.
75992         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
75993         Declare _dl_show_scope.
75995         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
75996         (do_dlopen): Pass caller_dlopen to dl_open.
75997         (__libc_dlopen_mode): Initialize caller_dlopen.
75999         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
76000         of libc.  Make tolower call locale-independent.  Optimize a bit by
76001         using isdigit instead of isalnum.
76002         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
76004 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
76006         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
76007         was a dependency or dynamically loaded.
76009 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
76011         * intl/l10nflist.c: Allow architecture-specific pop function.
76012         * sysdeps/x86_64/l10nflist.c: New file.
76014         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
76015         classification.
76017 2011-08-10  Andreas Schwab  <schwab@redhat.com>
76019         * include/dirent.h: Add libc_hidden_proto for scandirat and
76020         scandirat64.  Don't declare __scandirat64.
76021         * dirent/scandirat.c: Add libc_hidden_def.
76022         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
76023         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
76025 2011-08-10  David S. Miller  <davem@davemloft.net>
76027         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
76028         enum.
76029         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76030         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76031         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76033 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
76035         * Versions.def [libc]: Add GLIBC_2.15.
76036         * dirent/Makefile (routines): Add scandirat and scandirat64.
76037         * dirent/Versions [libc]: Export scandirat and scandirat64 for
76038         GLIBC_2.15.
76039         * dirent/dirent.h: Declare scandirat and scandirat64.
76040         * dirent/scandirat.c: New file.
76041         * dirent/scandirat64.c: New file.
76042         * sysdeps/wordsize-64/scandirat.c: New file.
76043         * sysdeps/wordsize-64/scandirat64.c: New file.
76044         * dirent/opendir.c: Define opendirat.
76045         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
76046         using scandirat.
76047         * dirent/scandir64.c: Adjust for scandir.c change.
76048         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
76049         __scandirat64, and __scandir_cancel_handler.
76050         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
76051         additional parameter and use openat instead of open (outside of ld.so).
76052         Add new __opendir as wrapper around __opendirat.
76053         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
76054         here without requiring old scandirat implementation.
76056 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
76058         * dirent/scandir.c (cancel_handler): Renamed to
76059         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
76060         defined.  Adjust users.
76061         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
76062         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
76064 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
76066         * string/test-string.h (IMPL): Use __STRING to expand name and then
76067         stringify it.
76069         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
76070         of cleanups.
76072 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76074         * string/Makefile: Update.
76075         (strop-tests): Append strncat.
76076         * string/test-wcscmp.c: New file.
76077         New comprehensive test for wcscmp.
76078         * string/test-strcmp.c: Update.
76079         (WIDE): New define.
76081 2011-07-22  Andreas Schwab  <schwab@redhat.com>
76083         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
76084         line.
76086 2011-07-26  Andreas Schwab  <schwab@redhat.com>
76088         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
76089         encoding to ACE if AI_IDN.
76091 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
76093         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
76094         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
76096 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76098         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
76099         Fix overflow bug in strncat.
76100         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
76102         * string/test-strncat.c: Update.
76103         Add new tests for checking overflow bugs.
76105 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76107         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76108         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
76109         * sysdeps/i386/i686/multiarch/strcat.S: New file.
76110         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
76111         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
76112         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
76113         * sysdeps/i386/i686/multiarch/strncat.S: New file.
76114         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
76115         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
76117         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
76118         (USE_AS_STRCAT): Define.
76119         Add strcat and strncat support.
76120         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
76122 2011-07-25  Andreas Schwab  <schwab@redhat.com>
76124         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
76125         __n bigger than INT_MAX+1.
76126         (__strncmp_g): Likewise.
76128 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
76130         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
76131         * libio/stido.h: Likewise.
76133         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
76134         (AF_NFC): Define.
76135         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
76136         (AF_NFC): Define.
76138         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
76139         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76140         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76141         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
76142         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76144         [BZ #13021]
76145         * scripts/test-installation.pl: Don't expect libnss_test1 to be
76146         installed.
76148         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
76149         typo.
76150         (_dl_x86_64_save_sse): Likewise.
76152 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
76154         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
76155         OSXSAVE.
76156         (_dl_x86_64_save_sse): Likewise.
76158         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
76160         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
76162 2011-07-21  Andreas Schwab  <schwab@redhat.com>
76164         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
76165         change.
76166         (_dl_x86_64_save_sse): Use correct AVX check.
76168 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76170         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
76171         bug in strncpy/strncat.
76172         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
76174 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
76176         * string/tester.c (test_strcat): Add tests for different alignments
76177         of source and destination.
76178         (test_strncat): Likewise.
76180 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76182         [BZ #12852]
76183         * posix/glob.c (glob): Check passed in values before using them in
76184         expressions to avoid some overflows.
76185         (glob_in_dir): Likewise.
76187         [BZ #13007]
76188         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
76189         check for AVX enablement so that we don't crash with old kernels and
76190         new hardware.
76191         * elf/tst-audit4.c: Add same checks here.
76192         * elf/tst-audit6.c: Likewise.
76194         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
76196 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
76198         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
76200 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76202         * po/cs.po: Update from translation team.
76203         * po/bg.po: Likewise.
76205 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
76207         * misc/sys/cdefs.h: Add support for const attribute.
76208         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
76209         to gnu_dev_{major,minor,makedev} functions.
76211 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
76213         * intl/dcigettext.c (get_output_charset): Add missing bracket.
76215 2011-07-20  Andreas Schwab  <schwab@redhat.com>
76217         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
76218         strlen results.
76220 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76222         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
76223         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
76224         register in order to avoid conflicts with the soft frame pointer
76225         being held in r11 when necessary.
76226         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
76227         (INTERNAL_VSYSCALL_NCS): Likewise.
76229 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
76231         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
76232         * elf/dl-fini.c (_dl_fini): Adjust caller.
76233         * elf/dl-close.c (_dl_close_worker): Likewise.
76234         * sysdeps/generic/ldsodefs.h: Adjust declaration.
76236 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
76238         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
76239         "aux_cache->nlibs < 0".
76241         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
76242         in the reload-count case.
76244 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76246         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76247         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
76248         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
76249         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
76250         * sysdeps/x86_64/multiarch/strcat.S: New file.
76251         * sysdeps/x86_64/multiarch/strncat.S: New file.
76252         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
76253         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
76254         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
76255         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
76256         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
76257         (USE_AS_STRCAT): Define.
76258         Add strcat and strncat support.
76259         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76260         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
76261         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
76262         * string/strncat.c: Update.
76263         (USE_AS_STRNCAT): Define.
76264         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76265         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
76266         and i7.
76267         * sysdeps/x86_64/multiarch/init-arch.h
76268         (bit_Prefer_PMINUB_for_stringop): New.
76269         (index_Prefer_PMINUB_for_stringop): Likewise.
76270         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
76271         bit_Prefer_PMINUB_for_stringop.
76273 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
76275         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
76276         buffer64.
76277         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
76278         of casting of buffer.
76279         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
76280         buffer32 and buffer64.
76281         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
76282         writes instead of casting of buffer.
76283         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
76284         buffer32.
76285         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
76286         casting of buffer.
76288 2011-07-19  Andreas Schwab  <schwab@redhat.com>
76290         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
76292 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
76294         * nscd/nscd.c (termination_handler): Don't do anything for a database
76295         if it has not yet been initialized.
76297 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
76299         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76301 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
76303         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76305 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
76307         * po/nl.po: Update from translation team.
76308         * po/sv.po: Likewise.
76310 2011-07-16  Roland McGrath  <roland@hack.frob.com>
76312         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
76313         now disallowed by GCC.
76315         * configure.in (use-default-link): Default to yes if a test -shared
76316         link meets our qualifications.
76317         * configure: Regenerated.
76319         * config.make.in (output-format): New variable.
76320         * configure.in: Check for ld --print-output-format support.
76321         * configure: Regenerated.
76322         * Makerules ($(common-objpfx)format.lds)
76323         [$(output-format) != unknown]: Just use $(output-format),
76324         instead of the linker-script munging.
76326 2011-07-14  Roland McGrath  <roland@hack.frob.com>
76328         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
76329         of $(common-objpfx)shlib.lds.
76330         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
76332         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
76333         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
76335         * configure.in (-z relro check): Adjust test code to add a large
76336         writable data section after it.
76337         * configure: Regenerated.
76339 2011-07-11  Roland McGrath  <roland@hack.frob.com>
76341         * configure.in (-z relro check): Fix test code to make the variable
76342         truly const.
76343         * configure: Regenerated.
76345 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
76347         * nscd/nscd.h (struct traced_file): Define.
76348         (struct database_dyn): Remove inotify_descr, reset_res, and filename
76349         elements.  Add traced_files.
76350         (inotify_fd): Declare.
76351         (register_traced_file): Declare.
76352         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
76353         (inotify_fd): Export.
76354         (resolv_conf_descr): Remove.
76355         (nscd_init): Move inotify descriptor creation to main.
76356         Don't register files for notification here.
76357         (register_traced_file): New function.
76358         (invalidate_cache): Don't use reset_res to determine whether to call
76359         res_init, go through the list of registered files.
76360         (main_loop_poll): The inotify descriptors are now stored in the
76361         structures for the traced files.
76362         (main_loop_epoll): Likewise.
76363         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
76364         to __nss_disable_nscd.
76365         * nscd/cache.c (prune_cache): There is no single inotify descriptor
76366         for a database anymore.  Check the records for all the registered
76367         files instead.
76368         * nss/Makefile (libnss_files-routines): Add files-init.
76369         (libnss_db-routines): Add db-init.
76370         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
76371         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
76372         * nss/nss_db/db-init.c: New file.
76373         * nss/nss_files/files-init.c: New file.
76374         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
76375         __nss_lookup_function.
76376         (__nss_lookup_function): Call nss_load_library.
76377         (nss_load_all_libraries): New function.
76378         (__nss_disable_nscd): Take parameter with callback function for files
76379         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
76380         used for the cached services.
76381         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
76382         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
76383         options for features to all the files in nscd.
76385         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
76387 2011-07-10  Roland McGrath  <roland@hack.frob.com>
76389         * csu/elf-init.c (__libc_csu_init): Comment typo.
76391 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
76393         * po/pl.po: Update from translation team.
76394         * po/ja.po: Likewise.
76395         * po/ru.po: Likewise.
76396         * po/ko.po: Likewise.
76397         * po/fr.po: Likewise.
76399 2011-07-09  Roland McGrath  <roland@hack.frob.com>
76401         * configure.in (.ctors/.dtors header and trailer check):
76402         Use an empirical test on a built program.
76403         * configure: Regenerated.
76405         * configure.in (-z relro check): Use an empirical test on a built DSO.
76406         Detect, but do not require, on ia64.
76407         * configure: Regenerated.
76409         * configure.in (READELF): Find it with AC_CHECK_TOOL.
76410         Update tests that use readelf to use $READELF instead.
76411         * configure: Regenerated.
76413 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
76415         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
76416         if the result is not used.
76418 2011-07-05  Andreas Jaeger  <aj@suse.de>
76420         [BZ#9696]
76421         * stdlib/tst-strtod.c: Add testcase.
76423 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
76425         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
76426         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
76427         The latter has a higher limit.  Take additional parameter to pass to
76428         the new function.
76429         (__pathconf): Pass file to __statfs_link_max.
76430         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
76431         __statfs_link_max.
76432         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
76433         __statfs_link_max.
76435         [BZ #12868]
76436         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
76437         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76438         Handle Lustre.
76439         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
76440         (__statfs_filesize_max): Likewise.
76441         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
76443 2011-07-05  Andreas Jaeger  <aj@suse.de>
76445         * resolv/res_comp.c (dn_skipname): Remove unused variable.
76447 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
76449         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
76450         `status' variable.
76451         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
76452         Likewise.
76454 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
76456         * Makefile (strop-tests): Add strncat.
76457         * string/test-strncat.c: New file.
76459 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
76461         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
76463 2011-06-21  Andreas Jaeger  <aj@suse.de>
76465         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
76466         Copy rule from iconvdata/Makefile.
76468 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76470         [BZ #12922]
76471         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
76472         but no long options are defined, just return 'W'.
76474 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
76476         [BZ #9696]
76477         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
76479 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76481         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
76482         netgroups to read.
76483         (innetgr): Likewise.
76485 2011-07-05  Roland McGrath  <roland@hack.frob.com>
76487         * config.make.in (install_root): Default to $(DESTDIR).
76489 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
76491         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
76493 2011-07-02  Roland McGrath  <roland@hack.frob.com>
76495         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
76497         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
76498         containing directory rather than embedding absolute directory names.
76500         * scripts/check-local-headers.sh: Rewritten using awk.
76501         Match by word, not by line.  Print error messages for matches.
76502         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
76504         * Makerules [shlib-lds-flags empty]:
76505         ($(common-objpfx)libc_pic.opts): New target.
76506         ($(common-objpfx)libc_pic.os.clean): New target.
76507         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
76509         * config.make.in (OBJCOPY): New variable.
76510         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
76511         * configure: Regenerated.
76513         * config.make.in (use-default-link): New variable.
76514         * configure.in (use_default_link): Grok --with-default-link to set it.
76515         * configure: Regenerated.
76516         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
76517         (shlib-lds, shlib-lds-flags): Define to empty.
76519         * Makerules (shlib-lds): New variable.
76520         (shlib-lds-flags): New variable.
76521         (build-shlib, build-moduile, build-module-asneeded): Use it.
76522         ($(common-objpfx)libc.so): Use $(shlib-lds).
76523         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
76524         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
76526         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
76527         DT_FLAGS/DT_FLAGS_1 with zero flags.
76529         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
76530         linker script munging.
76532 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
76534         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
76535         as 128-bit value.
76536         * crypt/sha512.c (sha512_process_block): Perform total addition using
76537         128-bit if possible.
76538         (__sha512_finish_ctx): Likewise.
76539         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
76540         as 64-bit value.
76541         * crypt/sha256.c (SWAP64): Define.
76542         (sha256_process_block): Perform total addition using 64-bit if
76543         possible.
76544         (__sha256_finish_ctx): Likewise.
76546 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
76548         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
76549         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76550         * nscd/hstcache.c (cache_addhst): Likewise.
76551         * nscd/grpcache.c (cache_addgr): Likewise.
76552         * nscd/aicache.c (addhstaiX): Likewise.
76553         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
76555 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
76557         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
76558         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76559         * nscd/hstcache.c (cache_addhst): Likewise.
76560         * nscd/grpcache.c (cache_addgr): Likewise.
76561         * nscd/aicache.c (addhstaiX): Likewise.
76563 2011-07-01  Andreas Schwab  <schwab@redhat.com>
76565         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
76566         domain only when needed.
76568 2011-06-30  Andreas Schwab  <schwab@redhat.com>
76570         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
76571         is always restored.
76573 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
76575         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
76576         are re-adding the entry.
76577         * nscd/servicescache.c (cache_addserv): Likewise.
76579 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
76581         * sysdeps/generic/dl-irel.h: fix protection against multiple
76582         inclusions.
76583         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
76585 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
76587         [BZ #12935]
76588         * malloc/memusage.sh: Fix quoting in message.
76589         * debug/xtrace.sh: Likewise.
76591         * configure.in: Remove support for --experimental-malloc option, make
76592         it the default.
76593         * config.make.in: Likewise.
76594         * malloc/Makefile: Likewise.
76596 2011-06-27  Andreas Schwab  <schwab@redhat.com>
76598         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
76599         two-byte characters.
76601 2011-06-27  Roland McGrath  <roland@hack.frob.com>
76603         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
76604         AC_CACHE_CHECK invocation.
76605         * configure: Regenerated.
76607         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
76609 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
76611         [BZ #12350]
76612         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
76613         bit from old_res_options.
76615         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
76617         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
76618         value type for setfct.
76620 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
76622         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
76623         __gettimeofday instead of gettimeofday.
76625 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
76627         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
76629 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
76631         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
76633         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
76634         info.
76636 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
76638         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76639         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
76640         strcpy-sse2-unaligned strncpy-sse2-unaligned
76641         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
76642         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
76643         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
76644         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
76645         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
76646         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
76647         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
76648         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
76649         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
76650         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
76651         (STRCPY): Support SSE2 and SSSE3 versions.
76653 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
76655         [BZ #12874]
76656         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
76657         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
76658         kernels which artificially limit size of requests.
76660 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
76662         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76663         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
76664         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
76665         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
76666         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
76667         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
76668         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
76669         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
76670         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
76671         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
76672         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
76673         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
76674         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
76675         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
76676         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
76677         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76678         Enable unaligned load optimization for Intel Core i3, i5 and i7
76679         processors.
76680         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
76681         Define.
76682         (index_Fast_Unaligned_Load): Define.
76683         (HAS_FAST_UNALIGNED_LOAD): Define.
76685 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
76687         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
76689 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
76691         [BZ #12907]
76692         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
76693         until it is clear that the information is realy needed.
76694         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
76696 2011-06-22  Andreas Schwab  <schwab@redhat.com>
76698         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
76700 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
76702         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
76703         /sys/devices/system/cpu/online if it is usable.
76705         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
76706         reading the information from the /proc filesystem to once a second.
76708 2011-06-21  Andreas Jaeger  <aj@suse.de>
76710         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
76711         NULL after inclusion of kernel headers.
76713 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
76715         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
76716         calls to internal_setent.
76718         [BZ #12885]
76719         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
76720         addresses using gethostbyname4_r ignore IPv4 addresses.
76722         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
76723         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
76725         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
76727 2011-06-20  David S. Miller  <davem@davemloft.net>
76729         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
76730         inclusions.
76731         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
76733         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
76734         (elf_irel): Use it.
76735         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
76736         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
76737         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
76738         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
76739         * sysdeps/x86_64/dl-irel.h: Likewise.
76741         * elf/dl-runtime.c: Use elf_ifunc_invoke.
76742         * elf/dl-sym.c: Likewise.
76744 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
76746         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
76747         need to dereference resplen2.
76749 2011-06-14  Andreas Schwab  <schwab@redhat.com>
76751         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
76753 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
76755         * Makeconfig: Define vardbdir and inst_vardbdir.
76756         * nss/Makefile: Add rules to install db-Makefile.
76758         * nss/nss_db/db-XXX.c: Cleanup.
76760         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
76761         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
76762         GLIBC_PRIVATE.
76763         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
76764         * nss/makedb.c: Implement -g option to specify that value strings
76765         are generated and should not be added to table iterated over for
76766         get*ent calls.
76767         * nss/nss_db/db-initgroups.c: New file.
76769         * nss/getent.c: Add support for initgroups lookups through getgrouplist
76770         interface.
76772         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
76773         (internal_getgrouplist): Adjust to name change.
76774         Update use_initgroups_entry if this is not the first call.
76775         * nss/databases.def: Add initgroups entry.
76777         * nss/makedb.c (compute_tables): Check result of multiple hash table
76778         sizes to minimize maximum chain length.
76780 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
76782         * Versions.def: Add entry for libnss_db.
76783         * shlib-versions: Likewise.
76784         * nss/Makefile: Add rules to build libnss_db.
76785         * nss/Versions: Add libnss_db information.  Organize libnss_files
76786         entries better.
76787         * nss/db-Makefile: Add gshadow support.  Change rules for the new
76788         makedb progra.  Some minor improvements to generate smaller files.
76789         * nss/nss_db/nss_db.h: Move NSS database header data structures to
76790         here from...
76791         * nss/makedb.c: ...here.
76792         Improve database format to be smaller and require less memory at
76793         runtime.
76794         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
76795         db anymore.
76796         * nss/nss_db/db-netgrp.c: Likewise.
76797         * nss/nss_db/db-open.c: Likewise.
76798         * nss/nss_files/flies-XXX.x: Adjust comments.
76799         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
76800         * nss/nss_files/files-grp.c: Likewise.
76801         * nss/nss_files/files-hosts.c: Likewise.
76802         * nss/nss_files/files-network.c: Likewise.
76803         * nss/nss_files/files-proto.c: Likewise.
76804         * nss/nss_files/files-pwd.c: Likewise.
76805         * nss/nss_files/files-rpc.c: Likewise.
76806         * nss/nss_files/files-service.c: Likewise.
76807         * nss/nss_files/files-sgrp.c: Likewise.
76808         * nss/nss_files/files-spwd.c: Likewise.
76809         * nss/nss_db/db-alias.c: Removed.
76810         * nss/nss_db/dummy-db.h: Removed.
76812 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
76814         * nss/makedb.c: Rewritten to not use database library.
76815         * nss/Makefile: Update to build new makedb program.
76817 2011-06-14  Andreas Jaeger  <aj@suse.de>
76819         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
76820         memset declaration.
76822 2011-06-10  Andreas Schwab  <schwab@redhat.com>
76824         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
76825         tmpbuf.
76827 2011-06-10  Roland McGrath  <roland@hack.frob.com>
76829         * Makerules (shlib.lds): Fail if the linker script comes out empty.
76830         * elf/Makefile ($(objpfx)ld.so): Likewise.
76832         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
76833         Don't list ld.so twice in dependencies.
76835         * posix/bug-regex31.c: Include <stdlib.h>.
76837         * nscd/hstcache.c (cache_addhst): Remove unused variable.
76839         * nis/nss_compat/compat-spwd.c
76840         (getspent_next_nss_netgr): Remove unused variable.
76841         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
76843         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
76844         nonmembers" output to use the right array.
76846         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
76848         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
76850         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
76851         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
76852         * catgets/gencat.c (read_input_file): Likewise.
76853         * locale/programs/locarchive.c (enlarge_archive): Likewise.
76855         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
76856         variable definition inside #if's controlling its use.
76858         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
76860         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
76862         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
76864         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
76865         unreachable code.
76867         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
76869         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
76870         * configure: Regenerated.
76872         * Makerules: Revert last change.
76873         * elf/Makefile: Likewise.
76875 2011-06-09  Roland McGrath  <roland@hack.frob.com>
76877         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
76878         * elf/Makefile ($(objpfx)librtld.os): Likewise.
76879         (reloc-link): Likewise.
76881 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
76883         * elf/Makefile: Add rules to build pldd.
76884         * elf/pldd.c: New file.
76885         * elf/pldd-xx.c: New file.
76887 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
76889         * version.h: Update for 2.15 development version.
76891 2011-06-07  David S. Miller  <davem@davemloft.net>
76893         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
76894         ifuncs.
76895         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
76896         elf_machine_lazy_rel): Likewise.
76897         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
76898         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
76899         elf_machine_lazy_rel): Likewise.
76900         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
76901         dl_hwcap via passed in argument.
76902         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
76903         Likewise.
76905 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76907         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
76909 2011-06-06  Roland McGrath  <roland@hack.frob.com>
76911         [BZ #12849]
76912         * manual/fdl-1.1.texi: New file, verbatim from:
76913         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
76914         * manual/lgpl-2.1.texi: New file, verbatim from:
76915         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
76916         * manual/Makefile (licenses): New variable, list those new file names.
76917         (texis): Use it.
76918         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
76920         * manual/fdl.texi: File removed.
76921         * manual/lesser.texi: File removed.
76922         * manual/libc.texinfo (Copying, Documentation License):
76923         Use new @include file names, put @appendix directive before @include.
76925 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
76927         [BZ #12841]
76928         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
76929         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
76930         (mq_open): Add __NTH.
76932 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
76934         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76935         Assume Intel Core i3/i5/i7 processor if AVX is available.
76937 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
76939         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
76940         typo.
76942 2011-05-31  Andreas Schwab  <schwab@redhat.com>
76944         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
76945         memory.  Use alloca_account.  Fix memory leak when retrying.
76947 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
76949         * version.h (RELEASE): Bump for 2.14 release.
76950         * include/features.h (__GLIBC_MINOR__): Bump to 14.
76952         * config.make.in (RANLIB): Remove entry.
76954 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
76956         * po/Makefile (po-sed-cmd): Add ksh to extensions.
76957         (libc.pot): Work around missing support for .ksh extension in xgettext.
76959         [BZ #12684]
76960         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
76961         if both request failed.
76962         (send_dg): In case of server errors clear resplen or *resplen2.
76964         [BZ #12454]
76965         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
76966         when there are multiple maps.
76967         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
76968         (_dl_fini): Remove test here.
76970         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
76972 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
76974         [BZ #12350]
76975         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
76976         bit from old_res_options.
76977         (gaih_inet): Likewise.
76979         [BZ #11099]
76980         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
76981         as signed.
76983         * resolv/res_init.c (res_setoptions): Make the code more compact.
76985         [BZ #11558]
76986         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
76987         set RES_USEVC.
76989         [BZ #11634]
76990         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
76992         * malloc/malloc.h: Mark malloc hook variables as deprecated.
76994         [BZ #11781]
76995         * malloc/malloc.h: Declare malloc hook variables as volatile.
76997         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
76998         in last patch.
77000         [BZ #11799]
77001         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
77002         raise in the comment.
77003         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
77004         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
77005         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
77007 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
77009         [BZ #12811]
77010         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
77011         grow the buffers more if it already has to be sufficient.
77012         (build_wcs_upper_buffer): Likewise.
77013         * posix/regexec.c (check_matching): Likewise.
77014         (clean_state_log_if_needed): Likewise.
77015         (extend_buffers): Don't enlarge buffers beyond size of the input
77016         buffer.
77017         Patches mostly by Emil Wojak <emil@wojak.eu>.
77018         * posix/bug-regex32.c: New file.
77019         * posix/Makefile (tests): Add bug-regex32.
77021         * locale/findlocale.c (_nl_find_locale): Return right away if
77022         _nl_explode_name failed.
77023         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
77025         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
77027         * debug/xtrace.sh: Unify messages.
77028         * malloc/memusage.sh: Likewise.
77030         [BZ #12813]
77031         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
77032         time symbol from vDSO.  Substitute with vsyscall if not available.
77033         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
77034         __vdso_time.
77036         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
77037         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
77038         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
77039         Add sendmmsg and internal_sendmmsg.
77040         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
77041         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
77042         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
77044         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
77045         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
77046         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
77048 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
77050         [BZ #12813]
77051         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
77052         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
77053         available.
77054         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
77055         __vdso_getcpu.
77057         [BZ #12814]
77058         * iconvdata/Makefile (tests): Add bug-iconv9.
77059         * iconvdata/bug-iconv9.c: New file.
77061 2011-05-27  Andreas Schwab  <schwab@redhat.com>
77063         [BZ #12814]
77064         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
77066 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
77068         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77069         (struct user_regs_struct): Change intcs field back to cs.
77071 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
77073         * po/ja.po: Update from translation team.
77075 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
77077         [BZ #12795]
77078         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
77079         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
77081 2011-05-20  Andreas Schwab  <schwab@redhat.com>
77083         * stdlib/longlong.h: Update from GCC.
77085 2011-05-23  Andreas Schwab  <schwab@redhat.com>
77087         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
77088         parameter name.
77089         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
77090         Add parameter name.
77091         (__sysconf): Pass it down.
77093 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
77095         [BZ #12671]
77096         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
77097         some situations.
77098         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
77099         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
77100         add in in __libc_use_alloca calls.  Adjust callers.
77101         (glob): Use malloc in some situations.
77103         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
77104         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
77105         pltexit.
77107 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
77109         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
77110         and CLOCK_BOOTTIME_ALARM.
77112         [BZ #12782]
77113         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
77114         is returned.
77116         * string/_strerror.c (__strerror_r): Print negative errors as signed
77117         numbers.
77119         [BZ #12777]
77120         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
77121         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
77122         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
77124         * configure.in: Fix typo in redirection and correct removal of test
77125         files in two cases.
77127         [BZ #12788]
77128         * locale/setlocale.c (new_composite_name): Fix test to check for
77129         identical name of all categories.
77131         [BZ #12792]
77132         * libio/filedoalloc.c (local_isatty): New function.
77133         (_IO_file_doallocate): Use local_isatty.
77134         * stdio-common/perror.c (perror): In case a new stream is used
77135         forward the stream error.
77136         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
77137         error flag.
77139 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
77141         [BZ #11884]
77142         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
77143         alloca.
77144         * include/alloca.h (extend_alloca_account): Define.
77146         [BZ #11857]
77147         * posix/regex.h: Fix comments with documentation of user-accessible
77148         fields after compilation and describe correct free'ing of pattern
77149         after re_compile_pattern.
77150         Patch by Reuben Thomas <rrt@sc3d.org>.
77152 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
77154         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
77155         and -mno-altivec to prevent the compiler from using Altivec and/or
77156         VSX instructions when the corresponding registers are not available.
77158 2011-05-19  Andreas Schwab  <schwab@redhat.com>
77160         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
77162 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
77164         * libio/freopen.c (freopen): Use __dup2, not dup2.
77165         * libio/freopen64.c (freopen64): Likewise.
77167 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77169         [BZ #12775]
77170         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
77171         * math/Makefile (tests): Add test-powl.
77172         (CFLAGS-test-powl.c): Define.
77173         * math/test-powl.c: New file.
77175 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77177         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
77179 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
77181         [BZ #11837]
77182         * iconvdata/gb18030.c: Update to GB18020-2005.
77184 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
77186         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
77187         RE_SYNTAX_POSIX_AWK): Update to match recent development.
77188         Patch by Aharon Robbins <arnold@skeeve.com>.
77190         [BZ #11892]
77191         * stdlib/putenv.c (putenv): Don't always create copy of the variable
77192         on the stack.
77194         [BZ #11895]
77195         * misc/pselect.c (__pselect): Handle timeout value errors hidden
77196         through underflows.
77198         [BZ #12766]
77199         * misc/error.c (error_at_line): Ensure file_name and old_file_name
77200         point to strings before performing equality test for error_one_per_line
77201         mode.
77203         [BZ #11697]
77204         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
77206         [BZ #11820]
77207         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77208         (struct user_fpregs_struct): Avoid __uint*_t types.
77210         [BZ #6420]
77211         * malloc/mtrace.c (tr_where): Add additional parameter to point to
77212         symbol info.  Use it instead of calling _dl_addr locally.
77213         (lock_and_info): New function.
77214         (tr_freehook): Call lock_and_info and pass symbol info as additional
77215         parameter to tr_where.
77216         (tr_mallochook): Likewise.
77217         (tr_reallochook): Likewise.
77218         (tr_memalignhook): Likewise.
77220         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
77221         used and couldn't be at all thread-safe.
77223 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
77225         * libio/freopen.c (freopen): Don't close old file descriptor
77226         before the new one is opened.  Instead dup the new file descriptor
77227         to the old one after the new stream is created.
77228         * libio/freopen64.c (freopen64): Likewise.
77229         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
77230         * libio/fileops.c (_IO_new_file_close_it): Handle new
77231         _IO_FLAGS2_NOCLOSE flag.
77232         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
77233         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
77234         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
77235         _IO_FLAGS2_NOCLOSE flag.
77236         * include/unistd.h: Add hidden_proto for dup3.
77237         Define __have_dup3.
77238         * io/dup3.c: Define hidden symbol.
77239         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
77241         [BZ #7101]
77242         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
77243         when an incomplete long option is used.
77244         * posix/tst-getopt_long1.c: New file.
77245         * posix/Makefile (tests): Add tst-getopt_long1.
77247         [BZ #10138]
77248         * scripts/config.guess: Update from autoconf-2.68.
77249         * scripts/config.sub: Likewise.
77251         [BZ #10157]
77252         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
77253         tests into ...
77254         (has_cpuclock): ...this.  New function.
77255         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
77256         macro here based on has_cpuclock code.
77258         [BZ #10149]
77259         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77260         First byte (not low byte) is now always NUL.
77261         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
77263         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77264         Use non-cancelable interfaces.
77266         [BZ #9809]
77267         * locale/iso-639.def: Add entry for Sorani.
77269         [BZ #11901]
77270         * include/stdlib.h: Move include protection to the right place.
77271         Define abort_msg_s.  Declare __abort_msg with it.
77272         * stdlib/abort.c (__abort_msg): Adjust type.
77273         * assert/assert.c (__assert_fail_base): New function.  Majority
77274         of code from __assert_fail.  Allocate memory for __abort_msg with
77275         mmap.
77276         (__assert_fail): Now call __assert_fail_base.
77277         * assert/assert-perr.c: Remove bulk of implementation.  Use
77278         __assert_fail_base.
77279         * include/assert.hL Declare __assert_fail_base.
77280         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
77281         mmap.
77282         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
77284 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
77286         [BZ #11952]
77287         [BZ #12453]
77288         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
77289         until all modules are registered in the DTV.
77290         * elf/Makefile: Add rules to build and run tst-tls19.
77291         * elf/tst-tls19.c: New file.
77292         * elf/tst-tls19mod1.c: New file.
77293         * elf/tst-tls19mod2.c: New file.
77294         * elf/tst-tls19mod3.c: New file.
77295         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
77297         [BZ #12083]
77298         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
77299         correctly.
77301         [BZ #12601]
77302         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
77303         two-byte sequence errors.
77304         * iconvdata/Makefile (tests): Add bug-iconv8.
77305         * iconvdata/bug-iconv8.c: New file.
77307         [BZ #12626]
77308         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
77309         buf2 definition.
77311         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
77313         [BZ #12432]
77314         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
77315         (dummy_getcfa): New function.
77316         (init): Get _Unwind_GetCFA address, use dummy if not found.
77317         (backtrace_helper): In recursion check, also check whether CFA changes.
77318         (__backtrace): Completely initialize arg.
77320         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
77321         storing incomplete byte sequence in state object.  Avoid testing for
77322         guaranteed too small input if we know there is enough data available.
77324 2011-05-11  Andreas Schwab  <schwab@redhat.com>
77326         * Makeconfig (+link-pie): Indent.
77327         * Rules (binaries-pie): Define if $(have-fpie) and
77328         $(build-shared).
77329         (binaries-shared): Also filter out $(binaries-pie).
77330         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
77331         * nscd/Makefile (others-pie): Add nscd.
77332         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
77333         ($(objpfx)nscd): Remove command override.
77334         * login/Makefile (others-pie): Add pt_chown.
77335         ($(objpfx)pt_chown): Remove command override.
77336         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
77337         remove command overrides.
77339 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
77341         * libio/tst_putwc.c: Fix error messages.
77343         [BZ #12724]
77344         * libio/fileops.c (_IO_new_file_close_it): Always flush when
77345         currently writing and seek to current position when not.
77346         * libio/Makefile (tests): Add bug-fclose1.
77347         * libio/bug-fclose1.c: New file.
77349 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
77351         [BZ #12511]
77352         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
77353         don't set DF_1_NODELETE here.
77354         (do_lookup_x): When entering new entry test for copy relocation
77355         and if necessary set DF_1_NODELETE flag.
77356         * elf/tst-unique4.cc: New file.
77357         * elf/tst-unique4.h: New file.
77358         * elf/tst-unique4lib.cc: New file.
77359         * elf/Makefile: Add rules to build and run tst-unique4.
77360         Patch by Piotr Bury <pbury@goahead.com>.
77362 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
77364         [BZ #12052]
77365         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
77367         [BZ #12625]
77368         * misc/mntent_r.c (addmntent): Flush the stream after the output
77370         [BZ #12393]
77371         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
77372         (is_trusted_path_normalize): Skip initial colon.  Append slash
77373         to empty buffer.  Duplicate is_trusted_path code but allow
77374         constructed patch to be prefix.
77375         (is_dst): Allow $ORIGIN followed by /.
77376         (_dl_dst_substitute): Correct clearing of check_for_trusted.
77377         Correct testing of result of is_trusted_path_normalize
77378         (decompose_rpath): Fix warning.
77380 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
77382         [BZ #11257]
77383         * grp/initgroups.c (internal_getgrouplist): When we found the service
77384         list through the initgroups entry in nsswitch.conf do not always
77385         continue on a successful lookup.  Don't always use the
77386         __nss_group_database value if it is set.
77387         * nss/nsswitch.conf (initgroups): Change action for successful db
77388         lookup to continue for compatibility.
77390 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
77392         [BZ #11532]
77393         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
77394         and CP774 modules.
77395         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
77396         and CP774 modules.
77397         * iconvdata/tst-tables.sh: Likewise.
77398         * iconvdata/cp770.c: New file.
77399         * iconvdata/cp771.c: New file.
77400         * iconvdata/cp772.c: New file.
77401         * iconvdata/cp773.c: New file.
77402         * iconvdata/cp774.c: New file.
77403         * iconvdata/testdata/CP770: New file.
77404         * iconvdata/testdata/CP770..UTF8: New file.
77405         * iconvdata/testdata/CP771: New file.
77406         * iconvdata/testdata/CP771..UTF8: New file.
77407         * iconvdata/testdata/CP772: New file.
77408         * iconvdata/testdata/CP772..UTF8: New file.
77409         * iconvdata/testdata/CP773: New file.
77410         * iconvdata/testdata/CP773..UTF8: New file.
77411         * iconvdata/testdata/CP774: New file.
77412         * iconvdata/testdata/CP774..UTF8: New file.
77414         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
77415         END CHARMAP line.
77416         * iconvdata/gen-8bit-gap.sh: Likewise.
77417         * iconvdata/gen-8bit.sh: Likewise.
77419         * locale/iso-639.def: Add ary entry.
77421         [BZ #11258]
77422         * locale/C-translit.h.in: Add U20A1 transliteration.
77424         [BZ #12178]
77425         * locale/iso-639.def: Add wae entry.
77426         Patch by Kevin Bortis <bortis@translate-wae.ch>.
77428         [BZ #12545]
77429         * locale/programs/localedef.c (construct_output_path): Use ssize_t
77430         for n.
77432         [BZ #12711]
77433         * locale/C-translit.h.in: Add entry for U20B9.
77434         Patch by pravin.d.s@gmail.com.
77436 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
77438         [BZ #12713]
77439         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
77440         ENAMETOOLONG use generic getcwd.
77441         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
77442         in rtld.  Use *stat64.
77443         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
77444         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
77445         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
77446         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
77447         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
77448         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
77449         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
77450         __fstatat64 macros.
77451         * include/dirent.h: Add libc_hidden_proto for rewinddir.
77452         * dirent/rewinddir.c: Add libc_hidden_def.
77453         * sysdeps/mach/hurd/rewinddir.c: Likewise.
77454         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
77456         * include/dirent.h (__alloc_dir): Add flags parameter.
77457         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
77458         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
77459         __alloc_dir.
77460         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
77461         from fdopendir if O_CLOEXEC is already set.
77463 2011-03-15  Alan Modra  <amodra@gmail.com>
77465         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
77466         l_tls_firstbyte_offset non-zero.  Save padding offset in
77467         l_tls_firstbyte_offset for later use.
77468         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
77469         freeing static tls block.
77471 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
77473         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
77474         where #ifdef was intended.  The intent is to prevent ARG_MAX from
77475         being defined by the kernel headers.
77477 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
77479         [BZ #12734]
77480         * resolv/resolv.h: Define RES_NOTLDQUERY.
77481         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
77482         no-tld-query and set RES_NOTLDQUERY.
77483         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
77484         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
77485         modern BIND to search name as TLD unless forbidden.
77487 2011-05-07  Petr Baudis  <pasky@suse.cz>
77488             Ulrich Drepper  <drepper@gmail.com>
77490         [BZ #12393]
77491         * elf/dl-load.c (fillin_rpath): Move trusted path check...
77492         (is_trusted_path): ...to here.
77493         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
77494         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
77495         using is_trusted_path_normalize() in setuid scripts.
77497 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
77499         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
77500         __BEGIN/__END_DECLS.
77502 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
77504         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
77505         NSS_STATUS_NOTFOUND if no record was found.
77507 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77509         * sunrpc/Makefile (headers): Add rpc/netdb.h.
77510         (headers-not-in-tirpc): Remove rpc/netdb.h
77511         * resolv/netdb.h: Revert last change.
77513 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
77515         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
77516         circular dependency between libgcc.a and libc.a.
77518 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77520         * resolv/netdb.h: Don't include <rpc/netdb.h>.
77521         * nis/Makefile: Don't install rpcsvc/*.
77522         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
77523         instead of <rpc/types.h>.
77524         (MAXHOSTNAMELEN): Define.
77526 2011-05-03  Andreas Schwab  <schwab@redhat.com>
77528         * elf/ldconfig.c (add_dir): Don't crash on empty path.
77530 2011-04-28  Maciej Babinski  <mbabinski@google.com>
77532         [BZ #12714]
77533         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
77534         gethostbyname4_r when IPv6 results are possible.
77536 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
77538         [BZ #12723]
77539         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
77540         _PC_PIPE_BUF handling.
77542 2011-04-30  Bruno Haible  <bruno@clisp.org>
77544         [BZ #12717]
77545         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
77546         * resolv/netdb.h (getnameinfo): Change type of flags parameter
77547         to 'int'.
77548         * inet/getnameinfo.c (getnameinfo): Likewise.
77550 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
77552         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
77553         to groups setting in database lookup.
77554         * nss/nsswitch.conf: Add initgroups entry.
77556 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
77558         [BZ #12685]
77559         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
77560         mode string.
77561         Patch by Eric Blake <eblake@redhat.com>.
77563 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
77565         * sunrpc/Makefile (need-export-routines): Add svc_run.
77566         (routines): Remove svc_run.
77567         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
77568         * sunrpc/clnt_perr.c (clnt_perrno): Export.
77569         * sunrpc/svc_run.c (svc_run): Likewise.
77570         * sunrpc/svc_udp.c (svcudp_create): Likewise.
77572 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
77574         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
77575         problem in reallocation in last patch.
77577 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
77579         * sunrpc/Makefile: Move inclusion of Rules.
77581 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
77583         * nss/nss_files/files-initgroups.c: New file.
77584         * nss/Makefile (libnss_files-routines): Add files-initgroups.
77585         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
77586         _nss_files_initgroups_dyn.
77588 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
77590         * elf/elf.h (R_ARM_IRELATIVE): Define.
77592 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
77594         * po/ru.po: Update from translation team.
77596 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
77598         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
77599         dependencies.
77601 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
77603         [BZ #12653]
77604         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
77605         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
77606         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
77607         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
77608         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
77610 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
77612         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
77613         differing bytes.
77614         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
77615         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
77616         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
77618 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
77620         [BZ #12420]
77621         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
77622         storing it.
77623         * stdlib/bug-getcontext.c: New file.
77624         * stdlib/Makefile: Add rules to build and run bug-getcontext.
77626 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77628         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
77629         instructions into .machine "z9-109".
77630         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
77631         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
77633 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77635         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
77636         between environment variables and auxiliary vector.
77638 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
77640         * Makefile: Add rules to build linkobj/libc.so.
77641         * include/libc-symbols.h: Define libc_hidden_nolink.
77642         * include/rpc/auth.h: Mark functions which are to be hidden.
77643         * include/rpc/auth_des.h: Likewise.
77644         * include/rpc/auth_unix.h: Likewise.
77645         * include/rpc/clnt.h: Likewise.
77646         * include/rpc/des_crypt.h: Likewise.
77647         * include/rpc/key_prot.h: Likewise.
77648         * include/rpc/pmap_clnt.h: Likewise.
77649         * include/rpc/pmap_prot.h: Likewise.
77650         * include/rpc/pmap_rmt.h: Likewise.
77651         * include/rpc/rpc_msg.h: Likewise.
77652         * include/rpc/svc.h: Likewise.
77653         * include/rpc/svc_auth.h: Likewise.
77654         * include/rpc/xdr.h: Likewise.
77655         * nis/Makefile: Link all DSOs against linkobj/libc.so.
77656         * nss/Makefile: Likewise.
77657         * sunrpc/Makefile: Don't install headers.  Build library with normal
77658         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
77659         * sunrpc/auth_des.c: Hide exported symbols by default, export some
77660         for the compat linking library.  Remove use of INTDEF/INTUSE.
77661         * sunrpc/auth_none.c: Likewise.
77662         * sunrpc/auth_unix.c: Likewise.
77663         * sunrpc/authdes_prot.c: Likewise.
77664         * sunrpc/authuxprot.c: Likewise.
77665         * sunrpc/clnt_gen.c: Likewise.
77666         * sunrpc/clnt_perr.c: Likewise.
77667         * sunrpc/clnt_raw.c: Likewise.
77668         * sunrpc/clnt_simp.c: Likewise.
77669         * sunrpc/clnt_tcp.c: Likewise.
77670         * sunrpc/clnt_udp.c: Likewise.
77671         * sunrpc/clnt_unix.c: Likewise.
77672         * sunrpc/des_crypt.c: Likewise.
77673         * sunrpc/des_soft.c: Likewise.
77674         * sunrpc/get_myaddr.c: Likewise.
77675         * sunrpc/key_call.c: Likewise.
77676         * sunrpc/key_prot.c: Likewise.
77677         * sunrpc/netname.c: Likewise.
77678         * sunrpc/pm_getmaps.c: Likewise.
77679         * sunrpc/pm_getport.c: Likewise.
77680         * sunrpc/pmap_clnt.c: Likewise.
77681         * sunrpc/pmap_prot.c: Likewise.
77682         * sunrpc/pmap_prot2.c: Likewise.
77683         * sunrpc/pmap_rmt.c: Likewise.
77684         * sunrpc/publickey.c: Likewise.
77685         * sunrpc/rpc_cmsg.c: Likewise.
77686         * sunrpc/rpc_common.c: Likewise.
77687         * sunrpc/rpc_dtable.c: Likewise.
77688         * sunrpc/rpc_prot.c: Likewise.
77689         * sunrpc/rpc_thread.c: Likewise.
77690         * sunrpc/rtime.c: Likewise.
77691         * sunrpc/svc.c: Likewise.
77692         * sunrpc/svc_auth.c: Likewise.
77693         * sunrpc/svc_authux.c: Likewise.
77694         * sunrpc/svc_raw.c: Likewise.
77695         * sunrpc/svc_run.c: Likewise.
77696         * sunrpc/svc_simple.c: Likewise.
77697         * sunrpc/svc_tcp.c: Likewise.
77698         * sunrpc/svc_udp.c: Likewise.
77699         * sunrpc/svc_unix.c: Likewise.
77700         * sunrpc/svcauth_des.c: Likewise.
77701         * sunrpc/xcrypt.c: Likewise.
77702         * sunrpc/xdr.c: Likewise.
77703         * sunrpc/xdr_array.c: Likewise.
77704         * sunrpc/xdr_float.c: Likewise.
77705         * sunrpc/xdr_intXX_t.c: Likewise.
77706         * sunrpc/xdr_mem.c: Likewise.
77707         * sunrpc/xdr_rec.c: Likewise.
77708         * sunrpc/xdr_ref.c: Likewise.
77709         * sunrpc/xdr_sizeof.c: Likewise.
77710         * sunrpc/xdr_stdio.c: Likewise.
77712 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
77714         [BZ #12650]
77715         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
77716         * sysdeps/ia64/dl-tls.h: Likewise.
77717         * sysdeps/powerpc/dl-tls.h: Likewise.
77718         * sysdeps/s390/dl-tls.h: Likewise.
77719         * sysdeps/sh/dl-tls.h: Likewise.
77720         * sysdeps/sparc/dl-tls.h: Likewise.
77721         * sysdeps/x86_64/dl-tls.h: Likewise.
77722         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
77724 2011-03-14  Andreas Schwab  <schwab@redhat.com>
77726         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
77727         rpath element also skip the following colon.
77728         (expand_dynamic_string_token): Add is_path parameter and pass
77729         down to DL_DST_REQUIRED and _dl_dst_substitute.
77730         (decompose_rpath): Call expand_dynamic_string_token with
77731         non-zero is_path.  Ignore empty rpaths.
77732         (_dl_map_object_from_fd): Call expand_dynamic_string_token
77733         with zero is_path.
77735 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
77737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
77738         Make cancelable.
77740 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
77742         [BZ #12655]
77743         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
77744         Patch by Filipe David Manana <fdmanana@apache.org>.
77746 2011-04-07  Andreas Schwab  <schwab@redhat.com>
77748         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
77749         Maintain aligned stack.
77750         (CHECK_RSP): Remove unused macro.
77752 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
77754         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
77755         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
77757 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
77759         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
77761         * include/features.h: Mention __USE_XOPEN2K8 in comment.
77763 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
77765         [BZ #12518]
77766         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
77767         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
77768         * sysdeps/x86_64/memmove.c: New file.
77769         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
77770         (memcpy): Renamed to ...
77771         (__new_memcpy): This.
77772         (memcpy): Provide GLIBC_2_14 memcpy.
77773         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
77774         (memcpy): Provide GLIBC_2_2_5 memcpy.
77776 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77778         [BZ #12631]
77779         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
77781 2011-03-30  Andreas Schwab  <schwab@redhat.com>
77783         * misc/syncfs.c: New file.
77784         * misc/Makefile (routines): Add syncfs.
77785         * posix/unistd.h: Declare syncfs.
77786         * sysdeps/unix/syscalls.list: Add syncfs.
77788 2011-04-01  Andreas Schwab  <schwab@redhat.com>
77790         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
77791         open_by_handle_at.
77792         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
77793         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77794         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77795         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77796         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77797         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
77798         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77800 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77802         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
77803         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77804         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
77805         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77806         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77807         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77808         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77810         * io/Makefile: Compile fallocate.c, fallocate64.c, and
77811         sync_file_range.c with -fexceptions.
77812         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
77813         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
77814         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
77815         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
77816         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
77817         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
77818         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
77819         sync_file_range as cancellation point
77820         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
77821         now a wrapper around __call_sync_file_range with cancellation handling.
77822         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
77823         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
77824         function name to __call_sync_file_range.
77825         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
77826         Add call_sync_file_range.
77828 2011-04-01  Andreas Schwab  <schwab@redhat.com>
77830         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77831         bits/timex.h.
77833 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77835         * iconv/iconv.h: Fix typo in comment.
77836         * io/fcntl.h: Likewise.
77837         * libio/stdio.h: Likewise.
77838         * posix/spawn.h: Likewise.
77839         * posix/unistd.h: Likewise.
77840         * stdlib/stdlib.h: Likewise.
77841         * time/time.h: Likewise.
77842         * wcsmbs/wchar.h: Likewise.
77844         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
77845         open_by_handle): Add.
77846         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
77847         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
77848         Augment a few comments.
77849         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77850         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77851         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77852         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77853         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77854         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
77855         open_by_handle.
77857         * io/fcntl.h (AT_EMPTY_PATH): Define.
77859 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
77861         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
77862         * sysdeps/unix/sysv/linux/bits/time.h: New file.
77863         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
77864         to...
77865         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
77866         * Versions.def: Add GLIBC_2.14.
77867         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
77868         Export.
77870 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
77872         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
77873         round counter.
77874         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
77876 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77878         [BZ #12597]
77879         * string/test-strncmp.c (do_page_test): New function.
77880         (check2): Likewise.
77881         (test_main): Call check2.
77882         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
77884 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
77886         [BZ #12587]
77887         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
77888         Handle cache information in CPU leaf 4.
77889         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
77891 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
77893         [BZ #12583]
77894         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
77895         character representation.
77896         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
77898 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
77900         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
77901         END(__isnan) to END(__isnanf) to match function entry point/label
77902         EALIGN(__isnanf,...).
77904 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
77906         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
77908 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
77910         [BZ #12510]
77911         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
77912         copy from the symbol referenced in the relocation to initialize the
77913         used variable.
77914         Patch by Piotr Bury <pbury@goahead.com>.
77915         * elf/Makefile: Add rules to build and tst-unique3.
77916         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
77917         * elf/tst-unique3.cc: New file.
77918         * elf/tst-unique3.h: New file.
77919         * elf/tst-unique3lib.cc: New file.
77920         * elf/tst-unique3lib2.cc: New file.
77922         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
77924 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
77926         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
77927         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
77928         to _start.
77930 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
77932         * elf/dl-load.c (_dl_map_object): If we are looking for the first
77933         to-be-loaded object along a path to loader is ld.so.
77935 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
77936             Ulrich Drepper  <drepper@gmail.com>
77938         * sysdeps/x86_64/memset.S: After aligning destination, code
77939         branches to different locations depending on the value of
77940         misalignment, when multiarch is enabled. Fix this.
77942 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
77944         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
77945         Set _x86_64_preferred_memory_instruction for AMD processsors.
77946         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77947         Set bit_Prefer_SSE_for_memop for AMD processors.
77949 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
77951         * libio/fmemopen.c (fmemopen): Optimize a bit.
77953 2011-03-03  Andreas Schwab  <schwab@redhat.com>
77955         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
77957 2011-03-03  Roland McGrath  <roland@redhat.com>
77959         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
77961 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
77963         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
77964         __bzero_ultra1 instead of __memset_ultra1.
77966 2011-02-23  Andreas Schwab  <schwab@redhat.com>
77967             Ulrich Drepper  <drepper@gmail.com>
77969         [BZ #12509]
77970         * include/link.h (struct link_map): Add l_orig_initfini.
77971         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
77972         returning unsuccessfully.
77973         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
77974         close of a file loaded at startup, restore the original l_initfini
77975         list.
77976         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
77977         list, store the pointer.
77978         * elf/Makefile ($(objpfx)noload-mem): New rule.
77979         (noload-ENV): Define.
77980         (tests): Add $(objpfx)noload-mem.
77981         * elf/noload.c: Include <memcheck.h>.
77982         (main): Call mtrace.  Close all opened handles.
77984 2011-02-17  Andreas Schwab  <schwab@redhat.com>
77986         [BZ #12454]
77987         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
77988         dependencies are missing.
77990 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77992         Fix __if_freereq crash: Unlike the generic version which uses free,
77993         Hurd needs munmap.
77994         * sysdeps/mach/hurd/ifreq.h: New file.
77996 2011-01-27  Petr Baudis  <pasky@suse.cz>
77997             Ulrich Drepper  <drepper@gmail.com>
77999         [BZ 12445]#
78000         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
78001         to extend_alloca().
78002         * stdio-common/bug23.c: New file.
78003         * stdio-common/Makefile (tests): Add bug23.
78005 2010-09-28  Andreas Schwab  <schwab@redhat.com>
78006             Ulrich Drepper  <drepper@gmail.com>
78008         [BZ #12489]
78009         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
78010         before performing relro protection.  At old place add assertion
78011         to make sure nothing changed.
78013 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
78014             Glauber de Oliveira Costa  <glommer@gmail.com>
78016         * elf/elf.h: Add new ARM TLS relocs.
78018 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
78020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78021         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
78022         cast from r3.
78023         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
78024         'tests' variable.
78025         * sysdeps/wordsize-64/tst-writev.c: New file.
78027 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
78029         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
78030         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
78031         insns in _dl_start to prevent a TOC reference before relocs are
78032         resolved.
78034 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
78036         [BZ #12469]
78037         * Makeconfig: Remove RANLIB definition.
78038         * Makerules: Don't use RANLIB.
78039         * aclocal.m4: Remove ranlib test.
78040         * configure.in: No need to check for ranlib.
78041         * elf/rtld-Rules: Don't use RANLIB.
78043 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78045         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
78046         protection macro.
78047         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
78048         inclusion protection macro.
78050         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
78051         SIGRTMIN and SIGRTMAX and print information in that case only when
78052         SIGRTMIN is defined.
78054 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
78056         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
78057         arginfo fn returning -1.
78059         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
78060         and thousands string is zero terminated.
78062 2011-02-03  Andreas Schwab  <schwab@redhat.com>
78064         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
78065         sysdeps/unix/sysv/linux/bits/socket.h.
78067 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78069         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
78070         (__CPU_COUNT): Remove old macros.
78071         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
78072         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
78073         (__CPU_ALLOC, __CPU_FREE): Add macros.
78074         (__sched_cpualloc, __sched_cpufree): Add declarations.
78076 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
78078         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
78079         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
78080         * nscd/aicache.c (addhstaiX): Return timeout of added value.
78081         (readdhstai): Return value of addhstaiX call.
78082         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
78083         (addgrbyX): Return value returned by cache_addgr.
78084         (readdgrbyname): Return value returned by addgrbyX.
78085         (readdgrbygid): Likewise.
78086         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
78087         (addpwbyX): Return value returned by cache_addpw.
78088         (readdpwbyname): Return value returned by addhstbyX.
78089         (readdpwbyuid): Likewise.
78090         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
78091         (addservbyX): Return value returned by cache_addserv.
78092         (readdservbyname): Return value returned by addservbyX:
78093         (readdservbyport): Likewise.
78094         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
78095         (addhstbyX): Return value returned by cache_addhst.
78096         (readdhstbyname): Return value returned by addhstbyX.
78097         (readdhstbyaddr): Likewise.
78098         (readdhstbynamev6): Likewise.
78099         (readdhstbyaddrv6): Likewise.
78100         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
78101         (readdinitgroups): Return value returned by addinitgroupsX.
78102         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
78103         (prune_cache): Keep track of timeout value of re-added entries.
78104         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
78105         * nscd/nscd.h: Adjust prototypes of readd* functions.
78107 2011-02-04  Roland McGrath  <roland@redhat.com>
78109         * nis/nis_server.c (nis_servstate): Use the right name for 0.
78110         (nis_stats): Likewise.
78111         * nis/nis_modify.c (nis_modify): Likewise.
78112         * nis/nis_remove.c (nis_remove): Likewise.
78113         * nis/nis_add.c (nis_add): Likewise.
78115         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
78117         * posix/fnmatch_loop.c: Add some consts.
78119         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
78121 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
78123         [BZ #12460]
78124         * config.make.in (config-cflags-novzeroupper): Define.
78125         * configure.in: Substitute libc_cv_cc_novzeroupper.
78126         * elf/Makefile (AVX-CFLAGS): Define.
78127         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
78128         (CFLAGS-tst-auditmod4a.c): Likewise.
78129         (CFLAGS-tst-auditmod4b.c): Likewise.
78130         (CFLAGS-tst-auditmod6b.c): Likewise.
78131         (CFLAGS-tst-auditmod6c.c): Likewise.
78132         (CFLAGS-tst-auditmod7b.c): Likewise.
78133         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
78135 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
78137         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
78138         function to the callback.
78139         Patch partly by Jiri Olsa <jolsa@redhat.com>.
78141 2011-02-02  Andreas Schwab  <schwab@redhat.com>
78143         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
78144         of errno.
78146 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
78148         [BZ #11724]
78149         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
78150         of constructors.
78151         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
78152         of destructors.
78153         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
78155         [BZ #11724]
78156         * elf/Makefile: Add rules to build and run new test.
78157         * elf/tst-initorder.c: New file.
78158         * elf/tst-initorder.exp: New file.
78159         * elf/tst-initordera1.c: New file.
78160         * elf/tst-initordera2.c: New file.
78161         * elf/tst-initordera3.c: New file.
78162         * elf/tst-initordera4.c: New file.
78163         * elf/tst-initorderb1.c: New file.
78164         * elf/tst-initorderb2.c: New file.
78165         * elf/tst-order-a1.c: New file.
78166         * elf/tst-order-a2.c: New file.
78167         * elf/tst-order-a3.c: New file.
78168         * elf/tst-order-a4.c: New file.
78169         * elf/tst-order-b1.c: New file.
78170         * elf/tst-order-b2.c: New file.
78171         * elf/tst-order-main.c: New file.
78172         New test case by George Gensure <werkt0@gmail.com>.
78174 2010-10-01  Andreas Schwab  <schwab@redhat.com>
78176         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
78177         decoding ACE if AI_CANONIDN.
78179 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
78181         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
78183 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
78185         * version.h (RELEASE): Bump for 2.13 release.
78186         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
78188         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
78190         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
78191         MADV_NOHUGEPAGE.
78192         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
78193         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
78194         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
78195         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
78196         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
78197         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78199         * posix/getconf.c: Update copyright year.
78200         * catgets/gencat.c: Likewise.
78201         * csu/version.c: Likewise.
78202         * debug/catchsegv.sh: Likewise.
78203         * debug/xtrace.sh: Likewise.
78204         * elf/ldconfig.c: Likewise.
78205         * elf/ldd.bash.in: Likewise.
78206         * elf/sprof.c (print_version): Likewise.
78207         * iconv/iconv_prog.c: Likewise.
78208         * iconv/iconvconfig.c: Likewise.
78209         * locale/programs/locale.c: Likewise.
78210         * locale/programs/localedef.c: Likewise.
78211         * malloc/memusage.sh: Likewise.
78212         * malloc/mtrace.pl: Likewise.
78213         * nscd/nscd.c (print_version): Likewise.
78214         * nss/getent.c: Likewise.
78216         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
78217         PF_CAIF, and PF_ALG.
78218         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78220 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
78222         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
78223         (modules-names): Use them.
78224         (ifunc-test-modules, ifunc-pie-tests): Define.
78225         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
78226         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
78227         (test-extras): Likewise.
78228         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
78229         $(compile-command.c).
78230         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
78231         (all-built-dso): Define.
78232         (check-textrel.out, check-execstack.out): Depend on it.
78234         * configure.in: Don't override --enable-multi-arch.
78236 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
78238         [BZ #6812]
78239         * nscd/hstcache.c (tryagain): Define.
78240         (cache_addhst): Return tryagain not notfound for temporary errors.
78241         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
78242         failed.
78244 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
78246         [BZ #10563]
78247         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
78248         to make the syscall.
78249         * sysdeps/unix/sysv/linux/setgroups.c: New file.
78251         [BZ #12378]
78252         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
78253         and fall back to matching as normal character if the string ends before
78254         the matching ']' is found.  This is what POSIX requires.
78255         * posix/testfnm.c: Adjust test result.
78256         * posix/globtest.sh: Adjust test result.  Add new test.
78257         * posix/tst-fnmatch.input: Likewise.
78258         * posix/tst-fnmatch2.c: Add new test.
78260 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
78262         * elf/Makefile (check-execstack): Revert last change.  Depend on
78263         check-execstack.h.
78264         (check-execstack.h): New target.
78265         (generated): Add check-execstack.h.
78266         * elf/check-execstack.c: Include "check-execstack.h".
78267         (main): Revert last change.
78268         (handle_file): Return zero if GNU_STACK is absent and
78269         DEFAULT_STACK_PERMS doesn't include PF_X.
78271 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
78273         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
78274         in child fails because the descriptor is already closed.
78275         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
78276         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
78277         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
78279         [BZ #12397]
78280         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
78281         syscall.
78283         [BZ #10484]
78284         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
78285         temporary buffer used to handle multi lookups locally.
78286         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
78288 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
78290         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
78291         loader is ld.so.
78293 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
78295         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
78296         alignment for SSE2.
78298 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
78300         [BZ #12394]
78301         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
78302         characters.  When rounding increased number of integer digits recompute
78303         number of groups.
78304         * stdio-common/tst-grouping.c: New file.
78305         * stdio-common/Makefile: Add rules to build and run tst-grouping.
78307 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
78309         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
78310         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
78312         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
78313         void.
78314         * bits/select.h: Likewise.
78316 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
78318         * po/ja.po: Update from translation team.
78320 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
78322         [BZ #11155]
78323         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
78324         implementation just like for lxstat, fxstatat, et al.
78326 2010-12-27  Jim Meyering  <meyering@redhat.com>
78328         [BZ #12348]
78329         * posix/regexec.c (build_trtable): Return failure indication upon
78330         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
78332 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
78334         [BZ #12201]
78335         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
78336         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
78337         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
78338         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
78340         [BZ #12207]
78341         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
78343         [BZ #12204]
78344         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
78345         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
78347 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
78349         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
78350         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
78351         script has SORT_BY_INIT_PRIORITY.
78352         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
78353         NO_CTORS_DTORS_SECTIONS is defined.
78354         * elf/soinit.c: Likewise.
78355         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
78356         NO_CTORS_DTORS_SECTIONS is defined.
78357         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
78358         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
78359         * sysdeps/sh/init-first.c: Likewise.
78360         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
78362 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
78364         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
78365         always use the slow path.
78367 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
78369         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
78370         similar rule which adds the sysdep directories to the header search in
78371         order to pick up the correct platform stackinfo.h.
78372         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
78373         perform test if it is, otherwise return successfully without testing.
78374         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
78375         DEFAULT_STACK_PERMS define in stackinfo.h.
78376         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
78377         defined in stackinfo.h.
78378         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
78379         DEFAULT_STACK_PERMS defined in stackinfo.h.
78380         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
78381         * sysdeps/ia64/stackinfo.h: Likewise.
78382         * sysdeps/s390/stackinfo.h: Likewise.
78383         * sysdeps/sh/stackinfo.h: Likewise.
78384         * sysdeps/sparc/stackinfo.h: Likewise.
78385         * sysdeps/x86_64/stackinfo.h: Likewise.
78386         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
78387         PF_X for powerpc64.  Retain PF_X for powerpc32.
78389 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
78391         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
78392         accurately.
78393         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
78394         GETDENTS_64BIT_ALIGNED.
78396 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
78398         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
78400 2010-12-10  Andreas Schwab  <schwab@redhat.com>
78402         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
78403         _GNU_SOURCE.
78405         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
78406         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
78407         Remove __restrict.
78408         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
78409         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
78411 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
78413         [BZ #11655]
78414         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
78415         are initialized.
78417 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
78419         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
78421 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
78423         * po/it.po: Update from translation team.
78425 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
78427         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
78428         unused codes.
78430 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
78432         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
78434 2010-11-24  Andreas Schwab  <schwab@redhat.com>
78436         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
78437         specially.
78438         (gaih_getanswer_slice): Likewise.
78440 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
78442         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
78444 2010-05-31  Petr Baudis  <pasky@suse.cz>
78446         [BZ #11149]
78447         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
78448         silently even in the chroot mode.
78450 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
78452         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
78453         last patch a bit.  Pretty printing
78455 2010-05-31  Petr Baudis <pasky@suse.cz>
78457         [BZ #10085]
78458         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
78459         initialization of skip_initgroups_dyn.
78461 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
78463         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
78464         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78466 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
78468         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
78470 2010-11-11  Andreas Schwab  <schwab@redhat.com>
78472         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
78473         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
78474         (tst-fnmatch-ENV): Set MALLOC_TRACE.
78475         ($(objpfx)tst-fnmatch-mem): New rule.
78476         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
78477         * posix/tst-fnmatch.c (main): Call mtrace.
78479 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
78481         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78482         Support Intel processor model 6 and model 0x2c.
78484 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
78486         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
78487           signed comparison.
78489 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
78491         [BZ #12205]
78492         * string/test-strncasecmp.c (check_result): New function.
78493         (do_one_test): Use it.
78494         (check1): New function.
78495         (test_main): Use it.
78496         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
78497         Support strcasecmp and strncasecmp.
78499 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
78501         [BZ #12194]
78502         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
78503         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78505 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
78507         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
78508         IFUNC support.
78509         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78510         memset-x86-64.
78511         * sysdeps/x86_64/multiarch/bzero.S: New file.
78512         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
78513         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
78514         * sysdeps/x86_64/multiarch/memset.S: New file.
78515         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
78516         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78517         Set bit_Prefer_SSE_for_memop for Intel processors.
78518         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
78519         Define.
78520         (index_Prefer_SSE_for_memop): Define.
78521         (HAS_PREFER_SSE_FOR_MEMOP): Define.
78523 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
78525         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
78526         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
78528 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
78530         [BZ #12191]
78531         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78532         (__x86_64_raw_data_cache_size_half): Likewise.
78533         (__x86_64_raw_shared_cache_size): Likewise.
78534         (__x86_64_raw_shared_cache_size_half): Likewise.
78536         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78537         (__x86_64_raw_data_cache_size_half): Likewise.
78538         (__x86_64_raw_shared_cache_size): Likewise.
78539         (__x86_64_raw_shared_cache_size_half): Likewise.
78540         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
78541         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
78542         and __x86_64_raw_shared_cache_size_half.  Round
78543         __x86_64_data_cache_size_half, __x86_64_data_cache_size
78544         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
78545         to multiple of 256 bytes.
78547 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
78549         [BZ #12167]
78550         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
78551         of inacessible symlinks.  Verify result of symlink before returning it.
78552         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
78553         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
78555 2010-10-28  Erich Ritz  <erichritz@gmail.com>
78557         * math/math.h (isinf): Fix typo in comment.
78559 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
78561         * po/da.po: Update from translation team.
78563 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
78565         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
78566         is added to the list.
78568 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78569             Ulrich Drepper  <drepper@gmail.com>
78571         * elf/dl-object.c (_dl_new_object): Don't append the new object to
78572         the global list here.  Move code to...
78573         (_dl_add_to_namespace_list): ...here.  New function.
78574         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
78575         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
78576         * elf/dl-load.c (lose): Don't remove the element from the list.
78577         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
78578         (_dl_map_object): Likewise.
78580 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
78582         [BZ #12159]
78583         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
78584         into all bytes of SSE register.
78585         Patch by Richard Li <richardpku@gmail.com>.
78587 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
78589         [BZ #12140]
78590         * malloc/malloc.c (_int_free): Fill correct number of bytes when
78591         perturbing.
78593 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
78595         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
78596         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
78597         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
78598         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
78599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
78600         submachine.
78601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
78603 2010-10-22  Andreas Schwab  <schwab@redhat.com>
78605         * include/dlfcn.h (__RTLD_SECURE): Define.
78606         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
78607         mode & __RTLD_SECURE instead.
78608         (open_path): Rename preloaded parameter to secure.
78609         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
78610         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
78611         * elf/dl-deps.c (openaux): Likewise.
78612         * elf/rtld.c (struct map_args): Remove is_preloaded.
78613         (map_doit): Don't use it.
78614         (dl_main): Likewise.
78615         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
78616         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
78618 2010-09-09  Andreas Schwab  <schwab@redhat.com>
78620         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
78621         (sysd-rules-targets): Remove duplicates.
78622         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
78623         rtld-%.$o dependency.
78625 2010-10-18  Andreas Schwab  <schwab@redhat.com>
78627         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
78628         _dl_map_object do it.
78630 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
78632         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
78633         fast fma builtins, define the macros in the C99 standard.
78634         (FP_FAST_FMAF): Likewise.
78635         (FP_FAST_FMAL): Likewise.
78636         * sysdeps/x86_64/bits/mathdef.h: Likewise.
78638         * bits/mathdef.h: Update copyright year.
78639         * sysdeps/powerpc/bits/mathdef.h: Likewise.
78641 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
78643         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
78644         builtins, define the macros in the C99 standard.
78645         (FP_FAST_FMAF): Likewise.
78646         (FP_FAST_FMAL): Likewise.
78647         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
78648         multiply/add.
78649         (FP_FAST_FMAF): Likewise.
78651 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
78653         [BZ #3268]
78654         * math/libm-test.inc (fma_test): Some new testcases.
78655         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
78656         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
78657         y and infinite z.  Do multiplication by C already in long double.
78658         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
78659         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
78660         y and infinite z.  Do bitwise or of inexact bit into u.d.
78661         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
78662         * sysdeps/i386/fpu/s_fmaf.S: Removed.
78663         * sysdeps/i386/fpu/s_fma.S: Removed.
78664         * sysdeps/i386/fpu/s_fmal.S: Removed.
78666 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
78668         [BZ #3268]
78669         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
78670         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
78671         computation is not scheduled after fetestexcept.  Fix value
78672         of minimum denormal long double.
78674 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
78676         [BZ #3268]
78677         * math/libm-test.inc (fma_test): Add some more tests.
78678         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
78679         correctly.
78681 2010-10-15  Andreas Schwab  <schwab@redhat.com>
78683         * scripts/data/localplt-s390-linux-gnu.data: New file.
78684         * scripts/data/localplt-s390x-linux-gnu.data: New file.
78686 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
78688         [BZ #3268]
78689         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
78690         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
78691         instead of dbl-64.
78692         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
78693         inlines.
78694         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
78695         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
78696         if one of x and y is very large and the other is subnormal.
78697         * sysdeps/s390/fpu/s_fmaf.c: New file.
78698         * sysdeps/s390/fpu/s_fma.c: New file.
78699         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
78700         * sysdeps/powerpc/fpu/s_fma.S: New file.
78701         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
78702         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
78703         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
78705 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
78707         [BZ #3268]
78708         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
78709         fma tests.
78710         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
78711         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
78712         * sysdeps/i386/i686/multiarch/s_fma.c: Include
78713         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
78714         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
78715         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
78716         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
78718 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
78720         [BZ #12078]
78721         * posix/regcomp.c (parse_branch): One more memory leak plugged.
78722         * posix/bug-regex31.input: Add test case.
78724 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
78726         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
78727         * posix/bug-regex31.input: New file.
78729         [BZ #12078]
78730         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
78731         (parse_sub_exp): Fix last change, use postorder.
78733         * posix/bug-regex31.c: New file.
78734         * posix/Makefile: Add rules to build and run bug-regex31.
78736         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
78738         [BZ #12078]
78739         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
78741         [BZ #12108]
78742         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
78743         to have entries in sys_siglist.
78745         [BZ #12093]
78746         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
78747         be NULL.
78749 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
78751         [BZ #3268]
78752         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
78753         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
78754         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
78755         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
78756         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
78757         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
78758         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
78759         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
78760         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
78761         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
78762         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
78763         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
78764         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
78765         * math/ftestexcept.c (fetestexcept): Likewise.
78766         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
78767         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
78768         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
78769         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
78770         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
78771         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
78772         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
78774 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
78776         [BZ #12107]
78777         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
78778         newline.
78780 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
78782         * string/bug-strstr1.c: New file.
78783         * string/Makefile: Add rules to build and run bug-strstr1.
78785 2010-10-05  Eric Blake  <eblake@redhat.com>
78787         [BZ #12092]
78788         * string/str-two-way.h (two_way_long_needle): Always clear memory
78789         when skipping input due to the shift table.
78791 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
78793         [BZ #12005]
78794         * malloc/mcheck.c: Handle large requests.
78796         [BZ #12077]
78797         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
78798         for strncmp and strncasecmp.
78799         * string/stratcliff.c: Add tests for strcmp and strncmp.
78800         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
78802 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78804         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
78805         __set_fpscr.
78807 2010-09-30  Andreas Jaeger  <aj@suse.de>
78809         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
78810         (CGROUP_SUPER_MAGIC): Define.
78811         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78812         Handle btrfs and cgroup file systems.
78813         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
78814         Likewise.
78816 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
78818         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
78819         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
78821 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78823         [BZ #12067]
78824         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
78825         trying to locate the ELF header.
78827 2010-09-27  Andreas Schwab  <schwab@redhat.com>
78829         [BZ #11611]
78830         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
78831         Mask out sign-bit copies when constructing f_fsid.
78833 2010-09-24  Petr Baudis <pasky@suse.cz>
78835         * debug/stack_chk_fail_local.c: Add missing licence exception.
78836         * debug/warning-nop.c: Likewise.
78838 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
78840         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
78841         implementing getdents64 using getdents syscall, set d_type if
78842         __ASSUME_GETDENTS32_D_TYPE.
78844 2010-09-16  Andreas Schwab  <schwab@redhat.com>
78846         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
78847         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
78849 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
78851         [BZ #12037]
78852         * posix/unistd.h: Undo change of feature selection for ftruncate from
78853         2010-01-11.
78855 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
78857         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
78858         detection.
78860 2010-09-20  Andreas Schwab  <schwab@redhat.com>
78862         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
78863         fanotify_mark.
78864         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
78866 2010-09-14  Andreas Schwab  <schwab@redhat.com>
78868         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
78869         variables after CHECK_SP call.
78870         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
78872 2010-09-13  Andreas Schwab  <schwab@redhat.com>
78873             Ulrich Drepper  <drepper@redhat.com>
78875         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
78876         re-relocationg ld.so.
78877         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
78878         _dl_init_paths call.
78879         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
78880         here anymore.
78882 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
78884         * resolv/res_init.c (__res_vinit): Count the default server we added.
78886 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
78887             Ulrich Drepper  <drepper@redhat.com>
78889         [BZ #11968]
78890         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
78891         (____longjmp_chk): Use %ebx for saving value across system call.
78892         Add unwind info.
78894 2010-09-06  Andreas Schwab  <schwab@redhat.com>
78896         * manual/Makefile: Don't mix pattern rules with normal rules.
78898 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
78900         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
78901         operation.
78902         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
78903         * libio/iofopncook.c (_IO_cookie_init): Likewise.
78904         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
78905         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
78906         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78907         Likewise.
78909 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
78911         [BZ #11979]
78912         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
78913         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
78915 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
78917         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
78918         * sysdeps/x86_64/addmul_1.S: Likewise.
78919         * sysdeps/x86_64/lshift.S: Likewise.
78920         * sysdeps/x86_64/mul_1.S: Likewise.
78921         * sysdeps/x86_64/rshift.S: Likewise.
78922         * sysdeps/x86_64/sub_n.S: Likewise.
78923         * sysdeps/x86_64/submul_1.S: Likewise.
78925 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78927         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
78928         Define __sched_param instead of SCHED_* and sched_param when
78929         <bits/sched.h> is included with __need_schedparam defined.
78930         * bits/sched.h [__need_schedparam]
78931         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
78932         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
78933         (__defined_schedparam): Define to 1.
78934         (__sched_param): New structure, identical to sched_param.
78935         (__need_schedparam): Undefine.
78937 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
78939         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
78940         (epoll_create1): Declare.
78942         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
78944 2010-08-31  Andreas Schwab  <schwab@redhat.com>
78946         [BZ #7066]
78947         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
78948         shifting retval into place.
78950 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
78952         * nis/rpcsvc/nis.h: Update copyright notice.
78953         * nis/rpcsvc/nis.x: Likewise.
78954         * nis/rpcsvc/nis_callback.h: Likewise.
78955         * nis/rpcsvc/nis_callback.x: Likewise.
78956         * nis/rpcsvc/nis_object.x: Likewise.
78957         * nis/rpcsvc/nis_tags.h: Likewise.
78958         * nis/rpcsvc/yp.h: Likewise.
78959         * nis/rpcsvc/yp.x: Likewise.
78960         * nis/rpcsvc/ypupd.h: Likewise.
78961         * nis/yp_xdr.c: Likewise.
78962         * nis/ypupdate_xdr.c: Likewise.
78964         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
78965         mainly the body of pmap_getport.  Add parameters to specify timeouts.
78966         (pmap_getport): Use __libc_rpc_getport.
78967         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
78968         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
78969         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
78971 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
78973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
78974         fanotify_mark.
78976 2010-08-27  Roland McGrath  <roland@redhat.com>
78978         * sysdeps/i386/i686/multiarch/Makefile
78979         (CFLAGS-varshift.c): New variable.
78981 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
78983         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
78984         * sysdeps/i386/i686/multiarch/varshift.c: New file.
78986         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
78988         * sysdeps/x86_64/strlen.S: Minimal code improvement.
78990 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
78992         * sysdeps/x86_64/strlen.S: Unroll the loop.
78993         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78994         strlen-sse2 strlen-sse2-bsf.
78995         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
78996         __strlen_no_bsf if bit_Slow_BSF is set.
78997         (__strlen_sse42): Removed.
78998         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
78999         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
79001 2010-08-25  Roland McGrath  <roland@redhat.com>
79003         * sysdeps/x86_64/multiarch/varshift.S: File removed.
79004         * sysdeps/x86_64/multiarch/varshift.c: New file.
79005         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
79006         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
79007         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
79008         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
79010 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
79012         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79013         strlen-sse2 strlen-sse2-bsf.
79014         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
79015         __strlen_sse2_bsf if bit_Slow_BSF is unset.
79016         (__strlen_sse2): Removed.
79017         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
79018         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
79019         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
79020         bit_Slow_BSF for Atom.
79021         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
79022         (index_Slow_BSF): Define.
79023         (HAS_SLOW_BSF): Define.
79025 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
79027         [BZ #10851]
79028         * resolv/res_init.c (__res_vinit): When no server address at all
79029         is given default to loopback.
79031 2010-08-24  Roland McGrath  <roland@redhat.com>
79033         * configure.in: Remove config-name.h generation.
79034         * configure: Regenerated.
79035         * config-name.in: File removed.
79036         * scripts/config-uname.sh: New file.
79037         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
79038         ($(objdir)config-name.h): New target.
79040         * sunrpc/rpc_parse.h: Avoid nested comment.
79042 2010-08-24  Richard Henderson  <rth@redhat.com>
79043             Ulrich Drepper  <drepper@redhat.com>
79044             H.J. Lu  <hongjiu.lu@intel.com>
79046         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
79047         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
79048         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
79049         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
79050         _mm_alignr_epi8 with _mm_loadu_si128.
79051         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
79052         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
79053         (__m128i_shift_right): Removed.
79054         * sysdeps/i386/i686/multiarch/varshift.h: New file.
79055         * sysdeps/i386/i686/multiarch/varshift.S: New file.
79056         * sysdeps/x86_64/multiarch/varshift.h: New file.
79057         * sysdeps/x86_64/multiarch/varshift.S: New file.
79059 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
79061         * configure.in: Move assembler checks to before sysdep dir checking.
79063 2010-08-20  Petr Baudis  <pasky@suse.cz>
79065         * LICENSES: Sync the sunrpc license.
79067 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
79069         * sunrpc/auth_des.c: Update copyright notice once again.
79070         * sunrpc/auth_none.c: Likewise.
79071         * sunrpc/auth_unix.c: Likewise.
79072         * sunrpc/authdes_prot.c: Likewise.
79073         * sunrpc/authuxprot.c: Likewise.
79074         * sunrpc/bindrsvprt.c: Likewise.
79075         * sunrpc/clnt_gen.c: Likewise.
79076         * sunrpc/clnt_perr.c: Likewise.
79077         * sunrpc/clnt_raw.c: Likewise.
79078         * sunrpc/clnt_simp.c: Likewise.
79079         * sunrpc/clnt_tcp.c: Likewise.
79080         * sunrpc/clnt_udp.c: Likewise.
79081         * sunrpc/clnt_unix.c: Likewise.
79082         * sunrpc/des_crypt.c: Likewise.
79083         * sunrpc/des_soft.c: Likewise.
79084         * sunrpc/get_myaddr.c: Likewise.
79085         * sunrpc/getrpcport.c: Likewise.
79086         * sunrpc/key_call.c: Likewise.
79087         * sunrpc/key_prot.c: Likewise.
79088         * sunrpc/openchild.c: Likewise.
79089         * sunrpc/pm_getmaps.c: Likewise.
79090         * sunrpc/pm_getport.c: Likewise.
79091         * sunrpc/pmap_clnt.c: Likewise.
79092         * sunrpc/pmap_prot.c: Likewise.
79093         * sunrpc/pmap_prot2.c: Likewise.
79094         * sunrpc/pmap_rmt.c: Likewise.
79095         * sunrpc/rpc/auth.h: Likewise.
79096         * sunrpc/rpc/auth_unix.h: Likewise.
79097         * sunrpc/rpc/clnt.h: Likewise.
79098         * sunrpc/rpc/des_crypt.h: Likewise.
79099         * sunrpc/rpc/key_prot.h: Likewise.
79100         * sunrpc/rpc/netdb.h: Likewise.
79101         * sunrpc/rpc/pmap_clnt.h: Likewise.
79102         * sunrpc/rpc/pmap_prot.h: Likewise.
79103         * sunrpc/rpc/pmap_rmt.h: Likewise.
79104         * sunrpc/rpc/rpc.h: Likewise.
79105         * sunrpc/rpc/rpc_des.h: Likewise.
79106         * sunrpc/rpc/rpc_msg.h: Likewise.
79107         * sunrpc/rpc/svc.h: Likewise.
79108         * sunrpc/rpc/svc_auth.h: Likewise.
79109         * sunrpc/rpc/types.h: Likewise.
79110         * sunrpc/rpc/xdr.h: Likewise.
79111         * sunrpc/rpc_clntout.c: Likewise.
79112         * sunrpc/rpc_cmsg.c: Likewise.
79113         * sunrpc/rpc_common.c: Likewise.
79114         * sunrpc/rpc_cout.c: Likewise.
79115         * sunrpc/rpc_dtable.c: Likewise.
79116         * sunrpc/rpc_hout.c: Likewise.
79117         * sunrpc/rpc_main.c: Likewise.
79118         * sunrpc/rpc_parse.c: Likewise.
79119         * sunrpc/rpc_parse.h: Likewise.
79120         * sunrpc/rpc_prot.c: Likewise.
79121         * sunrpc/rpc_sample.c: Likewise.
79122         * sunrpc/rpc_scan.c: Likewise.
79123         * sunrpc/rpc_scan.h: Likewise.
79124         * sunrpc/rpc_svcout.c: Likewise.
79125         * sunrpc/rpc_tblout.c: Likewise.
79126         * sunrpc/rpc_util.c: Likewise.
79127         * sunrpc/rpc_util.h: Likewise.
79128         * sunrpc/rpcinfo.c: Likewise.
79129         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
79130         * sunrpc/rpcsvc/key_prot.x: Likewise.
79131         * sunrpc/rpcsvc/klm_prot.x: Likewise.
79132         * sunrpc/rpcsvc/mount.x: Likewise.
79133         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
79134         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
79135         * sunrpc/rpcsvc/rex.x: Likewise.
79136         * sunrpc/rpcsvc/rstat.x: Likewise.
79137         * sunrpc/rpcsvc/rusers.x: Likewise.
79138         * sunrpc/rpcsvc/sm_inter.x: Likewise.
79139         * sunrpc/rpcsvc/spray.x: Likewise.
79140         * sunrpc/rpcsvc/yppasswd.x: Likewise.
79141         * sunrpc/rtime.c: Likewise.
79142         * sunrpc/svc.c: Likewise.
79143         * sunrpc/svc_auth.c: Likewise.
79144         * sunrpc/svc_authux.c: Likewise.
79145         * sunrpc/svc_raw.c: Likewise.
79146         * sunrpc/svc_run.c: Likewise.
79147         * sunrpc/svc_simple.c: Likewise.
79148         * sunrpc/svc_tcp.c: Likewise.
79149         * sunrpc/svc_udp.c: Likewise.
79150         * sunrpc/svc_unix.c: Likewise.
79151         * sunrpc/svcauth_des.c: Likewise.
79152         * sunrpc/xcrypt.c: Likewise.
79153         * sunrpc/xdr.c: Likewise.
79154         * sunrpc/xdr_array.c: Likewise.
79155         * sunrpc/xdr_float.c: Likewise.
79156         * sunrpc/xdr_mem.c: Likewise.
79157         * sunrpc/xdr_rec.c: Likewise.
79158         * sunrpc/xdr_ref.c: Likewise.
79159         * sunrpc/xdr_sizeof.c: Likewise.
79160         * sunrpc/xdr_stdio.c: Likewise.
79162         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
79163         handling.
79165 2010-08-19  Andreas Schwab  <schwab@redhat.com>
79167         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
79169 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
79171         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
79172         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
79173         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
79174         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
79175         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
79176         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
79177         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
79178         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
79179         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
79180         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
79181         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
79182         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
79183         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
79184         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
79186 2010-07-26  Anton Blanchard  <anton@samba.org>
79188         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
79189         * malloc/arena.c (heap_trim): Likewise.
79191 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
79193         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
79194         here.  Not...
79195         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
79196         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
79198 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
79200         * sysdeps/i386/elf/Makefile: New file.
79202 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79204         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
79205         from fanotify_init.
79206         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
79207         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79209 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
79211         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
79212         of strncasecmp_l.
79213         * sysdeps/multiarch/strcmp.S: Likewise.
79215 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
79217         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79218         strncase_l-nonascii.
79219         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79220         Add strncase_l-ssse3.
79221         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
79222         * sysdeps/x86_64/strcmp.S: Likewise.
79223         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
79224         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
79225         * sysdeps/x86_64/strncase.S: New file.
79226         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
79227         * sysdeps/x86_64/strncase_l.S: New file.
79228         * string/Makefile (strop-tests): Add strncasecmp.
79229         * string/test-strncasecmp.c: New file.
79231         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
79232         warning.
79234         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
79235         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
79237 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79239         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
79241 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
79243         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
79244         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
79245         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
79247 2010-05-01  Alan Modra  <amodra@gmail.com>
79249         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
79250         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
79251         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
79252         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
79253         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
79254         tidying.  Don't tail-call __sigjmp_save for static lib.
79255         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
79256         save location.
79257         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
79258         (CALL_MCOUNT): Add eh info, and nop after bl.
79259         (TAIL_CALL_SYSCALL_ERROR): New macro.
79260         (PSEUDO_RET): Use it.
79261         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
79262         Correct save location of integer regs and cr.
79263         (_dl_profile_resolve): Correct cr save location.  Delete nops
79264         after bl when SHARED.  Reduce cfi size a little by better
79265         placement of cfi directives.
79266         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
79267         make a stack frame.  Instead use parm save area as a temp.
79268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
79269         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
79270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
79271         Don't make a stack frame for parent, use parm save area.
79272         Increase child stack frame to 112 bytes.  Don't save unused reg,
79273         and adjust reg usage.  Set up cfi on error recovery and
79274         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
79275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
79276         (__makecontext): Add dummy nop after jump to exit.
79277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
79278         Use correct parm save area and cr save, reduce stack frame.
79279         Correct cfi for possible PSEUDO_RET frame setup.
79280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
79281         Branch to local label emitted by PSEUDO_RET rather than
79282         __syscall_error.
79284 2010-08-12  Andreas Schwab  <schwab@redhat.com>
79286         [BZ #11904]
79287         * locale/programs/locale.c (print_assignment): New function.
79288         (show_locale_vars): Use it.
79290 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
79292         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
79293         field.
79294         (struct statfs64): Likewise.
79295         (_STATFS_F_FLAGS): Define.
79296         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
79297         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79298         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
79299         (ST_VALID): Define locally.
79300         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
79301         __statvfs_getflags, use the provided value.
79302         * sysdeps/unix/sysv/linux/kernel-features.h: Define
79303         __ASSUME_STATFS_F_FLAGS.
79305         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
79307         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
79308         Add sys/fanotify.h.
79309         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
79310         fanotify_mask for GLIBC_2.13.
79311         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
79312         fanotify_init and fanotify_mark.
79313         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79314         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
79316         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
79317         Add prlimit.
79318         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
79319         prlimit64 for GLIBC_2.13.
79320         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
79321         prlimit64.
79322         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
79323         syscall.
79324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
79325         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79326         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
79327         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
79328         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
79329         add prlimit alias.
79330         * sysdeps/unix/sysv/linux/prlimit.c: New file.
79332         [BZ #11903]
79333         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
79334         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
79336         * nss/Makefile: Add rules to build and run tst-nss-test1.
79337         * shlib-versions: Add entry for libnss_test1.
79338         * nss/nss_test1.c: New file.
79339         * nss/tst-nss-test1.c: New file.
79341         * nss/nsswitch.c (__nss_database_custom): Define new variable.
79342         (__nss_configure_lookup): Set appropriate entry in
79343         __nss_configure_lookup to true.
79344         * nss/nsswitch.h: Define enum with indeces of databases in
79345         databases and __nss_database_custom arrays.  Declare
79346         __nss_database_custom.
79347         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
79348         to avoid using nscd when custom rules are installed.
79349         * nss/getXXbyYY_r.c: Likewise.
79350         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
79352         * nss/nss_files/files-parse.c: Whitespace fixes.
79354 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
79356         [BZ #11883]
79357         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
79358         * posix/fnmatch_loop.c: Likewise.
79360 2010-07-17  Andi Kleen  <ak@linux.intel.com>
79362         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
79363         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
79364         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
79365         * Versions.def [GLIBC_2.13]: Add.
79367 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
79369         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
79370         Also fail if tpwd after pwuid call is NULL.
79372 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79374         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
79375         when converting to ms.
79377 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79379         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
79380         EOPNOTSUPP errors with ENOTTY.
79381         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
79382         EOPNOTSUPP errors with ENOTTY.
79384 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
79386         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79387         Add strcasecmp_l-ssse3.
79388         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
79389         strcasecmp.
79390         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
79391         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
79392         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
79394 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
79396         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
79398         * string/Makefile (strop-tests): Add strcasecmp.
79399         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79400         strcasecmp_l-nonascii.
79401         (gen-as-const-headers): Add locale-defines.sym.
79402         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
79403         * sysdeps/x86_64/strcasecmp.S: New file.
79404         * sysdeps/x86_64/strcasecmp_l.S: New file.
79405         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
79406         * sysdeps/x86_64/locale-defines.sym: New file.
79407         * string/test-strcasecmp.c: New file.
79409         * string/test-strcasestr.c: Test both ends of the range of characters.
79410         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
79412 2010-07-29  Roland McGrath  <roland@redhat.com>
79414         [BZ #11856]
79415         * manual/locale.texi (Yes-or-No Questions): Fix example code.
79417 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
79419         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
79420         for ld.so.
79422 2010-07-27  Andreas Schwab  <schwab@redhat.com>
79424         * manual/memory.texi (Malloc Tunable Parameters): Document
79425         M_PERTURB.
79427 2010-07-26  Roland McGrath  <roland@redhat.com>
79429         [BZ #11840]
79430         * configure.in (-fgnu89-inline check): Set and substitute
79431         gnu89_inline, not libc_cv_gnu89_inline.
79432         * configure: Regenerated.
79433         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
79435 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
79437         * string/test-strnlen.c: New file.
79438         * string/Makefile (strop-tests): Add strnlen.
79439         * string/tester.c (test_strnlen): Add a few more test cases.
79440         * string/tst-strlen.c: Better error reporting.
79442         * sysdeps/x86_64/strnlen.S: New file.
79444 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
79446         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
79447         lower-latency instructions.
79449 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
79451         * string/test-strcasestr.c: New file.
79452         * string/test-strstr.c: New file.
79453         * string/Makefile (strop-tests): Add strstr and strcasestr.
79454         * string/str-two-way.h: Don't undefine MAX.
79455         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
79457 2010-07-21  Andreas Schwab  <schwab@redhat.com>
79459         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79460         strcasestr-nonascii.
79461         (CFLAGS-strcasestr-nonascii.c): Define.
79462         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
79463         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
79464         Remove unused attribute.
79466 2010-07-20  Roland McGrath  <roland@redhat.com>
79468         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
79469         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
79470         ld.so.cache was broken.  With it, there is no way to disable dsocaps
79471         like LD_HWCAP_MASK can disable hwcaps.
79473 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79475         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
79477 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
79479         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
79480         call in strcasestr.
79481         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
79482         __strcasestr_sse42_nonascii.
79483         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
79484         strcasestr-nonascii.c.
79485         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
79487 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
79489         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
79490         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
79491         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
79492         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
79494 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
79496         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
79497         fcntl.
79499 2010-07-06  Andreas Schwab  <schwab@redhat.com>
79501         [BZ #11577]
79502         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
79503         dl_signal_cerror.
79505 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
79507         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
79508         _PC_PIPE_BUF using F_GETPIPE_SZ.
79510 2010-07-05  Roland McGrath  <roland@redhat.com>
79512         * manual/arith.texi (Rounding Functions): Fix rint description
79513         implicit in round description.
79515 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
79517         * elf/Makefile: Fix linking for a few tests to make recent linker
79518         happy.
79520 2010-06-30  Andreas Schwab  <schwab@redhat.com>
79522         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
79523         $(common-objpfx)libc_nonshared.a.
79525 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
79527         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
79528         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
79529         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79530         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79531         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
79532         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
79533         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79534         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
79536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
79537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
79538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
79540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
79542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
79543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
79544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
79545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
79547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
79549         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
79550         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
79551         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
79552         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
79553         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
79554         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
79555         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
79556         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
79557         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
79558         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
79559         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
79560         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
79561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
79562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
79563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
79564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
79565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
79566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
79567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
79568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
79569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
79570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
79571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
79572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
79573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
79574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
79576 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
79578         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
79579         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
79580         * string/memmove.c (memmove): Renamed to ...
79581         (MEMMOVE): ...this.  Default to memmove.
79582         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
79583         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
79584         (END_CHK): Define.
79585         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79586         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
79587         mempcpy-ssse3-back memmove-ssse3-back.
79588         * sysdeps/x86_64/multiarch/bcopy.S: New file .
79589         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
79590         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
79591         * sysdeps/x86_64/multiarch/memcpy.S: New file.
79592         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
79593         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
79594         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
79595         * sysdeps/x86_64/multiarch/memmove.c: New file.
79596         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
79597         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
79598         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
79599         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
79600         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
79601         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
79602         Define.
79603         (index_Fast_Copy_Backward): Define.
79604         (HAS_ARCH_FEATURE): Define.
79605         (HAS_FAST_REP_STRING): Define.
79606         (HAS_FAST_COPY_BACKWARD): Define.
79608 2010-06-21  Andreas Schwab  <schwab@redhat.com>
79610         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
79611         Restore proper fallback handling.
79613 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
79615         [BZ #11701]
79616         * posix/group_member.c (__group_member): Correct checking loop.
79618         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
79619         OOM in getpwuid_r correctly.  Return error number when the caller
79620         should return, otherwise -1.
79621         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
79622         call returning > 0 value.
79623         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
79625 2010-06-07  Andreas Schwab  <schwab@redhat.com>
79627         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
79628         libc_nonshared.a from targets in modules-names.
79630 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
79632         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
79633         requires it.
79635 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
79637         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
79638         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
79639         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
79640         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
79642 2010-06-02  Andreas Schwab  <schwab@redhat.com>
79644         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
79646 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
79648         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
79649         and F_GETPIPE_SZ.
79650         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
79651         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79652         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79653         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79654         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79655         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79657 2010-06-14  Roland McGrath  <roland@redhat.com>
79659         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
79661 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
79663         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
79664         __REDIRECT followed by __THROW.
79665         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
79666         * posix/getopt.h (getopt): Likewise.
79668 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79670         * hurd/lookup-at.c (__file_name_lookup_at): Accept
79671         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
79672         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
79673         in AT_FLAGS.
79674         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
79675         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
79677 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
79679         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
79681 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
79683         [BZ #11640]
79684         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79685         Properly check family and model.
79687 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
79689         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
79691 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
79693         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
79695 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
79697         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
79698         symbol reference.
79700 2010-05-19  Andreas Schwab  <schwab@redhat.com>
79702         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
79703         symbol reference.
79705 2010-05-21  Andreas Schwab  <schwab@redhat.com>
79707         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
79708         and internal_recvmmsg.
79709         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
79710         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
79711         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
79712         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
79714         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
79715         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
79716         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
79718 2010-05-20  Andreas Schwab  <schwab@redhat.com>
79720         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
79722 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
79724         POWER7 optimizations.
79725         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
79726         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
79728 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
79730         * version.h: Update for 2.13 development version.
79732 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
79734         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
79735         exceptions.  Return 0.
79737 2010-05-07  Roland McGrath  <roland@redhat.com>
79739         * elf/ldconfig.c (main): Add a const.
79741 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
79743         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
79744         (args_options): Add no-idn option.
79745         (ahosts_keys_int): Add idn_flags to ai_flags.
79746         (parse_option): Handle 'i' option to clear idn_flags.
79748         * malloc/malloc.c (_int_free): Possible race in the most recently
79749         added check.  Only act on the data if no current modification
79750         happened.
79752 See ChangeLog.17 for earlier changes.